This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.
Subject: steps to add scsi From: Fernan Aguero <fernan@iib.unsam.edu.ar> Date: Thu, 11 Nov 1999 18:15:17 -0300 Hi all! I'm trying to add a scsi adapter card to my PC to use a CD Writer and a SCSI disk. I bought the cheapest card i found, a DTC3510A, that seems to be similar to an adaptec 152x. In Windows95 it worked OK, using the AHA-152x builtin driver. However in Linux (RH6.1) i get the following boot message: scsi: 0 hosts scsi: detected And i cannot get at a 4GB drive connected at ID 5 (tried mount and fdisk) I ran kerneld to add the aha152x module with the following parameters (io port=340, IRQ=11, scsi id=7, parity=1), and then rebooted the machine. I read that this happens usually with the adaptec 15x cards, and is related to the BIOS in the adapter, but this card doesn't have any jumper to turn the BIOS on or off as suggested. I'm changing this card for an adaptec 2940, that's listed as Tier 1 supported in RH 6.1. As I'm new to this I wanted to check if I'm doing the right steps. i) add the required line to load the correct module in kerneld ii) reboot? iii) should 'mount /dev/sda' work then? or should fdisk be able to get at the disk to show the partition table or format it? Or is any other step required? and finally, is there any package of scsi utilities to scan scsi buses, report on scsi devices, etc? === Subject: RE: steps to add scsi From: Uncle Meat <kcsmart@kcinter.net> Date: Thu, 11 Nov 1999 18:39:08 -0600 (CST) On 11-Nov-99 Fernan Aguero opined: > Hi all! > > I'm trying to add a scsi adapter card to my PC to use a CD Writer and a > SCSI disk. > I bought the cheapest card i found, a DTC3510A, that seems to be similar > to an adaptec 152x. In Windows95 it worked OK, using the AHA-152x builtin > driver. However in Linux (RH6.1) i get the following boot message: > scsi: 0 hosts > scsi: detected > And i cannot get at a 4GB drive connected at ID 5 (tried mount and fdisk) > > I ran kerneld to add the aha152x module with the following parameters (io > port=340, IRQ=11, scsi id=7, parity=1), and then rebooted the machine. > I read that this happens usually with the adaptec 15x cards, and is > related to the BIOS in the adapter, but this card doesn't have any jumper > to turn the BIOS on or off as suggested. Try, at the lilo prompt: linux aha152x=0x340,11,7,1 If that works, add an append line to lilo.conf and run lilo. That's how mine is working and has for several iterations of RH. Subject: RE: steps to add scsi From: Uncle Meat <kcsmart@kcinter.net> Date: Thu, 11 Nov 1999 18:39:08 -0600 (CST) On 11-Nov-99 Fernan Aguero opined: > Hi all! > > I'm trying to add a scsi adapter card to my PC to use a CD Writer and a > SCSI disk. > I bought the cheapest card i found, a DTC3510A, that seems to be similar > to an adaptec 152x. In Windows95 it worked OK, using the AHA-152x builtin > driver. However in Linux (RH6.1) i get the following boot message: > scsi: 0 hosts > scsi: detected > And i cannot get at a 4GB drive connected at ID 5 (tried mount and fdisk) > > I ran kerneld to add the aha152x module with the following parameters (io > port=340, IRQ=11, scsi id=7, parity=1), and then rebooted the machine. > I read that this happens usually with the adaptec 15x cards, and is > related to the BIOS in the adapter, but this card doesn't have any jumper > to turn the BIOS on or off as suggested. Try, at the lilo prompt: linux aha152x=0x340,11,7,1 If that works, add an append line to lilo.conf and run lilo. That's how mine is working and has for several iterations of RH. ==== Subject: Adding SCSI CD-R From: Manuel Antonio Camacho <beirutep@sol.racsa.co.cr> Date: Wed, 17 Nov 1999 08:37:24 -0600 Dear friends: I have a problem with a Smart and Friendly CD-R and its SCSI card. I want to add a Smart & Friendly SCSI CD-R to a PIII/450 system with an IDE HDD and a ATAPI IDE CD-ROM. SCSI CD-R works fine under Win98. SCSI adapter is an Adaptec 1520 clone, that came with the CD-R. On Windows, it works fine under 0340 & IRQ10. RH 6.0 does not find the card on install process. It asks for a manual setup of the adapter, and asks for modules. I looked on the SCSI HOWTO, and what it says regarding the Adaptec 152x is that it can be set up manually on LILO prompt with the following line: linux aha152x=0340,10,7,1 which corresponds to the port, IRQ, scsi ID and parity. After using this line at LILO prompt, boot starts, but when it gets to SCSI checkup, it gets SCSI:0. I looked in the archives, and found a mail regarding installing a ZIP drive with a SCSI Adaptec 152x clone, so I followed the procedure for installing the card as listed as follows. * I rebooted the system. * Under root, I added the line 'alias scsi _hostadapter aha152x' to /etc/conf.modules. * Tried modprobe aha152x What is the expected output for 'modprobe'? I am getting a message saying that device or resource is busy, but cd-r is still, lights are off, and there is no other sign of disk activity. I guess I should try mounting a disk in the SCSI CD-R. When I mount cds on the ATAPI IDE drive I use 'mount -t iso9660 /dev/cdrom /mnt/cdrom'. But, how do I mouns SCSI CD-ROM? I guess I have to add a new line to /etc/fstab. As far as it is a CD-R, should I enable writting to the mount point? Should the mount command be 'mount -t iso9660 /dev/sd0 /mnt/cdr'? (supposed I created the cdr mount point). ANY HELP WILL BE REALLY APPRECIATED AS FAR AS I AM TOTALLY LOST HERE. This is the first SCSI drive I am mounting =). === Subject: Re: Adding SCSI CD-R From: Ayman Haidar <haidar@usol.com> Date: Wed, 17 Nov 1999 11:22:36 -0500 I recently had to do a similar thing, I have a yamaha 6416 and an old 2740 adaptec scsi card, mine was recognized on setup, here is my 2 cents. when you do the modeprobe nothing will show, to see if the module is loaded you can do "lsmod". if the right module is installed then you need to check if the right cd-r is recognized. if you have cdrecord installed you can do cdrecord -scanbus and it will show you the available cd-r's that you have. you can mount it like you said if it's on the first scsi card and it has the 1 identifier. I hope that might help you out.. === Subject: Re: Adding SCSI CD-R From: Fernan Aguero <fernan@iib.unsam.edu.ar> Date: Wed, 17 Nov 1999 17:06:21 -0300 >I want to add a Smart & Friendly SCSI CD-R to a PIII/450 system with an IDE >HDD and a ATAPI IDE CD-ROM. SCSI CD-R works fine under Win98. SCSI adapter >is an Adaptec 1520 clone, that came with the CD-R. On Windows, it works >fine under 0340 & IRQ10. > >RH 6.0 does not find the card on install process. It asks for a manual >setup of the adapter, and asks for modules. > >I looked on the SCSI HOWTO, and what it says regarding the Adaptec 152x is >that it can be set up manually on LILO prompt with the following line: > >linux aha152x=0340,10,7,1 > >which corresponds to the port, IRQ, scsi ID and parity. After using this >line at LILO prompt, boot starts, but when it gets to SCSI checkup, it gets >SCSI:0. I had the same problem with a DTC3510 card that is supposed to work like an Adaptec 152x, and actually got it working in Windows, but had the same problem as you had on Linux. I tried several things but finally gave up and change the card for an Adaptec 2940. This card got recognized at startup, but anyway I had to do an 'insmod aic7xxx' (you'll want to try 'insmod aha152x'), and then just insert a CD in the CD-R and mount it, which i did as root: mount -t iso9660 /dev/scd0 /mnt/cdwriter you'll have to create the /mnt/cdwriter directory or else mount the CD-R in the cdrom directory (if it's unused) or any other that you'd find appropriate. This is just for testing the setup, and you'll be browsing the CD as if it were a CD-ROM. I haven't tried to burn a CD as I have yet to find software and install it, but i guess that the software talks directly to the scsi host and you dont't need to mount anything to write to a blank CD. In fact it doesn't seem to me like you can mount a blank CD since it has no filesystem...you don't mount the CD-R you actually mount the filesystem that's in a disk... You may also add a line to /etc/lilo.conf to add support for the card from the startup lilo prompt (or either write it yourself at the prompt each time), read the thread named 'steps to add scsi', from last week. This worked for me, YMMV. PS: any good software recommended for writing CDs? PS2: any good software for doing programmed backups (incremental, compressed, etc...) and restores? === Subject: RE: Adding SCSI CD-R From: Mike Owen <Mike.Owen@aptissoftware.com> Date: Wed, 17 Nov 1999 14:40:13 -0600 > >PS: any good software recommended for writing CDs? I use mkisofs and cdrecord. They should both be on the newer redhat cd's, or you can download them off of your favorite mirror site. mkisofs is used to create the actual iso9660 image (which is what is actually mounted when you mount a cd), and then cdrecord burns that on to a blank cd. cdrecord will also handle audio, video and multi-session recordings as well. Once you make an image with mkisofs, you can loop-mount that image, and browse it like you would any other file system, to ensure your cd looks correct. Both programs are very easy to use, and I've never made a coaster with cdrecord, even when running X, pine, httpd, ftpd, etc... ===