Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: "Adam Price" <adam+usenet@pappnase.demon.co.uk>
Subject: Re: Getting OS to see SCSI adapter
Date: 2000/08/16	[thread overview]
Message-ID: <966451893.1342.0.nnrp-07.c2deb51d@news.demon.co.uk> (raw)
In-Reply-To: 8necqm$vvf$1@nnrp1.deja.com


awr@cpu.com wrote in message <8necqm$vvf$1@nnrp1.deja.com>...
>I'm trying to install a KZPBA-CA PCI-to-UltraSCSI Host Adapter in an
>AlphaStation 255 running OSF1 4.0D. I need the card to attach a DLT tape
>drive (TZ89) to stage a backup system for a client. I can see the card
>and tape drive from the boot prompt with the "show dev" and "show
>config" commands. However, the OS does not seem to know the SCSI
>adapter is there. In /usr/adm/messages, it notes the network interface
>card I replaced in the PCI slot (slot 12) from previous bootups, but it
>makes no mention of slot 12 now that I have the SCSI adapter in it. I
>thought it might need a driver. However, the floppy that came with the
>adapter only mentions NT. Also, I came up empty after an hour-long
>search of Compaq's web site.
>
>Could some kind soul enlighten me on what it takes to get Digital unix
>to recognize the scsi adapter?

OK Things work at the console boot level. This is good. Leave the tape drive
connected to the card.

The next stage is to boot from the generic kernel, it is called genvmunix, make
sure you have a copy of it in / on your intended boot disk. If not then copy one
from a 4.0D installation cd.

The command to boot the generic console is
boot -file genvmunix
this will use the same default boot device you used before and boot into the
default runlevel (usually 3 which is a multi-user runlevel)

This will cause the system to run several 'callouts' causing it to probe for new
hardware.

If when this kernel boots you see the SCSI card listed in the boot-log then all is
good so-far.

During the boot you should have seen a mention of a 'tznn' device matching the
tape drive.

Change to /dev and then type ./MAKEDEV tznn where nn is the number you saw
in the boot messages.

If for  some reason you don't see the device name for the tape drive then you can find
it using 'scu' the SCSI configuration utility.
use the command
scu scan edt
to cause scu to scan the device table.
then use
scu show edt
to list all of the scsi devices in the system.
The nn number I refer to above is 8 * the bus number + the device id, so if from the boot
prompt the tape device is say mkb400 then it is on the 1st bus (mk=tape, bus=b
{busa=0,busb=1 busc=2 etc} dev=4). So nn would be (8 * 1) +4 = 8 +4= 12
So to create a set of tape devices I would use the command
./MAKEDEV tz12
The device-special files that  are created will form a set with an identifying number which
is sequentially one higher than those for the highest numbered tape device already in the system
eg if /dev/nrmt0h exists then the above will create /dev/nrmt1h (and various other *rmt1* files)

Assuming you understood any of that you should now be able to do a quick 'tar' to test the tape
drive.

If the tape drive works then the next step is to build a new kernel.
Use the doconfig command to build a new kernel, select the software subsets you require (or all
of them if you don't know which you require). The fact that you are booted from the generic kernel
means that the new kernel will contain the required modules for the hardware.
Follow the default prompts, when it tells you the name of the new kernel, copy the old one to
/vmunix.old copy the new-one to /vmunix (don't move it, it's a bad habit and will bite you in V5)
you can then shut down and reboot from your new kernel, if all looks well then no problem, if it
all goes wrong then you can use the command
boot -file vmunix.old
to boot from the old kernel and rescue things.

Hope this helps, sorry it's a bit rambling but I'm working from memory.
Adam Price






  reply	other threads:[~2000-08-16  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-16  4:00 Getting OS to see SCSI adapter awr
2000-08-16  4:00 ` Adam Price [this message]
2000-08-16  4:00   ` awrobinson
  -- strict thread matches above, loose matches on Subject: below --
2000-08-18  4:00 Jay Vlack
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