usb/77184: kernel panic on USB device disconnect

Philip Rodrigues philip.rodrigues at chch.ox.ac.uk
Thu Dec 29 08:20:20 PST 2005


The following reply was made to PR usb/77184; it has been noted by GNATS.

From: Philip Rodrigues <philip.rodrigues at chch.ox.ac.uk>
To: bug-followup at freebsd.org
Cc:  
Subject: Re: usb/77184: kernel panic on USB device disconnect
Date: Thu, 29 Dec 2005 16:19:48 +0000

 I get a similar panic when disconnecting a Sony DSC S-40 camera. Backtrace is 
 below. If you need any more information, just ask:
 
 Unread portion of the kernel message buffer:
 
 
 #0  doadump () at pcpu.h:165
 165		__asm __volatile("movl %%fs:0,%0" : "=r" (td));
 (kgdb) backtrace
 #0  doadump () at pcpu.h:165
 #1  0xc0516042 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:399
 #2  0xc05162d8 in panic (fmt=0xc06b2fe9 "%s")
     at /usr/src/sys/kern/kern_shutdown.c:555
 #3  0xc06903fc in trap_fatal (frame=0xd4691788, eva=0)
     at /usr/src/sys/i386/i386/trap.c:831
 #4  0xc068ff48 in trap (frame=
       {tf_fs = 8, tf_es = 40, tf_ds = 40, tf_edi = 1, tf_esi = 0, tf_ebp = 
 -731310000, tf_isp = -731310156, tf_ebx = 1546584928, tf_edx = 0, tf_ecx = 0, 
 tf_eax = 1, tf_trapno = 18, tf_err = 0, tf_eip = -1066825677, tf_cs = 32, 
 tf_eflags = 590406, tf_esp = -731310064, tf_ss = -1066634813})
     at /usr/src/sys/i386/i386/trap.c:629
 #5  0xc067fe5a in calltrap () at /usr/src/sys/i386/i386/exception.s:139
 #6  0xc0698833 in __qdivrem (uq=Unhandled dwarf expression opcode 0x93
 ) at /usr/src/sys/libkern/qdivrem.c:97
 #7  0xc0698c7e in __udivdi3 (a=1546584928, b=0)
     at /usr/src/sys/libkern/udivdi3.c:47
 #8  0xc0433dc2 in cam_calc_geometry (ccg=0xd46918f8, extended=1)
     at /usr/src/sys/cam/cam.c:376
 #9  0xc04bb992 in umass_cam_action (sim=0xc20d8bc0, ccb=0xd46918f8)
     at /usr/src/sys/dev/usb/umass.c:2582
 #10 0xc0437f06 in xpt_action (start_ccb=0xd46918f8)
     at /usr/src/sys/cam/cam_xpt.c:3110
 #11 0xc0444831 in dasetgeom (periph=0x0, block_len=1, maxsector=1546584927)
     at /usr/src/sys/cam/scsi/scsi_da.c:1777
 ---Type <return> to continue, or q <return> to quit---
 #12 0xc0444142 in dadone (periph=0xc204b600, done_ccb=0xc1f39400)
     at /usr/src/sys/cam/scsi/scsi_da.c:1431
 #13 0xc043b5e5 in camisr (V_queue=0xc0718538)
     at /usr/src/sys/cam/cam_xpt.c:7141
 #14 0xc0501bd9 in ithread_loop (arg=0xc1d88380)
     at /usr/src/sys/kern/kern_intr.c:547
 #15 0xc0500e60 in fork_exit (callout=0xc0501a80 <ithread_loop>, 
     arg=0xc1d88380, frame=0xd4691d38) at /usr/src/sys/kern/kern_fork.c:789
 #16 0xc067febc in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:208


More information about the freebsd-usb mailing list