From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,f79ce157a5c6b3c X-Google-Attributes: gidfee84,public From: "Pedro M. Matias" Subject: Re: Adding a tape drive Date: 2000/01/19 Message-ID: <3885C32F.BBAE5FE0@itqb.unl.pt>#1/1 X-Deja-AN: 574691216 Content-Transfer-Encoding: 7bit References: <3885b5c3_1@dilbert.ic.sunysb.edu> To: John.Hasstedt@sunysb.edu X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Instituto de Tecnologia Quimica e Biologica Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 John Hasstedt wrote: > I am running "Digital UNIX V4.0F (Rev. 1229); Tue Sep 28 > 15:48:32 GMT 1999" on a PWS 500au. I added a KZPBA-CA SCSI > adapter to it and connected an Exabyte tape drive to it. SHOW > DEVICE at the console shows the tape drive as MKD0:. > > I booted the system and added the device files using bus 3, > target ID 0, and LUN 0: > > mknod /dev/rmt0l c 9 49152 > mknod /dev/rmt0h c 9 49154 > etc. > I think it is preferable to use /dev/MAKEDEV tzn where n is the SCSI ID (shows up at boot time or use uerf -c oper to check startup log. > > However, I cannot access the drive. mt -f /dev/rmt0h status > reports "No such device or address". The scu command show edt > reports: > > CAM Equipment Device Table (EDT) Information: > > Device: CD-ROM XM-6302B Bus: 1, Target: 0, Lun: 0, Type: Read-Only > Direct Access > Device: BB00921B91 Bus: 2, Target: 0, Lun: 0, Type: Direct Access > > What do I need to do to get Unix to recognize the tape drive? > > ... Hi. You need to update the system configuration and re-compile the kernel. 1. Reboot using generic UX kernel (filename genvmunix) 2. run command sizer -n filename to create a configuration file in /tmp/filename 3. Edit your system configuration name in /usr/sys/conf/HOSTNAME to include the new SCSI adapter ... something like this ... device disk fd0 at fdi0 drive 0 bus ata0 at pci0 slot 107 controller scsi0 at ata0 slot 0 bus ata1 at pci0 slot 207 controller scsi1 at ata1 slot 0 bus isp0 at pci0 slot 11 vector ispintr controller scsi2 at isp0 slot 0 ... 4. re-compile the kernel with doconfig -c HOSTNAME 5. move the new vmunix kernel to / (make a backup copy of the previous kernel!) 6. Reboot. The system should create the tape device entries. Make sure you have removed all /dev/*mt0* first otherwise the tape will use device number 1 instead of 0. I hope I haven't forgotten anything. Good luck, Pedro..