LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   SCSI drives not listed in /dev/ (https://www.linuxquestions.org/questions/linux-hardware-18/scsi-drives-not-listed-in-dev-484991/)

jimbodude21 09-19-2006 11:01 AM

SCSI drives not listed in /dev/
 
Goal:
Take 3 SCSI hard drives, connect them to a PCI SCSI controller (Startech.com pciscsiuw), create software RAID 5 array.

Current State:
The drives are instaled, and the SCSI controller appears to be functioning properly.

lspci shows the SCSI controller like this:

# lspci -vv -s 00:08.0
00:08.0 SCSI storage controller: Initio Corporation 360P (rev 02)
Subsystem: Unknown device 9292:0202
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32, Cache Line Size 08
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at e000 [size=256]
Region 1: Memory at df000000 (32-bit, non-prefetchable) [size=4K]
[virtual] Expansion ROM at 40020000 [disabled] [size=32K]


No SCSI devices are listed:
# ls /dev/sd*
ls: /dev/sd*: No such file or directory

lsmod does not show sd_mod or scsi_mod unless modprobe sd_mod is run, then they show up:
# lsmod |grep sd_mod
sd_mod 20545 0
scsi_mod 136169 1 sd_mod

I believe I have compiled enough SCSI support into the kernel using make menuconfig, but I'm not enirely certain.

What am I missing? Help is appreciated in advance.

jimbodude21 09-19-2006 11:05 AM

Fedora Core 5, 2.6.17-1.2187_FC5, i686 Athlon

michaelk 09-19-2006 12:53 PM

Is the SCSI controller module loading? Check the output of lsmod, it should be initio or was it compiled into the kernel?

jimbodude21 09-19-2006 01:21 PM

initio was not loaded, running "# modprobe initio" has corrected the issue. It has also started sd_mod and scsi_mod. After the systemd reboots, the changes are lost. How do I make the modprobe command auomatically execute?

Also, when I go to make the RAID 5 array, is this the proper command?:
# mdadm --create --level=5 --raid-devices=3 /dev/md0 /dev/sda /dev/sdb /dev/sdc

Do I have to do anything special to format /dev/md0?

Thanks a lot!


All times are GMT -5. The time now is 03:51 PM.