Click to See Complete Forum and Search --> : Kernel Scsi Support
BadFishBrewer
10-28-2004, 11:34 AM
How do i tell if my Kernel has scsi support already?
i am installing a scsi raid controller and i think the kernal needs that support
but i dont know how to tell if i need to re complie it.
thanks.
Current Kernel 2.4.20-31bigmem
RedHat 9.0
Thanks.
linux_composer
10-28-2004, 12:06 PM
If you have the sources installed for your current kernel, you could cat the config file thus:
cat /usr/src/linux/.config | grep SCSI
and see what happens. Don't forget it's .config not config...
HTH
ph34r
10-28-2004, 12:26 PM
A vendor supplied kernel usually provides everything as either built in or modules. Put the card in - Kudzu should find it.
BadFishBrewer
10-28-2004, 02:03 PM
you were right, when i rebooted the system it did detect the array.
now when i run fdisk -l i get this.
Disk /dev/sda: 733.9 GB, 733903585280 bytes
255 heads, 63 sectors/track, 89225 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
Disk /dev/hda: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 14692 117909067+ 83 Linux
/dev/hda3 14693 14946 2040255 82 Linux swap
so do i now need to apply a filesystem? if not then what should i do?
thanks.
ph34r
10-28-2004, 02:09 PM
Partiton it (fdisk /dev/sda) and hten make file systems on your partitions.
gehidore
10-28-2004, 03:48 PM
Originally posted by BadFishBrewer
How do i tell if my Kernal has scsi support already?
I'm not sure,
but your kernel will need the correct drivers loaded, eg I have
SCSI storage controller: LSI Logic / Symbios Logic 53c1010 Ultra3 SCSI Adapter (rev 2).
and
SCSI storage controller: Adaptec AIC-7861 (rev 1).
so in my kernel configuration I have:
CONFIG_SCSI=y
CONFIG_SCSI_AIC7XXX=m
CONFIG_SCSI_SYM53C8XX_2=y
Or from menuconfig
Device Drivers --->
SCSI device support --->
SCSI low-level drivers --->
<M> Adaptec AIC7xxx Fast -> U160 support (New Driver)
<*> SYM53C8XX Version 2 SCSI support
Then in my /etc/modules.autoload.d/kernel-2.6 I have:
aic7xxx
Uranus
10-29-2004, 03:33 PM
If you don't have the sources installed, you could try "less /proc/config.gz" - this only works if it has .config support enabled.
Wow, I never expected that this option might come in useful some day :)
Sam
Alex Cavnar, aka alc6379
11-01-2004, 07:17 PM
Originally posted by gehidore
I'm not sure,
but your kernel will need the correct drivers loaded
Noticed that too. I hope I'm not a spelling Nazi, but I went ahead and corrected it.