* SATA controller order
@ 2005-12-16 9:14 Andre Majorel
2005-12-16 9:32 ` Jeff Garzik
0 siblings, 1 reply; 4+ messages in thread
From: Andre Majorel @ 2005-12-16 9:14 UTC (permalink / raw)
To: linux-raid
Hello all.
I have a motherboard with two SATA chips (Nvidia nForce 4 and
Silicon Image SiI 3114) running Linux 2.6.14.3. The drivers are
SCSI_SATA_NV and SCSI_SATA_SIL, both compiled-in.
Ports on the SiI 3114 controller are assigned scsi0 through
scsi3 and ports on the nForce4 chip are assigned scsi4 through
scsi7. Is there any way to control the order so that SCSI_SATA_NV
gets scsi0-scsi3 and SCSI_SATA_SIL gets scsi4-scsi7 instead ?
Thanks.
--
André Majorel <URL:http://www.teaser.fr/~amajorel/>
Do not use this account for regular correspondence.
See the URL above for contact information.
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: SATA controller order
2005-12-16 9:14 SATA controller order Andre Majorel
@ 2005-12-16 9:32 ` Jeff Garzik
2005-12-16 21:15 ` Andre Majorel
0 siblings, 1 reply; 4+ messages in thread
From: Jeff Garzik @ 2005-12-16 9:32 UTC (permalink / raw)
To: Andre Majorel; +Cc: linux-raid
Andre Majorel wrote:
> Hello all.
>
> I have a motherboard with two SATA chips (Nvidia nForce 4 and
> Silicon Image SiI 3114) running Linux 2.6.14.3. The drivers are
> SCSI_SATA_NV and SCSI_SATA_SIL, both compiled-in.
>
> Ports on the SiI 3114 controller are assigned scsi0 through
> scsi3 and ports on the nForce4 chip are assigned scsi4 through
> scsi7. Is there any way to control the order so that SCSI_SATA_NV
> gets scsi0-scsi3 and SCSI_SATA_SIL gets scsi4-scsi7 instead ?
Use modules, otherwise its defined by link order...
Jeff
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: SATA controller order
2005-12-16 9:32 ` Jeff Garzik
@ 2005-12-16 21:15 ` Andre Majorel
2005-12-17 1:15 ` John Stoffel
0 siblings, 1 reply; 4+ messages in thread
From: Andre Majorel @ 2005-12-16 21:15 UTC (permalink / raw)
To: linux-raid
On 2005-12-16 04:32 -0500, Jeff Garzik wrote:
> Andre Majorel wrote:
>
> >I have a motherboard with two SATA chips (Nvidia nForce 4 and
> >Silicon Image SiI 3114) running Linux 2.6.14.3. The drivers are
> >SCSI_SATA_NV and SCSI_SATA_SIL, both compiled-in.
> >
> >Ports on the SiI 3114 controller are assigned scsi0 through
> >scsi3 and ports on the nForce4 chip are assigned scsi4 through
> >scsi7. Is there any way to control the order so that SCSI_SATA_NV
> >gets scsi0-scsi3 and SCSI_SATA_SIL gets scsi4-scsi7 instead ?
>
> Use modules,
But then wouldn't I have to use initrd if / is on a raid device ?
> otherwise its defined by link order...
OK. This did the trick :
diff -ur --exclude '*.o' linux-2.6.14.3/drivers/scsi/Makefile linux-2.6.14.3-nf4-first/drivers/scsi/Makefile
--- linux-2.6.14.3/drivers/scsi/Makefile 2005-11-24 23:10:21.000000000 +0100
+++ linux-2.6.14.3-nf4-first/drivers/scsi/Makefile 2005-12-16 20:52:14.000000000 +0100
@@ -124,6 +124,7 @@
obj-$(CONFIG_SCSI_NSP32) += nsp32.o
obj-$(CONFIG_SCSI_IPR) += ipr.o
obj-$(CONFIG_SCSI_IBMVSCSI) += ibmvscsi/
+obj-$(CONFIG_SCSI_SATA_NV) += libata.o sata_nv.o
obj-$(CONFIG_SCSI_SATA_AHCI) += libata.o ahci.o
obj-$(CONFIG_SCSI_SATA_SVW) += libata.o sata_svw.o
obj-$(CONFIG_SCSI_ATA_PIIX) += libata.o ata_piix.o
@@ -134,7 +135,6 @@
obj-$(CONFIG_SCSI_SATA_VITESSE) += libata.o sata_vsc.o
obj-$(CONFIG_SCSI_SATA_SIS) += libata.o sata_sis.o
obj-$(CONFIG_SCSI_SATA_SX4) += libata.o sata_sx4.o
-obj-$(CONFIG_SCSI_SATA_NV) += libata.o sata_nv.o
obj-$(CONFIG_SCSI_SATA_ULI) += libata.o sata_uli.o
obj-$(CONFIG_SCSI_SATA_MV) += libata.o sata_mv.o
# dmesg | grep 'scsi. :'
scsi0 : sata_nv
scsi1 : sata_nv
scsi2 : sata_nv
scsi3 : sata_nv
scsi4 : sata_sil
scsi5 : sata_sil
scsi6 : sata_sil
scsi7 : sata_sil
Thanks !
--
André Majorel <URL:http://www.teaser.fr/~amajorel/>
Do not use this account for regular correspondence.
See the URL above for contact information.
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: SATA controller order
2005-12-16 21:15 ` Andre Majorel
@ 2005-12-17 1:15 ` John Stoffel
0 siblings, 0 replies; 4+ messages in thread
From: John Stoffel @ 2005-12-17 1:15 UTC (permalink / raw)
To: Andre Majorel; +Cc: linux-raid
Andre> On 2005-12-16 04:32 -0500, Jeff Garzik wrote:
>> Andre Majorel wrote:
>>
>> >I have a motherboard with two SATA chips (Nvidia nForce 4 and
>> >Silicon Image SiI 3114) running Linux 2.6.14.3. The drivers are
>> >SCSI_SATA_NV and SCSI_SATA_SIL, both compiled-in.
>> >
>> >Ports on the SiI 3114 controller are assigned scsi0 through
>> >scsi3 and ports on the nForce4 chip are assigned scsi4 through
>> >scsi7. Is there any way to control the order so that SCSI_SATA_NV
>> >gets scsi0-scsi3 and SCSI_SATA_SIL gets scsi4-scsi7 instead ?
>>
>> Use modules,
Andre> But then wouldn't I have to use initrd if / is on a raid device ?
So? I've been planning for a long time to mirror my / and /boot
partitions, I've even got the empty disk to do it with, just haven't
done it yet. And I've got my /home and /local partitions mirrored
which has saved my butt a couple of times now.
Andre> OK. This did the trick :
[ patch deleted ]
You do realize that this patch won't get accepted into the main
kernel, so you'll have to keep re-applying it (and remembering to)
each time you install a new kernel. Is it really worth it?
For one thing, since mdadm doesn't care where disks are located, just
use a mdadm.conf file with a line saying 'DEVICE partitions' so that
it will search all partitions it finds for MD devices.
Then you have your filesystems listed by UUID, so they don't have to
be completely specified either.
Basically, let the computer find your data, and don't sweat where it's
located if you can help it.
John
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-12-17 1:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-16 9:14 SATA controller order Andre Majorel
2005-12-16 9:32 ` Jeff Garzik
2005-12-16 21:15 ` Andre Majorel
2005-12-17 1:15 ` John Stoffel
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).