LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Need to connect a scsi disk! (https://www.linuxquestions.org/questions/linux-hardware-18/need-to-connect-a-scsi-disk-745866/)

martinlangley 08-07-2009 01:33 PM

Need to connect a scsi disk!
 
Hi

I'm running SUSE 5.2 and have an adaptek aha1505
scsi controller with an old 1 GB HP disk attached.

The disk is formatted with dos and is recognized fine
when dos is booted but I need guidance as to how to
connect it to my running Linux MC booted from the
native EIDE disk.

Where to start?? I'm inclined to look at kernel
configurations but I'm still using one of the
"off the shelf" kernels and haven't had the pleasure
of compliing a custom kernel yet.

What's the simplest method pls?

Cheers

ML

mostlyharmless 08-07-2009 02:44 PM

You probably won't need to do anything but load the appropriate module, if the kernel doesn't automatically do it for you

(something like modprobe aha152x, and possibly vfat, msdos if they're also not automatically loaded) and mount with something like mount /dev/sdd /mnt/dos.

You *might* need to feed the kernel some parameters at boot time like:
aha152x=0x340,12,6,1, or with modprobe aha152x aha152x=0x340,12,7,1 depending on which IO port, etc. the thing is on (i.e. 0x340 in this example, IRQ 12, SCSI ID 6, reconnect 1)

Hope that helps a bit, haven't connected scsi for years..
This looked helpful: http://www.unixplumber.com/scsizip.html

martinlangley 09-04-2009 01:46 PM

Making progress here, think I've got the scsi card recognized by
the kernel one way or another.

Problem now is how to associate the drive attached with a special
device file so I can use "mount" etc

Is there a command which will allow the drive to be accessed via
the scsi card or should I maybe specify the special device
file in the conf.modules file?

I'm still using SUSE Linux 5.2

TA

tredegar 09-05-2009 07:04 AM

If it is detected, it should show up with fdisk -l
If it does, give us the output of that command, and we'll help you mount the disk.
What sort of filesystem does it have (FAT16 FAT32 etc) ?

michaelk 09-05-2009 07:12 AM

In addition to the controller module you also need to load the SCSI subsytem modules.
scsi_mod.o
sd_mod.o

Check the output of the lsmod command. The output of the dmesg command should show the device being recognized.


All times are GMT -5. The time now is 07:26 AM.