Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Feb 2002 02:50:01 -0800 (PST)
From:      "Ryan Johnson" <rjohnson_14@hotmail.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/35061: After printing to HP Deskjet 656c USB printer, computer hangs
Message-ID:  <200202191050.g1JAo1Q19075@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/35061; it has been noted by GNATS.

From: "Ryan Johnson" <rjohnson_14@hotmail.com>
To: joe@tao.org.uk
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: kern/35061: After printing to HP Deskjet 656c USB printer, computer hangs
Date: Tue, 19 Feb 2002 04:43:34 -0600

 >From: Josef Karthauser <joe@tao.org.uk>
 >To: Ryan Johnson <rjohnson_14@hotmail.com>
 >Subject: Re: kern/35061: After printing to HP Deskjet 656c USB printer, 
 >computer hangs
 >Date: Tue, 19 Feb 2002 01:42:26 +0000
 >
 >On Mon, Feb 18, 2002 at 05:18:33PM -0600, Ryan Johnson wrote:
 > >
 > > >Are you using the patch set that I announced on -stable a few days ago?
 > > >
 > > >Also, it's important to know which usb controller device you're using.
 > > >A copy of your dmesg should provide that information (uhci or ohci).
 > > >
 > > >Thanks,
 > > >Joe
 > > ><< attach3 >>
 > >
 > > I don't have access to the computer at the moment (home internet 
 >connection
 > > may be down) but the usb controller is uhci. If you need the dmesg I 
 >will
 > > post it when I get home. I cvsupped the day after your usb changes went
 > > into -stable (feb. 16th), so I do have the most current usb changes. The
 > > printer worked fine using the feb. 3rd -current snapshot, but it 
 >wouldn't
 > > even attempt to print in -stable until your recent usb changes were 
 >merged.
 >
 >Can you try the patch that I sent to the -stable mailing list please?
 >That brings all the differences from -current into -stable and so
 >should behave the same way as your -current snapshot did.
 >
 >Joe
 
 I just applied the patch, now the kernel panics shortly after the printer
 starts. Here is the backtrace:
 
 Fatal trap 12: page fault while in kernel mode
 fault virtual address	= 0x8
 fault code		= supervisor read, page not present
 instruction pointer	= 0x8:0xc023bfe3
 stack pointer	        = 0x10:0xc7861d3c
 frame pointer	        = 0x10:0xc7861d48
 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		= 202 (cat)
 interrupt mask		= bio
 trap number		= 12
 panic: page fault
 
 syncing disks... 24 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
 giving up on 1 buffers
 Uptime: 1m6s
 
 dumping to dev #ad/0x20021, offset 294912
 dump ata2: resetting devices .. done
 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 
 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 
 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 
 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
 ---
 #0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:485
 485		if (dumping++) {
 (kgdb) bt
 #0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:485
 #1  0xc015b0d7 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:314
 #2  0xc015b4fc in poweroff_wait (junk=0xc02f3cec, howto=-1070647281)
     at /usr/src/sys/kern/kern_shutdown.c:593
 #3  0xc02a57ca in trap_fatal (frame=0xc7861cfc, eva=8)
     at /usr/src/sys/i386/i386/trap.c:966
 #4  0xc02a549d in trap_pfault (frame=0xc7861cfc, usermode=0, eva=8)
     at /usr/src/sys/i386/i386/trap.c:859
 #5  0xc02a505b in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16,
       tf_edi = -1063038976, tf_esi = -1063018720, tf_ebp = -947511992,
       tf_isp = -947512024, tf_ebx = 0, tf_edx = -1063035764,
       tf_ecx = -1062558080, tf_eax = -1063038976, tf_trapno = 12, tf_err = 
 0,
       tf_eip = -1071398941, tf_cs = 8, tf_eflags = 66051,
       tf_esp = -1062052288, tf_ss = -1063038976})
     at /usr/src/sys/i386/i386/trap.c:458
 #6  0xc023bfe3 in uhci_remove_bulk (sc=0xc0a35000, sqh=0xc0a39f20)
     at /usr/src/sys/dev/usb/uhci.c:358
 #7  0xc023d6ad in uhci_device_bulk_done (xfer=0xc0aaa700)
     at /usr/src/sys/dev/usb/uhci.c:2614
 #8  0xc023f7be in usb_transfer_complete (xfer=0xc0aaa700)
     at /usr/src/sys/dev/usb/usbdi.c:813
 #9  0xc023cb41 in uhci_abort_xfer_end (v=0xc0aaa700)
     at /usr/src/sys/dev/usb/uhci.c:1868
 #10 0xc023cb24 in uhci_abort_xfer (xfer=0xc0aaa700, status=USBD_CANCELLED)
     at /usr/src/sys/dev/usb/uhci.c:1853
 #11 0xc023ca99 in uhci_device_bulk_abort (xfer=0xc0aaa700)
     at /usr/src/sys/dev/usb/uhci.c:1817
 #12 0xc023f709 in usbd_ar_pipe (pipe=0xc0aaa680)
     at /usr/src/sys/dev/usb/usbdi.c:759
 #13 0xc023f439 in usbd_abort_pipe (pipe=0xc0aaa680)
     at /usr/src/sys/dev/usb/usbdi.c:553
 #14 0xc0246a44 in ulptclose (dev=0xc0a34080, flag=2, mode=8192, 
 p=0xc6ad3380)
     at /usr/src/sys/dev/usb/ulpt.c:627
 #15 0xc0193d74 in spec_close (ap=0xc7861e4c)
     at /usr/src/sys/miscfs/specfs/spec_vnops.c:591
 #16 0xc022acb6 in ufsspec_close (ap=0xc7861e4c)
     at /usr/src/sys/ufs/ufs/ufs_vnops.c:1900
 #17 0xc022b27d in ufs_vnoperatespec (ap=0xc7861e4c)
     at /usr/src/sys/ufs/ufs/ufs_vnops.c:2440
 #18 0xc018f6d0 in vn_close (vp=0xc777f140, flags=2, cred=0xc0bb6e00,
     p=0xc6ad3380) at vnode_if.h:218
 #19 0xc0190003 in vn_closefile (fp=0xc0b57400, p=0xc6ad3380)
     at /usr/src/sys/kern/vfs_vnops.c:693
 #20 0xc0150f7b in fdrop (fp=0xc0b57400, p=0xc6ad3380)
     at /usr/src/sys/sys/file.h:217
 #21 0xc0150ec3 in closef (fp=0xc0b57400, p=0xc6ad3380)
     at /usr/src/sys/kern/kern_descrip.c:1218
 #22 0xc0150425 in close (p=0xc6ad3380, uap=0xc7861f80)
     at /usr/src/sys/kern/kern_descrip.c:579
 #23 0xc02a5a79 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47,
       tf_edi = -1077937072, tf_esi = 0, tf_ebp = -1077937264,
       tf_isp = -947511340, tf_ebx = 134575128, tf_edx = 1, tf_ecx = 10,
       tf_eax = 6, tf_trapno = 12, tf_err = 2, tf_eip = 134559388, tf_cs = 
 31,
       tf_eflags = 643, tf_esp = -1077937292, tf_ss = 47})
     at /usr/src/sys/i386/i386/trap.c:1167
 #24 0xc0299885 in Xint0x80_syscall ()
 #25 0x804befb in ?? ()
 #26 0x804831f in ?? ()
 #27 0x8048135 in ?? ()
 
 If you need any more information let me know.
 
 Ryan
 
 
 
 _________________________________________________________________
 MSN Photos is the easiest way to share and print your photos: 
 http://photos.msn.com/support/worldwide.aspx
 

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




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