2004-09-12 18:05:17

by martin f krafft

[permalink] [raw]
Subject: usb: device not accepting address

I have a USB device in this 2.6.8.1 machine of mine, and it's acting
up:

usb 4-6: new high speed USB device using address 47
usb 4-6: control timeout on ep0in
usb 4-6: device not accepting address 47, error -71

I don't know what the problem is because I did get that device to
work before. However, now it does not work anymore. Would you agree
with me that the device firmware is probably messed up? Or what else
could be the cause?

What's worse is that my entire USB subsystem seems to hang. So
I tried to restart hotplug (which usually helps) but that resulted
in khubd crashing upon removal of uhci-hcd:

root 6215 0.0 0.0 1520 408 pts/4 DN+ 11:54 0:00 rmmod uhci-hcd

This is what dmesg says:

Unable to handle kernel NULL pointer dereference at virtual address 00000008
printing eip:
f8b3a394
*pde = 00000000
Oops: 0000 [#1]
PREEMPT
Modules linked in: visor usbserial bnep rfcomm l2cap sd_mod ide_cd cdrom ipv6 lp thermal fan button processor ac battery af_packet ipt_LOG ipt_limit ipt_REJECT ipt_state iptable_filter ipt_MASQUERADE iptable_nat ip_conntrack ip_tables hci_usb bluetooth 8139cp bt878 eth1394 sata_promise libata scsi_mod ohci1394 ieee1394 pci_hotplug via_agp agpgart pcspkr parport_pc parport tuner tvaudio msp3400 bttv video_buf i2c_algo_bit v4l2_common btcx_risc i2c_core videodev 8139too mii crc32 tg3 firmware_class snd_bt87x via_ircc irda crc_ccitt uhci_hcd usbcore snd_via82xx snd_ac97_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_page_alloc gameport snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore dm_mod tsdev mousedev evdev capability commoncap psmouse rtc xfs reiserfs vfat fat isofs ext2 ext3 jbd mbcache ide_generic via82cxxx ide_disk ide_core unix font vesafb cfbcopyarea cfbimgblt cfbfillrect
CPU: 0
EIP: 0060:[<f8b3a394>] Not tainted
EFLAGS: 00010002 (2.6.8-1-k7)
EIP is at hcd_endpoint_disable+0x74/0x1e0 [usbcore]
eax: 00000000 ebx: 00000080 ecx: f783e000 edx: f7b53400
esi: ffffffed edi: 00000000 ebp: 00000008 esp: f783fee0
ds: 007b es: 007b ss: 0068
Process khubd (pid: 1016, threadinfo=f783e000 task=f7af5770)
Stack: 00000400 f8b451c0 f783ff00 ffffffed f4c97000 f4c97400 00000000 00000080
ffffffed 00000101 f4c97000 f8b3bd74 f7b53400 00000080 f7b53400 f8b380bc
f7b53400 00000080 00000001 f8b35fd8 f783e000 00000001 f7dc8ba0 f7dc8bb0
Call Trace:
[<f8b3bd74>] usb_disable_endpoint+0x74/0x80 [usbcore]
[<f8b380bc>] hub_port_connect_change+0x1bc/0x400 [usbcore]
[<f8b35fd8>] clear_port_feature+0x58/0x60 [usbcore]
[<f8b38575>] hub_events+0x275/0x3c0 [usbcore]
[<f8b386f5>] hub_thread+0x35/0x110 [usbcore]
[<c0119d30>] autoremove_wake_function+0x0/0x60
[<c0105fde>] ret_from_fork+0x6/0x14
[<c0119d30>] autoremove_wake_function+0x0/0x60
[<f8b386c0>] hub_thread+0x0/0x110 [usbcore]
[<c0104291>] kernel_thread_helper+0x5/0x14
Code: 8b 50 08 8d 5a f4 8b 43 0c 0f 18 00 90 39 ea 74 2d 89 4c 24
<6>note: khubd[1016] exited with preempt_count 1

Thanks for any hints,

--
martin; (greetings from the heart of the sun.)
\____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck

invalid/expired pgp subkeys? use subkeys.pgp.net as keyserver!
spamtraps: [email protected]

"sobald man ?ber niveau spricht
ist man l?ngst dar?ber hinweg."
-- thomas krafft


Attachments:
(No filename) (3.33 kB)
signature.asc (189.00 B)
Digital signature
Download all attachments

2004-09-12 18:43:49

by martin f krafft

[permalink] [raw]
Subject: Re: usb: device not accepting address

also sprach John Wendel <[email protected]> [2004.09.12.2030 +0200]:
> I had this problem also. I built a new kernel with ACPI turned
> off and the problem went away. My computer has a VIA chipset, and
> I see VIA in your module list. Perhaps the VIA USB driver has some
> problems.

I need ACPI. That said, USB works fine for all other devices. I am
using a Bluetooth dongle, a smart media reader, a Palm cradle, and
my mouse is also USB...

When I unplug the device, everything works fine. Plus, I did get the
device to work previously and have not changed anything since then
other than a reboot.

The device is, btw, an internal Maxxtro smart media reader,
connected to the motherboard directly by with four pins, i.e. not
a USB jack.

And yes, VIA sucks.

--
martin; (greetings from the heart of the sun.)
\____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck

invalid/expired pgp subkeys? use subkeys.pgp.net as keyserver!
spamtraps: [email protected]

fitter, healthier, more productive
like a pig, in a cage, on antibiotics
-- radiohead


Attachments:
(No filename) (1.11 kB)
signature.asc (189.00 B)
Digital signature
Download all attachments