NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/40551: Kernel panic in audio_init_ringbuffer

>Number:         40551
>Category:       kern
>Synopsis:       Kernel panic in audio_init_ringbuffer
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 04 11:55:00 +0000 2009
>Originator:     RM
NetBSD ultra10 5.0_BETA NetBSD 5.0_BETA (GENERIC) #0: Tue Feb  3 22:04:11 GMT 
2009  root@p3smp:/opt/obj.sparc64/sys/arch/sparc64/compile/GENERIC sparc64
(gdb) target kvm /opt/crash/netbsd.0.core
#0  dumpsys () at /opt/src/sys/arch/sparc64/sparc64/machdep.c:755
755                         "partition too small?)\n", major(dumpdev), 
(gdb) where
#0  dumpsys () at /opt/src/sys/arch/sparc64/sparc64/machdep.c:755
#1  0x000000000142be18 in cpu_reboot (howto=256, user_boot_string=0x0)
    at /opt/src/sys/arch/sparc64/sparc64/machdep.c:623
#2  0x00000000012ee65c in panic (
    fmt=0x1663988 "audio_init_ringbuffer: blksize")
    at /opt/src/sys/kern/subr_prf.c:255
#3  0x000000000128c3c0 in audio_init_ringbuffer (sc=0xc60cb60, rp=0xc60cf68, 
    mode=2) at /opt/src/sys/dev/audio.c:1274
#4  0x000000000128c3f8 in audio_initbufs (sc=0xc60cb60)
    at /opt/src/sys/dev/audio.c:1300
#5  0x000000000128f5c4 in audiosetinfo (sc=0xc60cb60, ai=0xdda02d0)
    at /opt/src/sys/dev/audio.c:3584
#6  0x00000000012914f4 in audioioctl (dev=<value optimized out>, 
    cmd=3230155030, addr=0xdda02d0, flag=2, l=0xde25b60)
    at /opt/src/sys/dev/audio.c:1151
#7  0x00000000012e49d8 in cdev_ioctl (dev=5, cmd=3230155030, data=0xdda02d0, 
    flag=2, l=0xde25b60) at /opt/src/sys/kern/subr_devsw.c:811
#8  0x000000000133594c in VOP_IOCTL (vp=0xd4d5cc0, command=3230155030, 
    data=0xdda02d0, fflag=2, cred=0xd6b7a30)
    at /opt/src/sys/kern/vnode_if.c:562
#9  0x00000000013303ec in vn_ioctl (fp=0xdb303e0, com=3230155030, 
    data=0xdda02d0) at /opt/src/sys/kern/vfs_vnops.c:648
#10 0x00000000012f5ec4 in sys_ioctl (l=<value optimized out>, uap=0xddaddc0, 
    retval=0xddade00) at /opt/src/sys/kern/sys_generic.c:616
#11 0x0000000001435c70 in syscall_plain (tf=0xddaded0, 
    code=<value optimized out>, pc=1111754676)
    at /opt/src/sys/sys/syscallvar.h:49
#12 0x00000000010092ac in syscall_setup ()
#13 0x00000000010092ac in syscall_setup ()
Previous frame identical to this frame (corrupt stack?)
(gdb) up 3
(gdb) list
1269            DPRINTF(("audio_init_ringbuffer: MI blksize=%d\n", blksize));
1270            if (sc->hw_if->round_blocksize)
1271                    blksize = sc->hw_if->round_blocksize(sc->hw_hdl, 
1272                                                         mode, 
1273            if (blksize <= 0)
1274                    panic("audio_init_ringbuffer: blksize");
1275            nblks = rp->s.bufsize / blksize;
1277            DPRINTF(("audio_init_ringbuffer: final blksize=%d\n", blksize));
1278            rp->blksize = blksize;
I can reproduce this problem every time on NetBSD 5.0_BETA sparc64

Build and install from pkgsrc

Start Xorg server + desktop environment, run xmms, configure xmms to use 
xmms-faad plugin, then load .mp4 audio file and play it.

As soon as you hit play, the kernel panics.

Home | Main Index | Thread Index | Old Index