kernel oops with SpeedTouch USB ADSL modem

Bug #284664 reported by Xavier Bassery
10
Affects Status Importance Assigned to Milestone
Linux
Fix Released
Medium
linux (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Intrepid by Krzysztof Burghardt

Bug Description

version: 2.6.27.7.9

When plugging an Alcatel SpeedTouch usb adsl modem to the laptop, dmesg shows a kernel oops (see attachment).
On a 8.04 machine, the relevant lsusb output is :
    Bus 003 Device 002: ID 06b9:4061 Alcatel Telecom SpeedTouch ISDN or ADSL Modem

Revision history for this message
Xavier Bassery (xaba) wrote :
Revision history for this message
Xavier Bassery (xaba) wrote :
Revision history for this message
Xavier Bassery (xaba) wrote :
Revision history for this message
Xavier Bassery (xaba) wrote :
Revision history for this message
Klepson (ayrie3) wrote :

I've got the same problem. Sometimes it happens though that the modem is detected correctly and it's even possible to establish a working connection. Though, that has never happened when the modem was pluged in during system boot.

Revision history for this message
cdarken (cata-en) wrote :

I have also a speedtouch 330 modem and when I boot with the latest kernel, I get the same error.
This is a confirmed problem of 2.6.27 kernel. I have tried this on gentoo also, and I was able to find a solution searching on the internet.
You can read the solution here: http://bugzilla.kernel.org/show_bug.cgi?id=11767

I used the patch given there and I can confirm that it works on kernel 2.6.27-3.

Again the patch, credit to Alan Stern, quoting from his post:

>> The problem is that the speetch driver calls usb_reset_device() without
>> defining pre_reset and post_reset methods. As a result, any interfaces
>> it claims during probe get disconnected.

>> Here's a minimal fix. It isn't entirely correct, but at least it
>> should get the driver working as well as it did before 2.6.27.

>> Alan Stern

Index: usb-2.6/drivers/usb/atm/speedtch.c
===================================================================
--- usb-2.6.orig/drivers/usb/atm/speedtch.c
+++ usb-2.6/drivers/usb/atm/speedtch.c
@@ -722,6 +722,16 @@ static void speedtch_atm_stop(struct usb
        flush_scheduled_work();
 }

+static int speedtch_pre_reset(struct usb_interface *intf)
+{
+ return 0;
+}
+
+static int speedtch_post_reset(struct usb_interface *intf)
+{
+ return 0;
+}
+

 /**********
 ** USB **
@@ -740,6 +750,8 @@ static struct usb_driver speedtch_usb_dr
        .name = speedtch_driver_name,
        .probe = speedtch_usb_probe,
        .disconnect = usbatm_usb_disconnect,
+ .pre_reset = speedtch_pre_reset,
+ .post_reset = speedtch_post_reset,
        .id_table = speedtch_usb_ids
 };

I hope we'll see this patch in the kernel that comes on the cd, because I think a lot of people use this modem, and it would be a shame not to let them enjoy the new release.

Jorge Castro (jorge)
Changed in linux:
status: New → Confirmed
Changed in linux:
status: Unknown → In Progress
Revision history for this message
cdarken (cata-en) wrote :

So? I didn't see any changes. Can we expect changes on a new version of the iso image? Or at least in a kernel update.

Revision history for this message
Xavier Bassery (xaba) wrote :

FYI I have seen lately a new kernel version (2.6.27-8.17) in intrepid-proposed (https://wiki.ubuntu.com/Testing/EnableProposed) that should include the fix you have mentioned to this bug.
The changelog reads in the "upstream kernel changes" section:
    * USB: Speedtouch: add pre_reset and post_reset routines
This kernel encompasses the upstream version 2.6.27.4.

I haven't had the chance to test it for not having such a device at hand any more.

Revision history for this message
tobal (lopeztobal) wrote :

I've installed this new kernel version (2.6.27-8.17) and my speedtouch330 works fine, thank you

Revision history for this message
Philip Aston (philipa) wrote :

I see this oops with 2.6.27.9 (which you would think would include the fix if 2.6.27-8.17 did).

Anyway, AFAICS 2.6.27.8.17 is no longer in intrepid-proposed, so I took 2.6.27.11, which works too.

Changed in linux:
status: In Progress → Fix Released
Manoj Iyer (manjo)
Changed in linux (Ubuntu):
status: Confirmed → Fix Released
Changed in linux:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.