View previous topic :: View next topic |
Author |
Message |
Akhouk Guru
Joined: 23 May 2003 Posts: 476 Location: The Two Niles, Africa
|
Posted: Tue Mar 23, 2004 2:31 pm Post subject: Speedtouch & Gentoo Sources 2.4.25 - [RESOLVED] |
|
|
I have tried to upgrade my kernel from Gentoo Sources 2.4.20-gentoo-r8 to 2.4.25 but my speedtouch usb alcatel modem stops working. I tried re-emerging hotplug and speedtouch but to no avail. Booting back onto the old kernel still works.
When I do lsmod on the 2.4.25 kernel I get this:
Code: | # lsmod
Module Size Used by Not tainted
nfs 72060 1 (autoclean)
lockd 46960 1 (autoclean) [nfs]
sunrpc 69920 1 (autoclean) [nfs lockd]
ipt_LOG 3480 2 (autoclean)
ipt_limit 952 1 (autoclean)
ipt_state 536 1 (autoclean)
ipt_MASQUERADE 1432 0 (autoclean)
iptable_nat 16270 0 (autoclean) [ipt_MASQUERADE]
ip_conntrack 21732 0 (autoclean) [ipt_state ipt_MASQUERADE iptable_nat]
iptable_filter 1644 1 (autoclean)
ip_tables 12512 8 [ipt_LOG ipt_limit ipt_state ipt_MASQUERADE iptable_nat iptable_filter]
ppp_synctty 6272 1 (autoclean)
ppp_generic 21988 3 (autoclean) [ppp_synctty]
slhc 4976 0 (autoclean) [ppp_generic]
speedtch 9008 0 (unused)
atm 37336 0 [speedtch]
ne2k-pci 4416 1
8390 6384 0 [ne2k-pci]
input 3328 0 (unused)
usb-ohci 19208 0 (unused)
usbcore 60460 2 [speedtch usb-ohci]
|
Yet on my old 2.4.20 kernel I got:
Code: | # lsmod
Module Size Used by Tainted: GF
nfs 65944 1 (autoclean)
lockd 46352 1 (autoclean) [nfs]
sunrpc 62076 1 (autoclean) [nfs lockd]
ipt_LOG 3320 2 (autoclean)
ipt_limit 824 1 (autoclean)
ipt_state 568 1 (autoclean)
ipt_MASQUERADE 1240 2 (autoclean)
iptable_nat 16312 1 (autoclean) [ipt_MASQUERADE]
ip_conntrack 19816 2 (autoclean) [ipt_state ipt_MASQUERADE iptable_nat]
iptable_filter 1644 1 (autoclean)
ip_tables 12288 8 [ipt_LOG ipt_limit ipt_state ipt_MASQUERADE iptable_nat iptable_filter]
n_hdlc 6208 1 (autoclean)
ppp_synctty 5856 1 (autoclean)
ppp_generic 15676 3 (autoclean) [ppp_synctty]
slhc 5104 0 (autoclean) [ppp_generic]
ne2k-pci 5376 1
8390 6128 0 [ne2k-pci]
hid 13108 0 (unused)
usb-ohci 17984 0 (unused)
usbcore 57184 2 [hid usb-ohci]
|
The difference I notice are that there is a new module speedtch and atm[/] and that the module [i]n_hdlc has disappeared.
Does anyone know what is going on here? AFAIK, the speedtch.o module is for the kernel driver rather than the userland driver that I have been using by emergeing speedtouch. I tried rmmod'ing it but could still not sync my adsl modem. Also, according to the documentation the n_hdlc module is required by where did it disappear to? Can I get that back?
Help appreciated.
Last edited by Akhouk on Wed Mar 24, 2004 7:35 pm; edited 1 time in total |
|
Back to top |
|
|
50cc n00b
Joined: 19 Feb 2004 Posts: 49 Location: The Netherlands
|
Posted: Tue Mar 23, 2004 4:45 pm Post subject: |
|
|
I'm not sure but you can give this a try:
In my 2.6.2 kernel i to modules n_hdlc is to be enabled in Device drivers->Character devices->Non standard serial port->HDLC line discipline
In the 2.4 this should be in Charater devices. |
|
Back to top |
|
|
Akhouk Guru
Joined: 23 May 2003 Posts: 476 Location: The Two Niles, Africa
|
Posted: Wed Mar 24, 2004 11:52 am Post subject: More info |
|
|
Thanks for your help 50cc but it didn't fix the problem. Although I do now have the n_hdlc module back.
These are the errors that I get in the log file:
Code: |
Mar 24 08:13:03 tux modem_run[4889]: modem_run version 1.2-beta2 started by root uid 0
Mar 24 08:13:03 tux modem_run[4889]: Found ALCATEL SpeedTouch USB modem
Mar 24 08:13:03 tux modem_run[4889]: Best offset 0 with probability 100%
Mar 24 08:13:03 tux modem_run[4889]: Best offset 671645 with probability 100%
Mar 24 08:13:03 tux modem_run[4889]: Firmware information (CRC:0x3b4a5854, Size:671653, 1.6.1 - MacOSX - Win32(1.0.1800))
Mar 24 08:13:05 tux kernel: usb_control/bulk_msg: timeout
Mar 24 08:13:05 tux kernel: usbdevfs: USBDEVFS_BULK failed dev 2 ep 0x85 len 512 ret -110
Mar 24 08:13:05 tux modem_run[4889]: BLOCK1 : 883 bytes uploaded : OK
Mar 24 08:13:06 tux modem_run[4889]: BLOCK2 : 511 bytes downloaded : OK
Mar 24 08:13:08 tux modem_run[4889]: BLOCK3 : 671653 bytes uploaded : OK
Mar 24 08:13:08 tux modem_run[4889]: BLOCK4 : 511 bytes downloaded : OK
Mar 24 08:13:09 tux modem_run[4889]: Another program/driver is already accessing the modem (interface 1 cannot be claimed)...
|
It seems that something else is interferring and consequently modem_run failes to upload the mircocode to the modem and synchronise.
Any other clues? |
|
Back to top |
|
|
50cc n00b
Joined: 19 Feb 2004 Posts: 49 Location: The Netherlands
|
Posted: Wed Mar 24, 2004 12:11 pm Post subject: |
|
|
I've seen that before on a Suse 9.0 machine, the problem is i never got the speedtouch working on that machine.
What i did was unload the speedtouch module and re-ran modem_run.
Hope this helps. |
|
Back to top |
|
|
Akhouk Guru
Joined: 23 May 2003 Posts: 476 Location: The Two Niles, Africa
|
Posted: Wed Mar 24, 2004 7:34 pm Post subject: fixed |
|
|
Ok, got it working now.
I had to disable the Speedtouch modem from the USB section of the kernel configuration. I don't think the kernel version of the speedtouch driver was switched on by default before and genkernel must have enabled it. I also had to add back in the n_hdlc as mentioned earlier. It now runs smoothly again everytime.
I have been using the userland speedtouch driver for years actually and it has always been fine. This was the first time I had a problem with it not synchronising.
Thanks for your help. |
|
Back to top |
|
|
|