Voyage 0.9.2 currently contains a bug with the usbnet.ko kernel module
(inherited from early versions of the Linux Kernel 3.10) – that prevents
Sierra AirCard 320U (Telstra/Bigpond 4G/LTE USB) modems from working using
the sierra_net.ko direct-IP USB Ethernet driver.

Based on the references quoted below, I have patched and manually
re-compiled the faulty usbnet.ko driver.  (Compiled driver available here
(http://cl.ly/2k3k2s1Y2v2b) for the benefit of those who don’t want to go
through the painful process of patching and re-compiling the kernel driver
themselves.)

This “usbnet: fix status interrupt urb handling” bug was fixed in Linux
kernel 3.10.23, and it seems like at-least the Ubuntu and Red-Hat distros
have rolled-out the fix in their repos.  How do we get this fixed in the
Voyage repos?  (so that future upgrades won’t need to be manually patched)

Many thanks, Michael


References:
https://forum.manjaro.org/index.php?topic=6855.0  (someone finding problem)
https://bugzilla.kernel.org/show_bug.cgi?id=60521  (actual kernel bug report
and patch)
https://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.10.23  (fixed in
3.10.23 kernel update)
https://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.12.4  (fixed in
3.12.4 kernel update)
https://bugzilla.redhat.com/show_bug.cgi?id=998342  (fixed in Red-Hat distro)
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1219256  (fixed in
Ubuntu distro)

Patch info for usbnet.c:  (delete 3x lines)
                ...
                netdev_dbg(dev->net, "intr status %d\n", status);
                break;
        }

-       if (!netif_running (dev->net))
-               return;
-
        status = usb_submit_urb (urb, GFP_ATOMIC);
        ...




_______________________________________________
Voyage-linux mailing list
Voyage-linux@list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux

Reply via email to