LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 09-28-2011, 02:27 PM   #1
tlemons
Member
 
Registered: Jun 2004
Posts: 39

Rep: Reputation: 15
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
 
Old 10-27-2011, 06:43 PM   #2
tlemons
Member
 
Registered: Jun 2004
Posts: 39

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LTO-2 tape devices not showing up in /proc/scsi/scsi file datastor Red Hat 0 03-16-2009 05:11 PM
Adding more swap made system hangs ivanatora Linux - General 6 11-22-2006 03:50 PM
Not able to get devices name for SCSI Tape drive - Adaptec AIC-7861 stefanhoffmann Linux - Hardware 0 11-15-2004 01:32 AM
SCSI tape devices sbalasuriya Linux - Software 3 09-28-2004 01:14 PM
Help! Adding SCSI Tape Drive to RH ES 3.0 albracco Linux - Hardware 3 09-28-2004 10:17 AM


All times are GMT -5. The time now is 09:53 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration