Re: Multiple SCSI host adapters, naming of attached devices

2001-01-31 Thread Michael Pacey
Well, just so you know I am now building a 2.4.1 kernel for this machine so I can use devfs. So perhaps I'll try ReiserFS on this too... lots of fun :) Thanks for everyone's kind words of wisdom. -- Michael Pacey [EMAIL PROTECTED] ICQ: 105498469 wd21 ltd - world domination in the 21st century

Re: Multiple SCSI host adapters, naming of attached devices

2001-01-31 Thread Andrzej Krzysztofowicz
"Wolfgang Wegner wrote:" > > Given two host adapters each with 1 disk of ID 0, how do I tell Linux which > > is sda and which sdb? > [...] > which leads me to the question: > Is there any reason for the (IMHO stupid) "dynamic" naming of > SCSI devices (in contrast to e.g. IDE devices or the "physi

Re: Multiple SCSI host adapters, naming of attached devices

2001-01-31 Thread Andrzej Krzysztofowicz
"Michael Pacey wrote:" > Of course I should have said this is linux kernel 2.2.17, an IBM PS/2 9585, > in-built 'IBM MCA' SCSI adapter and an AHA-1640 MCA card. > > I now realise that in 2.4 I can use scsihosts=ibmmca:aha1542, but have no > info for 2.2.17. > > Sorry for the lack of info previou

Re: Multiple SCSI host adapters, naming of attached devices

2001-01-30 Thread Andreas Dilger
Michael Pacey writes: > But it looks like I can change the order in driver/scsi/hosts.c, though > this is not an elegant solution :( You can compile the "primary (rootfs)" adapter into the kernel, and load the second adapter as a module. This is supposed to work. Cheers, Andreas -- Andreas Dil

Re: Multiple SCSI host adapters, naming of attached devices

2001-01-30 Thread Michael Pacey
On Wed, 31 Jan 2001 01:05:51 Andreas Dilger wrote: > > If you are using ext2 filesystems, you don't care which is which, because > you can mount by filesystem UUID or LABEL, so just ignore the device > names. > The same is true with LVM. Well, I tried changing the order of driver loading in dr

Re: Multiple SCSI host adapters, naming of attached devices

2001-01-30 Thread Michael Pacey
On Wed, 31 Jan 2001 01:05:51 Andreas Dilger wrote: > If you are using ext2 filesystems, you don't care which is which, because > you can mount by filesystem UUID or LABEL, so just ignore the device > names. > The same is true with LVM. > > Cheers, Andreas Well, I do care... This machine is co

Re: Multiple SCSI host adapters, naming of attached devices

2001-01-30 Thread Andreas Dilger
Michael Pacey writes: > Given two host adapters each with 1 disk of ID 0, how do I tell Linux which > is sda and which sdb? You can't - you need to make sure either the cards are different and check the SCSI host probe order, or the detection order in the PCI bus. You should only need to do this

Re: Multiple SCSI host adapters, naming of attached devices

2001-01-30 Thread Wolfgang Wegner
Hi, > Given two host adapters each with 1 disk of ID 0, how do I tell Linux which > is sda and which sdb? [...] which leads me to the question: Is there any reason for the (IMHO stupid) "dynamic" naming of SCSI devices (in contrast to e.g. IDE devices or the "physical" device naming used in Solari

Re: Multiple SCSI host adapters, naming of attached devices

2001-01-30 Thread Michael Pacey
Of course I should have said this is linux kernel 2.2.17, an IBM PS/2 9585, in-built 'IBM MCA' SCSI adapter and an AHA-1640 MCA card. I now realise that in 2.4 I can use scsihosts=ibmmca:aha1542, but have no info for 2.2.17. Sorry for the lack of info previously :) Thanks again. On Tue, 30 Ja

Multiple SCSI host adapters, naming of attached devices

2001-01-30 Thread Michael Pacey
Sorry for posting this here, I'm sure you're all busy with 2.4.1 and 2.2.18 but I'm read the SCSI HOWTO and asked on #LinPeople to no avail: Given two host adapters each with 1 disk of ID 0, how do I tell Linux which is sda and which sdb? After this I'll be filling the 2nd SCSI chain completely,