* Re: How to define a new PCI SCSI card on the kernel
1997-09-22 4:00 How to define a new PCI SCSI card on the kernel Ana Pedraz
@ 1997-09-23 4:00 ` Juergen Schroeder
1997-09-23 4:00 ` Travis Casey
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Juergen Schroeder @ 1997-09-23 4:00 UTC (permalink / raw)
Ana Pedraz (ana@cinesite.co.uk) wrote:
:
: Has anyone got a clue of how to define a new pci scsi card on an
: Alpha2100 running OSF3.2c kernel?
:
: What happens is, when you install the cards and power the machine up, if
: do a "show config" or "show devices" from the "promt", you can see the
: two new cards and the devices attached to them.
I think this will only scan the scsi bus and ask the devices for a vendor
string.
: The problem comes when you boot the machine, at that time , if you use
: "scu", then you only see bus 0 and bus 1, but nothing about the two new
: cards.
I think one has to build a new kernel which supports the card. Which card do
you use? I found in /sys/include/io/cam not much vendor "drivers".
So my question: which pci scsi card is supported by OSF3.2, because I also
have to buy some of them.
Juergen
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: How to define a new PCI SCSI card on the kernel
1997-09-22 4:00 How to define a new PCI SCSI card on the kernel Ana Pedraz
1997-09-23 4:00 ` Juergen Schroeder
@ 1997-09-23 4:00 ` Travis Casey
1997-09-23 4:00 ` Jack Patteeuw
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Travis Casey @ 1997-09-23 4:00 UTC (permalink / raw)
Ana Pedraz <ana@cinesite.co.uk> wrote:
>
>Has anyone got a clue of how to define a new pci scsi card on an
>Alpha2100 running OSF3.2c kernel?
>
>What happens is, when you install the cards and power the machine up, if
>do a "show config" or "show devices" from the "promt", you can see the
>two new cards and the devices attached to them.
>The problem comes when you boot the machine, at that time , if you use
>"scu", then you only see bus 0 and bus 1, but nothing about the two new
>cards.
I recently had the same experience with a new RAID controller. A bit
of digging around in DU manuals showed me that I needed to recompile
the kernel with an entry for the new device. The man page for doconfig
gives more instructions on how to do this.
If you'd like to test before trying to build a new kernel, boot up the
machine with the generic kernel (genvmunix) that should be in your
root directory. You should be able to boot the generic kernel from
the bootup prompt with:
>>> boot -fi genvmunix
The generic kernel has support for all standard devices in it. Thus, if
you boot up with it, your new device should show up. Watch the messages
produced as you boot with it to see if it shows up.
If it does, you should run doconfig while you're running with the generic
kernel -- if you do doconfig with your old kernel, it may not see the new
device.
--
Travis Casey
casey_t@dep.state.fl.us
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: How to define a new PCI SCSI card on the kernel
1997-09-22 4:00 How to define a new PCI SCSI card on the kernel Ana Pedraz
1997-09-23 4:00 ` Juergen Schroeder
1997-09-23 4:00 ` Travis Casey
@ 1997-09-23 4:00 ` Jack Patteeuw
1997-09-24 4:00 ` lombardi emanuele
1997-09-24 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
4 siblings, 0 replies; 6+ messages in thread
From: Jack Patteeuw @ 1997-09-23 4:00 UTC (permalink / raw)
Ana Pedraz <ana@cinesite.co.uk> writes:
>Hi,
>
>Has anyone got a clue of how to define a new pci scsi card on an
>Alpha2100 running OSF3.2c kernel?
First, what type of a SCSI controller card ? Is it "supported" on your rev
of OSF (now DUNIX) ? If the answer is "yes", find your "Guide to System
Administration" book and check the chapter on kernel configuration.
Basically, you will need to edit your system configuration file (in
/sys/conf). Hopefully you will find some lines defining the other SCSI
controllers that were orginially in the system. If they were on the PCI
bus (as opposed to being on the EISA bus) the config file lines will look
somthing like this:
<snipped from /sys/conf/SYSTEM_NAME>
controller scsi1 at isp0 slot 0
bus pci4000 at pci0 slot 9
bus isp1 at pci4000 slot 0 vector ispintr
<more follows>
Then You need to define the disks on each SCSI bus. You might as weel
define all possible disks and tapes on each SCSI bus. It will look
something like this
<snipped from /sys/conf/SYSTEM_NAME>
device disk rz8 at scsi1 drive 64
device disk rz9 at scsi1 drive 72
device disk rz10 at scsi1 drive 80
device disk rz11 at scsi1 drive 88
device disk rz12 at scsi1 drive 96
device disk rz13 at scsi1 drive 104
device disk rz14 at scsi1 drive 112
device tape tz8 at scsi1 drive 64
device tape tz9 at scsi1 drive 72
device tape tz10 at scsi1 drive 80
device tape tz11 at scsi1 drive 88
device tape tz12 at scsi1 drive 96
device tape tz13 at scsi1 drive 104
device tape tz14 at scsi1 drive 112
<more follows>
Then just run 'doconfig -c SYSTEM_NAME'. After the new kernel is built
move it to /vmunix. This is a bit rough but it should get you going.
Jack Patteeuw
My opinions are my own and not my employer's, my wife's, or my children !
"I used to do VMS, Stolen from a good friend:
Now I do Unix; "A mind is like a parachute ...
It's a living" It only works when it is open !"
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: How to define a new PCI SCSI card on the kernel
1997-09-22 4:00 How to define a new PCI SCSI card on the kernel Ana Pedraz
` (2 preceding siblings ...)
1997-09-23 4:00 ` Jack Patteeuw
@ 1997-09-24 4:00 ` lombardi emanuele
1997-09-24 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
4 siblings, 0 replies; 6+ messages in thread
From: lombardi emanuele @ 1997-09-24 4:00 UTC (permalink / raw)
I think you have to boot using genvmunix
>>> boot -file genvmunix
then login as root and:
cd /dev
./MAKEDEV rz5 (assuming rz5 is the name given to the card)
You can see the rigth device name (rz5 above) on the console
during the boot
(later you can read the messages in /var/adm/messages)
After creating the devices file you can
shutdown -h now
>>> boot
Bye
Lele
--
Emanuele Lombardi
mail: AMB-GEM-CLIM ENEA Casaccia
I-00060 S.M. di Galeria (RM)
ITALY
mailto://lele@mantegna.casaccia.enea.it
tel +39 6 30483366
fax +39 6 30483591
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: How to define a new PCI SCSI card on the kernel
1997-09-22 4:00 How to define a new PCI SCSI card on the kernel Ana Pedraz
` (3 preceding siblings ...)
1997-09-24 4:00 ` lombardi emanuele
@ 1997-09-24 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
4 siblings, 0 replies; 6+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1997-09-24 4:00 UTC (permalink / raw)
In article <34267229.FB39DA17@cinesite.co.uk>, Ana Pedraz <ana@cinesite.co.uk> writes:
>
>Has anyone got a clue of how to define a new pci scsi card on an
>Alpha2100 running OSF3.2c kernel?
This is documented in one of the system management guides, but
the short version is:
1. Boot genvmunix.
1a. save your current /vmunix and copy /genvmunix to /vmunix. I'm
not sure of this step as the build procedure may be smart enough
to look at /genvmunix for its name list.
2. Mount the local file system; run bcheckrc
3. Run doconfig.
4. Copy the new kernel to /vmunix.
5. Reboot.
Doconfig won't remember what kernel options you previously chose,
so be sure to select the things you what when offered the chance.
If you happen to know the configuration file language and the name
of the used by the configuration for the new adapter you may be
able to add the new device to the configuration and rebuild by
hand. The set of choices for PCI SCSI adapters is pretty limited:
psiop - KZPAA
pza - KZPSA
isp - KZPDA
You can look in the GENERIC configuration file to see how the
wildcards are used, so that you don't need detailed bus and
slot information. For each of the previous three names that
might be added, you will also need a "scsi" entry. Again, look
at the GENERIC configuration file.
>
>--
>Ana Pedraz E-mail: ana@cinesite.co.uk
>
--
Alan Rollow alan@nabeth.cxo.dec.com
^ permalink raw reply [flat|nested] 6+ messages in thread