* libata-pata works on ICH4-M
@ 2006-04-11 12:19 Carl-Daniel Hailfinger
2006-04-11 18:46 ` Jan Engelhardt
0 siblings, 1 reply; 11+ messages in thread
From: Carl-Daniel Hailfinger @ 2006-04-11 12:19 UTC (permalink / raw)
To: Alan Cox; +Cc: linux-ide, Linux Kernel Mailing List
[-- Attachment #1: Type: text/plain, Size: 2117 bytes --]
Hi Alan,
just a quick note to tell you that with ATA_ENABLE_PATA my
system works fine and does even survive suspend-to-ram.
This is a Samsung P35 laptop with one builtin 80 GB harddisk
and one builtin DVD-RAM drive.
libata patches are the ones included in 2.6.17-rc1-mm2 with
an additional one-liner:
--- drivers/scsi/ata_piix.c~ 2006-04-11 14:11:11.000000000 +0200
+++ drivers/scsi/ata_piix.c 2006-04-11 01:02:55.000000000 +0200
@@ -157,6 +157,7 @@
static const struct pci_device_id piix_pci_tbl[] = {
#ifdef ATA_ENABLE_PATA
{ 0x8086, 0x7111, PCI_ANY_ID, PCI_ANY_ID, 0, 0, piix4_pata },
+ { 0x8086, 0x24ca, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich5_pata },
{ 0x8086, 0x24db, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich5_pata },
{ 0x8086, 0x25a2, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich5_pata },
#endif
lspci -nvxxx is attached.
Excerpt from boot log under libata follows:
ata1: PATA max UDMA/100 cmd 0x1F0 ctl 0x3F6 bmdma 0x1860 irq 14
ata1: dev 0 cfg 49:2f00 82:346b 83:7f01 84:6003 85:3c69 86:3f01 87:6003 88:203f
ata1: dev 0 ATA-7, max UDMA/100, 156368016 sectors: LBA48
ata1: dev 0 configured for UDMA/100
scsi0 : ata_piix
Vendor: ATA Model: SAMSUNG MP0804H Rev: UE10
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sda: 156368016 512-byte hdwr sectors (80060 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
SCSI device sda: 156368016 512-byte hdwr sectors (80060 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
sda: sda1 sda2 < sda5 sda6 sda7 sda8 sda9 >
sd 0:0:0:0: Attached scsi disk sda
ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0x1868 irq 15
ata2: dev 0 cfg 49:2f00 82:0000 83:0000 84:0000 85:0000 86:0000 87:0000 88:0407
ata2: dev 0 ATAPI, max UDMA/33
ata2: dev 0 configured for UDMA/33
scsi1 : ata_piix
Vendor: TEAC Model: DV-W24ES Rev: S.0A
Type: CD-ROM ANSI SCSI revision: 05
If you need any additional information, holler.
Regards,
Carl-Daniel
--
http://www.hailfinger.org/
[-- Attachment #2: lspci-nvxxx.txt --]
[-- Type: text/plain, Size: 19584 bytes --]
0000:00:00.0 Class 0600: 8086:3340 (rev 21)
Subsystem: 144d:c00c
Flags: bus master, fast devsel, latency 0
Memory at e0000000 (32-bit, prefetchable) [size=256M]
Capabilities: [e4] #09 [4104]
Capabilities: [a0] AGP version 2.0
00: 86 80 40 33 06 01 90 20 21 00 00 06 00 00 00 00
10: 08 00 00 e0 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 4d 14 0c c0
30: 00 00 00 00 e4 00 00 00 00 00 00 00 00 00 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 02 00 00 00 00 00 00 00 00 00 00 00 27 00 00
60: 04 08 0c 10 00 00 00 00 00 00 00 00 00 00 00 00
70: 02 02 00 00 00 00 00 00 00 00 02 2d 71 32 40 30
80: 71 00 80 05 00 00 00 00 00 10 01 00 00 00 00 00
90: 10 11 11 00 01 13 11 00 41 19 00 00 00 1a 3d 00
a0: 02 00 20 00 17 02 00 1f 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 3c 1c 20 10 00 00
c0: 44 40 50 11 00 20 05 06 00 00 00 00 00 00 00 00
d0: 02 28 00 0e 0b 00 00 30 00 00 31 b5 00 00 02 00
e0: 00 00 00 00 09 a0 04 41 00 00 00 00 00 00 00 00
f0: 00 00 01 00 74 f8 20 80 38 0f 21 00 04 00 00 00
0000:00:01.0 Class 0604: 8086:3341 (rev 21)
Flags: bus master, 66Mhz, fast devsel, latency 96
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
I/O behind bridge: 00003000-00003fff
Memory behind bridge: d0100000-d01fffff
Prefetchable memory behind bridge: d8000000-dfffffff
00: 86 80 41 33 07 01 a0 00 21 00 04 06 00 60 01 00
10: 00 00 00 00 00 00 00 00 00 01 01 40 30 30 a0 02
20: 10 d0 10 d0 00 d8 f0 df 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0c 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0000:00:1d.0 Class 0c03: 8086:24c2 (rev 03)
Subsystem: 144d:c00c
Flags: bus master, medium devsel, latency 0, IRQ 5
I/O ports at 1800 [size=32]
00: 86 80 c2 24 05 00 80 02 03 00 03 0c 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 18 00 00 00 00 00 00 00 00 00 00 4d 14 0c c0
30: 00 00 00 00 00 00 00 00 00 00 00 00 05 01 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 2f 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 60 0f 00 00 00 00 00 00
0000:00:1d.1 Class 0c03: 8086:24c4 (rev 03)
Subsystem: 144d:c00c
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at 1820 [size=32]
00: 86 80 c4 24 05 00 80 02 03 00 03 0c 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 21 18 00 00 00 00 00 00 00 00 00 00 4d 14 0c c0
30: 00 00 00 00 00 00 00 00 00 00 00 00 0b 02 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 2f 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 60 0f 00 00 00 00 00 00
0000:00:1d.2 Class 0c03: 8086:24c7 (rev 03)
Subsystem: 144d:c00c
Flags: bus master, medium devsel, latency 0, IRQ 5
I/O ports at 1840 [size=32]
00: 86 80 c7 24 05 00 80 02 03 00 03 0c 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 41 18 00 00 00 00 00 00 00 00 00 00 4d 14 0c c0
30: 00 00 00 00 00 00 00 00 00 00 00 00 05 03 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 2f 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 60 0f 00 00 00 00 00 00
0000:00:1d.7 Class 0c03: 8086:24cd (rev 03) (prog-if 20)
Subsystem: 144d:c00c
Flags: bus master, medium devsel, latency 0, IRQ 11
Memory at d0000000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] #0a [2080]
00: 86 80 cd 24 06 01 90 02 03 20 03 0c 00 00 00 00
10: 00 00 00 d0 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 4d 14 0c c0
30: 00 00 00 00 50 00 00 00 00 00 00 00 0b 04 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 01 58 c2 c9 00 00 00 00 0a 00 80 20 00 00 00 00
60: 20 20 7f 00 00 00 00 00 01 00 00 00 00 00 00 c0
70: 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 10 00 3f 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 78 bf 1f 00 88 83 00 00 60 0f 00 00 06 00 00 00
0000:00:1e.0 Class 0604: 8086:2448 (rev 83)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=04, sec-latency=64
I/O behind bridge: 00004000-00004fff
Memory behind bridge: d0200000-d02fffff
Prefetchable memory behind bridge: 30000000-33ffffff
00: 86 80 48 24 07 01 80 80 83 00 04 06 00 00 01 00
10: 00 00 00 00 00 00 00 00 00 02 04 40 40 40 80 22
20: 20 d0 20 d0 00 30 f0 33 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 00
40: 02 28 20 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 02 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 10 00 08 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 01 00 02 00 00 00 c0 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 60 0f 00 00 00 00 2e 4a
0000:00:1f.0 Class 0601: 8086:24cc (rev 03)
Flags: bus master, medium devsel, latency 0
00: 86 80 cc 24 0f 00 80 02 03 00 01 06 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 01 10 00 00 10 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 81 11 00 00 10 00 00 00
60: 05 05 05 0b 90 00 00 00 80 80 80 0b 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: ff fc 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 20 02 00 00 01 00 00 00 0d 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 81 0a 00 00 00 00
c0: 00 00 00 00 80 00 00 fe 00 00 00 08 00 70 00 00
d0: 06 28 00 00 02 cf 00 00 04 00 00 00 00 00 00 00
e0: 10 00 00 ff 00 00 00 08 33 22 11 00 00 00 67 45
f0: 0f 00 09 00 00 00 00 00 60 0f 03 00 00 00 81 00
0000:00:1f.1 Class 0101: 8086:24ca (rev 03) (prog-if 8a [Master SecP PriP])
Subsystem: 144d:c00c
Flags: bus master, medium devsel, latency 0, IRQ 5
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at 1860 [size=16]
Memory at 34000000 (32-bit, non-prefetchable) [size=1K]
00: 86 80 ca 24 07 00 80 02 03 8a 01 01 00 00 00 00
10: 01 00 00 00 01 00 00 00 01 00 00 00 01 00 00 00
20: 61 18 00 00 00 00 00 34 00 00 00 00 4d 14 0c c0
30: 00 00 00 00 00 00 00 00 00 00 00 00 ff 01 00 00
40: 07 a3 77 a3 00 00 00 00 0d 00 01 11 00 00 00 00
50: 00 00 00 00 dd d4 00 00 00 00 00 00 00 00 00 00
60: 08 00 00 00 00 00 00 00 08 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 60 0f 00 00 00 00 00 00
0000:00:1f.3 Class ffff: 8086:24c3 (rev ff) (prog-if ff)
!!! Unknown header type 7f
00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0000:00:1f.5 Class 0401: 8086:24c5 (rev 03)
Subsystem: 144d:c00c
Flags: bus master, medium devsel, latency 0, IRQ 5
I/O ports at 1c00 [size=256]
I/O ports at 1880 [size=64]
Memory at d0000c00 (32-bit, non-prefetchable) [size=512]
Memory at d0000800 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
00: 86 80 c5 24 07 00 90 02 03 00 01 04 00 00 00 00
10: 01 1c 00 00 81 18 00 00 00 0c 00 d0 00 08 00 d0
20: 00 00 00 00 00 00 00 00 00 00 00 00 4d 14 0c c0
30: 00 00 00 00 50 00 00 00 00 00 00 00 05 02 00 00
40: 09 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 01 00 c2 c9 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 60 0f 00 00 00 00 00 00
0000:00:1f.6 Class 0703: 8086:24c6 (rev 03)
Subsystem: 144d:c00c
Flags: medium devsel, IRQ 5
I/O ports at 2400 [size=256]
I/O ports at 2000 [size=128]
Capabilities: [50] Power Management version 2
00: 86 80 c6 24 01 00 90 02 03 00 03 07 00 00 00 00
10: 01 24 00 00 01 20 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 4d 14 0c c0
30: 00 00 00 00 50 00 00 00 00 00 00 00 05 02 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 01 00 c2 c9 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 60 0f 00 00 00 00 00 00
0000:01:00.0 Class 0300: 1002:4e50
Subsystem: 144d:c00c
Flags: bus master, fast Back2Back, 66Mhz, medium devsel, latency 66, IRQ 5
Memory at d8000000 (32-bit, prefetchable) [size=128M]
I/O ports at 3000 [size=256]
Memory at d0100000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at d0120000 [disabled] [size=128K]
Capabilities: [58] AGP version 2.0
Capabilities: [50] Power Management version 2
00: 02 10 50 4e 07 03 b0 02 00 00 00 03 08 42 00 00
10: 08 00 00 d8 01 30 00 00 00 00 10 d0 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 4d 14 0c c0
30: 00 00 00 00 58 00 00 00 00 00 00 00 05 01 08 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 4d 14 0c c0
50: 01 00 02 06 00 00 00 00 02 50 20 00 17 02 00 4f
60: 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0000:02:00.0 Class 0200: 10ec:8139 (rev 10)
Subsystem: 144d:c00c
Flags: bus master, medium devsel, latency 64, IRQ 5
I/O ports at 4000 [size=256]
Memory at d0201800 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
00: ec 10 39 81 07 01 90 02 10 00 00 02 00 40 00 00
10: 01 40 00 00 00 18 20 d0 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 4d 14 0c c0
30: 00 00 00 00 50 00 00 00 00 00 00 00 05 01 20 40
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 01 00 c2 f7 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0000:02:01.0 Class 0607: 1180:0476 (rev ac)
Subsystem: 144d:c00c
Flags: bus master, medium devsel, latency 64, IRQ 5
Memory at d0202000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=02, secondary=03, subordinate=03, sec-latency=176
Memory window 0: 30000000-31fff000 (prefetchable)
Memory window 1: 36000000-37fff000 (prefetchable)
I/O window 0: 00004400-000044ff
I/O window 1: 00004800-000048ff
16-bit legacy interface ports at 0001
00: 80 11 76 04 07 00 10 02 ac 00 07 06 00 40 82 00
10: 00 20 20 d0 dc 00 00 02 02 03 03 b0 00 00 00 30
20: 00 f0 ff 31 00 00 00 36 00 f0 ff 37 00 44 00 00
30: fc 44 00 00 00 48 00 00 fc 48 00 00 00 01 80 07
40: 4d 14 0c c0 01 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 01 00 a0 20 00 03 00 00 63 04 63 04 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 ff 0f 00 80 00 00 03 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 4d 14 0c c0 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 01 00 0a fe
e0: 00 40 c0 24 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0000:02:01.1 Class 0607: 1180:0476 (rev ac)
Subsystem: 144d:c00c
Flags: bus master, medium devsel, latency 64, IRQ 5
Memory at d0203000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=02, secondary=04, subordinate=07, sec-latency=176
Memory window 0: 32000000-33fff000 (prefetchable)
Memory window 1: 38000000-39fff000 (prefetchable)
I/O window 0: 00004c00-00004cff
I/O window 1: 00001400-000014ff
16-bit legacy interface ports at 0001
00: 80 11 76 04 07 00 10 02 ac 00 07 06 00 40 82 00
10: 00 30 20 d0 dc 00 00 02 02 04 07 b0 00 00 00 32
20: 00 f0 ff 33 00 00 00 38 00 f0 ff 39 00 4c 00 00
30: fc 4c 00 00 00 14 00 00 fc 14 00 00 00 02 00 07
40: 4d 14 0c c0 01 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 01 00 a0 20 00 03 00 00 63 04 63 04 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 ff 0f 00 80 00 00 03 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 4d 14 0c c0 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 01 00 0a fe
e0: 00 40 c0 24 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0000:02:01.2 Class 0c00: 1180:0552 (rev 04) (prog-if 10)
Subsystem: 144d:c00c
Flags: bus master, medium devsel, latency 64, IRQ 5
Memory at d0201000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [dc] Power Management version 2
00: 80 11 52 05 06 01 10 02 04 10 00 0c 00 40 80 00
10: 00 10 20 d0 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 4d 14 0c c0
30: 00 00 00 00 dc 00 00 00 00 00 00 00 05 03 02 04
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 80 80 16 00 00 04 00 00 20 00 00 66 66 32 12
90: 48 60 66 10 00 00 02 00 50 80 00 00 00 01 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 4d 14 0c c0
b0: 00 00 00 00 00 00 00 00 00 30 00 00 00 00 02 04
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 01 00 02 c8
e0: 00 40 00 48 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0000:02:02.0 Class 0280: 8086:4220 (rev 05)
Subsystem: 8086:2731
Flags: bus master, medium devsel, latency 64, IRQ 5
Memory at d0200000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [dc] Power Management version 2
00: 86 80 20 42 16 01 90 02 05 00 80 02 08 40 00 00
10: 00 00 20 d0 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 31 27
30: 00 00 00 00 dc 00 00 00 00 00 00 00 05 01 03 18
40: 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 01 00 22 c8
e0: 00 20 00 13 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: libata-pata works on ICH4-M
2006-04-11 12:19 libata-pata works on ICH4-M Carl-Daniel Hailfinger
@ 2006-04-11 18:46 ` Jan Engelhardt
2006-04-12 9:09 ` Alan Cox
0 siblings, 1 reply; 11+ messages in thread
From: Jan Engelhardt @ 2006-04-11 18:46 UTC (permalink / raw)
To: Carl-Daniel Hailfinger; +Cc: Alan Cox, linux-ide, Linux Kernel Mailing List
Hello list,
>just a quick note to tell you that with ATA_ENABLE_PATA my
>system works fine and does even survive suspend-to-ram.
>This is a Samsung P35 laptop with one builtin 80 GB harddisk
>and one builtin DVD-RAM drive.
>libata patches are the ones included in 2.6.17-rc1-mm2 with
>an additional one-liner:
>
>ata1: PATA max UDMA/100 cmd 0x1F0 ctl 0x3F6 bmdma 0x1860 irq 14
>ata1: dev 0 cfg 49:2f00 82:346b 83:7f01 84:6003 85:3c69 86:3f01 87:6003 88:203f
>ata1: dev 0 ATA-7, max UDMA/100, 156368016 sectors: LBA48
>ata1: dev 0 configured for UDMA/100
>scsi0 : ata_piix
> Vendor: ATA Model: SAMSUNG MP0804H Rev: UE10
> Type: Direct-Access ANSI SCSI revision: 05
>SCSI device sda: 156368016 512-byte hdwr sectors (80060 MB)
[...]
So libata has the overhead of using SCSI commands? At least
that's what it suggests to the normal user.
Jan
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: libata-pata works on ICH4-M
2006-04-11 18:46 ` Jan Engelhardt
@ 2006-04-12 9:09 ` Alan Cox
2006-04-12 9:55 ` Jan Engelhardt
0 siblings, 1 reply; 11+ messages in thread
From: Alan Cox @ 2006-04-12 9:09 UTC (permalink / raw)
To: Jan Engelhardt
Cc: Carl-Daniel Hailfinger, linux-ide, Linux Kernel Mailing List
On Maw, 2006-04-11 at 20:46 +0200, Jan Engelhardt wrote:
> So libata has the overhead of using SCSI commands? At least
> that's what it suggests to the normal user.
libata issues standard ATA commands to disks and CF cards, and ATAPI to
other devices. The current tree knows how to use LBA28 commands
opportunistically so its generating basically the same command stream as
the old IDE layer
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: libata-pata works on ICH4-M
2006-04-12 9:09 ` Alan Cox
@ 2006-04-12 9:55 ` Jan Engelhardt
2006-04-12 14:38 ` Alan Cox
0 siblings, 1 reply; 11+ messages in thread
From: Jan Engelhardt @ 2006-04-12 9:55 UTC (permalink / raw)
To: Alan Cox; +Cc: Carl-Daniel Hailfinger, linux-ide, Linux Kernel Mailing List
>> So libata has the overhead of using SCSI commands? At least
>> that's what it suggests to the normal user.
>
>libata issues standard ATA commands to disks and CF cards, and ATAPI to
>other devices. The current tree knows how to use LBA28 commands
>opportunistically so its generating basically the same command stream as
>the old IDE layer
That sounds nice, but does hdparm also work with it? The last time I
tried to hdparm a SCSI-style device (usb flash disk, /dev/sda), it did
not work, only sdparm did the job. Will this also be the case with libata?
(BTW, did you mean LBA48?)
Jan Engelhardt
--
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: libata-pata works on ICH4-M
2006-04-12 9:55 ` Jan Engelhardt
@ 2006-04-12 14:38 ` Alan Cox
2006-04-12 15:19 ` Gabor Gombas
0 siblings, 1 reply; 11+ messages in thread
From: Alan Cox @ 2006-04-12 14:38 UTC (permalink / raw)
To: Jan Engelhardt
Cc: Carl-Daniel Hailfinger, linux-ide, Linux Kernel Mailing List
On Mer, 2006-04-12 at 11:55 +0200, Jan Engelhardt wrote:
> That sounds nice, but does hdparm also work with it? The last time I
> tried to hdparm a SCSI-style device (usb flash disk, /dev/sda), it did
> not work, only sdparm did the job. Will this also be the case with libata?
Ask the hdparm maintainers. Its mostly obsoleted by blktool and the like
which are generic
> (BTW, did you mean LBA48?)
No I meant LBA28. An LBA48 command takes far longer to issue than LBA28
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: libata-pata works on ICH4-M
2006-04-12 14:38 ` Alan Cox
@ 2006-04-12 15:19 ` Gabor Gombas
2006-04-12 15:33 ` Jan Engelhardt
0 siblings, 1 reply; 11+ messages in thread
From: Gabor Gombas @ 2006-04-12 15:19 UTC (permalink / raw)
To: Alan Cox
Cc: Jan Engelhardt, Carl-Daniel Hailfinger, linux-ide,
Linux Kernel Mailing List
On Wed, Apr 12, 2006 at 03:38:22PM +0100, Alan Cox wrote:
> Ask the hdparm maintainers. Its mostly obsoleted by blktool and the like
> which are generic
# hdparm -M 128 /dev/sda
/dev/sda:
setting acoustic management to 128
HDIO_GET_ACOUSTIC failed: Inappropriate ioctl for device
# blktool /dev/sda acoustic-mgmt 128
HDIO_SET_ACOUSTIC: Inappropriate ioctl for device
The world is still not perfect :-) Btw. it's kernel 2.6.16, ata_piix,
and a PATA drive. The new ata_piix now uses UDMA/100 while the old IDE
ICH driver always limited the first disk to UDMA/33 for no obvious
reason. So I'm quite happy with libata and can wait a little longer for
acoustic management to be implemented :-)
Gabor
--
---------------------------------------------------------
MTA SZTAKI Computer and Automation Research Institute
Hungarian Academy of Sciences
---------------------------------------------------------
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: libata-pata works on ICH4-M
2006-04-12 15:19 ` Gabor Gombas
@ 2006-04-12 15:33 ` Jan Engelhardt
2006-04-12 16:58 ` Greg Freemyer
2006-04-13 22:20 ` Mark Lord
0 siblings, 2 replies; 11+ messages in thread
From: Jan Engelhardt @ 2006-04-12 15:33 UTC (permalink / raw)
To: Gabor Gombas
Cc: Alan Cox, Carl-Daniel Hailfinger, linux-ide,
Linux Kernel Mailing List
>> Ask the hdparm maintainers. Its mostly obsoleted by blktool and the like
>> which are generic
>
># hdparm -M 128 /dev/sda
>
The 's' is a classical indicator for somehow use of scsi. If that can be
changed, the world is fine :)
Jan Engelhardt
--
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: libata-pata works on ICH4-M
2006-04-12 15:33 ` Jan Engelhardt
@ 2006-04-12 16:58 ` Greg Freemyer
2006-04-12 17:33 ` Gabor Gombas
2006-04-13 22:20 ` Mark Lord
1 sibling, 1 reply; 11+ messages in thread
From: Greg Freemyer @ 2006-04-12 16:58 UTC (permalink / raw)
To: Jan Engelhardt
Cc: Gabor Gombas, Alan Cox, Carl-Daniel Hailfinger, linux-ide,
Linux Kernel Mailing List
On 4/12/06, Jan Engelhardt <jengelh@linux01.gwdg.de> wrote:
> >> Ask the hdparm maintainers. Its mostly obsoleted by blktool and the like
> >> which are generic
> >
> ># hdparm -M 128 /dev/sda
> >
> The 's' is a classical indicator for somehow use of scsi. If that can be
> changed, the world is fine :)
>
>
> Jan Engelhardt
IIRC to get hdparm to talk to sata drives via libata you have use:
hdparm -d ata /dev/sda
Greg
--
Greg Freemyer
The Norcross Group
Forensics for the 21st Century
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: libata-pata works on ICH4-M
2006-04-12 16:58 ` Greg Freemyer
@ 2006-04-12 17:33 ` Gabor Gombas
0 siblings, 0 replies; 11+ messages in thread
From: Gabor Gombas @ 2006-04-12 17:33 UTC (permalink / raw)
To: Greg Freemyer
Cc: Jan Engelhardt, Alan Cox, Carl-Daniel Hailfinger, linux-ide,
Linux Kernel Mailing List
On Wed, Apr 12, 2006 at 12:58:30PM -0400, Greg Freemyer wrote:
> IIRC to get hdparm to talk to sata drives via libata you have use:
>
> hdparm -d ata /dev/sda
No, that's smartctl. -d for hdparm means something entirely different.
Gabor
--
---------------------------------------------------------
MTA SZTAKI Computer and Automation Research Institute
Hungarian Academy of Sciences
---------------------------------------------------------
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: libata-pata works on ICH4-M
2006-04-12 15:33 ` Jan Engelhardt
2006-04-12 16:58 ` Greg Freemyer
@ 2006-04-13 22:20 ` Mark Lord
2006-04-13 22:30 ` Mark Lord
1 sibling, 1 reply; 11+ messages in thread
From: Mark Lord @ 2006-04-13 22:20 UTC (permalink / raw)
To: Jan Engelhardt
Cc: Gabor Gombas, Alan Cox, Carl-Daniel Hailfinger, linux-ide,
Linux Kernel Mailing List
For now, several hdparm flags work fine with libata SCSI drives.
Eg. hdparm -W1, hdparm I, ..
Sometime in the next month or two, I hope to update hdparm to use SGIO
where possible/necessary to enable most of the remaining flags to function.
Cheers
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2006-04-13 22:30 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-11 12:19 libata-pata works on ICH4-M Carl-Daniel Hailfinger
2006-04-11 18:46 ` Jan Engelhardt
2006-04-12 9:09 ` Alan Cox
2006-04-12 9:55 ` Jan Engelhardt
2006-04-12 14:38 ` Alan Cox
2006-04-12 15:19 ` Gabor Gombas
2006-04-12 15:33 ` Jan Engelhardt
2006-04-12 16:58 ` Greg Freemyer
2006-04-12 17:33 ` Gabor Gombas
2006-04-13 22:20 ` Mark Lord
2006-04-13 22:30 ` Mark Lord
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).