LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-01-2006, 07:24 PM   #1
linux4dave
LQ Newbie
 
Registered: May 2006
Posts: 2

Rep: Reputation: 0
Exclamation New install of RHEL4 isn't creating /dev/sg* drivers for tape library


My RHEL3 system disk is about to byte the dust. This host is my backup system (EMC|Legato Networker), happily connected to a DELL PV-136T. All devices and applications work swimmingly.

Okay, so this is an opportunity to jump up to the next rev. Got a new disk and decided to install RHEL4 from CD distribution. That went nicely, except for one thing - the system does not "see" the tape library. It "sees" the tape devices, I can manipulate the devices with the "mt" command, but the /dev/sg* controller never gets created. lsmod for the SCSI interface shows:

# lsmod | grep aic
aic7xxx 148121 0
scsi_mod 121421 4 st,aic7xxx,libata,sd_mod

Looks like the modules are loaded... Okay, so I mknod some /dev/sg devices, but they disappear on reboot.

Before I start getting too worried, I put the old, limping RHEL3 system disk in there, and everything works nicely - I can see the tape library, and all is cool.

So, this isn't a hardware issue, it's an OS driver issue, right?

Any ideas or suggestions????

dave
 
Old 05-02-2006, 10:18 PM   #2
linux4dave
LQ Newbie
 
Registered: May 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Well, I guess no one had any suggestions. Seems we've stumbled over some kind of OS bug in RH2.6.9-5. Once I put load_module sg in /etc/rc.sysinit, the sg drivers get created because the module loads. I had thought the module was already loaded, but I guess not.

I wish someone could tell me how I might have identified that better.

dave
 
Old 03-24-2008, 02:32 PM   #3
kfh
LQ Newbie
 
Registered: Aug 2006
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by linux4dave View Post
Well, I guess no one had any suggestions. Seems we've stumbled over some kind of OS bug in RH2.6.9-5. Once I put load_module sg in /etc/rc.sysinit, the sg drivers get created because the module loads. I had thought the module was already loaded, but I guess not.

I wish someone could tell me how I might have identified that better.

dave
My colleague and I are struggling with the same issue. We tried modifying the
/etc/udev/rules.d/20-local.rules so that the tapedrives and changer always have
the same names after boots, but right now udev seems to be ignoring the 20-local.rules at boot. After the system is up, I can run udevstart which creates
the device links and my backup server is happy. We are working on getting the devices to be "seen" and "configured" during boot or to be unchanged by a boot.

If you've already solved this issue, I'd like to hear how you did it.
 
  


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
Debian won't see a DLT Tape Library evank Debian 6 10-14-2005 05:34 PM
Redhat AS 4 connecting to tape library berengamble Linux - Enterprise 1 06-30-2005 10:46 PM
ln: creating symbolic link `/dev/dvd' to `/dev/hdc': Permission denied qazwsx27 Fedora 3 06-14-2005 02:09 PM
Problem with tape library support klnasveschuk Fedora 5 04-25-2005 12:45 PM
DLT Tape Library synpse Linux - Hardware 1 02-22-2005 12:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:58 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration