LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Adding SCSI tape devices made my system non-bootable (https://www.linuxquestions.org/questions/suse-opensuse-60/adding-scsi-tape-devices-made-my-system-non-bootable-905466/)

tlemons 09-28-2011 02:27 PM

Adding SCSI tape devices made my system non-bootable
 
Hi

I need to expand the number of SCSI tape devices created on my Linux systems. I used the following steps on a SLES 10 SP3 system, and they worked with problem:

• ensure that you have the 'kernel-sources' package installed
• cd /usr/src/linux/drivers/scsi
• edit st.h, modifying the line '#define ST_MAX_TAPES XXX', replacing 'XXX' with the number of st devices that you need. NOTE: do NOT remove the '#' character from the beginning of the line; it needs to be there
• cd /usr/src/linux
• make oldconfig
• make
• make modules_install
• make install
• mkinitrd
• reboot


But when I used the same steps on a SLES 11 SP1 system, the system was not able to boot, and the boot dialogue complained about many symbols being missing from the QLogic Fibre Channel driver. I'm guessing that my build process omitted some needed FC driver element.

What step(s) am I lacking?

Thanks
tl

tlemons 10-27-2011 06:43 PM

here's how to do it
 
A colleague provided me with these instructions, which worked on SLES 11 SP1:

• installed the ‘kernel-source’ RPM package
• modified /usr/src/linux-2.6.32.12-0.7/drivers/scsi/st.h, changing “#define ST_MAX_TAPES 128” to “#define ST_MAX_TAPES 1024”
• followed the instructions in the “COMPILING YOUR OWN KERNEL” section of /usr/src/linux/README.SUSE
• rebooted

tl


All times are GMT -5. The time now is 12:05 PM.