1831339 Members
3416 Online
110024 Solutions
New Discussion

scsi device problem

 
Jun Zhang_4
Regular Advisor

scsi device problem

I have a Exabyte tape drive on Adaptec 2940. Once the RH9 boot up, and I do
cat /proc/scsi/scsi
I get
Attached devices: none
Then I do
mt -f /dev/st0 status
the tape drive is recognized (cat /proc/scsi/scsi get the right output).
What is the problem?

Jun
Food lover
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: scsi device problem

Most of the time when this happens to me, and it does, its fixed by replacing the scsi cable. Even if there is no obvious damage.

The good news is most cables cost under $50, though don't bother with most local computer stores, you have to order it.

Check the cables, check device power and try a different cable. That solves the problem 75% of the time with me, any OS.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Martin P.J. Zinser
Honored Contributor

Re: scsi device problem

Hello,

if what Jun reports is acurate (i.e. device becomes reliably avaialbe after the first mt status), it does not look like a HW problem to me. I am not overly familiar with the module loading process, but it would seem that the module is only loaded in that case if the device is actually used, kind of a deferred loading.

Jun, could you do a lsmod before and after the mt status the next time you reboot to see if the driver has been loaded?

Greetings, Martin
Roberto Polli
Trusted Contributor

Re: scsi device problem

I'm with Martin.Linux should load the scsi module (sg or/and st) only when you try to access any particular device.

Take a look @ /etc/modules.conf
Peace, R>

Matt Palmer_2
Respected Contributor

Re: scsi device problem

have you had a look inside /var/log/messages??


I have had this problem before, and noticed that messages is full of 'not enough mtrrs'. Not sure what they are but this only happens if I add a tapedrive after initial install of the OS, otherwise I do not have the problem accessing /dev/st0

Roberto Polli
Trusted Contributor

Re: scsi device problem

Matt,
I remember that 'not enough mtrr' -memory type range register- is a CPU stuff, maybe it's an error given _while_ but independently from tape.
I know MTRR are couples (memory,bus) that fasten register's access with processors>P2
eg. a MTRR can address a particular device to use a specific range of memory. If it's not clear or wrong, please, let me know.


Peace, R.
Matt Palmer_2
Respected Contributor

Re: scsi device problem

Hi Roberto,

I found the answer in an unrelated post.

Apparently MTRR problems can be related to memory leaks in low memory, and can sometimes sorted out by disabling shared memory in the BIOS for things like integrated graphics cards,etc. This is exactly the config on the server I have, i.e:it is using shm to support the onboard VGA. So I'm going to disable it and put a PCI VGA in instead, and see how I go with the drive.

thanks for the help, maybe this could be a way forward for the poster of this message to.

regards

Matt
Roberto Polli
Trusted Contributor

Re: scsi device problem

Jun,
does any give answer help you?
did you solve it?

Peace, R.