* Help ! More than one SCSI controler...
@ 2000-11-01 13:36 John Beardmore
2000-11-01 14:34 ` Marble Head
2000-11-01 16:38 ` Serguei Patchkovskii
0 siblings, 2 replies; 9+ messages in thread
From: John Beardmore @ 2000-11-01 13:36 UTC (permalink / raw)
I'm putting together a system in an Alpha CPU box.
This has two native 50 pin NCR 810 SCSI controllers which are recognised
by the SRM system firmware.
I have managed to load and subsequently reboot Linux with both of these
installed. So far, so good !
Now, I want to add a wide controller for some new disks, so I rearranged
two of my other systems to free up an Adaptec 2940UW.
The 2940 is not recognised by the SRM firmware, but I can still
>>>boot dkb0
and Linux starts from one of the disks on one of the NCR 810
controllers.
During the boot, Linux finds the 2940 and starts the drives that are
connected to it which is good, but the 2940 is now SCSI0, and when it
tries to mount /dev/sda1 as root, the system panics and hangs because by
the look of it, sda1 is now the first drive on the 2940 controller
rather than the first drive on one of the NCR 810 controllers.
I've heard it said that the PCI slot determines the order in which SCSI
controllers are used so I swapped the NCR 810 and the 2940, but that
made no difference.
Any idea what else I could try so that the 2940 doesn't get to be
SCSI0 ? Any other workarounds I can try ?
Cheers, J/.
--
John Beardmore
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Help ! More than one SCSI controler...
2000-11-01 13:36 Help ! More than one SCSI controler John Beardmore
@ 2000-11-01 14:34 ` Marble Head
2000-11-03 5:00 ` John Beardmore
2000-11-01 16:38 ` Serguei Patchkovskii
1 sibling, 1 reply; 9+ messages in thread
From: Marble Head @ 2000-11-01 14:34 UTC (permalink / raw)
How 'bout this:
Without 2940, boot linux. edit fstab so it doesn't use sda anymore.
power down, insert 2940, reboot.
John Beardmore wrote:
> I'm putting together a system in an Alpha CPU box.
>
> This has two native 50 pin NCR 810 SCSI controllers which are recognised
> by the SRM system firmware.
>
> I have managed to load and subsequently reboot Linux with both of these
> installed. So far, so good !
>
> Now, I want to add a wide controller for some new disks, so I rearranged
> two of my other systems to free up an Adaptec 2940UW.
>
> The 2940 is not recognised by the SRM firmware, but I can still
>
> >>>boot dkb0
>
> and Linux starts from one of the disks on one of the NCR 810
> controllers.
>
> During the boot, Linux finds the 2940 and starts the drives that are
> connected to it which is good, but the 2940 is now SCSI0, and when it
> tries to mount /dev/sda1 as root, the system panics and hangs because by
> the look of it, sda1 is now the first drive on the 2940 controller
> rather than the first drive on one of the NCR 810 controllers.
>
> I've heard it said that the PCI slot determines the order in which SCSI
> controllers are used so I swapped the NCR 810 and the 2940, but that
> made no difference.
>
> Any idea what else I could try so that the 2940 doesn't get to be
> SCSI0 ? Any other workarounds I can try ?
>
> Cheers, J/.
> --
> John Beardmore
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Help ! More than one SCSI controler...
2000-11-01 14:34 ` Marble Head
@ 2000-11-03 5:00 ` John Beardmore
2000-11-06 5:00 ` Michal Jaegermann
2000-11-06 5:00 ` Marble Head
0 siblings, 2 replies; 9+ messages in thread
From: John Beardmore @ 2000-11-03 5:00 UTC (permalink / raw)
In article <3A0029EA.A01A3DFF@nospam.guacamole.com>, Marble Head
<Marble.Head@nospam.guacamole.com> writes
>John Beardmore wrote:
>> I'm putting together a system in an Alpha CPU box.
>>
>> This has two native 50 pin NCR 810 SCSI controllers which are recognised
>> by the SRM system firmware.
>>
>> I have managed to load and subsequently reboot Linux with both of these
>> installed. So far, so good !
>>
>> Now, I want to add a wide controller for some new disks, so I rearranged
>> two of my other systems to free up an Adaptec 2940UW.
>>
>> The 2940 is not recognised by the SRM firmware, but I can still
>>
>> >>>boot dkb0
>>
>> and Linux starts from one of the disks on one of the NCR 810
>> controllers.
>>
>> During the boot, Linux finds the 2940 and starts the drives that are
>> connected to it which is good, but the 2940 is now SCSI0, and when it
>> tries to mount /dev/sda1 as root, the system panics and hangs because by
>> the look of it, sda1 is now the first drive on the 2940 controller
>> rather than the first drive on one of the NCR 810 controllers.
>>
>> I've heard it said that the PCI slot determines the order in which SCSI
>> controllers are used so I swapped the NCR 810 and the 2940, but that
>> made no difference.
>>
>> Any idea what else I could try so that the 2940 doesn't get to be
>> SCSI0 ? Any other workarounds I can try ?
>
>How 'bout this:
>Without 2940, boot linux. edit fstab so it doesn't use sda anymore.
>power down, insert 2940, reboot.
OK. Does fstab do what mntab does in other unixes ?
Is fstab the only thing I'd need to edit ? Are there no *.conf files in
/root/etc ?
Is there really no way to force Linux to label drives sda, sdb etc,
starting with the controllers that the host SRM or BIOS firmware
noticed ?
If I just reinstall Linux with the 2940 installed, is that likely to do
a better job ?
Cheers, J/.
--
John Beardmore
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Help ! More than one SCSI controler...
2000-11-03 5:00 ` John Beardmore
@ 2000-11-06 5:00 ` Michal Jaegermann
2000-11-06 5:00 ` Marble Head
1 sibling, 0 replies; 9+ messages in thread
From: Michal Jaegermann @ 2000-11-06 5:00 UTC (permalink / raw)
John Beardmore (wookie@wookie.demon.co.uk) wrote:
: OK. Does fstab do what mntab does in other unixes ?
No. 'fstab' does what 'fstab' does in other unixes. Type 'man fstab' for
more information and also 'man 8 mount'. '/etc/mtab', which you
probably had in mind, records the current state of mounted filesystems
and is used, for example, when you just type 'mount'. This works only
so-so because, for example, /etc may be mounted from a read-only
file system but this is ok; 'mtab' is for informational purposes only.
'cat /proc/mounts' may be better if you have /proc mounted ("normal"
on desktop systems) but it is not exactly equivalent.
Michal
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: Help ! More than one SCSI controler...
2000-11-03 5:00 ` John Beardmore
2000-11-06 5:00 ` Michal Jaegermann
@ 2000-11-06 5:00 ` Marble Head
2000-11-20 5:00 ` John Beardmore
1 sibling, 1 reply; 9+ messages in thread
From: Marble Head @ 2000-11-06 5:00 UTC (permalink / raw)
If you reinstall linux with the 2940 installed, it will work. But you'll spend
more time for the same result.
I'm not familiar with mntab in other unixes.
Most people don't have a /root/etc folder.
Besides editing /etc/fstab, you might also want to edit /etc/aboot.conf
It probably won't make any difference. It depends on your srm boot-command.
If you say something like
>>> boot dka1 -fi vmlinuz -fl "root=/dev/sdb2"
then your aboot.conf file won't be used.
If you say something like
>>>boot -fl 0
then your aboot.conf file is critical.
So, if you edit your fstab file, change your boot command, and edit your
aboot.conf file, that's all you need to do. (Unless you have some strange
hardware-dependent application.) Much easier than a re-install.
> OK. Does fstab do what mntab does in other unixes ?
>
> Is fstab the only thing I'd need to edit ? Are there no *.conf files in
> /root/etc ?
>
> Is there really no way to force Linux to label drives sda, sdb etc,
> starting with the controllers that the host SRM or BIOS firmware
> noticed ?
>
> If I just reinstall Linux with the 2940 installed, is that likely to do
> a better job ?
>
> Cheers, J/.
> --
> John Beardmore
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Help ! More than one SCSI controler...
2000-11-06 5:00 ` Marble Head
@ 2000-11-20 5:00 ` John Beardmore
0 siblings, 0 replies; 9+ messages in thread
From: John Beardmore @ 2000-11-20 5:00 UTC (permalink / raw)
In article <3A06D482.D432279E@nospam.guacamole.com>, Marble Head
<Marble.Head@nospam.guacamole.com> writes
>If you reinstall linux with the 2940 installed, it will work.
:) Oh not it didn't !
> But you'll spend
>more time for the same result.
Just editing /etc/fstab didn't hack it, but in the end I swapped round a
bucket of hardware and go something to work without a 2940.
>I'm not familiar with mntab in other unixes.
>
>Most people don't have a /root/etc folder.
Sorry, that should have been /boot/etc !
>Besides editing /etc/fstab, you might also want to edit /etc/aboot.conf
>It probably won't make any difference.
It might have - aboot was certainly getting confused at various points.
> It depends on your srm boot-command.
>If you say something like
>>>> boot dka1 -fi vmlinuz -fl "root=/dev/sdb2"
>then your aboot.conf file won't be used.
OK...
>If you say something like
>>>>boot -fl 0
>then your aboot.conf file is critical.
OK.
>So, if you edit your fstab file, change your boot command, and edit your
>aboot.conf file, that's all you need to do. (Unless you have some strange
>hardware-dependent application.) Much easier than a re-install.
OK.
At this stage nothing on the machine is sacred and I've rebuilt the
hardware and OS quite a few times since this initial discussion !
Cheers, J/.
--
John Beardmore
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Help ! More than one SCSI controler...
2000-11-01 13:36 Help ! More than one SCSI controler John Beardmore
2000-11-01 14:34 ` Marble Head
@ 2000-11-01 16:38 ` Serguei Patchkovskii
2000-11-03 5:00 ` John Beardmore
1 sibling, 1 reply; 9+ messages in thread
From: Serguei Patchkovskii @ 2000-11-01 16:38 UTC (permalink / raw)
John Beardmore (wookie@wookie.demon.co.uk) wrote:
: connected to it which is good, but the 2940 is now SCSI0, and when it
: tries to mount /dev/sda1 as root, the system panics and hangs because by
: the look of it, sda1 is now the first drive on the 2940 controller
: rather than the first drive on one of the NCR 810 controllers.
So, why not add "root=/dev/sdb1" (or whatever the name of your root partition
should be) to your kernel paremeters list? I believe in SRM it would look like
boot dkc0 -flags "root=/dev/sdb1"
/Serge.P
---
Home page: http://www.cobalt.chem.ucalgary.ca/ps/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Help ! More than one SCSI controler...
2000-11-01 16:38 ` Serguei Patchkovskii
@ 2000-11-03 5:00 ` John Beardmore
2000-11-06 5:00 ` Serguei Patchkovskii
0 siblings, 1 reply; 9+ messages in thread
From: John Beardmore @ 2000-11-03 5:00 UTC (permalink / raw)
In article <8tpgtk$1cf4$1@nserve1.acs.ucalgary.ca>, Serguei
Patchkovskii <patchkov@acs1.acs.ucalgary.ca> writes
>John Beardmore (wookie@wookie.demon.co.uk) wrote:
>: connected to it which is good, but the 2940 is now SCSI0, and when it
>: tries to mount /dev/sda1 as root, the system panics and hangs because by
>: the look of it, sda1 is now the first drive on the 2940 controller
>: rather than the first drive on one of the NCR 810 controllers.
>
>So, why not add "root=/dev/sdb1" (or whatever the name of your root partition
>should be) to your kernel paremeters list? I believe in SRM it would look like
>
>boot dkc0 -flags "root=/dev/sdb1"
I tried
boot dkb0 -flags "root=/dev/sdi1"
and it fell over later in the boot process trying to uncompress the
kernel.
The error message claimed it was in a format that wouldn't decompress,
but my guess is that it just didn't find it.
I'll see if I can specify the location of the kernel too.
Cheers, J/.
--
John Beardmore
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2000-11-20 5:00 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-01 13:36 Help ! More than one SCSI controler John Beardmore
2000-11-01 14:34 ` Marble Head
2000-11-03 5:00 ` John Beardmore
2000-11-06 5:00 ` Michal Jaegermann
2000-11-06 5:00 ` Marble Head
2000-11-20 5:00 ` John Beardmore
2000-11-01 16:38 ` Serguei Patchkovskii
2000-11-03 5:00 ` John Beardmore
2000-11-06 5:00 ` Serguei Patchkovskii
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox