Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Re: Getting OS to see SCSI adapter
  2000-08-16  4:00 ` Adam Price
@ 2000-08-16  4:00   ` awrobinson
  0 siblings, 0 replies; 4+ messages in thread
From: awrobinson @ 2000-08-16  4:00 UTC (permalink / raw)


Adam,

These instructions were great. I was familiar with all the commands, but
being relatively new to DEC Unix, uh, tru64, I did not know about the
generic kernel trick. Worked like a charm!

One followup question. I knew what my kernel configuration was supposed
to be, but I may not be so lucky when I get to the client's site. Is
there a file that tells me which configuration options were built into
the present kernel?

Thanks!

Andrew Robinson


In article <966451893.1342.0.nnrp-07.c2deb51d@news.demon.co.uk>,
  "Adam Price" <adam+reply+usenet@pappnase.demon.co.uk> wrote:
>
> 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&


Sent via Deja.com http://www.deja.com/
Before you buy.



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

* Getting OS to see SCSI adapter
@ 2000-08-16  4:00 awr
  2000-08-16  4:00 ` Adam Price
  0 siblings, 1 reply; 4+ messages in thread
From: awr @ 2000-08-16  4:00 UTC (permalink / raw)


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?

Thanks!

Andrew Robinson


Sent via Deja.com http://www.deja.com/
Before you buy.



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

* Re: Getting OS to see SCSI adapter
  2000-08-16  4:00 awr
@ 2000-08-16  4:00 ` Adam Price
  2000-08-16  4:00   ` awrobinson
  0 siblings, 1 reply; 4+ messages in thread
From: Adam Price @ 2000-08-16  4:00 UTC (permalink / raw)



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






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

* Re: Getting OS to see SCSI adapter
@ 2000-08-18  4:00 Jay Vlack
  0 siblings, 0 replies; 4+ messages in thread
From: Jay Vlack @ 2000-08-18  4:00 UTC (permalink / raw)


In message <8nf84b$22i$1@nnrp1.deja.com>, awrobinson@my-deja.com wrote:
> 
> One followup question. I knew what my kernel configuration was supposed
> to be, but I may not be so lucky when I get to the client's site. Is
> there a file that tells me which configuration options were built into
> the present kernel?


In the /sys/conf directory there is a file that's the hostname in all capital letters (ie: /sys/conf/HOST). This is the kernel config file. It determines what options are built into the kernel when you do a "doconfig -c HOST".

--> Jay

-- 
Spam note: remove all X's from my email address to reply.

Posted with Ink Spot for WinCE
http://www.dejavusoftware.com/




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

end of thread, other threads:[~2000-08-18  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-18  4:00 Getting OS to see SCSI adapter Jay Vlack
  -- strict thread matches above, loose matches on Subject: below --
2000-08-16  4:00 awr
2000-08-16  4:00 ` Adam Price
2000-08-16  4:00   ` awrobinson

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