Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Speedtouch & Gentoo Sources 2.4.25 - [RESOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Akhouk
Guru
Guru


Joined: 23 May 2003
Posts: 476
Location: The Two Niles, Africa

PostPosted: Tue Mar 23, 2004 2:31 pm    Post subject: Speedtouch & Gentoo Sources 2.4.25 - [RESOLVED] Reply with quote

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
View user's profile Send private message
50cc
n00b
n00b


Joined: 19 Feb 2004
Posts: 49
Location: The Netherlands

PostPosted: Tue Mar 23, 2004 4:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
Akhouk
Guru
Guru


Joined: 23 May 2003
Posts: 476
Location: The Two Niles, Africa

PostPosted: Wed Mar 24, 2004 11:52 am    Post subject: More info Reply with quote

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
View user's profile Send private message
50cc
n00b
n00b


Joined: 19 Feb 2004
Posts: 49
Location: The Netherlands

PostPosted: Wed Mar 24, 2004 12:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
Akhouk
Guru
Guru


Joined: 23 May 2003
Posts: 476
Location: The Two Niles, Africa

PostPosted: Wed Mar 24, 2004 7:34 pm    Post subject: fixed Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum