Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* SCSI-Disks Boot Order
@ 2002-08-22 14:18 Markus
  2002-08-23 23:47 ` Paul Foster
  2002-08-24  3:55 ` Michal Jaegermann
  0 siblings, 2 replies; 7+ messages in thread
From: Markus @ 2002-08-22 14:18 UTC (permalink / raw)


hello

my alphastation has a onboard qlogic isp 1020a.
there's an ibm-disk connected to, where the actual
os is running from. (red hat 7.2)

to boot the os, i simply enter boot dka600 on the srm.
this is just fine.

now, i got an adaptec 39160 64bit-pci with 2 scsi-channel.
i want to use this adapter to connect additional diskspace
to the fileserver.

i still do boot dka600 an the kernel get's loaded.
then the adaptec get detedted first by the kernel,
so the will be scsi0 and scsi1.
after the adaptec, the qlogic get's initialized as scsi2.

so my former /dev/sda is now called sdb, and the the kernel panics,
since the device-name of my os-disk is wrong.

is it somehow possible to workaroung this behavior ?

i want to have the os on the internal-disk, an the
archives for file-sharing on the external disks.

thanks for any feedback,  markus



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: SCSI-Disks Boot Order
  2002-08-22 14:18 SCSI-Disks Boot Order Markus
@ 2002-08-23 23:47 ` Paul Foster
  2002-08-24  4:06   ` Michal Jaegermann
  2002-08-24  3:55 ` Michal Jaegermann
  1 sibling, 1 reply; 7+ messages in thread
From: Paul Foster @ 2002-08-23 23:47 UTC (permalink / raw)



Two choices:

Boot up on the Compaq rescue CD and then edit /etc/aboot.conf and
change root=/dev/sda to root=/dev/sdb and you should be ok.  If you
don't have the rescue CD, then:

Do a "boot dka600 -fl i", this boots into interactive mode.  You
will then come up to the abot propmt.  Do a "?" and find the command
to list the aboot contents ('l' for some aboots).  Then you can see
the list of boot flags and the kernel and other things.  Then do a 
control P to get back to the SRM prompt and issue the whole boot
command by hand, ie.

boot dka0 -fi vmlinux -fl "root=/dev/sdb console=ttyS0"



Markus wrote:

> hello
> 
> my alphastation has a onboard qlogic isp 1020a.
> there's an ibm-disk connected to, where the actual
> os is running from. (red hat 7.2)
> 
> to boot the os, i simply enter boot dka600 on the srm.
> this is just fine.
> 
> now, i got an adaptec 39160 64bit-pci with 2 scsi-channel.
> i want to use this adapter to connect additional diskspace
> to the fileserver.
> 
> i still do boot dka600 an the kernel get's loaded.
> then the adaptec get detedted first by the kernel,
> so the will be scsi0 and scsi1.
> after the adaptec, the qlogic get's initialized as scsi2.
> 
> so my former /dev/sda is now called sdb, and the the kernel panics,
> since the device-name of my os-disk is wrong.
> 
> is it somehow possible to workaroung this behavior ?
> 
> i want to have the os on the internal-disk, an the
> archives for file-sharing on the external disks.
> 
> thanks for any feedback,  markus
> 



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: SCSI-Disks Boot Order
  2002-08-22 14:18 SCSI-Disks Boot Order Markus
  2002-08-23 23:47 ` Paul Foster
@ 2002-08-24  3:55 ` Michal Jaegermann
  2002-08-26  8:16   ` Markus
  1 sibling, 1 reply; 7+ messages in thread
From: Michal Jaegermann @ 2002-08-24  3:55 UTC (permalink / raw)


Markus <markus.bangerter@violine.ch> wrote:
> 
> i still do boot dka600 an the kernel get's loaded.
> then the adaptec get detedted first by the kernel,
> so the will be scsi0 and scsi1.
> after the adaptec, the qlogic get's initialized as scsi2.
> 
> so my former /dev/sda is now called sdb, and the the kernel panics,
> since the device-name of my os-disk is wrong.
> 
> is it somehow possible to workaroung this behavior ?

If you load your scsi drivers as modules then, because they
are different, an order in which modules are getting inserted
controls in which order disks are detected.  You can force it
the way you like it.  In particular in your initrd do not
load a driver for a your non-boot disk.  It can be loaded later.

Otherwise a detection of PCI devices depends on hardware slots
they are using.

Do you really need two controllers for two disks?  Why?

Or you may equally well boot from /dev/sdb. To fix your current
situation for the first time specify a full boot command with
'root=/dev/sdb<whatever>' and level 1, boot, edit your /etc/fstab and
/etc/aboot.conf and continue like before.  Depending on your startup
scripts you may need to remount your / read-write before trying to edit.
If you were mounting by label then editing /etc/fstab is not needed
beyond adding to it new file systems.

> i want to have the os on the internal-disk, an the
> archives for file-sharing on the external disks.

What stops you?  "Drive letters" are not that important.

  Michal


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: SCSI-Disks Boot Order
  2002-08-23 23:47 ` Paul Foster
@ 2002-08-24  4:06   ` Michal Jaegermann
  2002-08-25  1:26     ` Paul Foster
  0 siblings, 1 reply; 7+ messages in thread
From: Michal Jaegermann @ 2002-08-24  4:06 UTC (permalink / raw)


Paul Foster <paul@thefosterfamily.org> wrote:
> 
> 
> Do a "boot dka600 -fl i", this boots into interactive mode.  You
> will then come up to the abot propmt.  Do a "?" and find the command
> to list the aboot contents ('l' for some aboots).  Then you can see
> the list of boot flags and the kernel and other things.  Then do a 
> control P to get back to the SRM prompt and issue the whole boot
> command by hand, ie.

There is no need to go back to SRM.  You can type a full
boot command, following patterns you will see after typing 'l',
straight at 'aboot>' prompt.

> boot dka0 -fi vmlinux -fl "root=/dev/sdb console=ttyS0"

That particular command is not likely to work for two reasons:
  - a boot device with a boot block was said to be "dka600" and not "dka0"
  - it is doubtful that /dev/sdb, as opposed to some partition
    of it, holds a root file system. :-)

Out of curiosity - is really your boot device now "dka600"?
What "show dev" in SRM has to say?  And if yes then why it was
not set in SRM?

  Michal


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: SCSI-Disks Boot Order
  2002-08-24  4:06   ` Michal Jaegermann
@ 2002-08-25  1:26     ` Paul Foster
  0 siblings, 0 replies; 7+ messages in thread
From: Paul Foster @ 2002-08-25  1:26 UTC (permalink / raw)




Michal Jaegermann wrote:

> Paul Foster <paul@thefosterfamily.org> wrote:
> 
>>
>>Do a "boot dka600 -fl i", this boots into interactive mode.  You
>>will then come up to the abot propmt.  Do a "?" and find the command
>>to list the aboot contents ('l' for some aboots).  Then you can see
>>the list of boot flags and the kernel and other things.  Then do a 
>>control P to get back to the SRM prompt and issue the whole boot
>>command by hand, ie.
>>
> 
> There is no need to go back to SRM.  You can type a full
> boot command, following patterns you will see after typing 'l',
> straight at 'aboot>' prompt.
> 
> 
>>boot dka0 -fi vmlinux -fl "root=/dev/sdb console=ttyS0"
>>



just an example


> 
> That particular command is not likely to work for two reasons:
>   - a boot device with a boot block was said to be "dka600" and not "dka0"
>   - it is doubtful that /dev/sdb, as opposed to some partition
>     of it, holds a root file system. :-)
> 


Why wouldn't sdb hold a root file system?  He has one disk, sda, 
installed a second disk which became sda and the old sda became
sdb, so the now sdb disk should have a root file system on it


> Out of curiosity - is really your boot device now "dka600"?
> What "show dev" in SRM has to say?  And if yes then why it was
> not set in SRM?
> 
>   Michal
> 



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: SCSI-Disks Boot Order
  2002-08-24  3:55 ` Michal Jaegermann
@ 2002-08-26  8:16   ` Markus
  2002-08-27  0:21     ` Zhiqing Liu
  0 siblings, 1 reply; 7+ messages in thread
From: Markus @ 2002-08-26  8:16 UTC (permalink / raw)


Hi !

> Do you really need two controllers for two disks?  Why?

Yes, because the 39160 is much faster than the onboard Qlogic.
Finally, there should be at least six SCSI-Disks connected to
the 39160; this is not possible with the onboard Qlogic.

the temp. workaroung was to boot:

boot dka600 -fi vmlinux -fl "root=/dev/sdb"

 > Out of curiosity - is really your boot device now "dka600"?

it is really dka600.

regards and thanks,  Markus



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: SCSI-Disks Boot Order
  2002-08-26  8:16   ` Markus
@ 2002-08-27  0:21     ` Zhiqing Liu
  0 siblings, 0 replies; 7+ messages in thread
From: Zhiqing Liu @ 2002-08-27  0:21 UTC (permalink / raw)


the order is determined when linux kernel is built. Reconfiguring and
rebuilding the kernel is the way to go

Zhiqing Liu

"Markus" <markus.bangerter@violine.ch> wrote in message
news:akco1s$1hb04v$1@ID-138460.news.dfncis.de...
> Hi !
>
> > Do you really need two controllers for two disks?  Why?
>
> Yes, because the 39160 is much faster than the onboard Qlogic.
> Finally, there should be at least six SCSI-Disks connected to
> the 39160; this is not possible with the onboard Qlogic.
>
> the temp. workaroung was to boot:
>
> boot dka600 -fi vmlinux -fl "root=/dev/sdb"
>
>  > Out of curiosity - is really your boot device now "dka600"?
>
> it is really dka600.
>
> regards and thanks,  Markus
>




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-08-27  0:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-22 14:18 SCSI-Disks Boot Order Markus
2002-08-23 23:47 ` Paul Foster
2002-08-24  4:06   ` Michal Jaegermann
2002-08-25  1:26     ` Paul Foster
2002-08-24  3:55 ` Michal Jaegermann
2002-08-26  8:16   ` Markus
2002-08-27  0:21     ` Zhiqing Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox