From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,8333fd8ddbdcd38b X-Google-Attributes: gidfa528,public From: "Adam Price" Subject: Re: Getting OS to see SCSI adapter Date: 2000/08/16 Message-ID: <966451893.1342.0.nnrp-07.c2deb51d@news.demon.co.uk>#1/1 X-Deja-AN: 659033690 X-NNTP-Posting-Host: pappnase.demon.co.uk:194.222.181.29 References: <8necqm$vvf$1@nnrp1.deja.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 966451893 nnrp-07:1342 NO-IDENT pappnase.demon.co.uk:194.222.181.29 Organization: Please don't send me e-mail, but if you must then use the address as given. Reply-To: "Adam Price" Newsgroups: comp.unix.tru64 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