* Re: [Limit-off-topic] SCSI pbm with Alphalinux
@ 1999-10-11 14:54 Jaap Hogenberg
1999-10-11 15:47 ` Christophe Renard
0 siblings, 1 reply; 7+ messages in thread
From: Jaap Hogenberg @ 1999-10-11 14:54 UTC (permalink / raw)
To: Axp-list
HI,
I simply used a loadable module for the second adapter, works perfectly.
Jaap
==========================================
Hi,
It seems that scsi adapter are recognized in the order that can be found
in
linux/drivers/scsi/hosts.c
in the
Scsi_Host_Template_builtin_scsi_hosts
array.
Just change the order so that it comes after the one you want
first.
Cheers
gaspar
On Mon, 11 Oct 1999, Christophe Renard wrote:
> Hi all,
>
> I may be a little 'off-topic' but this list seems the most apropriate
one
> for my question.
>
> I'm trying to install a disk on a second scsi adapter (Adaptec 2940) on
one
> of my Alphaservers(Misaka) with running a 2.2.10 kernel and Linux
installed
> on /dev/sda3.
>
> The problem is that when I compile the Adaptec support in the kernel I
get
> the new disk as sda and the installation one as sdb which serioulsy
> perturbate the system configuration.
>
> Does anyone knows a trick to force the adapter to be reconized as
secondary.
>
> Any help would be apreciated.
>
> Thanks a lot.
>
> Christophe Renard
>
--------------------------------------------------------------------------
--
> Mediterranean Network s.a.m. http://www.mednet.mc
> Gildo Pastor Center fax: +377 9777 6002
> 7 rue du Gabian tel: +377 9777 6013
> MC98000 Monaco crenard@mednet.mc
>
> --
> 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: [Limit-off-topic] SCSI pbm with Alphalinux
1999-10-11 14:54 [Limit-off-topic] SCSI pbm with Alphalinux Jaap Hogenberg
@ 1999-10-11 15:47 ` Christophe Renard
0 siblings, 0 replies; 7+ messages in thread
From: Christophe Renard @ 1999-10-11 15:47 UTC (permalink / raw)
To: axp-list
Thanks all for your help,
I used a kernel with a loadable module instead of the internal support and
it works perfectly.
To be honest I was unsure of the number of changes to perform in order to
boot on the second disk.
Thank you again to all the answers
Regards
Christophe Renard
----------------------------------------------------------------
Mediterranean Network s.a.m. http://www.mednet.mc
Gildo Pastor Center fax: +377 9777 6002
7 rue du Gabian tel: +377 9777 6013
MC98000 Monaco crenard@mednet.mc
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Limit-off-topic] SCSI pbm with Alphalinux
@ 1999-10-11 11:46 Christophe Renard
1999-10-11 13:35 ` Gaspar Sinai
1999-10-11 15:04 ` Michal Jaegermann
0 siblings, 2 replies; 7+ messages in thread
From: Christophe Renard @ 1999-10-11 11:46 UTC (permalink / raw)
To: axp-list
Hi all,
I may be a little 'off-topic' but this list seems the most apropriate one
for my question.
I'm trying to install a disk on a second scsi adapter (Adaptec 2940) on one
of my Alphaservers(Misaka) with running a 2.2.10 kernel and Linux installed
on /dev/sda3.
The problem is that when I compile the Adaptec support in the kernel I get
the new disk as sda and the installation one as sdb which serioulsy
perturbate the system configuration.
Does anyone knows a trick to force the adapter to be reconized as secondary.
Any help would be apreciated.
Thanks a lot.
Christophe Renard
----------------------------------------------------------------------------
Mediterranean Network s.a.m. http://www.mednet.mc
Gildo Pastor Center fax: +377 9777 6002
7 rue du Gabian tel: +377 9777 6013
MC98000 Monaco crenard@mednet.mc
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Limit-off-topic] SCSI pbm with Alphalinux
1999-10-11 11:46 Christophe Renard
@ 1999-10-11 13:35 ` Gaspar Sinai
1999-10-11 15:04 ` Michal Jaegermann
1 sibling, 0 replies; 7+ messages in thread
From: Gaspar Sinai @ 1999-10-11 13:35 UTC (permalink / raw)
To: axp-list
Hi,
It seems that scsi adapter are recognized in the order that can be found
in
linux/drivers/scsi/hosts.c
in the
Scsi_Host_Template_builtin_scsi_hosts
array.
Just change the order so that it comes after the one you want
first.
Cheers
gaspar
On Mon, 11 Oct 1999, Christophe Renard wrote:
> Hi all,
>
> I may be a little 'off-topic' but this list seems the most apropriate one
> for my question.
>
> I'm trying to install a disk on a second scsi adapter (Adaptec 2940) on one
> of my Alphaservers(Misaka) with running a 2.2.10 kernel and Linux installed
> on /dev/sda3.
>
> The problem is that when I compile the Adaptec support in the kernel I get
> the new disk as sda and the installation one as sdb which serioulsy
> perturbate the system configuration.
>
> Does anyone knows a trick to force the adapter to be reconized as secondary.
>
> Any help would be apreciated.
>
> Thanks a lot.
>
> Christophe Renard
> ----------------------------------------------------------------------------
> Mediterranean Network s.a.m. http://www.mednet.mc
> Gildo Pastor Center fax: +377 9777 6002
> 7 rue du Gabian tel: +377 9777 6013
> MC98000 Monaco crenard@mednet.mc
>
> --
> 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: [Limit-off-topic] SCSI pbm with Alphalinux
1999-10-11 11:46 Christophe Renard
1999-10-11 13:35 ` Gaspar Sinai
@ 1999-10-11 15:04 ` Michal Jaegermann
1999-10-11 18:53 ` Sean Hunter
1 sibling, 1 reply; 7+ messages in thread
From: Michal Jaegermann @ 1999-10-11 15:04 UTC (permalink / raw)
To: axp-list
Christophe Renard wrote:
>
> The problem is that when I compile the Adaptec support in the kernel I get
> the new disk as sda and the installation one as sdb which serioulsy
> perturbate the system configuration.
All PCI cards are scanned and recognized in a scan order. Than means
that changing slots in which they are are plugged in you can switch
them around from an OS point of view.
In 2.2 kernels a scan order is the same one as used by BIOS (at least on
Intel boxes) which happens to be reverse to that one used in 2.0
kernels. As milos are mostly 2.0 based this sometimes leads to
"interesting" switches in disk names if you have two controllers between
milo and a kernel. :-) This is truly a minor amusement if a bit
confusing when encounterd for the first time. 2.2 kernels have a kernel
boot parameter ("pci=reverse"? - check docs and/or sources, this is from
memory) which switches a scan order to that one from 2.0 if really
desired (for example if you have two controllers and sometimes you
boot 2.0 kernels and sometimes 2.2).
Frankly your "serious perturbation" is easily resolved by a minor
edit on /etc/fstab file. Boot single, remount / read-and-write,
adjust fstab entries, sync, reboot and you are done.
Michal
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [Limit-off-topic] SCSI pbm with Alphalinux
1999-10-11 15:04 ` Michal Jaegermann
@ 1999-10-11 18:53 ` Sean Hunter
1999-10-11 19:42 ` Michal Jaegermann
0 siblings, 1 reply; 7+ messages in thread
From: Sean Hunter @ 1999-10-11 18:53 UTC (permalink / raw)
To: axp-list
On Mon, Oct 11, 1999 at 09:04:50AM -0600, Michal Jaegermann wrote:
> Christophe Renard wrote:
> >
> > The problem is that when I compile the Adaptec support in the kernel I get
> > the new disk as sda and the installation one as sdb which serioulsy
> > perturbate the system configuration.
>
> All PCI cards are scanned and recognized in a scan order. Than means
> that changing slots in which they are are plugged in you can switch
> them around from an OS point of view.
>
> In 2.2 kernels a scan order is the same one as used by BIOS (at least on
> Intel boxes) which happens to be reverse to that one used in 2.0
> kernels. As milos are mostly 2.0 based this sometimes leads to
> "interesting" switches in disk names if you have two controllers between
> milo and a kernel. :-) This is truly a minor amusement if a bit
> confusing when encounterd for the first time. 2.2 kernels have a kernel
> boot parameter ("pci=reverse"? - check docs and/or sources, this is from
> memory) which switches a scan order to that one from 2.0 if really
> desired (for example if you have two controllers and sometimes you
> boot 2.0 kernels and sometimes 2.2).
>
> Frankly your "serious perturbation" is easily resolved by a minor
> edit on /etc/fstab file. Boot single, remount / read-and-write,
> adjust fstab entries, sync, reboot and you are done.
Its worth adding that you could add disklabels to your partitions and
mount by disklabel, or mount by UUID. That is a pretty robust
solution, which would mean your mounting would still work perfectly if
you swapped all the disks around.
You can also use scsidev to make some device entries by controller,
lun etc, and use those in your fstab.
Sean
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [Limit-off-topic] SCSI pbm with Alphalinux
1999-10-11 18:53 ` Sean Hunter
@ 1999-10-11 19:42 ` Michal Jaegermann
0 siblings, 0 replies; 7+ messages in thread
From: Michal Jaegermann @ 1999-10-11 19:42 UTC (permalink / raw)
To: axp-list
>
> Its worth adding that you could add disklabels to your partitions and
> mount by disklabel, or mount by UUID. That is a pretty robust
> solution, which would mean your mounting would still work perfectly if
> you swapped all the disks around.
With this small catch that you have mount your root partition to read
mount points and their labels so, unless you use initrd, you have a
small chicken-and-egg problem. :-) It is easily fixable and one can
argue that it is better to edit one position in /etc/fstab than many.
This is definitely attractive when you have lots and lots of disks.
> You can also use scsidev to make some device entries by controller,
> lun etc, and use those in your fstab.
The whole trouble here was that depending on a scan order and slot
positions you will get swapped controller 0 and controller 1 so I am not
sure how scscdev, or other stuff like 'devfs', would help in this case.
A solution with modules for "higher" controllers, like adopted by
the original poster, works if you have controllers with different
drivers so you know what is a loading order.
Michal
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~1999-10-11 19:42 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-11 14:54 [Limit-off-topic] SCSI pbm with Alphalinux Jaap Hogenberg
1999-10-11 15:47 ` Christophe Renard
-- strict thread matches above, loose matches on Subject: below --
1999-10-11 11:46 Christophe Renard
1999-10-11 13:35 ` Gaspar Sinai
1999-10-11 15:04 ` Michal Jaegermann
1999-10-11 18:53 ` Sean Hunter
1999-10-11 19:42 ` Michal Jaegermann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox