kernel: WARNING: at drivers/usb/host/ehci-hcd.c:1178 ehci_endpoint_reset+0xee/0x100()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
New
|
Undecided
|
Unassigned | ||
Fedora |
Won't Fix
|
Undecided
|
Bug Description
Dear HPLIP developers,
several Fedora users see this problem (see Summary) when using HP printer over USB.
Here's a reply from Alan Stern (upstream USB maintainer):
I took a look at the source code for the hplip package. In
io/hpmud/musb.c, the musb_raw_
usb_clear_halt() for each bulk-in and bulk-out endpoint that it uses,
whether the endpoint needs it or not. If one of those endpoints had a
read or write going on in another thread at the same time, the
usb_clear_halt() call would cause the WARN to trigger.
It's hard to tell exactly what the program is doing. You'd think that
all I/O to a printer would be serialized, and ongoing reads or writes
would be completed before anything was closed. But the use of multiple
threads and callback routines makes the code difficult to follow.
Anyway, removing those usb_clear_halt() calls would most likely
eliminate the problem. Of course, they might be needed for some
printers. Still, it's best not to clear a halted endpoint until you
know that it is halted, and then it is best to clear the halt condition
right away instead of waiting until some I/O channel is closed.
Changed in fedora: | |
importance: | Unknown → Undecided |
status: | Unknown → Won't Fix |
libreport version: 2.0.8 /vmlinuz- 3.2.3-2. fc16.i686. PAE root=/dev/ mapper/ vg_atlas- lv_root ro rd.md=0 rd.dm=0 rd.lvm. lv=vg_atlas/ lv_swap KEYTABLE=us quiet SYSFONT= latarcyrheb- sun16 rhgb rd.luks=0 LANG=en_US.UTF-8 rd.lvm. lv=vg_atlas/ lv_root 05-17:21: 30> Smolt profile successfully saved fc16.i686. PAE usb/host/ ehci-hcd. c:1178 ehci_endpoint_ reset+0xee/ 0x100()
abrt_version: 2.0.7
cmdline: BOOT_IMAGE=
comment: I have Fedora 16 installed with a USB Photosmart C3150 All-in-one Printer. I have hplip installed with CUPS using that. I requested a print.
event_log: 2012-02-
kernel: 3.2.3-2.
reason: WARNING: at drivers/
time: Sun 05 Feb 2012 04:49:47 PM PST
backtrace: usb/host/ ehci-hcd. c:1178 ehci_endpoint_ reset+0xee/ 0x100() netbios_ ns nf_conntrack_ broadcast ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 nf_conntrack_ipv4 nf_defrag_ipv4 ip6table_filter xt_state nf_conntrack ip6_tables snd_emu10k1_synth snd_emux_synth snd_seq_virmidi snd_seq_midi_event snd_seq_midi_emul snd_emu10k1 snd_rawmidi ppdev snd_intel8x0 snd_ac97_codec ac97_bus snd_seq gspca_spca501 gspca_main snd_pcm usblp videodev media emu10k1_gp gameport serio_raw parport_pc parport sis900 mii microcode snd_seq_device snd_util_mem snd_timer snd_hwdep snd soundcore snd_page_alloc binfmt_misc sunrpc ata_generic pata_acpi usb_storage aic7xxx scsi_transport_spi sata_sis pata_sis nouveau ttm drm_kms_helper drm i2c_algo_bit i2c_core mxm_wmi wmi video [last unloaded: scsi_wait_scan] fc16.i686. PAE #1 common+ 0x72/0xa0 reset+0xee/ 0x100 reset+0xee/ 0x100 fmt+0x33/ 0x40 reset+0xee/ 0x100 reset_endpoint+ 0x25/0x70 endpoint+ 0x25/0x40 halt+0x73/ 0x80 do_ioctl+ 0x89d/0x1d90 perm+0xcb/ 0xe0 do_ioctl+ 0x1d90/ 0x1d90 ioctl+0xd/ 0x10 ioctl+0x86/ 0x5a0 file_ioctl+ 0x54/0x110 call+0x7/ 0xb cpu_init+ 0x471/0xe1a
:WARNING: at drivers/
:Hardware name: To Be Filled By O.E.M.
:clear_halt for a busy endpoint
:Modules linked in: nls_utf8 fuse lockd nf_conntrack_
:Pid: 1146, comm: hp Not tainted 3.2.3-2.
:Call Trace:
: [<c045e352>] warn_slowpath_
: [<c07a85ce>] ? ehci_endpoint_
: [<c07a85ce>] ? ehci_endpoint_
: [<c045e423>] warn_slowpath_
: [<c07a85ce>] ehci_endpoint_
: [<c0790d85>] usb_hcd_
: [<c0791e65>] usb_reset_
: [<c0792993>] usb_clear_
: [<c079af4d>] usbdev_
: [<c06134ab>] ? file_has_
: [<c079c440>] ? usbdev_
: [<c079c44d>] usbdev_
: [<c054ff26>] do_vfs_
: [<c0613924>] ? selinux_
: [<c05504af>] sys_ioctl+0x6f/0x80
: [<c093c4e4>] syscall_
: [<c0930000>] ? powernowk8_
smolt_data: ======= ======= ======= ====== 6c8e-495e- 8a42-f7d1db5e39 ee fc16.i686. PAE
:
:
:General
:======
:UUID: c3269a5b-
:OS: Fedora release 16 (Verne)
:Default run level: Unknown
:Language: en_US.utf8
:Platform: i686
:BogoMIPS: 4801.83
:CPU Vendor: GenuineIntel
:CPU Model: Intel(R) Pentium(R) 4 CPU 2.40GHz
:CPU Stepping: 4
:CPU Family: 15
:CPU Model Num: 2
:Number of CPUs: 1
:CPU Speed: 2399
:System Memory: 3025
:System Swap: 5087
:Vendor: To Be Filled By O.E.M.
:System: To Be Filled By O.E.M. To Be Filled By O.E.M.
:Form factor: Desktop
:Kernel: 3.2.3-2.
:SELinux Enabled: 1
:SELinux Policy: targeted
:SELinux Enforce: Permissive
:MythTV Remote: Unknown
:MythTV Role: Unknown
:MythTV Theme: Unknown
:MythTV Plugin:
:MythTV Tuner: -1
:
:
:Devices
:==...