Public bug reported:

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:
[EMAIL PROTECTED]:~$ 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:
------------------------------
[EMAIL PROTECTED]:~$ lsb_release -rd
Description:    Ubuntu intrepid (development branch)
Release:        8.10

[EMAIL PROTECTED]:~$ 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

[EMAIL PROTECTED]:~$ 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.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
LIBATA with  PATA_VIA causes ATAPI  PATA devices to hang with HPET enabled
https://bugs.launchpad.net/bugs/282536
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to