Ubuntu

Atheros AR81xx ( atl1c.ko ) drivers causes hangs while writing with NFS protocol

Reported by dueller on 2010-01-26
48
This bug affects 8 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Medium
Unassigned

Bug Description

I purchased a foxconn minipc
(http://www.foxconnchannel.com/product/Barebones/NT330i/index.html)
which uses atl1c.ko for its wired eth device (those modules seems to be
used in several new nettops).
The module is correctly installed by karmic and the device works using
internet and for daily normal eth operations.
But, when I mounted my NAS with the NFS protocol I was not able to write
files on it and only reading was working fine.
I was able to write on it only using samba protocol while NFS was
causing nautilus to hang and the transfer bar was freezing. The only way
to regain nautilus was to reboot the machine.
Then I downloaded latest atheros driver at
http://partner.atheros.com/Drivers.aspx (the file seems to be badly
packaged so I repacked it at
http://lnx.sensibile.it/files/foxconn/AR81Family-linux-v1.0.1.4.tar.gz > attached below)
and compiled it.
Then I finally had my eth device working with NFS protocol.
Could be a good idea to update those
driver/modules in the official ubuntu update repository.

dueller (dueller) wrote :
dueller (dueller) on 2010-01-26
tags: added: atheros atl1 atl1c atl1e atom nfs nt330i
dueller (dueller) wrote :

I found another bug here which could be similar.

Scott (scott-binrock) wrote :

I had a very similar problem (in the linked url) and can confirm that using the above driver fixed the issue for me. Thanks again for posting your work around.

tags: added: karmic
Jeremy Foshee (jeremyfoshee) wrote :

dueller,
     Would you mind running the following command:
apport-collect -p linux 512764
on your machine that had this failure so that we can get the accompanying data for this issue? I'd like to get this triaged and reviewed.

Thanks,

-JFo

Changed in linux (Ubuntu):
status: New → Incomplete
importance: Undecided → Medium
dueller (dueller) wrote :

@Jeremy:
Yes, it was my intention to collect data a.s.a. I will reach that computer. Maybe this evening (I'm away at the moment).

@Scott:
Glad to be helpful.

I hope the old karmic modules will be updated soon (those NVidia ION Atom based motherboard begin to be very popular)

dueller (dueller) on 2010-01-27
tags: added: attansic

Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: dueller 1918 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'NVidia'/'HDA NVidia at 0xfae78000 irq 20'
   Mixer name : 'Nvidia MCP7A HDMI'
   Components : 'HDA:10ec0888,105b0d52,00100101 HDA:10de0007,10de0101,00100100'
   Controls : 28
   Simple ctrls : 13
DistroRelease: Ubuntu 9.10
HibernationDevice: RESUME=UUID=07b366e0-d1ed-40a1-8477-653620e3370a
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
MachineType: Foxconn nT-330i
NonfreeKernelModules: nvidia
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-18-generic root=UUID=b9694096-4c95-4006-8b2c-1c2950193c79 ro quiet splash
ProcEnviron:
 SHELL=/bin/bash
 LANG=it_IT.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-18.55-generic
RelatedPackageVersions:
 linux-backports-modules-2.6.31-18-generic N/A
 linux-firmware 1.26
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
Uname: Linux 2.6.31-18-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare video
WifiSyslog:

dmi.bios.date: 12/15/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 080015
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: To be filled by O.E.M.
dmi.board.vendor: To be filled by O.E.M.
dmi.board.version: To be filled by O.E.M.
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr080015:bd12/15/2009:svnFoxconn:pnnT-330i:pvrToBeFilledByO.E.M.:rvnTobefilledbyO.E.M.:rnTobefilledbyO.E.M.:rvrTobefilledbyO.E.M.:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: nT-330i
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: Foxconn

dueller (dueller) wrote : Lspci.txt
dueller (dueller) wrote : Lsusb.txt
dueller (dueller) wrote : UdevDb.txt
Changed in linux (Ubuntu):
status: Incomplete → New
tags: added: apport-collected
dueller (dueller) wrote :

removed the makefile edit since the driver correctly comiles the right module by itself.

description: updated
Jeremy Foshee (jeremyfoshee) wrote :

Hi dueller,

Please be sure to confirm this issue exists with the latest development release of Ubuntu. ISO CD images are available from http://cdimage.ubuntu.com/releases/lucid . If the issue remains, please 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 512764

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.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
dueller (dueller) wrote :

Unfortunately I cannot test the development version since my Ubuntu machine is running critical tasks at the moment...
I hope someone else could verify what requested above...

Thanks

tags: removed: needs-kernel-logs
Changed in linux (Ubuntu):
status: Incomplete → Confirmed

I have the same problem in Lucid Lynx. Writing to NFS server did not work. Installing the latest Atheros driver (v1.0.1.9) fixed the problem. System is ASUS Vintage V7-M4A3000E, Socket-AM3 barebone.

JetPac (jet-jetpac) wrote :

I have the same problem while diskless booting from karmic. 2.6.31-22-generic kernel. Compiling the latest Atherosi driver (v1.0.1.9) solves the problem.

Diskless client is ASUS Aspire 1410.

George Politis (gpolitis) wrote :

Installing the latest Atheros driver fixes choppy DVD/Video Streaming via Samba.

George Politis (gpolitis) wrote :

Update: I should have run more tests before I speak myself. Installing the latest Atheros driver (1.0.1.13) did not solve the problem. With this driver my network adapter would not even negotiate the media type successfully. This is the output of tail -f /var/log/syslog after enabling the atl1e module.

...
Sep 4 20:37:22 gaia kernel: [ 1558.898552] atheros_eth 0000:02:00.0: ATL1C: eth0 NIC Link is Down
Sep 4 20:37:24 gaia kernel: [ 1560.532829] atheros_eth 0000:02:00.0: ATL1C: eth0 NIC Link is Up<100 Mbps Full Duplex>
Sep 4 20:37:25 gaia kernel: [ 1561.322020] atheros_eth 0000:02:00.0: ATL1C: eth0 NIC Link is Down
Sep 4 20:37:26 gaia kernel: [ 1562.956459] atheros_eth 0000:02:00.0: ATL1C: eth0 NIC Link is Up<100 Mbps Full Duplex>
Sep 4 20:37:27 gaia kernel: [ 1563.745485] atheros_eth 0000:02:00.0: ATL1C: eth0 NIC Link is Down
Sep 4 20:37:29 gaia kernel: [ 1565.401065] atheros_eth 0000:02:00.0: ATL1C: eth0 NIC Link is Up<100 Mbps Full Duplex>
Sep 4 20:37:30 gaia kernel: [ 1566.194189] atheros_eth 0000:02:00.0: ATL1C: eth0 NIC Link is Down
Sep 4 20:37:31 gaia kernel: [ 1567.802249] atheros_eth 0000:02:00.0: ATL1C: eth0 NIC Link is Up<100 Mbps Full Duplex>
Sep 4 20:37:32 gaia kernel: [ 1568.591439] atheros_eth 0000:02:00.0: ATL1C: eth0 NIC Link is Down
Sep 4 20:37:34 gaia kernel: [ 1570.225711] atheros_eth 0000:02:00.0: ATL1C: eth0 NIC Link is Up<100 Mbps Full Duplex>
Sep 4 20:37:34 gaia kernel: [ 1571.014907] atheros_eth 0000:02:00.0: ATL1C: eth0 NIC Link is Down
Sep 4 20:37:36 gaia kernel: [ 1572.649184] atheros_eth 0000:02:00.0: ATL1C: eth0 NIC Link is Up<100 Mbps Full Duplex>
Sep 4 20:37:37 gaia kernel: [ 1573.438373] atheros_eth 0000:02:00.0: ATL1C: eth0 NIC Link is Down
Sep 4 20:37:38 gaia kernel: [ 1575.072651] atheros_eth 0000:02:00.0: ATL1C: eth0 NIC Link is Up<100 Mbps Full Duplex>
Sep 4 20:37:39 gaia kernel: [ 1575.861843] atheros_eth 0000:02:00.0: ATL1C: eth0 NIC Link is Down
Sep 4 20:37:41 gaia kernel: [ 1577.494658] atheros_eth 0000:02:00.0: ATL1C: eth0 NIC Link is Up<100 Mbps Full Duplex>
Sep 4 20:37:42 gaia kernel: [ 1578.285309] atheros_eth 0000:02:00.0: ATL1C: eth0 NIC Link is Down
Sep 4 20:37:43 gaia kernel: [ 1579.919748] atheros_eth 0000:02:00.0: ATL1C: eth0 NIC Link is Up<100 Mbps Full Duplex>
Sep 4 20:37:44 gaia kernel: [ 1580.708775] atheros_eth 0000:02:00.0: ATL1C: eth0 NIC Link is Down
Sep 4 20:37:46 gaia kernel: [ 1582.378900] atheros_eth 0000:02:00.0: ATL1C: eth0 NIC Link is Up<100 Mbps Full Duplex>
Sep 4 20:37:47 gaia kernel: [ 1583.161043] atheros_eth 0000:02:00.0: ATL1C: eth0 NIC Link is Down
Sep 4 20:37:48 gaia kernel: [ 1584.769578] atheros_eth 0000:02:00.0: ATL1C: eth0 NIC Link is Up<100 Mbps Full Duplex>
...

I had to "modprobe atl1e media_type=4" to make it work.

I was connecting my computer to my router, a LiveBox Mini from Orange (Thomson I think). Connecting it to an AVM Fritz!Box resulted in successful 100Mbps media type negotiation even with the original driver that comes with Lucid Lynx (atl1c 1.0.0.1-NAPI).

George Politis (gpolitis) wrote :

Hell, problem not solved after all. Either this is a very buggy driver or a very buggy chipset.

sjm (sjmccracky) wrote :

I also have a problem with the atl1c driver and nfs. My problem is very similar to this report: http://www.spinics.net/lists/linux-nfs/msg16519.html which I found when I search for the message "RPC: multiple fragments per record not supported" that appeared on the server console when I was trying to connect to a new Openfiler server.

I have an ASUS eeePC 1005HA running 10.04 with:

uname -a
Linux mynetbook 2.6.32-25-generic #45-Ubuntu SMP Sat Oct 16 19:48:22 UTC 2010 i686 GNU/Linux

lspci -v:
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)
 Subsystem: ASUSTeK Computer Inc. Device 838a
 Flags: bus master, fast devsel, latency 0, IRQ 28
 Memory at f7fc0000 (64-bit, non-prefetchable) [size=256K]
 I/O ports at ec00 [size=128]
 Capabilities: [40] Power Management version 3
 Capabilities: [48] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable+
 Capabilities: [58] Express Endpoint, MSI 00
 Capabilities: [6c] Vital Product Data <?>
 Capabilities: [100] Advanced Error Reporting <?>
 Capabilities: [180] Device Serial Number ff-18-26-00-83-65-79-ff
 Kernel driver in use: atl1c
 Kernel modules: atl1c

modinfo atl1c:
filename: /lib/modules/2.6.32-25-generic/kernel/drivers/net/atl1c/atl1c.ko
version: 1.0.0.1-NAPI
license: GPL
description: Atheros 1000M Ethernet Network Driver
author: Jie Yang <email address hidden>
srcversion: B679B4EF678AB94A69C067B
alias: pci:v00001969d00001062sv*sd*bc*sc*i*
alias: pci:v00001969d00001063sv*sd*bc*sc*i*
depends:
vermagic: 2.6.32-25-generic SMP mod_unload modversions 586

Is there any other information I can provide to help squash this bug?

Rolf Leggewie (r0lf) wrote :

I have an Asus EEEPC 1001P and I can confirm that accessing the nfs export via wifi works fine, but from ethernet creates those "RPC: multiple fragments per record not supported" entries in the server logs. The Asus will eventually gradually freeze up and certain processes (firefox for example) cannot be killed even with signal 9. At that point, a reboot is necessary but the machine freezes at shutdown and has be turned off hard.

The lucid kernel exhibits this problem while the latest mainline kernel does not.

Rolf Leggewie (r0lf) wrote :

when booted into the mainline kernel:

$ modinfo atl1c
filename: /lib/modules/2.6.36-999-generic/kernel/drivers/net/atl1c/atl1c.ko
version: 1.0.1.0-NAPI
license: GPL
description: Atheros 1000M Ethernet Network Driver
author: Jie Yang <email address hidden>
srcversion: 5BF6A0ED85D57BA51C6E5D1
alias: pci:v00001969d00001073sv*sd*bc*sc*i*
alias: pci:v00001969d00002062sv*sd*bc*sc*i*
alias: pci:v00001969d00002060sv*sd*bc*sc*i*
alias: pci:v00001969d00001062sv*sd*bc*sc*i*
alias: pci:v00001969d00001063sv*sd*bc*sc*i*
depends:
vermagic: 2.6.36-999-generic SMP mod_unload modversions 686

Changed in linux (Ubuntu):
status: Confirmed → Triaged
tags: added: kernel-net lucid
removed: needs-upstream-testing
Rolf Leggewie (r0lf) wrote :

removing "needs-upstream-testing" as upstream kernel does not exhibit this problem (anymore?)

MGGermany (max-gutberlet) wrote :

Still having issues with latest mainline kernel:

>uname -a
Linux server 2.6.35-28-server #49-Ubuntu SMP Tue Mar 1 14:55:37 UTC 2011 x86_64 GNU/Linux

>modinfo atl1c
filename: /lib/modules/2.6.35-28-server/kernel/drivers/net/atl1c/atl1c.ko
version: 1.0.0.2-NAPI
license: GPL
description: Atheros 1000M Ethernet Network Driver
author: Jie Yang <email address hidden>
srcversion: DD089D2E4AEAF5FC653AC92
alias: pci:v00001969d00001073sv*sd*bc*sc*i*
alias: pci:v00001969d00002062sv*sd*bc*sc*i*
alias: pci:v00001969d00002060sv*sd*bc*sc*i*
alias: pci:v00001969d00001062sv*sd*bc*sc*i*
alias: pci:v00001969d00001063sv*sd*bc*sc*i*
depends:
vermagic: 2.6.35-28-server SMP mod_unload modversions

>grep atl1c /var/log/dmesg

[ 1.898334] atl1c 0000:05:00.0: PCI INT A -> Link[LN4A] -> GSI 19 (level, low) -> IRQ 19
[ 1.898451] atl1c 0000:05:00.0: setting latency timer to 64
[ 2.062650] atl1c 0000:05:00.0: version 1.0.0.2-NAPI
[ 38.534777] atl1c 0000:05:00.0: irq 46 for MSI/MSI-X
[ 38.534917] atl1c 0000:05:00.0: atl1c: eth1 NIC Link is Up<1000 Mbps Full Duplex>
[ 38.698625] atl1c 0000:05:00.0: atl1c: eth1 NIC Link is Down

kernel is booted with "acpi_enforce_resources=lax apci=copy_dsdt"

To make this even more fun, every third of fourth reboot it works and the network interfaces stays up.
Will try custom module build next.

This is now on Karmic obviously

MGGermany (max-gutberlet) wrote :

sorry Meerkat no Kamic - me being stupid

This bug was filed against a series that is no longer supported and so is being marked as Won't Fix. If this issue still exists in a supported series, please file a new bug.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: Triaged → Won't Fix
Bráulio (brauliobo) wrote :

the problem still happens with atl1c version 1.0.1.1 and ubuntu, kernel 3.8.0-23 and ubuntu 13.04.

the hangs here also happens with usb when the wire network is being used.

I (think) I don't use NFS.

[ 317.551669] atl1c 0000:01:00.0: atl1c: eth0 NIC Link is Down
[ 319.070364] atl1c 0000:01:00.0: atl1c: eth0 NIC Link is Up<100 Mbps Full Duplex>
[ 342.527902] usb 1-1: USB disconnect, device number 3
[ 522.335865] atl1c 0000:01:00.0: atl1c: eth0 NIC Link is Down
[ 523.866725] atl1c 0000:01:00.0: atl1c: eth0 NIC Link is Up<100 Mbps Full Duplex>
[ 538.748071] usb 1-1: new high-speed USB device number 4 using ehci-pci
[ 538.893189] usb 1-1: New USB device found, idVendor=0bb4, idProduct=0c96
[ 538.893202] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 538.893210] usb 1-1: Product: myTouch 4G
[ 538.893217] usb 1-1: Manufacturer: T-Mobile
[ 538.893223] usb 1-1: SerialNumber: SH11WT600957
[ 538.896623] scsi5 : usb-storage 1-1:1.0
[ 539.898326] scsi 5:0:0:0: Direct-Access T-Mobile myTouch 4G 0100 PQ: 0 ANSI: 2
[ 539.900769] sd 5:0:0:0: Attached scsi generic sg1 type 0
[ 539.913593] sd 5:0:0:0: [sdb] Attached SCSI removable disk

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers