[ltp] Hot swap between IDE CD-Rom and Sata drive in Z61p (2.6.22)
Marc MERLIN
linux-thinkpad@linux-thinkpad.org
Wed, 19 Dec 2007 11:14:11 -0800
Howdy.
So, is it even possible? Anyone doing this on a Z or a mostly equivalent
T60/T61?
The details are below, but it looks like the ultrabay makes my 2nd sata
drive look like an IDE drive.
IDE is built in in my kernel. Does it mean I have to rebuild the kernel with
all IDE built as modules (using the old IDE drivers and not the new ones?)
I have 2.6.22.1 and thinkpad_acpi: ThinkPad ACPI Extras v0.14
I have:
> 00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
> 00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 02)
I read
http://www.thinkwiki.org/wiki/How_to_hotswap_UltraBay_devices
It says that hotswapping doesn't work well with ata_piix, but that's for
ICH6. I'm not sure if ICH7 requires ata_piix too (hard to tell since I have
everything built in the kernel), but I guess this also affects me, and I
don't get to use the ide-disk driver and instructions at the bottom of the
page above, or am I wrong and can I use hot swapping ide-disk with ICH7 on a
Z61p?
I also looked at
http://www.thinkwiki.org/wiki/Problems_with_SATA_and_Linux
but I couldn't quite tell if it concerns me, or not.
Any other tips?
Thanks
Marc
Interestingly enough, the sata drive shows up as IDE:
> Probing IDE interface ide0...
> hda: ST910021AS, ATA DISK drive
> PM: Adding info for No Bus:ide0
> hda: selected mode 0x45
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> PM: Adding info for ide:0.0
> Probing IDE interface ide1...
> hda: max request size: 512KiB
> hda: 195371568 sectors (100030 MB) w/8192KiB Cache, CHS=16383/255/63, UDMA(100)
> hda: cache flushes supported
While my boot SATA drive shows up as sata/scsi:
> ahci 0000:00:1f.2: AHCI 0001.0100 32 slots 4 ports 1.5 Gbps 0xf impl SATA mode
> ahci 0000:00:1f.2: flags: 64bit ncq pm led clo pio slum part
> PCI: Setting latency timer of device 0000:00:1f.2 to 64
> scsi0 : ahci
> PM: Adding info for No Bus:host0
> scsi1 : ahci
> PM: Adding info for No Bus:host1
> scsi2 : ahci
> PM: Adding info for No Bus:host2
> scsi3 : ahci
> PM: Adding info for No Bus:host3
> ata1: SATA max UDMA/133 cmd 0xf8826500 ctl 0x00000000 bmdma 0x00000000 irq 16
> ata2: SATA max UDMA/133 cmd 0xf8826580 ctl 0x00000000 bmdma 0x00000000 irq 16
> ata3: SATA max UDMA/133 cmd 0xf8826600 ctl 0x00000000 bmdma 0x00000000 irq 16
> ata4: SATA max UDMA/133 cmd 0xf8826680 ctl 0x00000000 bmdma 0x00000000 irq 16
> ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
> ata1.00: ATA-7: Hitachi HTS541616J9SA00, SB4OC70P, max UDMA/100
> ata1.00: 312581808 sectors, multi 16: LBA48 NCQ (not used)
> ata1.00: configured for UDMA/100
> ata2: SATA link down (SStatus 0 SControl 0)
> ata3: SATA link down (SStatus 0 SControl 0)
> ata4: SATA link down (SStatus 0 SControl 0)
> PM: Adding info for No Bus:target0:0:0
> scsi 0:0:0:0: Direct-Access ATA Hitachi HTS54161 SB4O PQ: 0 ANSI: 5
> PM: Adding info for scsi:0:0:0:0
--
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
.... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/