On Thu, 2005-08-11 at 16:21 -0400, Jeff Garzik wrote: > Erik Slagter wrote:
> Your patch was wrong because the SATA device should always be claimed by > libata. > > The system is thus: > > 1) drivers/pci/quirks.c reserves SATA ports (only!) for libata > 2) Legacy IDE driver claims the unreserved PATA port > 3) libata loads and uses the ports reserved in #1 > > This requires a specific kernel configuration: > (a) CONFIG_IDE_GENERIC be set, and > (b) IDE driver is built into the kernel. > > This also requires that your SATA device is listed in drivers/pci/quirks.c. > > Both (a) and (b) are kernel configuration issues. I never saw anything > in any email thread indicating that (a) and (b) were verified and > eliminated as problem sources. > To be more clear: > The legacy ISA IDE driver, not the PIIX IDE driver, must claim the > PATA port. Okay, here it comes. hardware: Dell Inspiron 9300 with ICH6M and Fujitsu PATA harddisk + PATA dvd driver kernel: 2.6.12.3 plain vanilla config: generic ide, no ide piix support, no pci ide support whatsoever, libata support, libata_piix support result: the pata harddisk is recognised by libata_piix and assigned /dev/sda, the dvd drive is found by the generic ide driver. (dmesg output attached) Alternative: config: generic ide, no ide piix support, no pci ide support whatsoever, libata support, no libata_piix support result: not bootable because no root disk whatsoever is found (no /dev/sda nor /dev/hda). The dvd driver is found by the generic ide driver. Looks like the practise does not match your statement.
Linux version 2.6.12.3test1 ([EMAIL PROTECTED]) (gcc version 4.0.1 20050727 (Red Hat 4.0.1-5)) #6 Fri Aug 12 17:54:49 CEST 2005 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009f000 (usable) BIOS-e820: 000000000009f000 - 00000000000a0000 (reserved) BIOS-e820: 0000000000100000 - 000000003ffda000 (usable) BIOS-e820: 000000003ffda000 - 0000000040000000 (reserved) BIOS-e820: 00000000e0000000 - 00000000f0007000 (reserved) BIOS-e820: 00000000f0008000 - 00000000f000c000 (reserved) BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved) BIOS-e820: 00000000fed20000 - 00000000fee10000 (reserved) BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved) 127MB HIGHMEM available. 896MB LOWMEM available. NX (Execute Disable) protection: active On node 0 totalpages: 262106 DMA zone: 4096 pages, LIFO batch:1 Normal zone: 225280 pages, LIFO batch:31 HighMem zone: 32730 pages, LIFO batch:15 DMI 2.3 present. ACPI: RSDP (v000 DELL ) @ 0x000fc9b0 ACPI: RSDT (v001 DELL CPi R 0x27d50217 ASL 0x00000061) @ 0x3ffda7d3 ACPI: FADT (v001 DELL CPi R 0x27d50217 ASL 0x00000061) @ 0x3ffdb400 ACPI: MADT (v001 DELL CPi R 0x27d50217 ASL 0x00000047) @ 0x3ffdbc00 ACPI: MCFG (v016 DELL CPi R 0x27d50217 ASL 0x00000061) @ 0x3ffdbbc0 ACPI: BOOT (v001 DELL CPi R 0x27d50217 ASL 0x00000061) @ 0x3ffdb7c0 ACPI: SSDT (v001 PmRef Cpu0Ist 0x00003000 INTL 0x20030522) @ 0x3ffdabe6 ACPI: SSDT (v001 PmRef Cpu0Cst 0x00003001 INTL 0x20030522) @ 0x3ffdaa0e ACPI: SSDT (v001 PmRef CpuPm 0x00003000 INTL 0x20030522) @ 0x3ffda813 ACPI: DSDT (v001 INT430 SYSFexxx 0x00001001 MSFT 0x0100000e) @ 0x00000000 ACPI: PM-Timer IO Port: 0x1008 ACPI: Local APIC address 0xfee00000 ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) Processor #0 6:13 APIC version 20 ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] disabled) ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1]) ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1]) ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0]) IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, GSI 0-23 ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) ACPI: IRQ0 used by override. ACPI: IRQ2 used by override. ACPI: IRQ9 used by override. Enabling APIC mode: Flat. Using 1 I/O APICs Using ACPI (MADT) for SMP configuration information Allocating PCI resources starting at 40000000 (gap: 40000000:a0000000) Built 1 zonelists Kernel command line: ro resume=/dev/hda4 root=/dev/hda2 nmi_watchdog=2 [EMAIL PROTECTED]/eth0,[EMAIL PROTECTED]/ root=/dev/sda2 init=/bin/sh netconsole: local port 6665 netconsole: local IP 172.31.4.2 netconsole: interface eth0 netconsole: remote port 514 netconsole: remote IP 172.31.1.1 netconsole: remote ethernet address ff:ff:ff:ff:ff:ff mapped APIC to ffffd000 (fee00000) mapped IOAPIC to ffffc000 (fec00000) Initializing CPU#0 PID hash table entries: 4096 (order: 12, 65536 bytes) Detected 2128.592 MHz processor. Using pmtmr for high-res timesource Console: colour VGA+ 80x25 Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 1034108k/1048424k available (2818k kernel code, 13500k reserved, 1214k data, 176k init, 130920k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay loop... 4194.30 BogoMIPS (lpj=2097152) Mount-cache hash table entries: 512 CPU: After generic identify, caps: afe9fbff 00100000 00000000 00000000 00000180 00000000 00000000 CPU: After vendor identify, caps: afe9fbff 00100000 00000000 00000000 00000180 00000000 00000000 CPU: L1 I cache: 32K, L1 D cache: 32K CPU: L2 cache: 2048K CPU: After all inits, caps: afe9fbff 00100000 00000000 00000040 00000180 00000000 00000000 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU: Intel(R) Pentium(R) M processor 2.13GHz stepping 08 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK. ENABLING IO-APIC IRQs ..TIMER: vector=0x31 pin1=2 pin2=-1 NET: Registered protocol family 16 PCI: PCI BIOS revision 2.10 entry at 0xfbaae, last bus=4 PCI: Using MMCONFIG mtrr: v2.0 (20020519) ACPI: Subsystem revision 20050309 ACPI: Interpreter enabled ACPI: Using IOAPIC for interrupt routing ACPI: PCI Root Bridge [PCI0] (0000:00) PCI: Probing PCI hardware (bus 00) PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.2 Boot video device is 0000:01:00.0 PCI: Transparent bridge - 0000:00:1e.0 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] ACPI: PCI Interrupt Link [LNKA] (IRQs 9 10 *11) ACPI: PCI Interrupt Link [LNKB] (IRQs 5 7) *10 ACPI: PCI Interrupt Link [LNKC] (IRQs *9 10 11) ACPI: PCI Interrupt Link [LNKD] (IRQs 5 *7 9 10 11) ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled. ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled. ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled. ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIE._PRT] Linux Plug and Play Support v0.97 (c) Adam Belay pnp: PnP ACPI init pnp: PnP ACPI: found 10 devices i8k: not running on a Dell system i8k: vendor=Dell Inc., model=Inspiron 9300, version=A02 i8k: unable to get SMM Dell signature i8k: unable to get SMM BIOS version SCSI subsystem initialized Linux Kernel Card Services options: [pci] [cardbus] [pm] PCI: Using ACPI for IRQ routing PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report Bluetooth: Core ver 2.7 NET: Registered protocol family 31 Bluetooth: HCI device and connection manager initialized Bluetooth: HCI socket layer initialized pnp: 00:01: ioport range 0x4d0-0x4d1 has been reserved pnp: 00:01: ioport range 0x1000-0x1005 could not be reserved pnp: 00:01: ioport range 0x1008-0x100f could not be reserved pnp: 00:02: ioport range 0xf400-0xf4fe has been reserved pnp: 00:02: ioport range 0x1006-0x1007 has been reserved pnp: 00:02: ioport range 0x100a-0x1059 could not be reserved pnp: 00:02: ioport range 0x1060-0x107f has been reserved pnp: 00:02: ioport range 0x1080-0x10bf has been reserved pnp: 00:02: ioport range 0x10c0-0x10df has been reserved pnp: 00:07: ioport range 0x900-0x90f has been reserved pnp: 00:07: ioport range 0x910-0x91f has been reserved pnp: 00:07: ioport range 0x920-0x92f has been reserved pnp: 00:07: ioport range 0x930-0x93f has been reserved pnp: 00:07: ioport range 0x940-0x97f has been reserved Simple Boot Flag at 0x79 set to 0x1 Machine check exception polling timer started. IA-32 Microcode Update Driver: v1.14 <[EMAIL PROTECTED]> highmem bounce pool size: 64 pages Installing knfsd (copyright (C) 1996 [EMAIL PROTECTED]). Initializing Cryptographic API ACPI: PCI Interrupt 0000:00:01.0[A] -> GSI 16 (level, low) -> IRQ 169 PCI: Setting latency timer of device 0000:00:01.0 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[pcie00] Allocate Port Service[pcie03] ACPI: AC Adapter [AC] (on-line) ACPI: Battery Slot [BAT0] (battery present) ACPI: Lid Switch [LID] ACPI: Power Button (CM) [PBTN] ACPI: Sleep Button (CM) [SBTN] ACPI: Video Device [VID] (multi-head: yes rom: no post: no) ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3] C4[C3]) ACPI: Processor [CPU0] (supports 8 throttling states) ACPI: Thermal Zone [THM] (52 C) Real Time Clock Driver v1.12 hw_random: cannot enable RNG, aborting PNP: PS/2 Controller [PNP0303:KBC,PNP0f13:PS2M] at 0x60,0x64 irq 1,12 serio: i8042 AUX port at 0x60,0x64 irq 12 serio: i8042 KBD port at 0x60,0x64 irq 1 io scheduler noop registered io scheduler deadline registered loop: loaded (max 8 devices) pktcdvd: v0.2.0a 2004-07-14 Jens Axboe ([EMAIL PROTECTED]) and [EMAIL PROTECTED] PPP generic driver version 2.4.2 PPP Deflate Compression module registered PPP BSD Compression module registered netconsole: eth0 doesn't exist, aborting. Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx ide0: I/O resource 0x1F0-0x1F7 not free. ide0: ports already in use, skipping probe Probing IDE interface ide1... hdc: SONY DVD+/-RW DW-D56A, ATAPI CD/DVD-ROM drive Probing IDE interface ide2... Probing IDE interface ide3... Probing IDE interface ide4... Probing IDE interface ide5... ide1 at 0x170-0x177,0x376 on irq 15 hdc: ATAPI 24X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache Uniform CD-ROM driver Revision: 3.20 libata version 1.11 loaded. ahci version 1.00 ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 17 (level, low) -> IRQ 193 ahci: probe of 0000:00:1f.2 failed with error -12 ata_piix version 1.03 ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 17 (level, low) -> IRQ 193 ata: 0x170 IDE port busy PCI: Setting latency timer of device 0000:00:1f.2 to 64 ata1: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0xBFA0 irq 14 ata1: dev 0 cfg 49:2b00 82:346b 83:5b29 84:4003 85:3469 86:1a09 87:4003 88:203f ata1: dev 0 ATA, max UDMA/100, 156301488 sectors: ata1: dev 0 configured for UDMA/100 scsi0 : ata_piix Vendor: ATA Model: FUJITSU MHT2080A Rev: 006C Type: Direct-Access ANSI SCSI revision: 05 SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB) SCSI device sda: drive cache: write back SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB) SCSI device sda: drive cache: write back sda: sda1 sda2 sda3 sda4 Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0 ohci1394: $Rev: 1250 $ Ben Collins <[EMAIL PROTECTED]> ACPI: PCI Interrupt 0000:03:01.1[B] -> GSI 18 (level, low) -> IRQ 201 ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[201] MMIO=[dfcfc800-dfcfcfff] Max Packet=[2048] video1394: Installed video1394 module ieee1394: raw1394: /dev/raw1394 device initialized sbp2: $Rev: 1219 $ Ben Collins <[EMAIL PROTECTED]> ieee1394: Loaded AMDTP driver ieee1394: Loaded CMP driver PCI: Enabling device 0000:03:01.0 (0000 -> 0002) ACPI: PCI Interrupt 0000:03:01.0[A] -> GSI 19 (level, low) -> IRQ 209 Yenta: CardBus bridge found at 0000:03:01.0 [1028:0189] Yenta: ISA IRQ mask 0x04b8, PCI irq 209 Socket status: 30000006 mice: PS/2 mouse device common for all mice Advanced Linux Sound Architecture Driver Version 1.0.9rc2 (Thu Mar 24 10:33:39 2005 UTC). ACPI: PCI Interrupt 0000:00:1e.2[A] -> GSI 16 (level, low) -> IRQ 169 PCI: Setting latency timer of device 0000:00:1e.2 to 64 input: AT Translated Set 2 keyboard on isa0060/serio0 alps.c: Enabling hardware tapping input: PS/2 Mouse on isa0060/serio1 input: AlpsPS/2 ALPS GlidePoint on isa0060/serio1 intel8x0_measure_ac97_clock: measured 49470 usecs intel8x0: clocking to 48000 ACPI: PCI Interrupt 0000:00:1e.3[B] -> GSI 17 (level, low) -> IRQ 193 PCI: Setting latency timer of device 0000:00:1e.3 to 64 ieee1394: Host added: ID:BUS[0-00:1023] GUID[324fc0002e7d4c30] MC'97 1 converters and GPIO not ready (0xff00) ALSA device list: #0: Intel ICH6 with STAC9750,51 at 0xdffffe00, irq 169 #1: Intel ICH Modem at 0xee00, irq 193 NET: Registered protocol family 2 IP: routing cache hash table of 8192 buckets, 64Kbytes TCP established hash table entries: 262144 (order: 9, 2097152 bytes) TCP bind hash table entries: 65536 (order: 6, 262144 bytes) TCP: Hash tables configured (established 262144 bind 65536) IPv4 over IPv4 tunneling driver GRE over IPv4 tunneling driver NET: Registered protocol family 1 NET: Registered protocol family 10 IPv6 over IPv4 tunneling driver NET: Registered protocol family 17 Bluetooth: L2CAP ver 2.7 Bluetooth: L2CAP socket layer initialized Bluetooth: SCO (Voice Link) ver 0.4 Bluetooth: SCO socket layer initialized Bluetooth: RFCOMM ver 1.5 Bluetooth: RFCOMM socket layer initialized Bluetooth: RFCOMM TTY layer initialized Bluetooth: BNEP (Ethernet Emulation) ver 1.2 Bluetooth: BNEP filters: protocol multicast Bluetooth: HIDP (Human Interface Emulation) ver 1.1 802.1Q VLAN Support v1.8 Ben Greear <[EMAIL PROTECTED]> All bugs added by David S. Miller <[email protected]> acpi-cpufreq: CPU0 - ACPI performance management activated. Testing NMI watchdog ... OK. ACPI wakeup devices: LID PBTN PCI0 USB0 USB1 USB2 USB4 USB3 MODM PCIE ACPI: (supports S0 S3 S4 S4bios S5) kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Freeing unused kernel memory: 176k freed EXT3-fs warning: maximal mount count reached, running e2fsck is recommended EXT3 FS on sda2, internal journal
signature.asc
Description: This is a digitally signed message part
