Re: 2.6.14-mm1 libata pata_via

From: Chris Boot
Date: Tue Nov 08 2005 - 03:44:23 EST



On 8 Nov 2005, at 3:15, Alan Cox wrote:

On Llu, 2005-11-07 at 17:32 +0000, Chris Boot wrote:
Hi all,

Since I've only got a DVD drive on good ol' PATA, I thought I'd try
Alan's latest VIA PATA driver for libata, to see where I got. Well,
the machine simply doesn't boot, preferring to get stuck after
detecting the drive. I've tried with and without
libata.atapi_enabled=1 and get the same result in both cases. Here's
my log with some SysRq output that might be useful:

Thanks for giving it a try. Can you also give me an lspci -v for
reference

Relevant parts of lspci:

0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge
Subsystem: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge
Flags: bus master, 66Mhz, medium devsel, latency 8
Memory at e0000000 (32-bit, prefetchable) [size=64M]
Capabilities: [80] AGP version 3.5
Capabilities: [c0] Power Management version 2

0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, medium devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: e4000000-e6ffffff
Prefetchable memory behind bridge: d0000000-dfffffff
Capabilities: [80] Power Management version 2

[...]

0000:00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
Subsystem: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller
Flags: bus master, medium devsel, latency 32, IRQ 169
I/O ports at b800 [size=8]
I/O ports at bc00 [size=4]
I/O ports at c000 [size=8]
I/O ports at c400 [size=4]
I/O ports at c800 [size=16]
I/O ports at cc00 [size=256]
Capabilities: [c0] Power Management version 2

0000:00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/ VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP])
Subsystem: VIA Technologies, Inc. VT82C586/B/VT82C686/A/B/ VT8233/A/C/VT8235 PIPC Bus Master IDE
Flags: bus master, medium devsel, latency 32, IRQ 169
I/O ports at d000 [size=16]
Capabilities: [c0] Power Management version 2

[...]

[4294672.373000] ACPI: PCI Interrupt 0000:00:0f.1[A] -> Link [ALKA] -
GSI 20 (level, low) -> IRQ 177
[4294672.411000] PCI: Via IRQ fixup for 0000:00:0f.1, from 255 to 1

Thats suspicious in itself. I take it the VIA drivers/ide driver works
fine and reports IRQ 1 however ?

[4294669.230000] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[4294669.263000] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[4294669.298000] VP_IDE: IDE controller at PCI slot 0000:00:0f.1
[4294669.331000] ACPI: PCI Interrupt Link [ALKA] BIOS reported IRQ 11, using IRQ 20
[4294669.366000] ACPI: PCI Interrupt Link [ALKA] enabled at IRQ 20
[4294669.399000] ACPI: PCI Interrupt 0000:00:0f.1[A] -> Link [ALKA] - > GSI 20 (level, low) -> IRQ 169
[4294669.436000] PCI: Via IRQ fixup for 0000:00:0f.1, from 255 to 9
[4294669.469000] VP_IDE: chipset revision 6
[4294669.500000] VP_IDE: not 100% native mode: will probe irqs later
[4294669.534000] VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1
[4294669.570000] ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:pio
[4294669.606000] ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:pio, hdd:pio
[4294669.642000] Probing IDE interface ide0...
[4294669.688000] input: AT Translated Set 2 keyboard as /class/input/ input0
[4294669.725000] atkbd.c: Spurious ACK on isa0060/serio0. Some program, like XFree86, might be trying access hardware directly.
[4294669.944000] input: AT Translated Set 2 keyboard as /class/input/ input1
[4294670.490000] hda: PHILIPS PBDV1640P, ATAPI CD/DVD-ROM drive
[4294671.137000] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[4294671.171000] Probing IDE interface ide1...
[4294671.690000] Probing IDE interface ide1...
[4294672.210000] hda: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
[4294672.247000] Uniform CD-ROM driver Revision: 3.20

[4294672.446000] ata5: PATA max UDMA/100 cmd 0x1F0 ctl 0x3F6 bmdma
0xD000 irq 14


HTH,
Chris

--
Chris Boot
bootc@xxxxxxxxx
http://www.bootc.net/


Attachment: smime.p7s
Description: S/MIME cryptographic signature