Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Sep 2002 22:57:15 -0400
From:      Rahul Siddharthan <rsidd@online.fr>
To:        stable@freebsd.org
Cc:        multimedia@freebsd.org
Subject:   USB audio kernel panics
Message-ID:  <20020913025715.GA9795@papagena.rockefeller.edu>

next in thread | raw e-mail | index | archive | help
I notice that the USB audio driver has been imported into -STABLE
recently.  I've been using this driver for a few months, and get 
frequent easily-reproducible kernel panics, which unfortunately I don't
have the ability to fix -- but I really don't think the driver is ready
for -stable or for 4.7-release.

The easiest way to get a panic is to unplug the USB device (or even
dislodge the plug slightly) while audio output is going on, or
alternatively to play with a running mixer program after the device
has been pulled out.  But even while it is plugged in, it generates
panics at various times.  In particular, it seems to dislike KDE's artsd
daemon.

Below is a backtrace, from kernel (and world) built at 00:27 EDT, Sept
10, 2002 from freshly cvsupped sources.  The panic was generated by
pulling out the device while playing a soundfile.  I'm willing to help
to the extent I can to fix this.  But I would strongly urge that it be
marked as experimental and dangerous, if it is to remain in -STABLE.

The device is a Griffin iMic, which works flawlessly under linux.

Thanks,

-- Rahul

#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
#1  0xc017dfdf in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:316
#2  0xc017e404 in poweroff_wait (junk=0xc02ed28c, howto=-1070674513)
    at /usr/src/sys/kern/kern_shutdown.c:595
#3  0xc029c2d6 in trap_fatal (frame=0xc02f6350, eva=48)
    at /usr/src/sys/i386/i386/trap.c:974
#4  0xc029bfa9 in trap_pfault (frame=0xc02f6350, usermode=0, eva=48)
    at /usr/src/sys/i386/i386/trap.c:867
#5  0xc029bb93 in trap (frame={tf_fs = 16, tf_es = -1070661616, 
      tf_ds = -1072234480, tf_edi = 0, tf_esi = 0, tf_ebp = -1070636136, 
      tf_isp = -1070636164, tf_ebx = -1070548996, tf_edx = 6867008, 
      tf_ecx = -1057902579, tf_eax = 0, tf_trapno = 12, tf_err = 0, 
      tf_eip = -1071557932, tf_cs = 8, tf_eflags = 66050, 
      tf_esp = -1016720840, tf_ss = 0}) at /usr/src/sys/i386/i386/trap.c:466
#6  0xc02152d4 in acquire_lock (lk=0xc030b7fc)
    at /usr/src/sys/ufs/ffs/ffs_softdep.c:266
#7  0xc021a9b8 in softdep_count_dependencies (bp=0xc3661238, wantcount=0)
    at /usr/src/sys/ufs/ffs/ffs_softdep.c:4792
#8  0xc021dbf4 in ffs_fsync (ap=0xc02f640c)
    at /usr/src/sys/ufs/ffs/ffs_vnops.c:168
#9  0xc021c6df in ffs_sync (mp=0xc0f0f200, waitfor=2, cred=0xc071b900, 
    p=0xc035cca0) at vnode_if.h:558
#10 0xc01addcf in sync (p=0xc035cca0, uap=0x0)
    at /usr/src/sys/kern/vfs_syscalls.c:576
#11 0xc017dd7a in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:235
#12 0xc017e404 in poweroff_wait (junk=0xc02ed28c, howto=-1070674513)
    at /usr/src/sys/kern/kern_shutdown.c:595
#13 0xc029c2d6 in trap_fatal (frame=0xc02f652c, eva=1435304574)
    at /usr/src/sys/i386/i386/trap.c:974
#14 0xc029bfa9 in trap_pfault (frame=0xc02f652c, usermode=0, eva=1435304574)
    at /usr/src/sys/i386/i386/trap.c:867
#15 0xc029bb93 in trap (frame={tf_fs = -995098608, tf_es = -1070661616, 
      tf_ds = -1072037872, tf_edi = -1057373696, tf_esi = -1057298240, 
      tf_ebp = -1070635652, tf_isp = -1070635688, tf_ebx = -1057336640, 
      tf_edx = -1057298224, tf_ecx = -1056910848, tf_eax = 1435304554, 
      tf_trapno = 12, tf_err = 2, tf_eip = -1071425517, tf_cs = 8, 
      tf_eflags = 66054, tf_esp = 0, tf_ss = -1056910336})
    at /usr/src/sys/i386/i386/trap.c:466
#16 0xc0235813 in uhci_device_isoc_start (xfer=0xc100d300)
    at /usr/src/sys/dev/usb/uhci.c:2097
#17 0xc023568f in uhci_device_isoc_transfer (xfer=0xc100d400)
    at /usr/src/sys/dev/usb/uhci.c:1991
#18 0xc023a035 in usbd_transfer (xfer=0xc100d400)
    at /usr/src/sys/dev/usb/usbdi.c:285
#19 0xc0269cde in uaudio_chan_ptransfer (ch=0xc071d414)
    at /usr/src/sys/dev/sound/usb/uaudio.c:2176
#20 0xc0269d2f in uaudio_chan_pintr (xfer=0xc100d380, priv=0xc071d534, 
    status=USBD_NORMAL_COMPLETION) at /usr/src/sys/dev/sound/usb/uaudio.c:2221
#21 0xc023a7ab in usb_transfer_complete (xfer=0xc100d380)
    at /usr/src/sys/dev/usb/usbdi.c:839
#22 0xc02348fa in uhci_idone (ii=0xc0fae8c0)
    at /usr/src/sys/dev/usb/uhci.c:1116
#23 0xc0234864 in uhci_check_intr (sc=0xc0ebb000, ii=0xc0fae8c0)
    at /usr/src/sys/dev/usb/uhci.c:1057
#24 0xc02347cf in uhci_intr (arg=0xc0ebb000) at /usr/src/sys/dev/usb/uhci.c:994
#25 0xc02a6c2d in intr_mux (arg=0xc0714180)
    at /usr/src/sys/i386/isa/intr_machdep.c:582
#26 0xc02933b6 in cpu_idle () at /usr/src/sys/i386/i386/machdep.c:1024


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




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