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_at_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 conditions. 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 = 0x4c fault code = supervisor read, page not present instruction pointer = 0x8:0xc04ad5bb stack pointer = 0x10:0xd0f2ab08 frame pointer = 0x10:0xd0f2ab1c code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 736 (usb) trap number = 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=18330367 2222 2222 2222 2222 2222 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=256) at /usr/src/sys/kern/kern_shutdown.c:370 #2 0xc04fa819 in panic (fmt=0xc067429c "%s") at /usr/src/sys/kern/kern_shutdown.c:548 #3 0xc064fb90 in trap_fatal (frame=0xd0f2aac8, eva=76) at /usr/src/sys/i386/i386/trap.c:815 #4 0xc064f8f3 in trap_pfault (frame=0xd0f2aac8, usermode=0, eva=76) at /usr/src/sys/i386/i386/trap.c:733 #5 0xc064f569 in trap (frame= {tf_fs = -1052180456, tf_es = -789446640, tf_ds = -1068498928, tf_edi = 0, tf_esi = -1050733568, tf_ebp = -789402852, tf_isp = -789402892, tf_ebx = -1050745088, tf_edx = -1066756224, tf_ecx = 0, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1068837445, tf_cs = 8, tf_eflags = 66118, tf_esp = 0, tf_ss = -1050745028}) at /usr/src/sys/i386/i386/trap.c:420 #6 0xc04ad5bb in usb_transfer_complete (xfer=0xc15ee700) at /usr/src/sys/dev/usb/usbdi.c:816 #7 0xc04a1b11 in uhci_abort_xfer (xfer=0xc15ee700, status=USBD_NORMAL_COMPLETION) at /usr/src/sys/dev/usb/uhci.c:1983 #8 0xc04a1a5d in uhci_device_bulk_abort (xfer=0xc15ee700) at /usr/src/sys/dev/usb/uhci.c:1908 #9 0xc04ad503 in usbd_ar_pipe (pipe=0xc15f1400) at /usr/src/sys/dev/usb/usbdi.c:748 #10 0xc04ad263 in usbd_abort_pipe (pipe=0xc15f1400) at /usr/src/sys/dev/usb/usbdi.c:548 #11 0xc04a6bba in ulptclose (dev=0xc06da5a0, flag=3, mode=8192, p=0xc149b420) at /usr/src/sys/dev/usb/ulpt.c:685 #12 0xc04c5a84 in spec_close (ap=0xd0f2abb8) at /usr/src/sys/fs/specfs/spec_vnops.c:637 #13 0xc04c4bcb in spec_vnoperate (ap=0x0) at /usr/src/sys/fs/specfs/spec_vnops.c:118 #14 0xc0553854 in vn_close (vp=0xc1508924, flags=0, file_cred=0x0, td=0x0) at vnode_if.h:262 #15 0xc055461e in vn_closefile (fp=0xc14aac38, td=0xc149b420) at /usr/src/sys/kern/vfs_vnops.c:932 #16 0xc04ddacf in fdrop_locked (fp=0xc14aac38, td=0xc149b420) at file.h:289 #17 0xc04dcb01 in fdrop (fp=0xc14aac38, td=0xc149b420) at /usr/src/sys/kern/kern_descrip.c:1881 #18 0xc04dcab7 in closef (fp=0xc14aac38, td=0xc149b420) at /usr/src/sys/kern/kern_descrip.c:1867 #19 0xc04daee9 in close (td=0xc149b420, uap=0x0) at /usr/src/sys/kern/kern_descrip.c:966 #20 0xc064fe6f in syscall (frame= {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = -1077949273, tf_esi = 0, tf_ebp = -1077941164, tf_isp = -789402252, tf_ebx = 134522664, tf_edx = 41, tf_ecx = 41, tf_eax = 6, tf_trapno = 12, tf_err = 2, tf_eip = 672062971, tf_cs = 31, tf_eflags = 662, tf_esp = -1077949524, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1004 (kgdb) up 5 #5 0xc064f569 in trap (frame= {tf_fs = -1052180456, tf_es = -789446640, tf_ds = -1068498928, tf_edi = 0, tf_esi = -1050733568, tf_ebp = -789402852, tf_isp = -789402892, tf_ebx = -1050745088, tf_edx = -1066756224, tf_ecx = 0, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1068837445, tf_cs = 8, tf_eflags = 66118, tf_esp = 0, tf_ss = -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=0xc15ee700) at /usr/src/sys/dev/usb/usbdi.c:816 816 SIMPLEQ_REMOVE_HEAD(&pipe->queue, next); (kgdb) l 811 if (xfer != SIMPLEQ_FIRST(&pipe->queue)) 812 printf("usb_transfer_complete: bad dequeue %p != %p\n", 813 xfer, SIMPLEQ_FIRST(&pipe->queue)); 814 xfer->busy_free = XFER_BUSY; 815 #endif 816 SIMPLEQ_REMOVE_HEAD(&pipe->queue, next); 817 } 818 DPRINTFN(5,("usb_transfer_complete: repeat=%d new head=%p\n", 819 repeat, SIMPLEQ_FIRST(&pipe->queue))); 820 (kgdb) -- 신재호 | Jaeho Shin <netj_at_ropas.snu.ac.kr> | http://netj.org/ Research On Program Analysis System, Seoul National University
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:59 UTC