ata errors leading to system hang: "soft resetting link" repeated many times before hang
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Upon upgrade to Ubuntu 10.10 (and after that, re-installing clean with 10.10, the issue appeared to be gone but has come back), I see a lot of this in /var/log/messages*:
Nov 6 12:31:34 nea kernel: [ 6606.394579] ata1: soft resetting link
Nov 6 12:31:35 nea kernel: [ 6606.728749] ata1.00: configured for UDMA/100
Nov 6 12:31:35 nea kernel: [ 6606.771552] ata1.01: configured for UDMA/66
Nov 6 12:31:35 nea kernel: [ 6606.771580] ata1: EH complete
Nov 6 12:31:49 nea kernel: [ 6620.614128] ata1: soft resetting link
Nov 6 12:31:49 nea kernel: [ 6620.971835] ata1.00: configured for UDMA/100
Nov 6 12:31:49 nea kernel: [ 6621.010734] ata1.01: configured for UDMA/66
Nov 6 12:31:49 nea kernel: [ 6621.010769] ata1: EH complete
Nov 6 12:31:52 nea kernel: [ 6623.621721] ata1: soft resetting link
Nov 6 12:31:52 nea kernel: [ 6624.070317] ata1.00: configured for UDMA/100
Nov 6 12:31:52 nea kernel: [ 6624.110679] ata1.01: configured for UDMA/66
Nov 6 12:31:52 nea kernel: [ 6624.110714] ata1: EH complete
Nov 6 12:32:35 nea kernel: [ 6667.065505] ata1: soft resetting link
Nov 6 12:32:36 nea kernel: [ 6667.691700] ata1.00: configured for UDMA/100
Nov 6 12:32:36 nea kernel: [ 6667.731588] ata1.01: configured for UDMA/66
Nov 6 12:32:36 nea kernel: [ 6667.731626] ata1: EH complete
This is repeated quite often and eventually the machine hangs dead (even sysrq keys don't work).
It seems that the issue is antagonised by my external 2TB drive which was connected on eSata. Powering off and reconnecting the drive via USB (at least 2x slower when working with files!), the problem goes away. The messages can be triggered by copying to the device. The drive is not a problem though -- palimpsest reports the drive is OK and, as I've reported above, connecting on USB makes the problem go away (and the problem wasn't present in prior revisions of the kernel).
This wasn't a problem before 10.10; 9.10 worked fine with this through several iterations of the kernel. It seems that a kernel update around 10.10 has caused the problem to rear its head. Please advise if I can furnish any more info. I'm considering trying a vanilla, latest kernel from kernel.org compiled for my system to see if the problem is there too -- please advise if doing so would be helpful as I'll do so sooner rather than later.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: linux-image-
Regression: Yes
Reproducible: Yes
ProcVersionSign
Uname: Linux 2.6.35-22-generic x86_64
NonfreeKernelMo
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/pcmC0D0p: daf 2312 F...m pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'SB'/'HDA ATI SB at 0xf9ff4000 irq 16'
Mixer name : 'Realtek ALC888'
Components : 'HDA:10ec0888,
Controls : 33
Simple ctrls : 19
Date: Sun Nov 7 09:08:01 2010
HibernationDevice: RESUME=
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
MachineType: MICRO-STAR INTERNATIONAL CO.,LTD MS-7551
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
PATH=(custom, user)
LANG=en_ZA.UTF-8
SHELL=/bin/zsh
RelatedPackageV
RfKill:
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
SourcePackage: linux
UserAsoundrc:
# ALSA library configuration file
# Include settings that are under the control of asoundconf(1).
# (To disable these settings, comment out this line.)
</home/
WifiSyslog:
dmi.bios.date: 11/23/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: V3.6
dmi.board.
dmi.board.name: KA780G-M (MS-7551)
dmi.board.vendor: MICRO-STAR INTERNATIONAL CO.,LTD
dmi.board.version: 1.0
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: MICRO-STAR INTERNATIONAL CO.,LTD
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: MS-7551
dmi.product.
dmi.sys.vendor: MICRO-STAR INTERNATIONAL CO.,LTD
Changed in linux (Ubuntu): | |
status: | New → Confirmed |
daf, thank you for reporting this and helping make Ubuntu better. Maverick reached EOL on April 2012. /wiki.ubuntu. com/Releases
Please see this document for currently supported Ubuntu releases:
https:/
We were wondering if this is still an issue in a supported release? If so, could you please capture the oops following https:/ /wiki.ubuntu. com/KernelTeam/ KernelTeamBugPo licies# Capturing_ OOPs ? As well, 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 a supported 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/KernelMainl ineBuilds . 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.