Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: "Adam Price" <adam+usenet@pappnase.demon.co.uk>
Subject: Re: Adding a new disk and SCSI controller
Date: 1999/07/27	[thread overview]
Message-ID: <933097470.23375.0.nnrp-08.c2deb51d@news.demon.co.uk> (raw)
In-Reply-To: 933086402.18237.0.nnrp-12.c2deb51d@news.demon.co.uk

[[ e-mailed and posted, see headers for details ]]

Adam Price wrote in message <933086402.18237.0.nnrp-12.c2deb51d@news.demon.co.uk>...
>
>Keith Moodie wrote in message <379D5F42.2781@dnr.qld.gov.au>...
>>Hi,
>
>Hi,
><Snip>
>>
>>My problem is how do I find out what /dev/rz... to MAKEDEV
>>
>>
>>Devices on the 1st SCSI controller as shown by scu are
>>
>>scu> scan edt
>>Scanning all available buses, please be patient...
>>show scu> edt
>>
>>CAM Equipment Device Table (EDT) Information:
>>
>>    Device: CD-ROM XM-6102B Bus: 0, Target: 0, Lun: 0, Type: Read-Only
>>Direct Access
>>    Device: RZ1CC-BA   Bus: 2, Target: 0, Lun: 0, Type: Direct Access
><SNIP>
>
>The calculation for X in MAKEDEV rzX is
>Bus * 8 + Target
>
>eg.
>the atapi cd-rom drive is on bus 0 target 0
>Therefore  to make special device file for
>cd= rz(0*8+0) = rz0 therefore in /dev , ./MAKEDEV rz0
>
>Second eg.
>Hard Drive type RZ1CC-BA = rz(2*8+0) = rz16
>
>Hope this helps
>Adam
>
>

Sorry to follow up my own post.

Of course the bits I forgot until I got your e-mail and can now add are...
1 scu shows no sign of the new scsi card
2 scu shows no sign of the new disk
3 bus 1 is the second IDE but in a personal Workstation


So, do a kernel rebuild to get the card added to the kernel
    shut down to srm (type init 0)
    boot from generic kernel (type boot -file genvmunix )
    rebuild kernel  (type doconfig ; follow the prompts)
    copy the current kernel to /vmunix.old
    copy the new kernel (/sys/HOSTNAME/vmunix) to /
    shut down to srm (type init 0)
    boot normally (type boot)

When this is done your scu scan edt, scu show edt will show the disk
it should be on bus 3 and so be 3*8 +1 = rz25

Sorry I didn't spot this first time,
Hope this helps
Adam

--
Please don't send me email.
If you must, then use the address as given, there is no spam-block.






  reply	other threads:[~1999-07-27  4:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-27  4:00 Adding a new disk and SCSI controller Keith Moodie
1999-07-27  4:00 ` Adding a new disk and SCSI controller - extra info Keith Moodie
1999-07-27  4:00 ` Adding a new disk and SCSI controller John Hill
1999-07-27  4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1999-07-27  4:00 ` Adam Price
1999-07-27  4:00   ` Adam Price [this message]
1999-07-29  4:00 ` Keith Moodie
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