LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-01-2006, 11:45 AM   #1
dguy
Member
 
Registered: Dec 2001
Location: Beckwith Township, Ontario, Canada
Distribution: Slackware 14.0, Slackware-64 14.1
Posts: 119

Rep: Reputation: 16
OS hangs on write attempt to DDS-2 changer


Here I sit with a new (to me) Compaq GB 15/30 DLT. I was assured by the previous owner that it works perfectly. Now...

With mt-st and mtx I can control the drive and changer as expected. Retension, erase, load/unload, and so on... no problems.

Any attempt to write however, locks up the system immediately after the tape drive is accessed. Type or age of tape doesn't seem to matter.

Nothing is written to the syslog or messages files which gives even the faintest hint of the problem.

Any suggestion as to where to start troubleshooting would be appreciated!
 
Old 01-02-2006, 09:53 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Is it a SCSI tape drive? Do you have any other SCSI on the system (like your hard disk for example)? If so have you verified each device has a separate SCSI ID (including the SCSI adpater itself)? Also is the SCSI ID of the adapter correct? (Typically had to have the highest ID of all - disks next and tape drives last so that priorities were correct within the SCSI bus - I did work on IBM machines once upon a time that required the adapter to have ID 0 instead of highest). Do both ends of the SCSI chain have terminators or built in termination?
 
Old 01-03-2006, 01:12 PM   #3
dguy
Member
 
Registered: Dec 2001
Location: Beckwith Township, Ontario, Canada
Distribution: Slackware 14.0, Slackware-64 14.1
Posts: 119

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by jlightner
Is it a SCSI tape drive? Do you have any other SCSI on the system (like your hard disk for example)? If so have you verified each device has a separate SCSI ID (including the SCSI adpater itself)? Also is the SCSI ID of the adapter correct?
Yes, it is a SCSI tape drive; the entire system is SCSI and is based around an Adaptec 1542B. There are no device id conflicts, and the host adapter is set at #7.


Quote:
Do both ends of the SCSI chain have terminators or built in termination?
Yes... I think.

Internal termination is fine, however for reasons unrelated to this thread I unplugged my one and only external device a while back. Your question about termination suddenly has me wondering whether or not I remembered to connect a terminator in place of the removed device.
 
Old 01-03-2006, 05:11 PM   #4
dguy
Member
 
Registered: Dec 2001
Location: Beckwith Township, Ontario, Canada
Distribution: Slackware 14.0, Slackware-64 14.1
Posts: 119

Original Poster
Rep: Reputation: 16
Smile

Quote:
Originally Posted by dguy
Your question about termination suddenly has me wondering whether or not I remembered to connect a terminator in place of the removed device.
No worries after all... I just verified that termination is present at both ends of the chain.

Something I forgot to mention in my previous post, is that there do not appear to be any problems with any of the other SCSI devices.
 
Old 01-06-2006, 01:20 PM   #5
dguy
Member
 
Registered: Dec 2001
Location: Beckwith Township, Ontario, Canada
Distribution: Slackware 14.0, Slackware-64 14.1
Posts: 119

Original Poster
Rep: Reputation: 16
Still looking for help troubleshooting this... not having a backup solution is creeping me out.
 
Old 01-06-2006, 01:47 PM   #6
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
The hang really makes me think there is an issue with the SCSI IDs. I recall working on PCs in the past where the IDs were odd. I always had to set the tape drives to ID 2 and (I think) the hard drive to ID 6 (may have been - that weird IBM setup again).

Try insuring the hard drive's ID has higher ID (therefore higher priority) than the tape drive.
 
Old 01-18-2006, 07:12 PM   #7
dguy
Member
 
Registered: Dec 2001
Location: Beckwith Township, Ontario, Canada
Distribution: Slackware 14.0, Slackware-64 14.1
Posts: 119

Original Poster
Rep: Reputation: 16
Interesting... I'll give it a shot.

As a rule of thumb I've always assigned the higher IDs to the slower devices such as CDROMs and tapes. ISTR reading more than one article which suggested that it was best to give the slower devices the higher priority.


Further experimentation BTW, suggests that it's not a total OS hang in the usual sense. The SSH server daemon, and which ever process responds to console logins become unresponsive, but other processes such as iptables and pppd continue to function. Still, with no ability to open a terminal and intervene, it might as well be a total hang.
 
Old 02-23-2006, 05:25 AM   #8
dguy
Member
 
Registered: Dec 2001
Location: Beckwith Township, Ontario, Canada
Distribution: Slackware 14.0, Slackware-64 14.1
Posts: 119

Original Poster
Rep: Reputation: 16
Success!

Finally found the problem; it's a simple matter of hardware incompatibility.

While I was aware that the AHA-1542 can't operate a hard drive in excess of 4GB, it never occurred to me that a similar limitation may exist with higher capacity tape drives.

When tested in another system which uses a 2940UW, the drive behaves flawlessly. Looks like it's time to upgrade the Linux box.
 
  


Reply



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
FTP wallpaper changer verbose Linux - Software 0 08-05-2005 09:43 PM
Automated Wallpaper Changer davethegenius Linux - Software 3 04-02-2005 04:12 PM
KDE desktop changer on the toolbar? jawman01 Linux - Newbie 3 10-11-2004 04:38 PM
Workspace changer error Ninwa Linux - General 0 06-22-2004 08:57 PM
USING XMMS with a CDROM CHANGER? bluceree Linux - Software 0 10-01-2003 07:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:50 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