1969:2062 ar8152 v2.0 fast ethernet nic stops working

Bug #680239 reported by Travis H.
42
This bug affects 7 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Per my Asus 1215n laptop report here:

http://www.subspacefield.org/~travis/asus_eee_pc_1215n.html

The atl1c driver that's in the kernel works for a few minutes, then stops working, saying that eth0 is disconnected. Removing and re-inserting cable doesn't help.

Possibly removing a module and reloading it would; I don't know.

The AR8152 NIC doesn't work any more. I tried to compile Atheros's latest driver, and it looks like the kernel cabal removed mc_list from net_device, breaking third-party drivers. But I could be wrong.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: linux-image-2.6.35-22-generic 2.6.35-22.35
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.35-22.35-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC259 Analog [ALC259 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC259 Analog [ALC259 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: vax 2014 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf5cf8000 irq 45'
   Mixer name : 'Realtek ALC259'
   Components : 'HDA:10ec0269,1043841c,00100100'
   Controls : 11
   Simple ctrls : 7
Date: Mon Nov 22 13:20:12 2010
HibernationDevice: RESUME=UUID=fe3789e6-ed8e-4762-bd4b-9372d0952d1f
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
MachineType: ASUSTeK Computer INC. 1215N
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.35-22-generic root=/dev/mapper/hostname-root ro install splash quiet
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.38
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
dmi.bios.date: 06/14/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0110
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: 1215N
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: x.xx
dmi.chassis.asset.tag: 0x00000000
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer INC.
dmi.chassis.version: x.x
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0110:bd06/14/2010:svnASUSTeKComputerINC.:pn1215N:pvrx.x:rvnASUSTeKComputerINC.:rn1215N:rvrx.xx:cvnASUSTeKComputerINC.:ct10:cvrx.x:
dmi.product.name: 1215N
dmi.product.version: x.x
dmi.sys.vendor: ASUSTeK Computer INC.

Revision history for this message
Travis H. (travis+w-launchpad-net) wrote :
Revision history for this message
Mantas Kriaučiūnas (mantas) wrote :

Maybe this bug is related (or duplicated) with bug #665424 (ubuntu-10.10-desktop-amd64 loads atl1c kernel module only with liveCD, not with installed kernel)

Revision history for this message
Travis H. (travis+w-launchpad-net) wrote :

I considered that.

In my case, it loads, it just doesn't work for very long, and I can't compile the latest driver source from Atheros.

I'm going to try out rmmod and modprobe to reload the module and see if that fixes it, indicating that the driver might be getting stuck in a way that can be fixed through a reset, but obviously this isn't even a practical fix - just confirming the problem is all in software.

Revision history for this message
Fabian Köster (maestro-alubia) wrote :
Revision history for this message
lawrence (superlaido) wrote :

I report the same problem, with kernel ubuntu 2.6.35-24, with 2.6.35-23 everything work correct.
The hw is the same above (asus 1215n, with AR8152 NIC ethernet port.

The behaviour for me is the following:
- Start to work (dhcp transation ok)
- After 2/3 minutes everything stop working.
- If i ping someone on my network (ie the proxy) i get afrom the ping
 From 192.168.1.42 icmp_seq=2 Destination Host Unreachable

- If i check the daemon.log i can see the dhcp trying to acquire ip but has a timeout failed. After a while goes (normally behaviour) in auto ip mode

At the end: i can see the eth0 but it seems to be disconnected. He can see the link goes up but doesn't communication
Now if i try to plug my modem the behaviour doesn't change. I can see the link (i use a vpn connection) but nothing go through.
As i said: i don't report this on 2.6.35-23....

thanks

Thanks

Revision history for this message
Humberto Caetano (humberto-vidalinux) wrote :

Same problem with Dell Inspiron.

Kernel 2.6.35-25-generic

# lspci
13:00.0 Ethernet controller: Atheros Communications AR8152 v2.0 Fast Ethernet (rev c1)

I did remove the atl1c module and reload it, but no positive result... after did that, the eth0 interface dont came back.

# ifconfig -a
eth1 Link encap:Ethernet Endereço de HW XXXXXXXXXXXXXX
          inet end.: 172.16.254.23 Bcast:172.16.254.255 Masc:255.255.255.0
          endereço inet6: fe80::c2cb:38ff:fe4b:1d95/64 Escopo:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Métrica:1
          pacotes RX:3666 erros:0 descartados:0 excesso:0 quadro:5552
          Pacotes TX:3743 erros:34 descartados:0 excesso:0 portadora:0
          colisões:0 txqueuelen:1000
          RX bytes:2754437 (2.7 MB) TX bytes:640186 (640.1 KB)
          IRQ:17

lo Link encap:Loopback Local
          inet end.: 127.0.0.1 Masc:255.0.0.0
          endereço inet6: ::1/128 Escopo:Máquina
          UP LOOPBACK RUNNING MTU:16436 Métrica:1
          pacotes RX:1117 erros:0 descartados:0 excesso:0 quadro:0
          Pacotes TX:1117 erros:0 descartados:0 excesso:0 portadora:0
          colisões:0 txqueuelen:0
          RX bytes:89217 (89.2 KB) TX bytes:89217 (89.2 KB)

Revision history for this message
Humberto Caetano (humberto-vidalinux) wrote :

I did this procedure http://www.msilva.org/2010/12/como-instalar-placa-de-rede-atheros.html this morning. Until now, 4h after, my lan card is working fine.

I didnt reboot my machine to teste, I will post the result later...

Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Arno Peters (awpeters) wrote :

I see the same problem. Workaround is:

  sudo rmmod atl1c
  sudo modprobe atl1c

This will reestablish the connection on the wired interface.

Revision history for this message
Arno Peters (awpeters) wrote :

I should add I have a Atheros Communications AR8152 v1.1 Fast Ethernet (rev c1), not a version 2.0

Revision history for this message
penalvch (penalvch) wrote :

Travis H., thank you for reporting this and helping make Ubuntu better. This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux <replace-with-bug-number>

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Francesco Castellana (xfranky) wrote :

This bug seems to have resurrected upgrading to 13.04... anyone else confirming? In my case it seems that unplugging and plugging in the cable works, but not always.

Revision history for this message
penalvch (penalvch) wrote :

Francesco Castellana, if you have a bug in Ubuntu, could you please file a new report by executing the following in a terminal:
ubuntu-bug linux

For more on this, please see the Ubuntu Kernel team article:
https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports

the Ubuntu Bug Control team and Ubuntu Bug Squad team article:
https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue

and Ubuntu Community article:
https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Please note, not filing a new report may delay your problem being addressed as quickly as possible.

Thank you for your understanding.

summary: - ar8152 v2.0 fast ethernet nic stops working
+ 1969:2062 ar8152 v2.0 fast ethernet nic stops working
Revision history for this message
Timmie (timmie) wrote :

As #8 points out, the driver gets kicked out.
Reloading it re-estabishes connection.

Why can this not be fixed?

Revision history for this message
Timmie (timmie) wrote :

I added this workaround:

sudo su root
crontab -e

* * * * * /opt/bin/fix_atheros-AR8152_ethernet.sh >> /tmp/fix_atheros-ethernet_atl1c-reload-log 2>&1 # reload the Atheros Ethernet driver module, see: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/680239/comments/8

cat /opt/bin/fix_atheros-AR8152_ethernet.sh

 cat /opt/bin/fix_atheros-AR8152_ethernet.sh
# reload the Atheros Ethernet driver module,
# see: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/680239/comments/8
sudo rmmod atl1c
sudo modprobe atl1c

This at least prevents me from the need to pull out & push back the cable or alike.

I wish to see this fixed in the kernel

Revision history for this message
Timmie (timmie) wrote :

A helpful tool for these kind of problems:
https://github.com/pontus/ping-indicator

Revision history for this message
Timmie (timmie) wrote :

Hello,
is there some more activtiy on this?
It's really not understandable that users of this card have to live with a cutting connection every 20seconds.

Revision history for this message
penalvch (penalvch) wrote :

Timmie, if you have a bug in Ubuntu, the Ubuntu Kernel team, Ubuntu Bug Control team, and Ubuntu Bug Squad would like you to please file a new report by executing the following in a terminal:
ubuntu-bug linux

For more on this, please see the Ubuntu Kernel team article:
https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports

the Ubuntu Bug Control team and Ubuntu Bug Squad team article:
https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue

and Ubuntu Community article:
https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Please note, not filing a new report would delay your problem being addressed as quickly as possible.

Thank you for your understanding.

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.