Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Sep 1999 21:53:16 -0400
From:      "Sean O'Connell" <sean@stat.Duke.EDU>
To:        FreeBSD current <freebsd-current@FreeBSD.ORG>
Subject:   newpcm and rvplayer
Message-ID:  <19990914215316.A7851@stat.Duke.EDU>

next in thread | raw e-mail | index | archive | help
Hello-

This is a second try at this.  I updating my kernel to current as
of September 12 1999 and have been consistently able to panic my
machine when attempting to use real audio (rvplayer5 under linux
compatibility) The panic is in feeder.c of the newpcm device with

$FreeBSD: src/sys/dev/pcm/feeder.c,v 1.3 1999/09/04 17:08:30 cg Exp$

The hardware is a Crystal CS4236B:

pcm0: <CS4236B> at port 0x530-0x533,0x388-0x38b,0x220-0x22f irq 5 drq 0,1 on isa0

Error message is:

panic: feed_root: count == 0

Bactrace:

(kgdb) bt
#0  boot (howto=260) at ../../kern/kern_shutdown.c:281
#1  0xc013008d in panic (fmt=0xc01ea614 "from debugger")
    at ../../kern/kern_shutdown.c:531
#2  0xc01194c5 in db_panic (addr=-1071896353, have_addr=0, count=-1, 
    modif=0xc7cdbc3c "") at ../../ddb/db_command.c:433
#3  0xc0119465 in db_command (last_cmdp=0xc020fae8, cmd_table=0xc020f948, 
    aux_cmd_tablep=0xc02288d4) at ../../ddb/db_command.c:333
#4  0xc011952a in db_command_loop () at ../../ddb/db_command.c:455
#5  0xc011b5af in db_trap (type=3, code=0) at ../../ddb/db_trap.c:71
#6  0xc01c269c in kdb_trap (type=3, code=0, regs=0xc7cdbd30)
    at ../../i386/i386/db_interface.c:157
#7  0xc01cda58 in trap (frame={tf_fs = -1060569072, tf_es = 16, 
      tf_ds = -1061158896, tf_edi = -942817540, tf_esi = 256, 
      tf_ebp = -942817928, tf_isp = -942817956, tf_ebx = -1071659632, 
      tf_edx = -1071635441, tf_ecx = 0, tf_eax = 18, tf_trapno = 3, 
      tf_err = 0, tf_eip = -1071896353, tf_cs = 8, tf_eflags = 598, 
      tf_esp = -1071635457, tf_ss = -1071721021}) at ../../i386/i386/trap.c:534
#8  0xc01c28df in Debugger (msg=0xc01ed5c3 "panic") at machine/cpufunc.h:64


#9  0xc0130084 in panic (fmt=0xc01fc590 "feed_root: count == 0")
    at ../../kern/kern_shutdown.c:529
#10 0xc01a9501 in feed_root (feeder=0xc021d600, buffer=0xc6d34efe "\025\r", 
    count=0, stream=0xc7cdbefc) at ../../dev/pcm/feeder.c:112
#11 0xc01a8afc in chn_write (c=0xc0a4da00, buf=0xc7cdbefc)
    at ../../dev/pcm/channel.c:286
#12 0xc01a7bec in dsp_write (d=0xc0682400, chan=0, buf=0xc7cdbefc, flag=17)
    at ../../dev/pcm/dsp.c:187
#13 0xc01a7099 in sndwrite (i_dev=0xc0b6f100, buf=0xc7cdbefc, flag=17)
    at ../../dev/pcm/sound.c:310
#14 0xc0163ca4 in spec_write (ap=0xc7cdbeb4)
    at ../../miscfs/specfs/spec_vnops.c:369
#15 0xc0195d3c in ufsspec_write (ap=0xc7cdbeb4)
    at ../../ufs/ufs/ufs_vnops.c:1858
#16 0xc0196251 in ufs_vnoperatespec (ap=0xc7cdbeb4)
    at ../../ufs/ufs/ufs_vnops.c:2313
#17 0xc015df1e in vn_write (fp=0xc0c91100, uio=0xc7cdbefc, cred=0xc0c04e00, 
    flags=0) at vnode_if.h:331
#18 0xc013ccd0 in dofilewrite (p=0xc74e4b80, fp=0xc0c91100, fd=6, 
    buf=0x81d78c8, nbyte=132, offset=-1, flags=0)
    at ../../kern/sys_generic.c:363
#19 0xc013cbdf in write (p=0xc74e4b80, uap=0xc7cdbf80)
    at ../../kern/sys_generic.c:298
#20 0xc01ce26a in syscall (frame={tf_fs = 135921711, tf_es = -1078001617, 
      tf_ds = -1078001617, tf_edi = 135922760, tf_esi = -1077947048, 
      tf_ebp = -1077947152, tf_isp = -942817324, tf_ebx = 6, tf_edx = 132, 
      tf_ecx = 136149192, tf_eax = 4, tf_trapno = 22, tf_err = 2, 
      tf_eip = 674069812, tf_cs = 31, tf_eflags = 582, tf_esp = -1077947156, 
      tf_ss = 47}) at ../../i386/i386/trap.c:1056
#21 0xc01c2f96 in Xint0x80_syscall ()
#22 0x80f3b44 in ?? ()
#23 0x80f2e40 in ?? ()
#24 0x80ef1cd in ?? ()
#25 0x80d79f0 in ?? ()
#26 0x80d7709 in ?? ()
#27 0x80d5f5c in ?? ()
#28 0x80cbf2d in ?? ()
#29 0x80cafb7 in ?? ()
#30 0x807ee36 in ?? ()
#31 0x807d230 in ?? ()
#32 0x8094ccd in ?? ()
#33 0x80797b4 in ?? ()
#34 0x8076fb8 in ?? ()
#35 0x8076abb in ?? ()
(kgdb) 



-- 
-----------------------------------------------------------------------
Sean O'Connell                                Email: sean@stat.Duke.EDU
Institute of Statistics and Decision Sciences Phone: (919) 684-5419
Duke University                               Fax:   (919) 684-8594


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990914215316.A7851>