Thread (10 messages) 10 messages, 4 authors, 2005-09-18

Re: Promise SATAII150 TX4: strange disk ordering

From: Eyal Lebedinsky <hidden>
Date: 2005-08-30 10:32:06

Jeff Garzik wrote:
Eyal Lebedinsky wrote:
quoted
I needed a 4-port SATA controller and this was was picked. It seems
to work OK, however I find that Linux (2.6.12.5 and .13-rc7) see
the disks in a different order than the labelled sockets (which do
match what the BIOS detection lists at bootup).

It is not even the reverse order:
    TX4 socket    sata_promise ata*
    1        4
    2        2
    3        1
    4        3
This order looks stable - I connected a different number of disks
on some ports and this ordering was maintained.

sata_promise driver just presents the devices in the order that the
board maker has wired each port to the chip.  What may be labelled "port
3" on the board might be wired to the chip's port-0.  sata_promise just
presents what it is given.

    Jeff
Seeing how people trust these number, the confusion is risky. I may
remove the wrong raid disk when it is reported offline and lose the
lot.

If we know the wiring (I assume this is stable for each board) why
not arrange the logical ports accordingly? Much more user friendly.

Thanks

-- 
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>
	attach .zip as .dat
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help