Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* More AHA 2940 info
@ 2000-01-20 21:34 tfleisch
  2000-01-20 23:36 ` Michal Jaegermann
  0 siblings, 1 reply; 7+ messages in thread
From: tfleisch @ 2000-01-20 21:34 UTC (permalink / raw)
  To: axp-list

Since I last wrote, I've learned a bit more about our Alpha/Linux system. Hopefully this extran info will lead to a solution.

I should have stated before that one SCSI controller is embedded on the motherboard. So here's the sequence of events that take place at boot up:

- BIOS points to file on sda1 (sda1 is connected to SCSI controller embedded on motherboard)

- System then initializes all other "stuff" on cpu
      - Recognizes Adaptec 2940

- System then looks for hard drives
     - Finds external drive FIRST and calls it sda
  
     - Finds internal drive next and calls it sdb

Therefore the system tries to use the external drive and halts.

I've thought about copying the contents of the internal drive to the external - but have yet to try it. Let me know what you think. Thanks again!

------------------------------------------------------
Get the Latest News at CNN Interactive: http://CNN.com


^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: More AHA 2940 info
@ 2000-01-20 21:41 Hoover, Tony
  2000-01-20 22:00 ` Jay.Estabrook
  0 siblings, 1 reply; 7+ messages in thread
From: Hoover, Tony @ 2000-01-20 21:41 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

play with your SCSI IDs.  The lowest SCSI ID (hard drive) your host adapter
finds will be sda, the next will be sdb ...  

---------------------------------------------------------------------------
Tony Hoover, Network Administrator 
KSU - Salina, College of Technology
mailto:hoover@sal.ksu.edu

"Wash Uffitzi drive me to Firenze"
----------------------------------------------------------------------------


> ----------
> From: 	tfleisch@homemail.com[SMTP:tfleisch@homemail.com]
> Reply To: 	axp-list@redhat.com
> Sent: 	Thursday, January 20, 2000 3:34 PM
> To: 	axp-list@redhat.com
> Subject: 	More AHA 2940 info
> 
> Since I last wrote, I've learned a bit more about our Alpha/Linux system.
> Hopefully this extran info will lead to a solution.
> 
> I should have stated before that one SCSI controller is embedded on the
> motherboard. So here's the sequence of events that take place at boot up:
> 
> - BIOS points to file on sda1 (sda1 is connected to SCSI controller
> embedded on motherboard)
> 
> - System then initializes all other "stuff" on cpu
>       - Recognizes Adaptec 2940
> 
> - System then looks for hard drives
>      - Finds external drive FIRST and calls it sda
>   
>      - Finds internal drive next and calls it sdb
> 
> Therefore the system tries to use the external drive and halts.
> 
> I've thought about copying the contents of the internal drive to the
> external - but have yet to try it. Let me know what you think. Thanks
> again!
> 
> ------------------------------------------------------
> Get the Latest News at CNN Interactive: http://CNN.com
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 


^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: More AHA 2940 info
@ 2000-01-20 22:02 Jemiolo, John
  0 siblings, 0 replies; 7+ messages in thread
From: Jemiolo, John @ 2000-01-20 22:02 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

The way you describe it, the firmware recognizes the onboard controller
first and assigns the drive a logical similar to "dka0"

You boot the Linux kernel off this drive, the kernel starts, then probes the
PCI, where it recognizes the Adaptec first assigning it's first drive as
"sda", the onboard controller is recognized second and its drive is assigned
"sdb".

now your boot fails because the drive assigned as "sda"
does not contain your root file system.

This occurs when the Linux Kernel probes the pci bus in the reverse order
from the onboard Console firmware.

Try adding "pci=reverse" to your boot flags

example  -fl "root=/dev/sda2 pci=reverse"


JJ
-----Original Message-----
From: Hoover, Tony [mailto:hoover@sal.ksu.edu]
Sent: Thursday, January 20, 2000 4:41 PM
To: 'axp-list@redhat.com'
Subject: RE: More AHA 2940 info


play with your SCSI IDs.  The lowest SCSI ID (hard drive) your host adapter
finds will be sda, the next will be sdb ...  

---------------------------------------------------------------------------
Tony Hoover, Network Administrator 
KSU - Salina, College of Technology
mailto:hoover@sal.ksu.edu

"Wash Uffitzi drive me to Firenze"
----------------------------------------------------------------------------


> ----------
> From: 	tfleisch@homemail.com[SMTP:tfleisch@homemail.com]
> Reply To: 	axp-list@redhat.com
> Sent: 	Thursday, January 20, 2000 3:34 PM
> To: 	axp-list@redhat.com
> Subject: 	More AHA 2940 info
> 
> Since I last wrote, I've learned a bit more about our Alpha/Linux system.
> Hopefully this extran info will lead to a solution.
> 
> I should have stated before that one SCSI controller is embedded on the
> motherboard. So here's the sequence of events that take place at boot up:
> 
> - BIOS points to file on sda1 (sda1 is connected to SCSI controller
> embedded on motherboard)
> 
> - System then initializes all other "stuff" on cpu
>       - Recognizes Adaptec 2940
> 
> - System then looks for hard drives
>      - Finds external drive FIRST and calls it sda
>   
>      - Finds internal drive next and calls it sdb
> 
> Therefore the system tries to use the external drive and halts.
> 
> I've thought about copying the contents of the internal drive to the
> external - but have yet to try it. Let me know what you think. Thanks
> again!
> 
> ------------------------------------------------------
> Get the Latest News at CNN Interactive: http://CNN.com
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com


^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: More AHA 2940 info
@ 2000-01-21 12:50 Kurt Ludwig
  2000-01-21 14:14 ` Jay.Estabrook
  0 siblings, 1 reply; 7+ messages in thread
From: Kurt Ludwig @ 2000-01-21 12:50 UTC (permalink / raw)
  To: axp-list

What I think is happening here is that the scan order for the different
chipsets is different in MILO / Kernel vs. the BIOS
so if my understanding is correct, BIOS sees the root drive as the first
one (the one on the internal controller), and sees the drive on the
external controller as the 2nd one.

when you go to MILO / Kernel, the order is reversed correct (ie the
internal drive is now the 2nd drive and the external drive is now the 1st
drive)

if this is true try this:
(example is for milo)

MILO>boot sdb1:/boot/vmlinuz root=/dev/sdb1

(you'll need to change /etc/fstab to reflect the fact that your root drive
is sdb now and the other drive is sda.... also goes for any other
partitions)
this will at least get you up and running, things won't match between BIOS
and MILO/ Kernl, but hey it works right?

I don't think the 'pci=reverse' option for boot will work to change this.
does anyone know if there's a scan order option for the SCSI drivers (to
reverse the order)?



Michal Jaegermann <michal@ellpspace.math.ualberta.ca> wrote:
>tfleisch@homemail.com wrote:
>> 
>> - BIOS points to file on sda1 (sda1 is connected to SCSI controller
embedded on motherboard)
>> 
>> - System then initializes all other "stuff" on cpu
>>	 - Recognizes Adaptec 2940
>> 
>> - System then looks for hard drives
>>	- Finds external drive FIRST and calls it sda
>>   
>>	- Finds internal drive next and calls it sdb
>> 
>> Therefore the system tries to use the external drive and halts.
>
>I have to admit that I fail to understand this "therefore" above.
>Device names and numbering used by firmware, or milo, have only weak
>relationship with what can be used by kernel.	In all Alphas which I
>have seen so far the system boots from this device from which it was
>told to boot and kernel does not have to be even located on a partition
>which will serve as a root file system.  As long as you can read it,
>i.e. at least one device which can hold it and is recognized by a
>firmware, this will do - be that some hard drive, floppy or CD.  If you
>are spooked by the fact that devices are relabelled in a boot process
>then mount your file systems by LABEL or UUID.  This works for a looong
>time even if it is rarely used ('man mount' and 'man fstab' for more
>information).
>
>I have a system here which boots - totally different configuration in
>each case - from all three hard drives attached.  Normally it totally
>ignores all partitions on /dev/sda, when I not booted from that disk,
>unless I mount them "manually".  The reason for that is that I happened
>to configure it that way.  In the past I had a disk from which one could
>boot RH 6.0 from one partition and SuSE 6.1 from another one.	So what
>is the problem here?
>
>  Michal
>
>-- 
>To unsubscribe: send e-mail to axp-list-request@redhat.com with
>'unsubscribe' as the subject.	Do not send it to axp-list@redhat.com
>
>



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

end of thread, other threads:[~2000-01-21 14:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-20 21:34 More AHA 2940 info tfleisch
2000-01-20 23:36 ` Michal Jaegermann
  -- strict thread matches above, loose matches on Subject: below --
2000-01-20 21:41 Hoover, Tony
2000-01-20 22:00 ` Jay.Estabrook
2000-01-20 22:02 Jemiolo, John
2000-01-21 12:50 Kurt Ludwig
2000-01-21 14:14 ` Jay.Estabrook

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