From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,f39cb473070ee53f X-Google-Attributes: gidfee84,public From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: new SCSI controller name? Date: 1997/07/08 Message-ID: <5pts74$gtf@nntpd2.cxo.dec.com>#1/1 X-Deja-AN: 255544035 Distribution: world References: Organization: Digital Equipment Corporation Reply-To: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Newsgroups: comp.unix.osf.osf1 In article , wrp@alpha0.bioch.virginia.edu (William R. Pearson) writes: >I have just installed a DEC (Qlogic) fast-wide PCI controller on >an AlphaServer 2100 4/275 running Digital Unix 4.0B. The controller >seems to be there, and it can see my 9 GB fast/wide disk as: > > dkb400.4.0.2000.0 DKB400 Microp 3391W7 > >Unfortunately, it is not clear to me how to do a MAKEDEV on this device. > >Do I need to build a new Kernel? Yes. >Tell doconfig something special? If you're not familiar with the configuration file language, the easiest thing to do is boot genvmunix, at least to single user, mount the local file systems (/usr and /var are needed), save your old kernel, copy (not move) genvmunix to vmunix and then use doconfig to write a new configuration file. The generic kernel will find the new controller and doconfig will add the appropriate lines for it. Copy the new kernel when done and reboot. SCSI devices are relatively simple and if you know the right base device name adding a new one by hand isn't hard. All the information you need is in the GENERIC configuration file, so most of what you need to do is cut and paste. The Qlogic adapters use the "isp" device name. So, if you look at the GENERIC configuration file you'll see: bus isp0 at pci? vector ispintr bus isp1 at pci? vector ispintr bus isp2 at pci? vector ispintr etc... Chose the "next" one. If you don't have an ISP controller in the configuration now, use isp0. If you happen to know the pci slot number fill it in, but the kernel will treat the ? in pci? as a wildcard and will figure it out for itself. Not using wildcards ensures that device won't move around if you add another controller later. After the adding the appropriate "isp" you need to add the next "scsi" line. The built-in SCSI adapter on the system will be scsi0. Since this is the 2nd SCSI adapter on the system you need to add the line for "scsi1". Again you can take advantage of the wildcard to let the kernel figure out where things are. That's all you need. Once the kernel can see the controller, the SCSI driver doesn't need anything else to find device on it. >Bill Pearson > > -- Alan Rollow alan@nabeth.cxo.dec.com