LIBATA with PATA_VIA causes ATAPI PATA devices to hang with HPET enabled

Bug #282536 reported by Yagisan
54
This bug affects 9 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

With a default install of the current Intrepid kernel on systems with a HPET, and both a Via SATA and PATA controller, the kernel is unable to utilise any ATAPI devices attached to the PATA controller.

The kernel logs fill up with the following message every 30 seconds:
yagisan@doomguy:~$ head /var/log/kern.log
Oct 13 04:14:09 doomguy kernel: [ 4035.444075] ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
Oct 13 04:14:09 doomguy kernel: [ 4035.444111] ata5.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
Oct 13 04:14:09 doomguy kernel: [ 4035.444114] cdb 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Oct 13 04:14:09 doomguy kernel: [ 4035.444116] res 40/00:02:00:08:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
Oct 13 04:14:09 doomguy kernel: [ 4035.444123] ata5.00: status: { DRDY }
Oct 13 04:14:09 doomguy kernel: [ 4035.444157] ata5: soft resetting link
Oct 13 04:14:10 doomguy kernel: [ 4035.664487] ata5.00: configured for PIO0
Oct 13 04:14:10 doomguy kernel: [ 4035.664546] ata5: EH complete

After examining the kernel source package, to understand the somewhat cryptic libata error messages, I realised the problem appears to be timing related. As older linux kernels worked on this system, I reasoned that a recent change to the timing system or libata is to blame.

Investigating the timing system first, I appended hpet=disable to the boot command, forcing use of the PIT. This resulted in the ATAPI devices being detected and functioning until a dvd was inserted.

This caused a slightly different error message which leads me to believe my workaround was successful, and that there are several bugs at play here.

The error message is now:
 7396.720467] sr 2:0:0:0: ioctl_internal_command return code = 8000002
[ 7396.720471] : Sense Key : Aborted Command [current] [descriptor]
[ 7396.720479] : Add. Sense: No additional sense information
[ 7426.721068] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[ 7426.721092] ata3.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
[ 7426.721094] cdb 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 7426.721097] res 40/00:03:00:00:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
[ 7426.721103] ata3.00: status: { DRDY }
[ 7426.721132] ata3: soft resetting link
[ 7426.933430] ata3.00: configured for PIO0
[ 7426.933466] ata3: EH complete
[ 7969.384483] sr0: CDROM (ioctl) error, command: Get event status notification 4a 01 00 00 10 00 00 00 08 00
[ 7969.384501] sr: Sense Key : Aborted Command [current] [descriptor]
[ 7969.384509] sr: Add. Sense: No additional sense information
[ 7979.384058] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[ 7979.384082] ata3.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
[ 7979.384084] cdb 1e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 7979.384087] res 40/00:03:00:00:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
[ 7979.384093] ata3.00: status: { DRDY }
[ 7979.384123] ata3: soft resetting link
[ 7979.596401] ata3.00: configured for PIO0
[ 7979.596427] ata3: EH complete

System Information:
------------------------------
yagisan@doomguy:~$ lsb_release -rd
Description: Ubuntu intrepid (development branch)
Release: 8.10

yagisan@doomguy:~$ apt-cache policy linux-image-2.6.27-7-generic
linux-image-2.6.27-7-generic:
  Installed: 2.6.27-7.10
  Candidate: 2.6.27-7.10
  Version table:
 *** 2.6.27-7.10 0
        500 http://au.archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status

yagisan@doomguy:~$ lspci
00:00.0 Host bridge: VIA Technologies, Inc. K8T890CF Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. VT3351 Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. VT3351 Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. VT3351 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. VT3351 Host Bridge
00:00.5 PIC: VIA Technologies, Inc. VT3351 I/O APIC Interrupt Controller
00:00.6 Host bridge: VIA Technologies, Inc. Device 6238
00:00.7 Host bridge: VIA Technologies, Inc. VT3351 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. [K8T890 North / VT8237 South] PCI Bridge
00:02.0 PCI bridge: VIA Technologies, Inc. K8T890 PCI to PCI Bridge Controller
00:03.0 PCI bridge: VIA Technologies, Inc. K8T890 PCI to PCI Bridge Controller
00:03.1 PCI bridge: VIA Technologies, Inc. K8T890 PCI to PCI Bridge Controller
00:03.2 PCI bridge: VIA Technologies, Inc. K8T890 PCI to PCI Bridge Controller
00:03.3 PCI bridge: VIA Technologies, Inc. K8T890 PCI to PCI Bridge Controller
00:0f.0 IDE interface: VIA Technologies, Inc. VT8237A SATA 2-Port Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 07)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237A PCI to ISA Bridge
00:11.7 Host bridge: VIA Technologies, Inc. VT8251 Ultra VLINK Controller
00:13.0 PCI bridge: VIA Technologies, Inc. VT8237A Host Bridge
00:13.1 PCI bridge: VIA Technologies, Inc. VT8237A PCI to PCI Bridge
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
02:00.0 VGA compatible controller: nVidia Corporation GeForce 8500 GT (rev a1)
04:00.0 Ethernet controller: Attansic Technology Corp. L1 Gigabit Ethernet Adapter (rev b0)
06:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6121 SATA II Controller (rev b1)
07:07.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50)
07:07.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50)
07:07.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 51)
07:08.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
07:08.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
80:01.0 Audio device: VIA Technologies, Inc. VT1708/A [Azalia HDAC] (VIA High Definition Audio Controller) (rev 10)

I have attached a full dmesg output to this bug.

Revision history for this message
Yagisan (yagisan) wrote :
Revision history for this message
Yagisan (yagisan) wrote :

Full output from lscpi -vvnn attached

Revision history for this message
Matt Grice (mattgrice) wrote :
Download full text (5.0 KiB)

I'm getting a very similar message with the Intrepid amd64 kernel. I've also compiled 2.6.29.1 with SLAB and that also produces the error.

I have two Sony IDE DVD-ROM Drives that lock up as soon as these errors start appearing in the logs.

relevant portion of dmesg:

[ 1360.017031] ata4.01: qc timeout (cmd 0xa0)
[ 1360.017045] ata4.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[ 1360.017054] ata4.01: cmd a0/00:00:00:00:00/00:00:00:00:00/b0 tag 0
[ 1360.017055] cdb 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1360.017056] res 51/20:03:00:00:00/00:00:00:00:00/b0 Emask 0x5 (timeout)
[ 1360.017059] ata4.01: status: { DRDY ERR }
[ 1360.017081] ata4: soft resetting link
[ 1360.421238] ata4.00: configured for UDMA/33
[ 1360.453232] ata4.01: configured for UDMA/33
[ 1361.555496] ata4: EH complete
[ 1400.021132] ata4.00: qc timeout (cmd 0xa0)
[ 1400.021145] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[ 1400.021153] ata4.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
[ 1400.021154] cdb 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1400.021155] res 51/20:03:00:00:00/00:00:00:00:00/a0 Emask 0x5 (timeout)
[ 1400.021158] ata4.00: status: { DRDY ERR }
[ 1400.021179] ata4: soft resetting link
[ 1400.425231] ata4.00: configured for UDMA/33
[ 1400.457225] ata4.01: configured for UDMA/33
[ 1400.729058] ata4: EH complete
[ 1405.729032] ata4.00: qc timeout (cmd 0xa0)
[ 1405.729044] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[ 1405.729051] ata4.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
[ 1405.729052] cdb 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1405.729053] res 51/20:03:00:00:00/00:00:00:00:00/a0 Emask 0x5 (timeout)
[ 1405.729056] ata4.00: status: { DRDY ERR }
[ 1405.729077] ata4: soft resetting link
[ 1406.133230] ata4.00: configured for UDMA/33
[ 1406.165223] ata4.01: configured for UDMA/33
[ 1409.448316] ata4: EH complete
[ 1425.805042] ata4.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[ 1425.805052] ata4.01: cmd a0/00:00:00:00:00/00:00:00:00:00/b0 tag 0
[ 1425.805053] cdb 1e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1425.805054] res 40/00:02:00:08:00/00:00:00:00:00/b0 Emask 0x4 (timeout)
[ 1425.805057] ata4.01: status: { DRDY }
[ 1425.805078] ata4: soft resetting link
[ 1426.209230] ata4.00: configured for UDMA/33
[ 1426.241239] ata4.01: configured for UDMA/33
[ 1431.241032] ata4.00: qc timeout (cmd 0xa0)
[ 1431.241041] ata4.00: TEST_UNIT_READY failed (err_mask=0x5)
[ 1431.241062] ata4: soft resetting link
[ 1431.645229] ata4.00: configured for UDMA/33
[ 1431.677222] ata4.01: configured for UDMA/33
[ 1436.805565] ata4: EH complete
[ 1495.805040] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[ 1495.805050] ata4.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
[ 1495.805051] cdb 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1495.805052] res 40/00:03:00:00:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
[ 1495.805054] ata4.00: status: { DRDY }
[ 1495.805075] ata4: soft resetting link
[ 1496.209229] ata4.00: configured for UDMA/33
[ 1496.241223] a...

Read more...

Revision history for this message
Yagisan (yagisan) wrote :

I've ended up working around the issue. I blacklist the pata_via module, and build my own kernels with all the old ide drivers as modules, loading via82cxxx for my pata devices. Unfortunately I haven't been able to convince my ppa to build those kernels (some sort of issue with ABI's and sadly the ubuntu kernel package is poorly documented on how to actually update that)

I'm quite certain that the timing code for the libata versions is broken, but it's not immediately obvious to me exactly where or how to fix it. all I can suggest is that the old ide driver and the new libata driver should be both closly examined and the libata driver should be adjusted as needed to match the ide driver.

Revision history for this message
Robert Garshaw (robert-garshaw) wrote :

I've got the same problem on jaunty with three machines with Via k9t890/k8m890 chipsets. ATAPI drives will work after boot but sometime after disappear (after suspend/resume?). It's incredibly annoying to have to restart the computer to mount a cd, especially given this problem didn't exist before feisty or there about.

In my case dmesg is full of with:

[32122.240048] ata4.01: qc timeout (cmd 0xa0)
[32122.240070] ata4.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[32122.240087] ata4.01: cmd a0/00:00:00:00:00/00:00:00:00:00/b0 tag 0
[32122.240090] cdb 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[32122.240092] res 51/20:03:00:00:00/00:00:00:00:00/b0 Emask 0x5 (timeout)
[32122.240099] ata4.01: status: { DRDY ERR }
[32122.240133] ata4: soft resetting link
[32122.452422] ata4.00: configured for PIO0
[32122.460580] ata4.01: configured for PIO0
[32122.493603] ata4: EH complete

Revision history for this message
Yagisan (yagisan) wrote :

I went and tested a vanilla 2.6.29.1 kernel, and the problem still exists there. it isn't triggered by suspend or resume, as it's been affecting my server box, and I certainly don't use suspend and resume on that. You just need to leave the system running for a short while before you get the messages and can't use your atapi devices.

It doesn't occur with the via82cxxx module, but the ubuntu kernels do not build the old ide modules.

Revision history for this message
Robert Garshaw (robert-garshaw) wrote :

Yeah, you are right about it not being triggered by suspend/resume, I just rebooted to try and burn a cd and the bug stopped things after just 273 seconds of uptime. Again, this regression is really annoying.

Revision history for this message
mickey57 (mickeycook1957) wrote :

>what is gettng done about this problem?
>>i have struggled with this issue for quite some time.
~~~
May 15 11:26:19 mickey-desktop kernel: [ 2.548560] ata4.00: ATAPI: ATAPI DVD+RW 4X4X12, B1GY, max UDMA/33
May 15 11:26:19 mickey-desktop kernel: [ 2.548587] ata4.01: ATAPI: LITE-ON CD-ROM LTN-5291S, NS08, max UDMA/33
May 15 11:26:19 mickey-desktop kernel: [ 2.568601] ata4.00: configured for UDMA/33
May 15 11:26:19 mickey-desktop kernel: [ 2.596230] ata4.01: configured for UDMA/33
***********************************************************************************************
May 15 16:33:32 mickey-desktop kernel: [11706.369061] ata4.01: TEST_UNIT_READY failed (err_mask=0x4)
May 15 16:33:32 mickey-desktop kernel: [11706.369090] ata4: soft resetting link
May 15 16:33:33 mickey-desktop kernel: [11706.749028] ata4.01: configured for UDMA/25
May 15 16:33:38 mickey-desktop kernel: [11711.749045] ata4.01: qc timeout (cmd 0xa0)
May 15 16:33:38 mickey-desktop kernel: [11711.749058] ata4.01: TEST_UNIT_READY failed (err_mask=0x4)
May 15 16:33:38 mickey-desktop kernel: [11711.749065] ata4.01: limiting speed to UDMA/25:PIO2
May 15 16:33:38 mickey-desktop kernel: [11711.749093] ata4: soft resetting link
May 15 16:33:38 mickey-desktop kernel: [11712.129158] ata4.01: configured for UDMA/25
May 15 16:33:43 mickey-desktop kernel: [11717.129048] ata4.01: qc timeout (cmd 0xa0)
May 15 16:33:43 mickey-desktop kernel: [11717.129060] ata4.01: TEST_UNIT_READY failed (err_mask=0x4)
May 15 16:33:43 mickey-desktop kernel: [11717.129066] ata4.01: disabled
**************************************************************************************************

Revision history for this message
Jesse Gilles (jesse-gilles) wrote :

Is this a duplicate of bug 231575? It looks very similar.

https://bugs.launchpad.net/bugs/231575

Revision history for this message
kernel-janitor (kernel-janitor) wrote :

Hi Yagisan,

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/karmic . 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 282536

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
Gavin Fleming (gavinf) wrote : apport-collect data

Architecture: amd64
Dependencies:

DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: linux None [modified: /var/lib/dpkg/info/linux.list]
PackageArchitecture: amd64
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_ZA.UTF-8
Uname: Linux 2.6.28-15-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare vboxusers

Revision history for this message
Federico Belvisi (armalite) wrote :

Same problem here with nforce based motherboard and intel Core2Duo, putting "hpet=disable" in kernel boot parameters workarounded the issue.

Revision history for this message
Federico Belvisi (armalite) wrote :

I forgot to say: I never experienced this bug before, problem started with 9.10. I used 2.6.30 kernel in Ubuntu 9.04 and got no problems.

Revision history for this message
markofealing (mark-ferns16) wrote :

Sill a problem in Kubuntu 64 9.10 with 2.6.31-17-generic on an Asus A8V motherboard (VT82C586A IDE controller chip-set)

Does anyone know whether this is EVER going to be fixed by the Kernel developers, after all it is hardly trivial! I'm having a problem with a Brand New Pioneer DVR-A18L Series drive. A work college with same VT8x chip-set has exactly the same problems with his two Pioneer IDE DVD drives (they work under Windows)

Bug is easy to reproduce, burn a DVD with K3B, get it to verify the DVD. DVD Ejects but when reloaded, nothing is displayed.

Problem does not seem to be apparent using an LG SATA drive (SATA chipset VT8251) although I do have pci=nomsi kernel parameter loaded. http://mylinuxramblings.wordpress.com/2010/02/04/linux-hell-via-southbridge-vt8251-sata-ii-controller/

Revision history for this message
Robert Garshaw (robert-garshaw) wrote :

I've installed 2.6.33 from the mainline ppa https://wiki.ubuntu.com/KernelMainlineBuilds so I can have a play with ATI KMS but it seems to have solved these (and my other) issues with PATA drives on VIA chipsets. Be aware though that the latest kernel won't won't with the current fglrx binary driver.

Revision history for this message
mickey57 (mickeycook1957) wrote :

...Bug is still present in 10.04.

mickey@ubuntumickey:~$ echo `uname -r`
2.6.32-20-generic

Revision history for this message
Kwacka (kwacka2) wrote :

Appears to be (still) present in 10.04 -

dmesg:

[ 6503.049677] ata4.00: status: { DRDY DRQ }
[ 6503.049699] ata4: soft resetting link
[ 6503.260258] ata4.00: configured for UDMA/33
[ 6508.260044] ata4.00: qc timeout (cmd 0xa0)
[ 6508.260052] ata4.00: TEST_UNIT_READY failed (err_mask=0x5)
[ 6508.260075] ata4: soft resetting link
[ 6508.485145] ata4.00: configured for UDMA/33

lspci:

00:00.0 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge
00:00.5 PIC: VIA Technologies, Inc. K8M890CE I/O APIC Interrupt Controller
00:00.7 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 South]
00:02.0 PCI bridge: VIA Technologies, Inc. K8T890 PCI to PCI Bridge Controller
00:03.0 PCI bridge: VIA Technologies, Inc. K8T890 PCI to PCI Bridge Controller
00:0f.0 IDE interface: VIA Technologies, Inc. VT8237A SATA 2-Port Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 07)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237A PCI to ISA Bridge
00:11.7 Host bridge: VIA Technologies, Inc. VT8251 Ultra VLINK Controller
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 7c)
00:13.0 Host bridge: VIA Technologies, Inc. VT8237A Host Bridge
00:13.1 PCI bridge: VIA Technologies, Inc. VT8237A PCI to PCI Bridge
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
02:00.0 VGA compatible controller: nVidia Corporation G72 [GeForce 7300 SE/7200 GS] (rev a1)
04:05.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
80:01.0 Audio device: VIA Technologies, Inc. VT1708/A [Azalia HDAC] (VIA High Definition Audio Controller) (rev 10)

Revision history for this message
Kwacka (kwacka2) wrote :

add to dmesg in previous post:
[ 6513.485823] ata4: soft resetting link
[ 6513.700319] ata4.00: configured for UDMA/33
[ 6518.700050] ata4.00: qc timeout (cmd 0xa0)
[ 6518.700058] ata4.00: TEST_UNIT_READY failed (err_mask=0x5)
[ 6518.700061] ata4.00: disabled

Revision history for this message
rok (rok-kanardia) wrote :

Very similar problem with 10.04, linux-2.6.32-22-generic

lspci:
00:00.0 Host bridge: VIA Technologies, Inc. PT880 Ultra/PT894 Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. PT894 Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. PT894 Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. PT890 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. PT894 Host Bridge
00:00.5 PIC: VIA Technologies, Inc. PT894 I/O APIC Interrupt Controller
00:00.7 Host bridge: VIA Technologies, Inc. PT894 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237/VX700 PCI Bridge
00:02.0 PCI bridge: VIA Technologies, Inc. PT890 PCI to PCI Bridge Controller
00:0a.0 Serial controller: NetMos Technology PCI 9845 Multi-I/O Controller (rev 01)
00:0b.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
00:0b.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
00:0c.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:0f.0 IDE interface: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
02:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 6600 GT] (rev a2)

dmesg:
[ 481.040053] ata3: lost interrupt (Status 0x50)
[ 512.040043] ata3: lost interrupt (Status 0x50)
[ 520.040048] ata3: lost interrupt (Status 0x58)
[ 520.040087] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[ 520.040095] sr 2:0:0:0: CDB: Get event status notification: 4a 01 00 00 10 00 00 00 08 00
[ 520.040113] ata3.00: cmd a0/00:00:00:08:00/00:00:00:00:00/a0 tag 0 pio 16392 in
[ 520.040114] res 58/00:02:00:08:00/00:00:00:00:00/a0 Emask 0x6 (timeout)
[ 520.040118] ata3.00: status: { DRDY DRQ }
[ 520.040144] ata3: soft resetting link
[ 520.260281] ata3.00: configured for UDMA/66

Revision history for this message
rok (rok-kanardia) wrote :

add this to dmesg:
[ 525.260042] ata3.00: qc timeout (cmd 0xa0)
[ 525.260051] ata3.00: TEST_UNIT_READY failed (err_mask=0x4)
[ 525.260078] ata3: soft resetting link
[ 525.480280] ata3.00: configured for UDMA/66

Revision history for this message
Rudi Pleckham (nato) wrote :

I've got the same chip in an Asus board. Ubuntu fails to boot whenever I've got a second optical drive connected (hangs very early in device detection). In Jaunty, the workaround "hpet=disable" works, but in lucid it does'nt any more, other sources make me believe the parameter disappeared. The only workaround for me is to disable the APIC 2.0 stuff in my BIOS.

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
Revision history for this message
Hippman (erufrank) wrote :

This bug is still present in Kernel 2.6.34-020634. Workaround is 'noapic' to kernel cmdline.

Hippman (erufrank)
Changed in linux (Ubuntu):
status: Expired → New
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hippman,
   Would you mind filing a new bug for your issue? This bug was expired due to lack of response from the reporter.

Thanks!

~JFo

Changed in linux (Ubuntu):
status: New → Invalid
Revision history for this message
Yagisan (yagisan) wrote :

The reporter ceased responding as:
a) No one with the ability to fix the bug has looked at it
b) the bug didn't get fixed
c) it clearly has a lot of "me too" responses
d) it was confirmed in mainline before the useless "upgrade to the new version of ubuntu and then bother us if it's still broken" message
e) the reporter has come to the conclusion launchpad has become a place of bugs to languages and be ignored, rather than be fixed
f) the pata drives were removed and the system no longer runs Ubuntu so I could have a working system, in a timely manner.

I wish all thoses stilll experiencing the bug the best of luck resolving it - but I suspect where possible, replacing the hardware with non-pata versions would be the most expedient work around, as I honestly no longer expect this to be fixed.

Revision history for this message
Hippman (erufrank) wrote :

For me it's fixed with Kernel 2.6.35-020635rc1-generic.

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.