/proc/scsi support in Debian Squeeze

I bought a cheap HighPoint raid controller recently, it was supposed to support Linux. The driver compiled easily but the raid CLI utility which I need to check raid health status just wouldn’t work. After hacking at this for a while it was when I used strace to run the hptraidconf binary that I discovered the program wanted to read info about the disks from /proc/scsi . /proc/scsi has been superseded by sysfs in recent Linux kernels. But Linus and his crew have left an option “legacy /proc/scsi support” in the kernel config. The Debian developers don’t seem to think it necessary to enable this option in the kernel config for 2.6.32 in Squeeze (though it seems Ubuntu think it necessary in their config for Ubuntu 10.10 which I have at my laptop). Anyway, my solution turn out to be:

# apt-get install linux-source-2.6.32
# cd /usr/src && tar jxvf linux-source-2.6.32.tbz 
# ln -s linux-source-2.6.32 linux
# cd linux

And the rest is described at howtoforge .
The key here is to enable ‘legacy /proc/scsi support’ from the ‘scsi device support’ submenu .

3 comments on “/proc/scsi support in Debian Squeeze

  1. Pingback: obdarowani cda

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>