atl2.ko too old for Attansic L2 100 Mbit Ethernet (rev a0)

Bug #190340 reported by John McCabe-Dansted
4
Affects Status Importance Assigned to Milestone
linux-ubuntu-modules-2.6.24 (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: linux-ubuntu-modules-2.6.24-5-generic

To use my integrated network card on any existing version of Ubuntu I need to download atl2-2.0.4.tar.bz2 and use the atl2.ko from that package. My network card is reported by lspci as:
  02:00.0 Ethernet controller: Attansic Technology Corp. L2 100 Mbit Ethernet Adapter (rev a0)
This card is integrated into my Core Duo motherboard.

On the current Hardy snapshot liveCD , I get the following errors (without atl2-2.0.4):
ubuntu@ubuntu:~$ sudo ifdown eth0
ifdown: interface eth0 not configured
ubuntu@ubuntu:~$ sudo ifup eth0
Ignoring unknown interface eth0=eth0.

this is odd since ifconfig reports that eth0 exists:
eth0 Link encap:Ethernet HWaddr 00:1a:92:8c:1d:3a
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:1
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
          Memory:dffc0000-e0000000

if I rmmod atl2 and modprobe atl2 this does not help. However if I insmod the 2.0.4 version of atl2.ko this instantly fixes the problem.

It would be nice to fix this before the final liveCD is released as downloading atl2-2.0.4 can be hard without a working network card.

Revision history for this message
John McCabe-Dansted (gmatht) wrote :

Also atl2-source is too old to build against 2.6.24 (see bug 190342). You'll have to download from upstream:
  http://people.redhat.com/csnook/atl2/

Redhat have integrated this new driver in their kernel, apparently.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi John,

Do you know if there have been any efforts to get these patches submitted and accepted into the upstream mainline kernel? It is a lot of extra work for the Ubuntu kernel team to maintain out of tree patches. As such they require evidence of upstream submission before considering to maintain community patches locally. I'd encourage you to ask the author of the code to push the changes upstream. Thanks.

Changed in linux-ubuntu-modules-2.6.24:
status: New → Incomplete
Revision history for this message
John McCabe-Dansted (gmatht) wrote :

It has been merged into the Fedora 8 kernel. I suspect that RedHat is pushing for inclusion into upstream for that very reason.

"Fedora users:
The atl2 driver has been merged into the Fedora 8 kernel. Any kernel *after*
kernel-2.6.23.14-107.fc8 will support atl2 without building an external module.
Enjoy your ethernet."

http://people.redhat.com/csnook/atl2/

Revision history for this message
John McCabe-Dansted (gmatht) wrote :

Ah "I'm working to get this driver merged in the upstream Linux kernel." -- http://people.redhat.com/csnook/

So yes, they are working to get this into the mainline kernel.

Revision history for this message
John McCabe-Dansted (gmatht) wrote :

Now that Bug #190342 has been fixed, we can use atl2-source & module assistant to workaround this problem.

Changed in linux-ubuntu-modules-2.6.24:
assignee: nobody → ubuntu-kernel-team
importance: Undecided → Medium
status: Incomplete → Triaged
Revision history for this message
John Dong (jdong) wrote :

It seems like we've shipped Hardy without an updated version of this module which is problematic for the new and increasingly-popular EEEPC class of computers. I think this should be considered for linux-backport-modules?

Revision history for this message
Tim Gardner (timg-tpi) wrote :

Please try the LUM package at http://ppa.launchpad.net/timg-tpi/ubuntu, linux-ubuntu-modules-2.6.24_2.6.24-19.28ubuntu2 or higher. It has atlx backported from 2.6.26-rc5.

Changed in linux-ubuntu-modules-2.6.24:
assignee: ubuntu-kernel-team → timg-tpi
status: Triaged → Fix Committed
Revision history for this message
kuehnik (kuehnik-0505) wrote :

@Tim Gardner: I suppose this NIC doesn't work out-of-the-box yet. Could you please give instructions on how to make it work when installing Hardy from the current alternate install CD, without network on the machine?

Would I use dpkg -i to install linux-ubuntu-modules from ppa.launchpad?

Could I use linux-ubuntu-modules 2.6.24-20 for kernels older than 2.6.24-20, i.e. for the kernel running on the newly installed, not yet upgraded system?

Thanks!

Revision history for this message
Tim Gardner (timg-tpi) wrote :

@kuehnik - You must use a kernel and LUM with the same ABI number, -20 in this case. I suggest using an alternative network interface during installation, such as an external USB ethernet. Another alternative is to copy the requisite packages on to a USB drive, then update from that after the install has completed.

Tim Gardner (timg-tpi)
Changed in linux-ubuntu-modules-2.6.24 (Ubuntu):
assignee: Tim Gardner (timg-tpi) → nobody
status: Fix Committed → Fix Released
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.