Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi All,
I'm trying to access the tape so that I can backup. I found a documentation that "modprobe aic7xxx" should be used. After modprobe command, the tape drive worked. However, all of a sudden, I cannot access it again and again and again.
How can i resolve this problem?. How can i permanently load the "modprobe aic7xxx". What is the cause of the problem?.
Please help me!!!!!!!!!!!!!!!!!! I'm insane.
tungaw
BTW,
i'm using adaptec scsi controller card. (7xxx series).
Thanks, But it was already added. actually, when i executed the "modprobe aic7xxx", there was response from the tape drive. I've already backed up some of my files into it, however, when i tried to verify if it backed up successfully, I/O error returned. I'm using "taper -T scsi" utility to backup the files.
Where do you think the problem relies? I'm tired on testing this backup tape. Hope yu can help me.....
$mt -f /dev/st0 status
output: SCSI 2 tape Drive
File number=-1,block number=-1,partition=0.
tape block size 0 bytes. Density code 0x0(default).
Soft error count size since last status 0
General status bits on (10000).
ION_REP_EN
I tried also "$mt eod "
Input/Output error returned.
I tried $msprobe aic7xxx, since my adapter is Adaptec.
No error returned, i checked /etc/modules.conf to check
if aic7xxx its present, and it is.
I tried $inmod aic7xxx, it said, that it was already present.
Please help me....... help...... help...... arggggggggg........
If this is a status of the drive when a tape is loaded it doesn't appear to be correct. I would expect to see some other status with a tape loaded other then just the
ION_REP_EN
$vi /etc/modules.conf
alias parport_lowlevel parport_pc
alias eth0 eepro100
alias scsi_hostadapter ips
alias scsi_hostadapter ips
alias scsi_hostadapter1 aic7xxx
alias scsi_hostadapter2 aic7xxx
alias usb-controller usb-ohci
$mt -f /dev/st0 status -------TAPE INSERTED ON DRIVE
output: SCSI 2 tape Drive
File number=-1,block number=-1,partition=0.
tape block size 0 bytes. Density code 0x0(default).
Soft error count size since last status 0
General status bits on (10000).
ION_REP_EN
$mt -f /dev/st0 status --- NO TAPE INSERTED on DRIVE
output: SCSI 2 tape Drive
File number=-1,block number=-1,partition=0.
tape block size 0 bytes. Density code 0x0(default).
Soft error count size since last status 0
General status bits on (50000).
DR_OPEN ION_REP_EN
On my /var/log/dmesg file,
Attached scsi tape st0, channel 0, id 0, lun 0.
my mt version,
mt-st v.0.6
My tape device :
SEAGATE -- STT20000N
I also tried $insmod aic7xxx, but it says that it's already loaded.
Thanks again for your help and hopefully you can help me resolve my problem. I'm trying to fix it for the last 1 week already. thanks again.
I already tried "tar cvf /dev/st0 filename" but it isn't working. the tape drive should blink but it's not. And also i tried to extract using tar xvf /dev/st0 but still tape drive not responding.
This may or may not be a problem. Do you have more than one SCSI controller?
You stated your scsi modules in modules.conf:
alias scsi_hostadapter ips
alias scsi_hostadapter ips
alias scsi_hostadapter1 aic7xxx
alias scsi_hostadapter2 aic7xxx
I don't know anything about the tape drive but I would still expect its status to be on_line with a tape loaded.
There are 2 host adapter on the machine. Both are Adaptec. I haven't run the diagnostics on the drive coz the machine does not reside in our office.
I'll try to do it tomorrow and hopefully the drive will respond.
But i'm wondering why is it the drive worked when i run "modprobe aic7xxx"?. I already wrote to tape,then all of a sudden, it haven't worked again?. Do you think the drive is dirty and needs clean up?. I haven't used the drive for the last 11 months.
Hi,
I took me a long time trying to verify the problem. Anyways, I've already cleaned the tape drive for a couple of days. I inserted the tape cleaner and it seems working.
I asked the person incharge to reboot the server, It worked for a while. It says it's ONLINE, but when i tried to use it again, it didn't work again.
here's the message :
$ mt -f /dev/st0 status
SCSI 2 tape drive:
File number=-1, Block number =-1 partition=0
tape block size 0 bytes, Density code 0x 0
Soft error count since last status = 0
General Status bits on (10000):
IM_REP_EN
The above status is when the tape is inserted, if not its OPEN.
I'm having the same exact problem with the adapter and tape drive. I've tried using an AHA-2940UW and a AHA 2940AU with the same results on each card. I only have one adapter installed at a time.
Has anyone got one of these tape drives to work successfully? The "STT20000N" is a SCSI Seagate Hornet 10/20 GB.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.