On 06/11/10 17:02, Phil Turmel wrote:
Indeed. The sysfs layout changed since kernel 2.6.18. I'm guessing the use of
CONFIG_SYSFS_DEPRECATED and/or CONFIG_SYSFS_DEPRECATED_V2 will interfere with my
script in current kernels.
Nice.
Output on one of my machines is however not as expected:
Controller device @ pci0000:00/0000:00:1c.1/0000:02:00.0 [ahci]
SATA controller: JMicron Technology Corp. JMB360 AHCI Controller (rev 02)
host4: [Empty]
Controller device @ pci0000:00/0000:00:1f.2 [ata_piix]
IDE interface: Intel Corporation 5 Series/3400 Series Chipset 4 port
SATA IDE Controller (rev 06)
host0: /dev/sda ATA WDC WD20EADS-00R {SN: WD-WCAVY4080404}
host1: /dev/sdb ATA ST3500418AS {SN: 9VMK33L9}
host1: /dev/sdc ATA ST3500418AS {SN: 9VMM6EY4}
Controller device @ pci0000:00/0000:00:1f.5 [ata_piix]
IDE interface: Intel Corporation 5 Series/3400 Series Chipset 2 port
SATA IDE Controller (rev 06)
host2: [Empty]
host3: [Empty]
This machine has seven SATA ports: one provided by the JMicron chip, the
other six by the Intel H55 south bridge. Only three ports are currently
used, but I had expected another [Empty] entry.
Here's what's in /sys/devices:
root@zotac:~# find /sys/devices/ -name scsi_host
/sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0/host4/scsi_host
/sys/devices/pci0000:00/0000:00:1f.2/host0/scsi_host
/sys/devices/pci0000:00/0000:00:1f.2/host1/scsi_host
/sys/devices/pci0000:00/0000:00:1f.5/host2/scsi_host
/sys/devices/pci0000:00/0000:00:1f.5/host3/scsi_host
Not sure what to make of that...
Jan
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html