Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.)
Subject: Re: new SCSI controller name?
Date: 1997/07/08	[thread overview]
Message-ID: <5pts74$gtf@nntpd2.cxo.dec.com> (raw)
In-Reply-To: kjafjylgbc.fsf@alpha0.bioch.virginia.edu



In article <kjafjylgbc.fsf@alpha0.bioch.virginia.edu>, wrp@alpha0.bioch.virginia.edu (William R. Pearson) writes:

>I have just installed a DEC (Qlogic) fast-wide PCI controller on
>an AlphaServer 2100 4/275 running Digital Unix 4.0B.  The controller
>seems to be there, and it can see my 9 GB fast/wide disk as:
>
>	dkb400.4.0.2000.0   DKB400	Microp 3391W7
>
>Unfortunately, it is not clear to me how to do a MAKEDEV on this device.
>
>Do I need to build a new Kernel?

Yes.

>Tell doconfig something special?

If you're not familiar with the configuration file language,
the easiest thing to do is boot genvmunix, at least to single
user, mount the local file systems (/usr and /var are needed),
save your old kernel, copy (not move) genvmunix to vmunix and
then use doconfig to write a new configuration file.  The generic
kernel will find the new controller and doconfig will add the
appropriate lines for it.  Copy the new kernel when done and
reboot.

SCSI devices are relatively simple and if you know the right
base device name adding a new one by hand isn't hard.  All the
information you need is in the GENERIC configuration file, so
most of what you need to do is cut and paste.  The Qlogic adapters
use the "isp" device name.  So, if you look at the GENERIC
configuration file you'll see:

bus             isp0    at pci?         vector ispintr
bus             isp1    at pci?         vector ispintr
bus             isp2    at pci?         vector ispintr
etc...

Chose the "next" one.  If you don't have an ISP controller in the
configuration now, use isp0.  If you happen to know the pci slot
number fill it in, but the kernel will treat the ? in pci? as a
wildcard and will figure it out for itself.  Not using wildcards
ensures that device won't move around if you add another controller
later.

After the adding the appropriate "isp" you need to add the next
"scsi" line.  The built-in SCSI adapter on the system will be
scsi0.  Since this is the 2nd SCSI adapter on the system you need
to add the line for "scsi1".  Again you can take advantage of
the wildcard to let the kernel figure out where things are.

That's all you need.  Once the kernel can see the controller, the
SCSI driver doesn't need anything else to find device on it.

>Bill Pearson
>
>
--
Alan Rollow				alan@nabeth.cxo.dec.com




  reply	other threads:[~1997-07-08  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-07-07  4:00 new SCSI controller name? William R. Pearson
1997-07-08  4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. [this message]
1997-07-08  4:00 ` Steve Coates
read-only archive

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