Debian SCSI & IDE
Had a small problem the other day ( No such device or address while trying to open /dev/sda1 ) as I was building a new machine that had not only IDE harddisks but also SCSI disks. The system was giving me errors from fdisk whilst trying to get to /dev/sda1 and the reason being was that it didn’t have the modules loaded at the time.
Took the opportunity to install the latest kernel - 2.6.8 by downloading the source package from a debian apt source, then downloading fakeroot.
Basically I went through into /usr/src and did the following:
make-kpkg clean
make menuconfig
fakeroot make-kpkg –initrd –revision=customkernel.2.6.8 kernel_image
make-kpkg modules_image
CD ..
dpkg -i kernel-image-2.6.8_customkernel.2.6.8_i386.deb
shutdown -r now
Its worth reading the docs that come with the Kernel package ( /usr/share/doc/kernel-package/README.gz ) and also the Debian documentation before you start compiling the Kernel.






October 21st, 2005 at 6:09 pm
This is a comment from Bjorn Hoias:
I came across http://blog.timc3.com/item.php?entry=272 this page while
I was searching for a solution to the same problem.
I just would let you know there is a easier way to fix this,
as long as you are running Debain 3.1 r0a or at least a 2.4.27 kernel:
Just add the following lines
ide-scsi
sata_via
libata
sd_mod
to the file /etc/modules
and the necessary scsi modules will be loaded during boot.
It might be so that only the line
scsi_mod
is enough - since that implies the four modules mentioned above, but I haven’t tested that.