Date: Thu, 1 Jul 2004 17:45:43 -0700 From: Jaeho Shin <netj@ropas.snu.ac.kr> To: current@freebsd.org Subject: usb printer panic with 2004-06-29's source Message-ID: <20040702004543.GA3956@sab.mazic.org>
next in thread | raw e-mail | index | archive | help
--liOOAslEiF7prFVr Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I've installed a new world a few days ago and now I get kernel panics when I use my usb printer. :( I use my printer via samba+cups: samba-2.2.9_1, cups-base-1.1.20.0. I hope the following info would help resolving this problem some how: $ uname -a FreeBSD myhost 5.2-CURRENT FreeBSD 5.2-CURRENT #11: Tue Jun 29 04:35:01 PDT= 2004 root@myhost:/usr/obj/usr/src/sys/MYKERNEL i386 $ gdb53 -k kernel.debug vmcore.14 GNU gdb 5.3 (FreeBSD) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-portbld-freebsd5.2"... panic: page fault panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address =3D 0x4c fault code =3D supervisor read, page not present instruction pointer =3D 0x8:0xc04ad5bb stack pointer =3D 0x10:0xd0f2ab08 frame pointer =3D 0x10:0xd0f2ab1c code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 736 (usb) trap number =3D 12 panic: page fault syncing disks, buffers remaining... 2222 2222 2222 2222 2222 2222 2222 2222= 2222 2222 2222 2222 2222 2222 2222 ad0: WARNING - WRITE_DMA interrupt was = seen but timeout fired LBA=3D18330367 2222 2222 2222 2222 2222=20 giving up on 1134 buffers Uptime: 2m44s Dumping 254 MB 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 --- #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:236 236 doadump(void) (kgdb) where #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:236 #1 0xc04fa546 in boot (howto=3D256) at /usr/src/sys/kern/kern_shutdown.c:3= 70 #2 0xc04fa819 in panic (fmt=3D0xc067429c "%s") at /usr/src/sys/kern/kern_s= hutdown.c:548 #3 0xc064fb90 in trap_fatal (frame=3D0xd0f2aac8, eva=3D76) at /usr/src/sys= /i386/i386/trap.c:815 #4 0xc064f8f3 in trap_pfault (frame=3D0xd0f2aac8, usermode=3D0, eva=3D76) = at /usr/src/sys/i386/i386/trap.c:733 #5 0xc064f569 in trap (frame=3D {tf_fs =3D -1052180456, tf_es =3D -789446640, tf_ds =3D -1068498928, = tf_edi =3D 0, tf_esi =3D -1050733568, tf_ebp =3D -789402852, tf_isp =3D -78= 9402892, tf_ebx =3D -1050745088, tf_edx =3D -1066756224, tf_ecx =3D 0, tf_e= ax =3D 0, tf_trapno =3D 12, tf_err =3D 0, tf_eip =3D -1068837445, tf_cs =3D= 8, tf_eflags =3D 66118, tf_esp =3D 0, tf_ss =3D -1050745028}) at /usr/src/sys/i386/i386/trap.c:420 #6 0xc04ad5bb in usb_transfer_complete (xfer=3D0xc15ee700) at /usr/src/sys= /dev/usb/usbdi.c:816 #7 0xc04a1b11 in uhci_abort_xfer (xfer=3D0xc15ee700, status=3DUSBD_NORMAL_= COMPLETION) at /usr/src/sys/dev/usb/uhci.c:1983 #8 0xc04a1a5d in uhci_device_bulk_abort (xfer=3D0xc15ee700) at /usr/src/sy= s/dev/usb/uhci.c:1908 #9 0xc04ad503 in usbd_ar_pipe (pipe=3D0xc15f1400) at /usr/src/sys/dev/usb/= usbdi.c:748 #10 0xc04ad263 in usbd_abort_pipe (pipe=3D0xc15f1400) at /usr/src/sys/dev/u= sb/usbdi.c:548 #11 0xc04a6bba in ulptclose (dev=3D0xc06da5a0, flag=3D3, mode=3D8192, p=3D0= xc149b420) at /usr/src/sys/dev/usb/ulpt.c:685 #12 0xc04c5a84 in spec_close (ap=3D0xd0f2abb8) at /usr/src/sys/fs/specfs/sp= ec_vnops.c:637 #13 0xc04c4bcb in spec_vnoperate (ap=3D0x0) at /usr/src/sys/fs/specfs/spec_= vnops.c:118 #14 0xc0553854 in vn_close (vp=3D0xc1508924, flags=3D0, file_cred=3D0x0, td= =3D0x0) at vnode_if.h:262 #15 0xc055461e in vn_closefile (fp=3D0xc14aac38, td=3D0xc149b420) at /usr/s= rc/sys/kern/vfs_vnops.c:932 #16 0xc04ddacf in fdrop_locked (fp=3D0xc14aac38, td=3D0xc149b420) at file.h= :289 #17 0xc04dcb01 in fdrop (fp=3D0xc14aac38, td=3D0xc149b420) at /usr/src/sys/= kern/kern_descrip.c:1881 #18 0xc04dcab7 in closef (fp=3D0xc14aac38, td=3D0xc149b420) at /usr/src/sys= /kern/kern_descrip.c:1867 #19 0xc04daee9 in close (td=3D0xc149b420, uap=3D0x0) at /usr/src/sys/kern/k= ern_descrip.c:966 #20 0xc064fe6f in syscall (frame=3D {tf_fs =3D 47, tf_es =3D 47, tf_ds =3D 47, tf_edi =3D -1077949273, tf= _esi =3D 0, tf_ebp =3D -1077941164, tf_isp =3D -789402252, tf_ebx =3D 13452= 2664, tf_edx =3D 41, tf_ecx =3D 41, tf_eax =3D 6, tf_trapno =3D 12, tf_err = =3D 2, tf_eip =3D 672062971, tf_cs =3D 31, tf_eflags =3D 662, tf_esp =3D -1= 077949524, tf_ss =3D 47}) at /usr/src/sys/i386/i386/trap.c:1004 (kgdb) up 5 #5 0xc064f569 in trap (frame=3D {tf_fs =3D -1052180456, tf_es =3D -789446640, tf_ds =3D -1068498928, = tf_edi =3D 0, tf_esi =3D -1050733568, tf_ebp =3D -789402852, tf_isp =3D -78= 9402892, tf_ebx =3D -1050745088, tf_edx =3D -1066756224, tf_ecx =3D 0, tf_e= ax =3D 0, tf_trapno =3D 12, tf_err =3D 0, tf_eip =3D -1068837445, tf_cs =3D= 8, tf_eflags =3D 66118, tf_esp =3D 0, tf_ss =3D -1050745028}) at /usr/src/sys/i386/i386/trap.c:420 420 (void) trap_pfault(&frame, FALSE, eva); (kgdb) up #6 0xc04ad5bb in usb_transfer_complete (xfer=3D0xc15ee700) at /usr/src/sys= /dev/usb/usbdi.c:816 816 SIMPLEQ_REMOVE_HEAD(&pipe->queue, next); (kgdb) l 811 if (xfer !=3D SIMPLEQ_FIRST(&pipe->queue)) 812 printf("usb_transfer_complete: bad dequeue = %p !=3D %p\n", 813 xfer, SIMPLEQ_FIRST(&pipe->queue)); 814 xfer->busy_free =3D XFER_BUSY; 815 #endif 816 SIMPLEQ_REMOVE_HEAD(&pipe->queue, next); 817 } 818 DPRINTFN(5,("usb_transfer_complete: repeat=3D%d new head=3D= %p\n", 819 repeat, SIMPLEQ_FIRST(&pipe->queue))); 820 (kgdb) =20 --=20 =EC=8B=A0=EC=9E=AC=ED=98=B8 | Jaeho Shin <netj@ropas.snu.ac.kr> | http://ne= tj.org/ Research On Program Analysis System, Seoul National University --liOOAslEiF7prFVr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Cygwin) iD8DBQFA5LA3eGASkZ411HcRAsVTAKDbvk2p86ZCFxsOFJRllJ7LjPmJQwCfYSh7 NFkM/Wq1XeZHlqLUo9AS1KE= =rpLe -----END PGP SIGNATURE----- --liOOAslEiF7prFVr--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040702004543.GA3956>