From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,4dd77b2bc06fb3bd X-Google-Attributes: gidfee84,public From: "Adam Price" Subject: Re: Adding a new disk and SCSI controller Date: 1999/07/27 Message-ID: <933097470.23375.0.nnrp-08.c2deb51d@news.demon.co.uk>#1/1 X-Deja-AN: 505857145 X-NNTP-Posting-Host: pappnase.demon.co.uk:194.222.181.29 References: <379D5F42.2781@dnr.qld.gov.au> <933086402.18237.0.nnrp-12.c2deb51d@news.demon.co.uk> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 933097470 nnrp-08:23375 NO-IDENT pappnase.demon.co.uk:194.222.181.29 Newsgroups: comp.unix.osf.osf1 [[ 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, > >> >>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 > > >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.