[Bug 462048] New: Autodetected USB printer fails after first printjob
https://bugzilla.novell.com/show_bug.cgi?id=462048 User egrimminck@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462048#c1 Summary: Autodetected USB printer fails after first printjob Product: openSUSE 11.1 Version: Final Platform: HP OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Printing AssignedTo: jsmeix@novell.com ReportedBy: egrimminck@novell.com QAContact: jsmeix@novell.com Found By: Customer Created an attachment (id=262301) --> (https://bugzilla.novell.com/attachment.cgi?id=262301) combined hp-check.log and cups-autodetect.log When connecting the Printer (USB) for the first time the following messages is displayed in the /var/log/messages: Dec 23 19:56:02 suse01 kernel: usb 6-2: new full speed USB device using uhci_hcd and address 21 Dec 23 19:56:02 suse01 kernel: usb 6-2: configuration #1 chosen from 1 choice Dec 23 19:56:02 suse01 kernel: usblp0: USB Bidirectional printer dev 21 if 0 alt 0 proto 2 vid 0x03F0 pid 0xB402 Dec 23 19:56:02 suse01 kernel: scsi14 : SCSI emulation for USB Mass Storage devices Dec 23 19:56:02 suse01 kernel: usb 6-2: New USB device found, idVendor=03f0, idProduct=b402 Dec 23 19:56:02 suse01 kernel: usb 6-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Dec 23 19:56:02 suse01 kernel: usb 6-2: Product: photosmart 7700 series Dec 23 19:56:02 suse01 kernel: usb 6-2: Manufacturer: hp Dec 23 19:56:02 suse01 kernel: usb 6-2: SerialNumber: MY4CH2K160U0 Dec 23 19:56:02 suse01 kernel: usb-storage: device found at 21 Dec 23 19:56:02 suse01 kernel: usb-storage: waiting for device to settle before scanning Dec 23 19:56:03 suse01 kernel: ppdev0: registered pardevice Dec 23 19:56:03 suse01 hp: io/hpmud/pp.c 627: unable to read device-id ret=-1 Dec 23 19:56:03 suse01 kernel: ppdev0: unregistered pardevice Dec 23 19:56:03 suse01 kernel: scsi 14:0:0:0: Direct-Access HP photosmart 7700 1.00 PQ: 0 ANSI: 2 Dec 23 19:56:03 suse01 kernel: sd 14:0:0:0: [sdc] Attached SCSI removable disk Dec 23 19:56:03 suse01 kernel: sd 14:0:0:0: Attached scsi generic sg4 type 0 Dec 23 19:56:03 suse01 kernel: usb-storage: device scan complete After that the first test-page prints without a problem: Dec 23 19:57:13 suse01 kernel: usblp0: removed Dec 23 19:57:14 suse01 hpijs: WARNING: color pen has low ink Dec 23 19:57:14 suse01 hpijs: STATE: marker-supply-low-warning However when I try to print a second page nothing is printed, the printer doesn't respond anymore and the following messages are displayed: Dec 23 19:58:59 suse01 hpijs: WARNING: color pen has low ink Dec 23 19:58:59 suse01 hpijs: STATE: marker-supply-low-warning Dec 23 19:59:31 suse01 kernel: usb 6-2: reset full speed USB device using uhci_hcd and address 21 Dec 23 19:59:44 suse01 photosmart_7700_series?serial=MY4CH2K160U0: io/hpmud/musb.c 1335: unable to write data hp:/usb/photosmart_7700_series?serial=MY4CH2K160U0: 45 second io timeout Dec 23 19:59:46 suse01 kernel: usb 6-2: device descriptor read/64, error -110 Dec 23 20:00:01 suse01 kernel: usb 6-2: device descriptor read/64, error -110 Dec 23 20:00:01 suse01 kernel: usb 6-2: reset full speed USB device using uhci_hcd and address 21 Dec 23 20:00:32 suse01 kernel: usb 6-2: device descriptor read/64, error -110 Dec 23 20:00:32 suse01 kernel: usb 6-2: reset full speed USB device using uhci_hcd and address 21 Dec 23 20:00:37 suse01 kernel: usb 6-2: device descriptor read/8, error -110 Dec 23 20:00:42 suse01 kernel: usb 6-2: device descriptor read/8, error -110 Dec 23 20:00:42 suse01 kernel: usb 6-2: reset full speed USB device using uhci_hcd and address 21 Dec 23 20:00:47 suse01 kernel: usb 6-2: device descriptor read/8, error -110 Dec 23 20:00:52 suse01 kernel: usb 6-2: device descriptor read/8, error -110 Dec 23 20:00:52 suse01 photosmart_7700_series?serial=MY4CH2K160U0: io/hpmud/musb.c 679: invalid deviceid wIndex=0, retrying wIndex=0: No such device Dec 23 20:00:52 suse01 kernel: usb 6-2: USB disconnect, address 21 Dec 23 20:00:52 suse01 kernel: sd 14:0:0:0: Device offlined - not ready after error recovery Dec 23 20:00:52 suse01 photosmart_7700_series?serial=MY4CH2K160U0: io/hpmud/musb.c 688: invalid deviceid retry ret=-19: No such device Dec 23 20:00:52 suse01 photosmart_7700_series?serial=MY4CH2K160U0: io/hpmud/musb.c 731: invalid device_status: No such device Dec 23 20:00:52 suse01 photosmart_7700_series?serial=MY4CH2K160U0: prnt/backend/hp.c 594: ERROR: 1015 other; will retry in 30 seconds... Dec 23 20:00:52 suse01 kernel: usb 6-2: new full speed USB device using uhci_hcd and address 22 Dec 23 20:00:53 suse01 kernel: usb 6-2: device descriptor read/64, error -71 Dec 23 20:00:53 suse01 kernel: usb 6-2: device descriptor read/64, error -71 Dec 23 20:00:53 suse01 kernel: usb 6-2: new full speed USB device using uhci_hcd and address 23 Dec 23 20:00:53 suse01 kernel: usb 6-2: device descriptor read/64, error -71 Dec 23 20:00:53 suse01 kernel: usb 6-2: device descriptor read/64, error -71 Dec 23 20:00:54 suse01 kernel: usb 6-2: new full speed USB device using uhci_hcd and address 24 Dec 23 20:00:54 suse01 kernel: usb 6-2: device not accepting address 24, error -71 Dec 23 20:00:54 suse01 kernel: usb 6-2: new full speed USB device using uhci_hcd and address 25 Dec 23 20:00:54 suse01 kernel: usb 6-2: device not accepting address 25, error -71 Dec 23 20:00:54 suse01 kernel: hub 6-0:1.0: unable to enumerate USB device on port 2 Dec 23 20:01:22 suse01 photosmart_7700_series?serial=MY4CH2K160U0: io/hpmud/musb.c 679: invalid deviceid wIndex=0, retrying wIndex=0: No such device Dec 23 20:01:22 suse01 photosmart_7700_series?serial=MY4CH2K160U0: io/hpmud/musb.c 688: invalid deviceid retry ret=-19: No such device Dec 23 20:01:22 suse01 photosmart_7700_series?serial=MY4CH2K160U0: io/hpmud/musb.c 731: invalid device_status: No such device Dec 23 20:01:22 suse01 photosmart_7700_series?serial=MY4CH2K160U0: prnt/backend/hp.c 594: ERROR: 1015 other; will retry in 30 seconds... Attached the cups-autoconfig.log file and a hp-check.log file combined in one file. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462048 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #262301|text/x-log |text/plain mime type| | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462048 User jsmeix@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462048#c1 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsmeix@novell.com AssignedTo|jsmeix@novell.com |bnc-team-screening@forge.provo.novell.com Component|Printing |Kernel QAContact|jsmeix@novell.com |qa@suse.de --- Comment #1 from Johannes Meixner <jsmeix@novell.com> 2009-01-07 00:35:36 MST --- Everything regarding the setup for printing looks o.k. because otherwise no print job at all could be printed. Even the message "kernel: usblp0: removed" is correct here because the CUPS backend "hp" is correctly used here for a HP device, see bug #184825. Therefore it seems to be a lower level USB issue why the device is no longer accessible (there is a message "kernel: usb 6-2: USB disconnect") after the first print job was sent successfuly. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462048 User egrimminck@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462048#c2 --- Comment #2 from Edwin Grimminck <egrimminck@novell.com> 2009-01-07 02:41:42 MST --- This hardware configuration has been working perfectly using OpenSUSE 11.0 for months, including sharing the printer to other machines. That's why I do not expect any USB hardware issue. I've changed a BIOS setting today in which I disabled the 'BIOS EHCI Hand-Off' feature. The end result is the same but I do see a small change in the /var/log/messages file after sending the 2nd print job: Jan 7 10:03:46 suse01 su: (to root) edwin on /dev/pts/1 HP_photosmart_7700_seriesJan 7 10:04:47 suse01 hpijs: WARNING: color pen has low ink Jan 7 10:04:47 suse01 hpijs: STATE: marker-supply-low-warning Jan 7 10:05:18 suse01 kernel: usb 2-1: reset full speed USB device using uhci_hcd and address 2 Jan 7 10:05:32 suse01 photosmart_7700_series?serial=MY4CH2K160U0: io/hpmud/musb.c 1335: unable to write data hp:/usb/photosmart_7700_series?serial=MY4CH2K160U0: 45 second io timeout Jan 7 10:05:33 suse01 kernel: usb 2-1: device descriptor read/64, error -110 Jan 7 10:05:48 suse01 kernel: usb 2-1: device descriptor read/64, error -110 Jan 7 10:05:48 suse01 kernel: usb 2-1: reset full speed USB device using uhci_hcd and address 2 Jan 7 10:06:03 suse01 kernel: usb 2-1: device descriptor read/64, error -110 Jan 7 10:06:18 suse01 kernel: usb 2-1: device descriptor read/64, error -110 Jan 7 10:06:19 suse01 kernel: usb 2-1: reset full speed USB device using uhci_hcd and address 2 Jan 7 10:06:24 suse01 kernel: usb 2-1: device descriptor read/8, error -110 Jan 7 10:06:29 suse01 kernel: usb 2-1: device descriptor read/8, error -110 Jan 7 10:06:29 suse01 kernel: usb 2-1: reset full speed USB device using uhci_hcd and address 2 Jan 7 10:06:34 suse01 kernel: usb 2-1: device descriptor read/8, error -110 Jan 7 10:06:39 suse01 kernel: usb 2-1: device descriptor read/8, error -110 Jan 7 10:06:39 suse01 kernel: usb 2-1: USB disconnect, address 2 Jan 7 10:06:39 suse01 photosmart_7700_series?serial=MY4CH2K160U0: io/hpmud/musb.c 679: invalid deviceid wIndex=0, retrying wIndex=0: No such device Jan 7 10:06:39 suse01 photosmart_7700_series?serial=MY4CH2K160U0: io/hpmud/musb.c 688: invalid deviceid retry ret=-19: No such device Jan 7 10:06:39 suse01 photosmart_7700_series?serial=MY4CH2K160U0: io/hpmud/musb.c 731: invalid device_status: No such device Jan 7 10:06:39 suse01 photosmart_7700_series?serial=MY4CH2K160U0: prnt/backend/hp.c 594: ERROR: 1014 media-jam-error; will retry in 30 seconds... Jan 7 10:06:39 suse01 kernel: scsi 8:0:0:0: Device offlined - not ready after error recovery Jan 7 10:06:39 suse01 kernel: scsi 8:0:0:0: rejecting I/O to dead device Jan 7 10:06:39 suse01 kernel: scsi 8:0:0:0: rejecting I/O to dead device Jan 7 10:06:39 suse01 kernel: scsi 8:0:0:0: rejecting I/O to dead device Jan 7 10:06:39 suse01 kernel: scsi 8:0:0:0: rejecting I/O to dead device Jan 7 10:06:39 suse01 kernel: scsi 8:0:0:0: [sdc] READ CAPACITY failed Jan 7 10:06:39 suse01 kernel: scsi 8:0:0:0: [sdc] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK Jan 7 10:06:39 suse01 kernel: scsi 8:0:0:0: [sdc] Sense not available. Jan 7 10:06:39 suse01 kernel: scsi 8:0:0:0: rejecting I/O to dead device Jan 7 10:06:39 suse01 kernel: scsi 8:0:0:0: [sdc] Write Protect is off Jan 7 10:06:39 suse01 kernel: scsi 8:0:0:0: [sdc] Mode Sense: 00 00 00 00 Jan 7 10:06:39 suse01 kernel: scsi 8:0:0:0: [sdc] Assuming drive cache: write through Jan 7 10:06:39 suse01 kernel: scsi 8:0:0:0: rejecting I/O to dead device Jan 7 10:06:39 suse01 kernel: scsi 8:0:0:0: rejecting I/O to dead device Jan 7 10:06:39 suse01 kernel: scsi 8:0:0:0: rejecting I/O to dead device Jan 7 10:06:39 suse01 kernel: scsi 8:0:0:0: rejecting I/O to dead device Jan 7 10:06:39 suse01 kernel: scsi 8:0:0:0: [sdc] READ CAPACITY failed Jan 7 10:06:39 suse01 kernel: scsi 8:0:0:0: [sdc] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK Jan 7 10:06:39 suse01 kernel: scsi 8:0:0:0: [sdc] Sense not available. Jan 7 10:06:40 suse01 kernel: scsi 8:0:0:0: rejecting I/O to dead device Jan 7 10:06:40 suse01 kernel: scsi 8:0:0:0: [sdc] Write Protect is off Jan 7 10:06:40 suse01 kernel: scsi 8:0:0:0: [sdc] Mode Sense: 00 00 00 00 Jan 7 10:06:40 suse01 kernel: scsi 8:0:0:0: [sdc] Assuming drive cache: write through Jan 7 10:06:40 suse01 kernel: usb 2-1: new full speed USB device using uhci_hcd and address 3 Jan 7 10:06:40 suse01 kernel: usb 2-1: device descriptor read/64, error -71 Jan 7 10:06:40 suse01 kernel: usb 2-1: device descriptor read/64, error -71 Jan 7 10:06:40 suse01 kernel: usb 2-1: new full speed USB device using uhci_hcd and address 4 Jan 7 10:06:40 suse01 kernel: usb 2-1: device descriptor read/64, error -71 Jan 7 10:06:40 suse01 kernel: usb 2-1: device descriptor read/64, error -71 Jan 7 10:06:41 suse01 kernel: usb 2-1: new full speed USB device using uhci_hcd and address 5 Jan 7 10:06:41 suse01 kernel: usb 2-1: device not accepting address 5, error -71 Jan 7 10:06:41 suse01 kernel: usb 2-1: new full speed USB device using uhci_hcd and address 6 Jan 7 10:06:41 suse01 kernel: usb 2-1: device not accepting address 6, error -71 Jan 7 10:06:41 suse01 kernel: hub 2-0:1.0: unable to enumerate USB device on port 1 The scsi messages are new but I don't know if they are related ... Any ideas how I can troubleshoot the lower level USB issue to figure out what's wrong? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462048 User aorlovskyy@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462048#c3 Alexander Orlovskyy <aorlovskyy@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |aorlovskyy@novell.com Info Provider| |egrimminck@novell.com --- Comment #3 from Alexander Orlovskyy <aorlovskyy@novell.com> 2009-01-15 07:28:06 MST --- Edwin, please provide following info: /var/log/cups-autoconfig.log -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462048 User egrimminck@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462048#c4 --- Comment #4 from Edwin Grimminck <egrimminck@novell.com> 2009-01-15 12:14:37 MST --- Created an attachment (id=265474) --> (https://bugzilla.novell.com/attachment.cgi?id=265474) cups-autoconfig.log -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462048 User aorlovskyy@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462048#c5 Alexander Orlovskyy <aorlovskyy@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|egrimminck@novell.com | --- Comment #5 from Alexander Orlovskyy <aorlovskyy@novell.com> 2009-01-16 02:39:41 MST --- Edwin , thanks for bug reporting. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462048 User aorlovskyy@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462048#c6 Alexander Orlovskyy <aorlovskyy@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|bnc-team-screening@forge.pr |kernel-maintainers@forge.pr |ovo.novell.com |ovo.novell.com --- Comment #6 from Alexander Orlovskyy <aorlovskyy@novell.com> 2009-01-16 02:40:18 MST --- Reassign to: kernel-maintainers -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462048 User gregkh@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462048#c7 Greg Kroah-Hartman <gregkh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gregkh@novell.com AssignedTo|kernel-maintainers@forge.pr |bphilips@novell.com |ovo.novell.com | --- Comment #7 from Greg Kroah-Hartman <gregkh@novell.com> 2009-01-21 12:52:54 MST --- Brandon, is this the same thing that your USB printer had problem with? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462048 User bphilips@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462048#c8 Brandon Philips <bphilips@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bphilips@novell.com --- Comment #8 from Brandon Philips <bphilips@novell.com> 2009-01-22 11:31:43 MST --- (In reply to comment #7)
Brandon, is this the same thing that your USB printer had problem with?
My printer had the same symptoms- only printing one job. However, I wasn't getting resets or errors from the USB subsystem. It is possible that adding the same quirk to this device could clear up the issue. Perhaps userspace in 11.0 wasn't doing things like checking for low ink? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462048 User bphilips@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462048#c9 Brandon Philips <bphilips@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |egrimminck@novell.com --- Comment #9 from Brandon Philips <bphilips@novell.com> 2009-02-06 14:55:53 MST --- Here is a test Kernel that disables the bidir feature for the usblp driver. Could you please install, boot and test the printer with this Kernel? Thanks, Brandon x86_64 rpms http://beta.suse.com/private/bphilips//462048//kernel-default-2.6.27.13-bnc4... http://beta.suse.com/private/bphilips//462048//kernel-default-base-2.6.27.13... http://beta.suse.com/private/bphilips//462048//kernel-default-extra-2.6.27.1... i586 rpms http://beta.suse.com/private/bphilips//462048//kernel-default-2.6.27.13-bnc4... http://beta.suse.com/private/bphilips//462048//kernel-default-base-2.6.27.13... http://beta.suse.com/private/bphilips//462048//kernel-default-extra-2.6.27.1... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462048 User bphilips@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462048#c10 --- Comment #10 from Brandon Philips <bphilips@novell.com> 2009-02-12 13:13:56 MST --- Have you had a chance to test the Kernels? Thanks, Brandon -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462048 User egrimminck@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462048#c11 --- Comment #11 from Edwin Grimminck <egrimminck@novell.com> 2009-02-16 01:53:13 MST --- Nope, I'm just back from holiday :) But, I'm running the pae kernel at the moment: rpm -qa |grep kernel kernel-source-2.6.27.7-9.1 kernel-pae-extra-2.6.27.7-9.1 linux-kernel-headers-2.6.27-2.28 kernel-pae-2.6.27.7-9.1 kernel-pae-base-2.6.27.7-9.1 So I guess I can't install the default kernel just like that? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462048 User egrimminck@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462048#c12 --- Comment #12 from Edwin Grimminck <egrimminck@novell.com> 2009-02-16 08:11:48 MST --- ok, so I removed the pae kernel and installed the default one you send me and it seems to be working. I've been able to print several documents from different applications now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462048 User bphilips@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462048#c13 --- Comment #13 from Brandon Philips <bphilips@novell.com> 2009-02-17 17:22:36 MST --- (In reply to comment #12)
ok, so I removed the pae kernel and installed the default one you send me and it seems to be working. I've been able to print several documents from different applications now.
Great. Before I submit this fix can you capture some debugging output for me? 1) Boot the PAE Kernel and run these commands as root. Then switch to a text editor like gedit and print a simple document that says "Hello". When the print job completes copy the text in the terminal and attach it as a comment on this bug. Then close the terminal and reboot. mount -t debugfs none_debugs /sys/kernel/debug modprobe usbmon export umonfile=$(lsusb | grep 03F0:B402 | cut -f2 -d" " | xargs printf /sys/kernel/debug/usbmon/%du) echo $umonfile cat $umonfile > /tmp/462048-`uname -r`.usbmon 2) Boot my debug Kernel and go through the same process you did with the PAE kernel in 1. Attach the output of the two commands and the /tmp/462048-*.usbmon files to this bug. Thanks! Brandon -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462048 User egrimminck@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462048#c14 --- Comment #14 from Edwin Grimminck <egrimminck@novell.com> 2009-02-20 01:46:13 MST --- Created an attachment (id=274198) --> (https://bugzilla.novell.com/attachment.cgi?id=274198) usbmon file for the PAE kernel -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462048 User egrimminck@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462048#c15 --- Comment #15 from Edwin Grimminck <egrimminck@novell.com> 2009-02-20 01:46:52 MST --- Created an attachment (id=274199) --> (https://bugzilla.novell.com/attachment.cgi?id=274199) usbmon file for the debug kernel -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462048 Brandon Philips <bphilips@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|egrimminck@novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462048 User bphilips@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462048#c16 --- Comment #16 from Brandon Philips <bphilips@novell.com> 2009-03-17 17:12:52 MST --- Created an attachment (id=280165) --> (https://bugzilla.novell.com/attachment.cgi?id=280165) usblp-test.sh Sorry for the delay on getting back to you. The usbmon output wasn't extremely helpful for two reasons: first, I messed up that script and monitored the entire USB bus, which means I got output from every device you had, not just the printer. Second, I didn't have any context from dmesg/messages to figure out which device was the printer. So, I wrote up a quick script, attached, for you to run. This will gather the dmesg output, /var/log/messages and usbmon from the printer. Can you please run this script, as root, under both my Kernel and the original PAE Kernel? You use it like this: host:~ # sh usblp-test.sh 03f0:b402 Print your test jobs and press return when it completes or after CUPS/dmesg indicates it failed Then upload the resulting usbmon file. Thanks for testing, Brandon -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462048 User bphilips@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462048#c17 Brandon Philips <bphilips@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |egrimminck@novell.com --- Comment #17 from Brandon Philips <bphilips@novell.com> 2009-03-17 17:23:06 MST --- Also, please plug the printer directly into your machine, not through a hub, to simplify debugging. Thanks, Brandon -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462048 User egrimminck@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462048#c18 Edwin Grimminck <egrimminck@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #274198|0 |1 is obsolete| | --- Comment #18 from Edwin Grimminck <egrimminck@novell.com> 2009-03-18 10:32:57 MST --- Created an attachment (id=280358) --> (https://bugzilla.novell.com/attachment.cgi?id=280358) usbmon file for the PAE kernel -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462048 User egrimminck@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462048#c19 Edwin Grimminck <egrimminck@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #274199|0 |1 is obsolete| | Status|NEEDINFO |ASSIGNED Info Provider|egrimminck@novell.com | --- Comment #19 from Edwin Grimminck <egrimminck@novell.com> 2009-03-18 10:44:28 MST --- Created an attachment (id=280362) --> (https://bugzilla.novell.com/attachment.cgi?id=280362) usbmon file for the debug kernel (zipped) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462048 User bphilips@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462048#c20 Brandon Philips <bphilips@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://bugs.launchpad.net/ | |hplip/+bug/344571 --- Comment #20 from Brandon Philips <bphilips@novell.com> 2009-03-20 16:39:22 MST --- It seems like hpijs may be sending the printer something it doesn't like causing the USB side of the device to stop responding.
From Comment #18 logs I see:
Mar 18 17:11:50 suse01 hpijs: WARNING: color pen has low ink Mar 18 17:11:50 suse01 hpijs: STATE: marker-supply-low-warning Mar 18 17:12:30 suse01 hpijs: WARNING: color pen has low ink Mar 18 17:12:30 suse01 hpijs: STATE: marker-supply-low-warning Mar 18 17:13:02 suse01 kernel: usb 2-1: reset full speed USB device using uhci_hcd and address 2 Mar 18 17:13:15 suse01 photosmart_7700_series?serial=MY4CH2K160U0: io/hpmud/musb.c 1335: unable to write data hp:/usb/photosmart_7700_series?serial=MY4CH2K160U0: 45 second io timeout Mar 18 17:13:17 suse01 kernel: usb 2-1: device descriptor read/64, error -110 Mar 18 17:13:32 suse01 kernel: usb 2-1: device descriptor read/64, error -110 Mar 18 17:13:33 suse01 kernel: usb 2-1: reset full speed USB device using uhci_hcd and address 2
From Comment #19 logs (which includes my Kernel patch) I see:
Mar 18 17:21:29 suse01 kernel: usblp0: Disabling reads from problematic bidirectional printer .. Mar 18 17:22:08 suse01 kernel: usblp0: removed Mar 18 17:22:09 suse01 hpijs: WARNING: color pen has low ink Mar 18 17:22:09 suse01 hpijs: STATE: marker-supply-low-warning Mar 18 17:22:41 suse01 kernel: usb 2-1: reset full speed USB device using uhci_hcd and address 2 Mar 18 17:22:55 suse01 photosmart_7700_series?serial=MY4CH2K160U0: io/hpmud/musb.c 1335: unable to write data hp:/usb/photosmart_7700_series?serial=MY4CH2K160U0: 45 second io timeout Mar 18 17:22:56 suse01 kernel: usb 2-1: device descriptor read/64, error -110 Mar 18 17:23:11 suse01 kernel: usb 2-1: device descriptor read/64, error -110 Since this seems to be happening from user space via hpijs could you suggest some debugging steps? I filed a bug upstream with HPLIP, perhaps they have an idea. https://bugs.launchpad.net/hplip/+bug/344571 Cheers, Brandon -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462048 User bphilips@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462048#c21 Brandon Philips <bphilips@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |jsmeix@novell.com --- Comment #21 from Brandon Philips <bphilips@novell.com> 2009-03-20 16:41:16 MST --- (In reply to comment #20)
It seems like hpijs may be sending the printer something it doesn't like causing the USB side of the device to stop responding.
Since this seems to be happening from user space via hpijs could you suggest some debugging steps?
Sorry for not being clear. Johannes, could you suggest some debugging steps for Edwin to try? Thanks, Brandon -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462048 User jsmeix@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462048#c22 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|jsmeix@novell.com | --- Comment #22 from Johannes Meixner <jsmeix@novell.com> 2009-03-23 04:46:26 MST --- I am afraid I cannot suggest better debugging steps than what was already done. Therefore it was perfectly right to file the upstream bug https://bugs.launchpad.net/hplip/+bug/344571 and wait what the real experts at HP say. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462048 User jsmeix@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462048#c23 --- Comment #23 from Johannes Meixner <jsmeix@novell.com> 2009-03-23 05:04:05 MST --- By the way: When normal printing fails because bidirectional communication fails, a possible workaround is to use ony unidirectional communication. Then there is of course no longer device status information or scanning input for all-in-one devices but at least normal printing might then work reliable. To enforce unidirectional communication, set up the device with the generic "usb" CUPS backend (and not with the "hp" backend). To do this, reboot the computer so that the generic USB communication via the "usblp" kernel module works ("modprobe usblp" may also work) compare comment #1 and bug #184825. Then run as root "lpinfo -v" and verify that the device is also reported (i.e. "autodetected") with a "usb:/..." CUPS DeviceURI. Then use e.g. YaST (run as root "yast2 printer") and click [More Connections] to get also the "usb:/..." connection shown (by default YaST prefers the "hp:/..." connection for HP devices) and use the "usb:/..." connection to set up the print queue (see also the help text in YaST). You can still use the hpijs driver for the queue. I.e. you can get the same printout quality. Only device status information and scanning for all-in-one devides is no longer possible. The crucial point is that the data transfer happens via the "usb" CUPS backend to enforce unidirectional communication. Note that a few low-end HP devices require bidirectional communication in any case even for normal printing. I hope that a Photosmart 7700 series device is sufficiently normal to work also with unidirectional communication. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462048 User egrimminck@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462048#c24 --- Comment #24 from Edwin Grimminck <egrimminck@novell.com> 2009-03-23 07:49:36 MST --- ok, that seems to be working. I'm now running kernel-default-2.6.27.19-3.2.1 and using the USB connection to the printer. Printer seems to response correctly and I'm able to print multiple jobs. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462048 User bphilips@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462048#c25 Brandon Philips <bphilips@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bphilips@novell.com |jsmeix@novell.com --- Comment #25 from Brandon Philips <bphilips@novell.com> 2009-03-23 11:52:51 MST --- Johannes- Since this looks like an HPLIP bug I will reassign to you so you can keep bugging upstream and merge a fix if they come up with one. Thanks, Brandon -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462048 User jsmeix@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462048#c26 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Component|Kernel |Printing QAContact|qa@suse.de |jsmeix@novell.com --- Comment #26 from Johannes Meixner <jsmeix@novell.com> 2009-03-24 08:26:37 MST --- I changed the component back to "printing". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462048 User jsmeix@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462048#c27 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |UPSTREAM --- Comment #27 from Johannes Meixner <jsmeix@novell.com> 2009-03-24 08:28:57 MST --- Revolved it as "upstream" via https://bugs.launchpad.net/hplip/+bug/344571 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com