Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Sep 2000 13:46:21 -0500 (CDT)
From:      "Jacques A. Vidrine" <n@nectar.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/21173: pcm "panic: no feed" with Creative SB AWE64
Message-ID:  <20000910184621.EA40C1925A@gw.nectar.com>

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

>Number:         21173
>Category:       kern
>Synopsis:       pcm "panic: no feed" with Creative SB AWE64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 10 11:50:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Jacques Vidrine
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
sorely lacking
>Environment:

FreeBSD hamlet.nectar.com 4.1-STABLE FreeBSD 4.1-STABLE #0: Sat Sep  9 22:17:15 CDT 2000     root@hamlet.nectar.com:/var/obj/usr/src/sys/HAMLET i386

CPU: AMD Athlon(tm) Processor (750.03-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x622  Stepping = 2
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 268369920 (262080K bytes)
avail memory = 257200128 (251172K bytes)

sbc1: <Creative SB AWE64> at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 on isa0
sbc1: setting card to irq 5, drq 1, 5
pcm0: <SB DSP 4.16> on sbc1
unknown0: <Game> at port 0x200-0x207 on isa0
unknown1: <WaveTable> at port 0x620-0x623 on isa0

>Description:

Two previous postings on freebsd-multimedia:

 From n@nectar.com Fri Sep  1 16:31:23 2000
 Date: Fri, 1 Sep 2000 16:31:23 -0500
 From: "Jacques A. Vidrine" <n@nectar.com>
 To: freebsd-multimedia@freebsd.org
 Subject: [panic: no feed] FreeBSD 4.1-STABLE and Creative SB AWE64
 Message-ID: <20000901163123.B19985@hamlet.nectar.com>

 I just decided to try the ohphone port, and have run into a reproducable
 panic.   This is 4.1-STABLE built from sources CVSup'd August 24.
 
  sbc1: <Creative SB AWE64> at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 on isa0
  sbc1: setting card to irq 5, drq 1, 5
  pcm0: <SB DSP 4.16> on sbc1
 
 To reproduce:
 
 % sox -t ossdsp -w -s /dev/dsp foo.wav
 panic: no feed
 Debugger("panic")
 Stopped at Debugger+0x34: movb $0, in_Debugger.390
 
 Debugger(c02d37e3) at Debugger+0x34
 panic(c02fbe3f, c115d29c, c115d200, cd578edc, 0) at panic+0x70
 chn_rdfeed2nd(c115d200, cd578edc) at chn_rdfeed2nd+0x6f
 chn_read(c115d200, cd578edc, cd578edc, cd571c40, c115d200) at chn_read+0x67
 dsp_read
 snd_read
 spec_read
 ufsspec_read                  and so forth
 vfs_vnoperatespec
 vn_read
 dofileread
 read
 syscall
 Xint0x80_syscall
 
 Unfortunately I didn't have the symbols for this kernel laying around.  
 I'll get a kgdb trace in a day or two when I have time to crash again :-)
 
 sox and ohphone are the only two applications with which I tried 
 recording... both cause the panic.
 
 Cheers,
 -- 
 Jacques Vidrine / n@nectar.com / jvidrine@verio.net / nectar@FreeBSD.org
 
 From n@nectar.com Sat Sep  2 13:55:23 2000
 Date: Sat, 2 Sep 2000 13:55:23 -0500
 From: "Jacques A. Vidrine" <n@nectar.com>
 To: freebsd-multimedia@freebsd.org
 Subject: Re: [panic: no feed] FreeBSD 4.1-STABLE and Creative SB AWE64
 Message-ID: <20000902135523.A581@hamlet.nectar.com>
 
 On Fri, Sep 01, 2000 at 04:31:23PM -0500, Jacques A. Vidrine wrote:
 > I just decided to try the ohphone port, and have run into a reproducable
 > panic.   This is 4.1-STABLE built from sources CVSup'd August 24.
 > 
 >  sbc1: <Creative SB AWE64> at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 on isa0
 >  sbc1: setting card to irq 5, drq 1, 5
 >  pcm0: <SB DSP 4.16> on sbc1
 > 
 > To reproduce:
 > 
 > % sox -t ossdsp -w -s /dev/dsp foo.wav
 > panic: no feed
 > Debugger("panic")
 > Stopped at Debugger+0x34: movb $0, in_Debugger.390
 
 I'm following up my own post with a kgdb stack trace.  I am happy to supply
 more information on request.
 
 #0  boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:302
 #1  0xc01657d5 in panic (fmt=0xc02cf754 "from debugger") at /usr/src/sys/kern/kern_shutdown.c:552
 #2  0xc0145c09 in db_panic (addr=-1070951400, have_addr=0, count=-1, modif=0xcd526bf4 "") at /usr/src/sys/ddb/db_command.c:433
 #3  0xc0145ba9 in db_command (last_cmdp=0xc030eb2c, cmd_table=0xc030e98c, aux_cmd_tablep=0xc0353a68) at /usr/src/sys/ddb/db_command.c:333
 #4  0xc0145c6e in db_command_loop () at /usr/src/sys/ddb/db_command.c:455
 #5  0xc0147d7b in db_trap (type=3, code=0) at /usr/src/sys/ddb/db_trap.c:71
 #6  0xc02a91ba in kdb_trap (type=3, code=0, regs=0xcd526cfc) at /usr/src/sys/i386/i386/db_interface.c:158
 #7  0xc02b5138 in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, tf_edi = 2, tf_esi = 256, tf_ebp = -850236092, tf_isp = -850236120, tf_ebx = -1070633409, tf_edx = 0, tf_ecx = 32, tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip = -1070951400, tf_cs = 8, tf_eflags = 582, tf_esp = -1070600161, tf_ss = -1070778397}) at /usr/src/sys/i386/i386/trap.c:569
 #8  0xc02a9418 in Debugger (msg=0xc02d37e3 "panic") at machine/cpufunc.h:64
 #9  0xc01657cc in panic (fmt=0xc02f6e3f "no feed") at /usr/src/sys/kern/kern_shutdown.c:550
 #10 0xc0287ddb in chn_rdfeed2nd (c=0xc115d200, buf=0xcd526edc) at /usr/src/sys/dev/sound/pcm/channel.c:634
 #11 0xc0287f3b in chn_read (c=0xc115d200, buf=0xcd526edc) at /usr/src/sys/dev/sound/pcm/channel.c:740
 #12 0xc0288e28 in dsp_read (d=0xc1182000, chan=0, buf=0xcd526edc, flag=1245184) at /usr/src/sys/dev/sound/pcm/dsp.c:181
 #13 0xc028addd in sndread (i_dev=0xc1183e80, buf=0xcd526edc, flag=1245184) at /usr/src/sys/dev/sound/pcm/sound.c:340
 #14 0xc019b36b in spec_read (ap=0xcd526e6c) at /usr/src/sys/miscfs/specfs/spec_vnops.c:251
 #15 0xc0254da0 in ufsspec_read (ap=0xcd526e6c) at /usr/src/sys/ufs/ufs/ufs_vnops.c:1826
 #16 0xc025529d in ufs_vnoperatespec (ap=0xcd526e6c) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2303
 #17 0xc0197750 in vn_read (fp=0xc164a500, uio=0xcd526edc, cred=0xc0e51600, flags=0, p=0xcc16ff20) at vnode_if.h:334
 #18 0xc01728a8 in dofileread (p=0xcc16ff20, fp=0xc164a500, fd=3, buf=0x28130323, nbyte=1, offset=-1, flags=0) at /usr/src/sys/sys/file.h:143
 #19 0xc017278f in read (p=0xcc16ff20, uap=0xcd526f80) at /usr/src/sys/kern/sys_generic.c:110
 #20 0xc02b5a65 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 2031, tf_esi = 672334560, tf_ebp = -1077937260, tf_isp = -850235436, tf_ebx = 672265284, tf_edx = 672334648, tf_ecx = 0, tf_eax = 3, tf_trapno = 12, tf_err = 2, tf_eip = 672219540, tf_cs = 31, tf_eflags = 663, tf_esp = -1077937304, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1150
 #21 0xc02a9b05 in Xint0x80_syscall ()
 #22 0x281021b6 in ?? ()
 #23 0x280fddd9 in ?? ()
 #24 0x8051f01 in ?? ()
 #25 0x8052151 in ?? ()
 #26 0x8049bbd in ?? ()
 #27 0x80493d7 in ?? ()
 #28 0x8048f61 in ?? ()

 --
 Jacques Vidrine / n@nectar.com / jvidrine@verio.net / nectar@FreeBSD.org


>How-To-Repeat:

	sox -t ossdsp -w -s /dev/dsp foo.wav

>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:


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




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