Hi Duncan,
Thank you for replying so promptly, xmas break and all.
> please rebuild your kernel with CONFIG_USB_DEBUG=y. You may well then
> get some helpful messages.
Ah, good one! I shall do this just as soon as I can. My computers are
busy at the moment, so it will be a day or two before I can re-test.
>> Linux version 2.6.19.1-skas3-v9-pre9 ([EMAIL PROTECTED]) (gcc version 3.4.6)
>> #1
>> SMP Sat Dec 23 15:58:20 UTC 2006
>> ...
>> usb 1-2: new full speed USB device using uhci_hcd and address 2
>> usb 1-2: configuration #1 chosen from 1 choice
>> NET: Registered protocol family 8
>> NET: Registered protocol family 20
>> usb 1-2: reset full speed USB device using uhci_hcd and address 2
>> usbcore: registered new interface driver speedtch
>> usbcore: deregistering interface driver speedtch
>> speedtch 1-2:1.0: found stage 1 firmware speedtch-1.bin.4.00
>> speedtch 1-2:1.0: found stage 2 firmware speedtch-2.bin.4.00
>> speedtch 1-2:1.0: speedtch_test_sequence failed on URB147: -110
>> ATM dev 0: usbatm_complete: urb 0xd6d04bc0 failed (-2)!
>> ATM dev 0: usbatm_complete: urb 0xd6d04b40 failed (-2)!
>> ATM dev 0: usbatm_complete: urb 0xd6d04ac0 failed (-2)!
>> ATM dev 0: usbatm_complete: urb 0xd6d04a40 failed (-2)!
>
> These messages are all consistent with the modem being disconnected
> (this can occur for many reasons, such as electrical problems, and
> not just unplugging it). I see from the rest of the log that it
> doesn't always happen at the same point, eg URB147 failed above,
> but not below.
Yes, quite so. These messages scroll past pretty fast during the boot
sequence but not in any particular order, as if there is some race in
the kernel between the different modules.
>> NET: Unregistered protocol family 20
>> speedtch: Unknown symbol usbatm_usb_disconnect
>> speedtch: Unknown symbol usbatm_usb_probe
>
> I don't know what these unknown symbols are about.
Neither do I:
# readelf -s
/lib/modules/2.6.19.1-skas3-v9-pre9/kernel/drivers/usb/atm/speedtch.ko |
grep -E 'usbatm_usb_disconnect|usbatm_usb_probe'
125: 00000000 0 NOTYPE GLOBAL DEFAULT UND usbatm_usb_disconnect
143: 00000000 0 NOTYPE GLOBAL DEFAULT UND usbatm_usb_probe
# readelf -s
/lib/modules/2.6.19.1-skas3-v9-pre9/kernel/drivers/usb/atm/usbatm.ko |
grep -E 'usbatm_usb_disconnect|usbatm_usb_probe'
124: 00001da0 521 FUNC GLOBAL DEFAULT 1 usbatm_usb_disconnect
148: 000015e0 1955 FUNC GLOBAL DEFAULT 1 usbatm_usb_probe
> I can only imagine that you are loading modules compiled
> for a different kernel version, or something of that kind.
I'm afraid not. In fact, the entire OS is compiled in one (long-running)
job so everything is consistent.
>> So my question is.... what has happened to the kernel since 2.6.17.8?
>
> Lots changed in the kernel and the USB layer. Nothing changed in
> the speedtouch driver between 2.6.17 and 2.6.18. There were some
> changes for 2.6.19.
Yes, I noticed. My question was really to do with the USB stuff, mainly
because this all started when I experienced massive packet loss with
2.6.17.8. In particular (and I think it was mentioned on this list) I
remember reading of problems being experienced with failed URBs when a
packet full of 0xff's was received; it seemed that the URBs would get
lost somewhere in the USB stack, although I do not remember seeing a
fix. Of course my memory could be deceiving me.
> Are you using enable_isoc=1?
Nope. What does it do? The only option I have set is dl_512_first=1,
which I turned on in a vain attempt to get speedtch working way back
when I first bought the modem and was doing battle with udev. I'm sure I
could remove it without it making any difference.
> Do you also have the userspace driver
> (it could be forceably disconnecting the kernel module).
Nope. The only software running at this point is the kernel, udevd,
udevtrigger and then udevsettle, plus whatever they spawn (modprobe and
the mounting of /proc/bus/usb). Might udev have something to do with
this, perhaps by loading modules before their dependencies are properly
initialized?
> Did you
> build and install your kernel + modules correctly?
I hope so; it's the same process I've been using for years, the initrd
works perfectly if I boot the machine without the modem plugged in. It
also works if I try a virgin kernel rather than one with UML patches
applied.
On a further note, I have captured an instance of my connection going
down inexplicably using 2.6.17.8, and I wonder if you could pass
judgement on why this happens.
At 21:39 on Boxing Day I started experiencing heavy packet loss. Apart
from a few bots (like the news spool) which slowly choked to death,
nothing much happened, and nothing appeared in the logs until this:
Dec 26 21:59:12 pfw kernel: ATM dev 0: usbatm_complete: urb 0xd7135ba0
failed (-84)!
Dec 26 21:59:12 pfw kernel: ATM dev 0: usbatm_complete: urb 0xd7135b20
failed (-84)!
Dec 26 21:59:12 pfw kernel: ATM dev 0: usbatm_complete: urb 0xd7135ca0
failed (-84)!
Dec 26 21:59:12 pfw kernel: ATM dev 0: usbatm_complete: urb 0xd7135c20
failed (-84)!
Dec 26 21:59:13 pfw kernel: usb 1-2: USB disconnect, address 2
Dec 26 21:59:13 pfw kernel: uhci_hcd 0000:00:07.2: remove, state 1
Dec 26 21:59:13 pfw kernel: usb usb1: USB disconnect, address 1
Dec 26 21:59:13 pfw kernel: hub 1-0:1.0: hub_port_status failed (err = -19)
Dec 26 21:59:13 pfw kernel: hub 1-0:1.0: connect-debounce failed, port 2
disabled
Dec 26 21:59:13 pfw kernel: hub 1-0:1.0: cannot disable port 2 (err = -19)
Dec 26 21:59:13 pfw kernel: uhci_hcd 0000:00:07.2: USB bus 1 deregistered
Dec 26 21:59:13 pfw kernel: ACPI: PCI interrupt for device 0000:00:07.2
disabled
after which packet loss was 100% (obviously), but pppd (2.4.4) remained
up for hours until I rebooted. It has gone down a few times since then
without so much as a squeak from the kernel, just massive packet loss.
Any ideas?
Regards,
Steve
Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]