Hi,

something broke between rev 1.8 and 1.9 of /sys/dev/sound/pcm/channel.c

The driver probes as a:
pcm0: <ESS1869> at port 0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5 drq 1,0 on isa0

The relevant kernel config entries are
device pcm0
options PNPBIOS

With the new revision, while playing pcm audio, I can only hear sound
for fractions of a second and then the system freezes.
Only the keyboard responds, so I could at least generate a crash dump:

#0  boot (howto=256) at ../../kern/kern_shutdown.c:303
#1  0xc014103d in panic (fmt=0xc0227914 "from debugger")
    at ../../kern/kern_shutdown.c:553
#2  0xc01278f5 in db_panic (addr=-1071627701, have_addr=0, count=-1, 
    modif=0xcdcccb7c "") at ../../ddb/db_command.c:433
#3  0xc0127894 in db_command (last_cmdp=0xc02509bc, cmd_table=0xc025081c, 
    aux_cmd_tablep=0xc026dcac) at ../../ddb/db_command.c:333
#4  0xc012795a in db_command_loop () at ../../ddb/db_command.c:455
#5  0xc0129977 in db_trap (type=3, code=0) at ../../ddb/db_trap.c:71
#6  0xc0203ff5 in kdb_trap (type=3, code=0, regs=0xcdcccc90)
    at ../../i386/i386/db_interface.c:157
#7  0xc020fb30 in trap (frame={tf_fs = 16, tf_es = -1071251440, 
      tf_ds = -1071185904, tf_edi = 0, tf_esi = 134, tf_ebp = -842216232, 
      tf_isp = -842216260, tf_ebx = -1071124096, tf_edx = 0, tf_ecx = 525312, 
      tf_eax = 38, tf_trapno = 3, tf_err = 0, tf_eip = -1071627701, tf_cs = 8, 
      tf_eflags = 582, tf_esp = -1071359777, tf_ss = -1071373974})
    at ../../i386/i386/trap.c:533
#8  0xc020424b in Debugger (msg=0xc024216a "manual escape to debugger")
    at machine/cpufunc.h:64
#9  0xc0200272 in scgetc (sc=0xc026c3e0, flags=2)
    at ../../dev/syscons/syscons.c:3737
#10 0xc01fbb41 in sckbdevent (thiskbd=0xc027d900, event=0, arg=0xc026c3e0)
    at ../../dev/syscons/syscons.c:643
#11 0xc01efccf in atkbd_intr (kbd=0xc027d900, arg=0x0)
    at ../../dev/kbd/atkbd.c:438
#12 0xc021b568 in atkbd_isa_intr (arg=0xc027d900) at ../../isa/atkbd_isa.c:123
#13 0xc01dd5e8 in chn_write (c=0xc0741f00, buf=0xcdcccee0)
    at ../../dev/sound/pcm/channel.c:315
#14 0xc01dc70b in dsp_write (d=0xc072c600, chan=0, buf=0xcdcccee0, flag=1)
    at ../../dev/sound/pcm/dsp.c:205
#15 0xc01dbc3d in sndwrite (i_dev=0xc073d080, buf=0xcdcccee0, flag=1)
    at ../../dev/sound/pcm/sound.c:311
#16 0xc0174cc1 in spec_write (ap=0xcdccce94)
    at ../../miscfs/specfs/spec_vnops.c:280
#17 0xc01c1980 in ufsspec_write (ap=0xcdccce94)
    at ../../ufs/ufs/ufs_vnops.c:1864
#18 0xc01c1ec1 in ufs_vnoperatespec (ap=0xcdccce94)
    at ../../ufs/ufs/ufs_vnops.c:2319
#19 0xc016f3e7 in vn_write (fp=0xc0773f80, uio=0xcdcccee0, cred=0xc05a8800, 
    flags=0, p=0xcd7f6500) at vnode_if.h:359
#20 0xc014dbf5 in dofilewrite (p=0xcd7f6500, fp=0xc0773f80, fd=4, 
    buf=0x8084000, nbyte=1024, offset=-1, flags=0) at ../../sys/file.h:156
#21 0xc014daf7 in write (p=0xcd7f6500, uap=0xcdcccf80)
    at ../../kern/sys_generic.c:297
#22 0xc02103aa in syscall (frame={tf_fs = 47, tf_es = -1078001617, tf_ds = 47, 
      tf_edi = 134601232, tf_esi = 0, tf_ebp = -1, tf_isp = -842215468, 
      tf_ebx = 0, tf_edx = 0, tf_ecx = 2804, tf_eax = 4, tf_trapno = 22, 
      tf_err = 2, tf_eip = 671919968, tf_cs = 31, tf_eflags = 663, 
      tf_esp = -1077945804, tf_ss = 47}) at ../../i386/i386/trap.c:1057
#23 0xc02048f6 in Xint0x80_syscall ()
Cannot access memory at address 0xffffffff.


Daniel


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to