1969:1062 Hard freeze on large file transfers with Atheros AR8132 / L1c

Bug #572249 reported by pablomme
88
This bug affects 16 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

This is on Lucid as of release, with kernel 2.6.32-22-generic from lucid-proposed (not specific to this kernel version; it also happened during the alpha stage).

The driver for the Atheros AR8132 / L1c ethernet card freezes the computer when attempting to copy ~ 5GiB files over ssh/sftp. I can reproduce this systematically by copying a 2.5GiB iso repeatedly. It takes 2-3 copies to trigger the bug. Unfortunately the problem does not get logged in any way.

I have tested this with the mainline kernel 2.6.33-02063303-generic too, and the bug is still present there.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-22-generic 2.6.32-22.33
Regression: No
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic x86_64
NonfreeKernelModules: nvidia
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: NVidia [HDA NVidia], device 0: ALC269 Analog [ALC269 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: pablo 1330 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'NVidia'/'HDA NVidia at 0xf9f78000 irq 22'
   Mixer name : 'Nvidia MCP7A HDMI'
   Components : 'HDA:10ec0269,104383ce,00100004 HDA:10de0007,10de0101,00100100'
   Controls : 16
   Simple ctrls : 8
Date: Fri Apr 30 12:35:40 2010
HibernationDevice: RESUME=UUID=a9d84452-eabc-4268-b3af-6e997f7c5679
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Release Candidate amd64 (20100419.1)
Lsusb:
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 001 Device 002: ID 13d3:5126 IMC Networks
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: ASUSTeK Computer INC. 1201N
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-22-generic root=UUID=af0ce1ef-e099-46ac-b1f1-8913157207bc ro acpi_osi=Linux acpi_backlight=vendor quiet splash
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.34
SourcePackage: linux
dmi.bios.date: 03/17/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0325
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: 1201N
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.:bvr0325:bd03/17/2010:svnASUSTeKComputerINC.:pn1201N:pvrx.x:rvnASUSTeKComputerINC.:rn1201N:rvrx.xx:cvnASUSTeKComputerINC.:ct10:cvrx.x:
dmi.product.name: 1201N
dmi.product.version: x.x
dmi.sys.vendor: ASUSTeK Computer INC.

Revision history for this message
pablomme (pablomme) wrote :
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi pablomme,

If you could also please 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: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
pablomme (pablomme) wrote :

As I mentioned in the report, I already tried kernel 2.6.33-02063303-generic.

tags: removed: needs-upstream-testing
Changed in linux (Ubuntu):
status: Incomplete → Triaged
importance: Undecided → Medium
Revision history for this message
odeiber (o-deiber) wrote :

Hi
I meet the same problem on a netbook asus eeepc 1201nl. When I download via transmission (with a consequent debit(flow): 350 Kb/) at the end of moment the computer congeals completely. I am obliged to stop(arrest) him(it) violently with the button of supply

If someone can help me. . .
thanks for your answer

Revision history for this message
javs (javierous) wrote :

As I mentioned in the dupicate bug, same problem here on a t60 using: Atheros Communications Inc. AR5212 802.11abg NIC (rev 01). Before the hard freeze, I experience small intermittent temporary freezes (of less than half a second duration). If I disable the wireless when I start seeing those small ones, they dissapear and no hard freeze occurs, so this is definitely a regression related to ath5k.

Thanks!

Revision history for this message
Daniel Ferradal (dferradal) wrote :

I can confirm I am suffering the same freezes.

Machine boots up, wireless use , freeze in minutes.

This occurs to me on a IBM ThinkPad T60 with this NIC:

03:00.0 Ethernet controller: Atheros Communications Inc. AR5212 802.11abg NIC (rev 01)

these modules get to load:
lsmod | grep ath
ath5k 121976 0
mac80211 209734 1 ath5k
ath 8073 1 ath5k
cfg80211 130639 3 ath5k,mac80211,ath
led_class 2864 2 thinkpad_acpi,ath5k

Revision history for this message
Tim Towers (tim-lorien) wrote :

I am having this problem with an eee 1201n, setting a large network download going (e.g. ISO images) will reliably freeze the system, no capslock or mouse movement possible.

lspci | grep thernet
09:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)

Revision history for this message
Tim Towers (tim-lorien) wrote :

I have tried the latest source from Atheros, building the atl1e driver from the "AR81Family-Linux-v1.0.1.9" sources from http://partner.atheros.com/Drivers.aspx.
I still got a lockup 260Mb into a large file.
The Atheros notes suggest there can be a problem when you have 4Gb of memory - I have 2Gb. There are more options available about timings and memory usage, I will try and test some.

One of the related bugs suggested this may have been related to NTFS, but I duplicated the problem writing into an ext4 filesystem.

uname -a
Linux shire 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 06:07:29 UTC 2010 i686 GNU/Linux

Changed in linux (Ubuntu):
status: Triaged → Confirmed
Revision history for this message
Tim Towers (tim-lorien) wrote :

[SOLVED] (I hope... I've now transfered 15Gb of data without a lockup, it usually locks after 250Mb)

I found a possible solution in http://kerneltrap.org/mailarchive/linux-netdev/2009/10/6/6256977/thread where Jay mentions to add pci=nomsi to the boot parameters.

To implement this I edited /etc/default/grub to include the following line:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=Linux acpi_brightness=vendor pci=nomsi"
then ran update-grub2 as usual so that it took effect.

I have just remembered I am still running the atl1e source-built driver, I will try with the stock Ubuntu driver.

Revision history for this message
TentacleGuy (neuhaus-dodekatex) wrote : Re: [Bug 572249] Re: Hard freeze on large file transfers with Atheros AR8132 / L1c

Am 20.08.2010 00:59, schrieb Tim Towers:
> [SOLVED] (I hope... I've now transfered 15Gb of data without a lockup,
> it usually locks after 250Mb)
>
> I found a possible solution in http://kerneltrap.org/mailarchive/linux-
> netdev/2009/10/6/6256977/thread where Jay mentions to add pci=nomsi to
> the boot parameters.

That would be perfect!

It thought that it could depend on my 64 Bit configuration an switched
back to 32bit yesterday.

But then I got a panic, again.

It seems to me that the panic only occurs if the network interfaces are
busy and additionally other data is transferred, e.g. over USB (onto my
external harddrive, it's NTFS, but that dousn't matter).

Therefore the pci=nomsi could be a rational solution, if large data
transfers between different PCI-devices blocks each other.

Thanks, I'll try it, too.

Philipp

Revision history for this message
Tim Towers (tim-lorien) wrote : Re: Hard freeze on large file transfers with Atheros AR8132 / L1c

I have reproduced the fix with the stock Ubuntu atl1c driver.

Revision history for this message
Shaman++ (shaman++) wrote :

I have the same problem when copying files over LAN through SAMBA

Revision history for this message
PY (pyrenaut) wrote :

I have the same problem when copying large files over LAN through SAMBA, FTP, NFS, WIFI,....

I have Ubuntu 10.10 installed on my netbook.

When the system freeze, i have to reboot the netbook in the hard way.

uname -a :
" Linux menegroth 2.6.35-22-generic #35-Ubuntu SMP Sat Oct 16 20:36:48 UTC 2010 i686 GNU/Linux "

Revision history for this message
Sylvain Bourdette (sylvain-bourdette) wrote :

Same with large transfert over ssh with asus 1201n on Maverick 10.10

Any solution ?

Revision history for this message
14-08@mail.ru (14-08) wrote :

kernel option:
pci=nomsi

Revision history for this message
Matthew (matthew-linux) wrote :

I also have this bug, and unfortunately the pci=nomsi not fixed completely. It helped a lot, and reduced the freezes. Now only 1-3 freezes/day instead of 3-4/hour, but it is still ridiculous.

Additionally I found a game (vdrift) what brings the lockup for five minutes after you start it. I'm not sure this lockup is the same, but I can't see differences. Magic keys are useless, the last few second of the sound repeats itself.
I even not sure this problem related to the network driver at all. I unloaded the driver, unplugged the UTP wire, and the game freezes my netbook just like before.

Currently my extra kernel parameters are: acpi_osi=Linux clocksource=hpet elevator=deadline acpi_backlight=vendor pci=nomsi
Ubuntu 10.10

Any idea?

Revision history for this message
znotdead (zhirafchik) wrote :

bug still reproduced with kernel option pci=nomsi. Asus 1201 NL with Atheros ethernet card. Sometimes it frezzes after 4 Gb sometimes after 400Mb. googling does nothinng =(

Revision history for this message
penalvch (penalvch) wrote :

pablomme, 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 in the development release 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 . Please do not test the kernel in the daily folder, but the one all the way at the bottom. 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. As well, please comment on which kernel version specifically you tested.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream', and comment as to why specifically you were unable to test it.

Please let us know your results. Thanks in advance.

summary: - Hard freeze on large file transfers with Atheros AR8132 / L1c
+ 1969:1062 Hard freeze on large file transfers with Atheros AR8132 / L1c
tags: added: needs-upstream-testing
removed: networking
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
pablomme (pablomme) wrote :

Unfortunately I don't have the netbook in question any more. Could any of the 19 other people who have declared themselves "affected" give Quantal a quick test at transferring a few GiB over ethernet?

Revision history for this message
penalvch (penalvch) wrote :

pablomme, it is not desired for someone other than the original reporter to post attachments, comments, or debugging information. For more on this please see both https://help.ubuntu.com/community/ReportingBugs#A3._Make_sure_the_bug_hasn.27t_already_been_reported and https://help.ubuntu.com/community/ReportingBugs#Adding_Apport_Debug_Information_to_an_Existing_Launchpad_Bug . Instead, they should file a new report. Hence, this bug report is being closed due to your last comment regarding how you no longer have the hardware. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status. Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find.

Changed in linux (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
TentacleGuy (neuhaus-dodekatex) wrote :

Are you serious?

Really?

I gave my netbook away because of this bug.

If it isn't "desired for someone other than the original reporter to post attachments, comments, or debugging information", then you may have to allow everyone to open a bug report for the same bug.

This is just stupid - there was a kernel FREEZE bug in Ubuntu in 2010 and you aren't even interested if it doesn't exist in current releases?

Revision history for this message
pablomme (pablomme) wrote :

It's bug-reporting policy for hardware-specific bugs (which I didn't know about). I find it sensible, since interactions between different hardware components are likely to affect the behaviour of the system, although it has the downside that in many instances the multiple bug reports will be unnecessary. I don't understand the "no comments" policy though.

In any case, could someone then file a new bug report against the linux package from a quantal liveCD image (if it still exists) and link it in a comment here so that other people know what's going on?

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.