Hi. There seem to be kernel-panic issues in the USB subsystem when running in SMP mode, specifically with printer-class devices, although I don't know if printer.c is what's at fault. I'm forwarding the message from the person who reported this to me; please reply-to-all with any information. Several others have reported similar USB+SMP panics to me in the past, and I've seen similar issues firsthand on an SMP box. I think the reported EIP address tends to lie in non-USB parts of the kernel, such as various network drivers, but I don't know if that's always the case. I just know that it's triggered by doing a fair amount of I/O on a /dev/usb/lp* device. In my and the other cases the problems went away when booting into "nosmp" mode, and I assume the same would be true here as well.
The kernel in question is RedHat 7.2's 2.4.7-10, and as far as I know this person isn't using my modified version of printer.c, which as you know I've been lobbying to get incorporated into the kernel. Is this already a known issue? Is there a known workaround or fix, preferably something other than booting with "nosmp"? :-) If you need any additional information, then please say so, and I'm sure Eric would be happy to oblige. Eric: it just occurred to me that it would be helpful if you'd provide the output of "lsmod" on your system so we can know what kernel modules are interacting. Be sure to "reply-to-all" so the information gets to the right place. Thanks, David ------- Forwarded Message From: Eric Mercer <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [hpoj-devel] PSC 750xi, RH7.2, Kernel Panic? Date: Sun, 17 Feb 2002 10:36:04 -0500 I'm running RedHat 7.2, linux 2.4.7-10, with hpoj-0.8-1 & hpijs-0.97-1 installed from RPMs. I've built sane-backends-1.0.7, sane-frontends-1.0.7, & xsane-0.84. Printing & scanning works nearly flawlessly. However, if I print or scan anything using the hpijs driver that takes more than a few seconds, I experience a kernel panic. After the panic, I need to power-cycle the printer and (obviously) reboot. If I cat text files to /dev/ptal-printd/mlc_usb_PSC_750xi, they have so far printed out without a problem. Likewise, if I configure the printer as a text-only printer, I don't *appear* have trouble printing to it. I've also connected to the printer via SMB to print from a VMWare workstation. I was able to print out two windows test pages, but the machine hung on the third. I just ran xsane & attempted to scan a photo. Acquiring a preview worked, but when I tried to do the actual scan, the machine crashed. Relevant entries from /var/log/messages are included at the bottom of this email. I've also included entries which resulted from an attempt to print using the hpijs driver. Does anyone have any suggestions? - -- Eric Mercer - ----------------------------------------- Attempt to scan - ----------------------------------------- Feb 17 09:46:06 eam3 kernel: Unable to handle kernel NULL pointer dereference at virtual address 000000bc Feb 17 09:46:06 eam3 kernel: printing eip: Feb 17 09:46:06 eam3 kernel: f88f925e Feb 17 09:46:06 eam3 kernel: *pde = 00000000 Feb 17 09:46:06 eam3 kernel: Oops: 0000 Feb 17 09:46:06 eam3 kernel: CPU: 1 Feb 17 09:46:06 eam3 kernel: EIP: 0010:[eepro100:__insmod_eepro100_O/lib/modules/2.4.7-10smp/kernel/drivers/+-236 962/96] Feb 17 09:46:06 eam3 kernel: EIP: 0010:[<f88f925e>] Feb 17 09:46:06 eam3 kernel: EFLAGS: 00010096 Feb 17 09:46:06 eam3 kernel: eax: 00000000 ebx: f466da50 ecx: f76edba0 edx: f466da50 Feb 17 09:46:06 eam3 kernel: esi: 00000000 edi: f458c000 ebp: f43d1660 esp: f4577ed8 Feb 17 09:46:06 eam3 kernel: ds: 0018 es: 0018 ss: 0018 Feb 17 09:46:06 eam3 kernel: Process ptal-mlcd (pid: 964, stackpage=f4577000) Feb 17 09:46:06 eam3 kernel: Stack: f7f70000 00a882e1 f4577f14 00000002 f4576000 fffffc18 00000001 00000286 Feb 17 09:46:06 eam3 kernel: f4577f14 013ce023 000001f4 f4577f3c c0117c5b f4577f14 f4577f14 00000086 Feb 17 09:46:06 eam3 kernel: 00000000 013ce023 f4576000 f466da50 00000000 f458c000 f43d1660 f88fa7cf Feb 17 09:46:06 eam3 kernel: Call Trace: [schedule_timeout+139/176] [eepro100:__insmod_eepro100_O/lib/modules/2.4.7-10smp/kernel/drivers/+-231473/9 6] [eepro100:__insmod_eepro100_O/lib/modules/2.4.7-10smp/kernel/drivers/+-298628/9 6] [eepro100:__insmod_eepro100_O/lib/modules/2.4.7-10smp/kernel/drivers/+-51502/96 ] [sys_write+150/208] Feb 17 09:46:06 eam3 kernel: Call Trace: [<c0117c5b>] [<f88fa7cf>] [<f88ea17c>] [<f89266d2>] [<c013c696>] Feb 17 09:46:07 eam3 kernel: [sys_fcntl64+141/160] [system_call+51/56] Feb 17 09:46:07 eam3 kernel: [<c014c0cd>] [<c010716b>] Feb 17 09:46:07 eam3 kernel: Feb 17 09:46:07 eam3 kernel: Code: 8b 80 bc 00 00 00 8b 40 28 89 44 24 38 8b 42 04 c7 44 24 44 Feb 17 09:47:06 eam3 kernel: <6>usb.c: USB disconnect on device 2 Feb 17 09:51:31 eam3 syslogd 1.4.1: restart. - ----------------------------------------- Attempt to print - ----------------------------------------- Feb 17 10:03:43 eam3 hpijs: unable to set width=2550, default to page width=2400 Feb 17 10:03:43 eam3 hpijs: unable to set outwidth=2550, default to page width=2400 Feb 17 10:03:56 eam3 ptal-printd: ptal-printd(mlc:usb:PSC_750xi): ptalChannelWrite returns -1, expected=445! Bit-bucketing rest of print job. Feb 17 10:03:56 eam3 kernel: Unable to handle kernel NULL pointer dereference at virtual address 000000bc Feb 17 10:03:56 eam3 kernel: printing eip: Feb 17 10:03:56 eam3 kernel: f88f925e Feb 17 10:03:56 eam3 kernel: *pde = 00000000 Feb 17 10:03:56 eam3 kernel: Oops: 0000 Feb 17 10:03:56 eam3 kernel: CPU: 0 Feb 17 10:03:56 eam3 kernel: EIP: 0010:[eepro100:__insmod_eepro100_O/lib/modules/2.4.7-10smp/kernel/drivers/+-236 962/96] Feb 17 10:03:56 eam3 kernel: EIP: 0010:[<f88f925e>] Feb 17 10:03:56 eam3 kernel: EFLAGS: 00010096 Feb 17 10:03:56 eam3 kernel: eax: 00000000 ebx: f59916d0 ecx: c23128a0 edx: f59916d0 Feb 17 10:03:56 eam3 kernel: esi: 00000000 edi: f3dc4000 ebp: f59988e0 esp: f3dbbed8 Feb 17 10:03:56 eam3 kernel: ds: 0018 es: 0018 ss: 0018 Feb 17 10:03:56 eam3 kernel: Process ptal-mlcd (pid: 965, stackpage=f3dbb000) Feb 17 10:03:56 eam3 kernel: Stack: c0278000 00a882e1 f3dbbf14 00000002 f3dba000 fffffc18 00000000 00000286 Feb 17 10:03:56 eam3 kernel: f3dbbf14 00013fcd 000001f4 f3dbbf3c c0117c5b f3dbbf14 f3dbbf14 00000086 Feb 17 10:03:56 eam3 kernel: 00000000 00013fcd f3dba000 f59916d0 00000000 f3dc4000 f59988e0 f88fa7cf Feb 17 10:03:56 eam3 kernel: Call Trace: [schedule_timeout+139/176] [eepro100:__insmod_eepro100_O/lib/modules/2.4.7-10smp/kernel/drivers/+-231473/9 6] [eepro100:__insmod_eepro100_O/lib/modules/2.4.7-10smp/kernel/drivers/+-298628/9 6] [eepro100:__insmod_eepro100_O/lib/modules/2.4.7-10smp/kernel/drivers/+-51502/96 ] [sys_write+150/208] Feb 17 10:03:57 eam3 kernel: Call Trace: [<c0117c5b>] [<f88fa7cf>] [<f88ea17c>] [<f89266d2>] [<c013c696>] Feb 17 10:03:57 eam3 kernel: [sys_alarm+50/80] [sys_gettimeofday+27/144] [system_call+51/56] Feb 17 10:03:57 eam3 kernel: [<c0123332>] [<c011e8ab>] [<c010716b>] Feb 17 10:03:57 eam3 kernel: Feb 17 10:03:57 eam3 kernel: Code: 8b 80 bc 00 00 00 8b 40 28 89 44 24 38 8b 42 04 c7 44 24 44 Feb 17 10:09:34 eam3 syslogd 1.4.1: restart. _______________________________________________ ------- End of Forwarded Message _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel