Recurring system freezes upon network activity, possible data loss

Bug #375986 reported by Marc Domachowski
34
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

SYMPTOM:

With my computer the system freezes when there is network traffic via the wlan0 interface. The symptom does not correlate with the amount of data sent or received via wireless lan. Sometimes the system will be stable for up to 48 hours, then again it will freeze within minutes after booting. When the system is frozen, it will not react any more. The mouse pointer will not move, the clock stops working. I cannot ping the system, or connect to it via ssh. The emergency key combination ALT+SysReq+R-E-I-S-U-B does not reboot the system.

I did not experience a freeze when I deactivate the wireless adapter via the radio button and connect to the internet via an ethernet cable.

I know of users who face the same symptom, but not related to wireless network activity. I will forward this bug report to these users so that they can add their log files and bug description.

I did not experience any problems when running Windows Vista. I ran memory tests to rule out a faulty memory chip.

For tracking down the problem, I tried and installed Ubuntu 8.10 i386. After applying all updates, the system just froze in the same way than Jaunty is doing.

I am happy to run every test you point me to. I have an external wireless adapter (Linksys USB) on order to further test the setup and deliver more information.

SYSTEM

Dell Inspiron 1545 with
- ATI Mobility Radeo HD 4330
- Intel Wifi Link 5100 AGN
- 4GB RAM
- Fresh installation of Ubuntu 9.04 amd64 final release

Wireless Router: Apple TimeCapsule with WPA protection enabled

I will add some logfiles.

Kind regards,
Marc

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
HibernationDevice: RESUME=UUID=5163ee95-5f7a-462e-9363-9a60cb0282b9
MachineType: Dell Inc. Inspiron 1545
NonfreeKernelModules: fglrx
Package: linux-image-2.6.28-11-generic 2.6.28-11.42
ProcCmdLine: root=UUID=e7c3b521-8d49-43c5-b0bf-c7d900472bd4 ro quiet splash
ProcEnviron:
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.28-11.42-generic
SourcePackage: linux

Revision history for this message
Marc Domachowski (marc-domachowski) wrote :
Revision history for this message
Marc Domachowski (marc-domachowski) wrote :
Revision history for this message
Marc Domachowski (marc-domachowski) wrote :
Revision history for this message
Marc Domachowski (marc-domachowski) wrote :

Memory test results attached (sorry for the bad picture - not easy to take one with a glossy display and a G1 mobile... ;)

Revision history for this message
brntoki (longtrashnjunk) wrote :

This is my experience as well. Ubuntu Studio x64 Jaunty -- Fresh install -- Was able to, luckily, get all updates so far -- No other issues.

I'll add that my network is wired. Disabling networking stabilizes the system, while re-enabling networking brings freezes on again. Any degree of network activity may cause a complete freeze. REISUB also has no effect.

I'll add my logs below (hopefully without a hard reset and booting into Windows).

Revision history for this message
brntoki (longtrashnjunk) wrote :
Revision history for this message
brntoki (longtrashnjunk) wrote :
Revision history for this message
brntoki (longtrashnjunk) wrote :
Revision history for this message
brntoki (longtrashnjunk) wrote :
Revision history for this message
brntoki (longtrashnjunk) wrote :
Revision history for this message
brntoki (longtrashnjunk) wrote :
Revision history for this message
brntoki (longtrashnjunk) wrote :

I've also added my daemon log as it seemed that there may be something of interest in there. Also please realize that I was disabling and re-enabling my networking so as not to experience freezes while gathering logs and such. I also waited to see if there would be a freeze after the latest updates, and there was. Additionally, it seems that I experience freezing more often than does Marc, the original bug reporter. I'm surprised that I haven't had a freeze while uploading my logs, in fact.

Revision history for this message
Gerhard Zintel (gerhard-zintel) wrote :

Same freeze with following hard- and software here:
GA-K8VT800 (Pro) motherboard with VIA K8T800 Chipset
 CPU: AMD Athlon(tm) 64 Processor 2800+
 Graphic: ATI Technologies Inc RV280 [Radeon 9200 PRO]
 Network: Realtek Semiconductor Co., Ltd. RTL-8029 (no wireless)
 Fresh Ubuntu Jaunty, Kubuntu and furthermore Ubuntu Studio installed. Freezes with both kernels.

In contrary to the original poster REISUB is working.
Changing network driver of ATI card and Kernel to version 2.6.30rc doesn't help.

I have downgraded to kernel 2.6.27 and there isn't any freeze since 5 days now!

Revision history for this message
Marc Domachowski (marc-domachowski) wrote :

Gerhard,

I would like to test a 2.6.27 kernel to add information to the bug. Being relatively new to Ubuntu, could you please point me to a documentation about downgrading the kernel? Will I have to compile a "vanilla" kernel to do so?

Thank you,
Marc

Revision history for this message
Marc Domachowski (marc-domachowski) wrote :

I stress-tested my system with the external WiFi adapter for nearly 24 hours now, transferred some 6 GiB via WiFi. Listened to Shoutcast radio via Songbird. Downloaded and provided Ubuntu images via Transmission. Copied disk images from local systems. Jaunty is rock-solid. So I think I can pinpoint *my* problems to the "iwlagn" driver.

System configuration with external WiFi adapter:

Bus 002 Device 002: ID 13b1:0020 Linksys WUSB54GC 802.11g Adapter [ralink rt73]
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 0c45:63ee Microdia
Bus 001 Device 002: ID 0bda:0158 Realtek Semiconductor Corp. Mass Stroage Device
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 005: ID 413c:8160 Dell Computer Corp.
Bus 003 Device 004: ID 413c:8162 Dell Computer Corp.
Bus 003 Device 003: ID 413c:8161 Dell Computer Corp.
Bus 003 Device 002: ID 0a5c:4500 Broadcom Corp.
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Revision history for this message
Marc Domachowski (marc-domachowski) wrote :

System froze again, but took some serious beating before it died. Sure enough it froze when I left tty1, so I do not have a picture of the kernel panic.

Attached you will find the last words of the kernel. The kernel talked about problems with "iwlagn" and the microcode.

Revision history for this message
brntoki (longtrashnjunk) wrote :

I just want to add that I couldn't keep playing with this. I gots to gets my work done sometime ;) I've installed Linux Mint 6 x64 (Ubuntu 8.10) with the 2.6.27-14-generic kernel and I'm running great.

Good luck, and thanks for your troubles(hooting), Marc and others.

Revision history for this message
Gerhard Zintel (gerhard-zintel) wrote :

Marc,

sorry for answering late. To compile the Kernel for Jaunty follow the advice on http://ubuntuforums.org/showthread.php?t=311158 (Master Kernel Thread) and replace all occurence of string 2.6.29 by 2.6.27.

I'm now 10 days without any freeze (even under absolute heavy load)!

Good luck

Gerhard

Revision history for this message
jackp (jackpommer) wrote :

Does anyone know if upgrading to the latest kernel would help?

I'm having the same problem on a Vaio Z750. It's a 64 bit, dual core with a fresh install of Jaunty (several fresh installs over the last few days). It locks up and and the leds flash. I can't do anything, even with REISUB or the off switch. The only way to get out is to unplug the laptop and remove the battery.

When I try to boot up again, this is the last and first things in the kernel log:

     May 25 15:48:08 l-laptop kernel: [ 324.288093] CE: hpet increasing min_delta_ns to 15000 nsec
     May 25 16:52:51 l-laptop kernel: [ 4207.164049] CE: hpet increasing min_delta_ns to 22500 nsec

     May 25 21:46:28 l-laptop kernel: Inspecting /boot/System.map-2.6.28-11-generic
     May 25 21:46:28 l-laptop kernel: Cannot find map file.

Earlier (right after boot up), there's a:

     May 25 15:42:59 l-laptop kernel: [ 5.183767] Marking TSC unstable due to TSC halts in idle

and a:

     May 25 15:42:59 l-laptop kernel: [ 6.501104] Clocksource tsc unstable (delta = -145986009 ns)

Whether I can fix the partition with fsck or have to boot to the installation disk, my user directory is gone.

Whether I go to a later or an earlier kernel, do I have to reinstall Ubunty, then change the kernel?

A appreciate any help you can give me.

Thanks,

jack

Revision history for this message
Mathew (1-launchpad-jm-cahaya-com-au) wrote :

I have this problem on an ASUS G71. I'm convinced that it is a wireless issue, because if I disable the wireless using the switch on the side of the laptop, everything is rock solid. Enable the wireless and the laptop freezes within 5 minutes to 2 hours.

$ uname -a
Linux g71-ubuntu 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:58:03 UTC 2009 x86_64 GNU/Linux

$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M-E LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
01:00.0 VGA compatible controller: nVidia Corporation Device 064a (rev a1)
02:00.0 Memory controller: Intel Corporation Turbo Memory Controller (rev 11)
03:00.0 Network controller: Intel Corporation Wireless WiFi Link 5100
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
09:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
09:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
09:01.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)
09:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
09:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev ff)

Revision history for this message
Mathew (1-launchpad-jm-cahaya-com-au) wrote :

Upgrade to 2.6.30 kernel using http://kernel.ubuntu.com/~kernel-ppa/mainline/ appears to have fixed the freezing issue.

Revision history for this message
MetalKnight (fedwar-libero) wrote :

Hi all,
I have the same problem here, Sony Vaio SR49VN, intel centrino 2 2,66 GHz, 4 gb ram, intel wifi 5100. Kubuntu jaunty 64 bit
randomly freeze with kernel 2.6.28-11 and 2.6.28-13 when using wifi. It randomly takes from 5 mins to 5 hours to freeze, but turning wifi off stop the freezes.

after inspecting the kernel log this is the recurring pattern before the freeze:

hpet increasing min_delta_ns to 15000 nsec
hpet increasing min_delta_ns to 35000 nsec
....

and so on

Revision history for this message
Gergely Csépány (cheoppy) wrote :

I started to happen to me too, sometimes I saw an error related to microcode SW error, but not always. How could I help debugging this?
Jaunty amd64, kernel 2.6.28-17

tags: added: jaunty
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi Marc,

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/lucid.

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 375986

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
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

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

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
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.