LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-28-2003, 09:15 AM   #1
discanto
LQ Newbie
 
Registered: Nov 2003
Distribution: Fedora core 1
Posts: 4

Rep: Reputation: 0
Question tape installation


Hello there.

I've installed fedora core 1 and everything works fine.

Today I've added an adaptec AH2904 SCSI card with an attached external DEC TZ87 DLT tape drive.
During the reboot the operating system told me that a new scsi controller was detected and the drivers loaded.

The scsi card and the tape drive seems to be installed correctly, but the tape drive doesn't work.
When I try mt -f /dev/st0 status I get
"No such device or address".

So I checked the following things:

- in lsmod output I can see the lines for st and scsi_mod
- the file /proc/scsi/scsi is empty
- in dmesg output I can see:

ahc_pci:0:12:0: Host Adapter Bios disabled. Using default SCSI device parameters
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
<Adaptec 2902/04/10/15/20C/30C SCSI adapter>
aic7850: Single Channel A, SCSI Id=7, 3/253 SCBs
blk: queue cd289c14, I/O limit 4095Mb (mask 0xffffffff)
(scsi0:A:5): 5.000MB/s transfers (5.000MHz, offset 15)
Vendor: DEC Model: TZ87 (C) DEC Rev: 9514
Type: Sequential-Access ANSI SCSI revision: 02
blk: queue cf378e14, I/O limit 4095Mb (mask 0xffffffff)
st: Version 20030406, bufsize 32768, max init. bufs 4, s/g segs 16
Attached scsi tape st0 at scsi0, channel 0, id 5, lun 0
st0: Block limits 1 - 16777215 bytes.
scsi : 0 hosts left.


Please help
S.
 
Old 11-28-2003, 09:56 AM   #2
wdingus
Member
 
Registered: Aug 2001
Location: Kingsport, TN
Distribution: RHEL & FC
Posts: 267

Rep: Reputation: 30
Have you tried writing to/reading from it even though status doesn't work?

# cd /tmp
# tar -cvf /dev/st0 *

Or something like that...
 
Old 11-28-2003, 10:18 AM   #3
discanto
LQ Newbie
 
Registered: Nov 2003
Distribution: Fedora core 1
Posts: 4

Original Poster
Rep: Reputation: 0
Yes, I've tried with tar to write to the tape, but I get the same error "No such device or address".

Thanks
S.
 
Old 11-29-2003, 01:01 AM   #4
siddiqu
Member
 
Registered: Mar 2001
Location: India
Posts: 332

Rep: Reputation: 30
Hi..

Check with lsmod the module is loaded or not again.

Siddiqu.T
 
Old 12-01-2003, 02:18 AM   #5
discanto
LQ Newbie
 
Registered: Nov 2003
Distribution: Fedora core 1
Posts: 4

Original Poster
Rep: Reputation: 0
Thanx siddiqu.
Here is my lsmod output:

Module Size Used by Not tainted
parport_pc 19076 1 (autoclean)
lp 9060 0 (autoclean)
parport 37056 1 (autoclean) [parport_pc lp]
autofs 13364 0 (autoclean) (unused)
3c59x 31280 1
floppy 58012 0 (autoclean)
sg 36492 0 (autoclean)
st 31692 0 (autoclean)
scsi_mod 108168 2 [sg st]
microcode 4700 0 (autoclean)
keybdev 2976 0 (unused)
hid 24708 0 (unused)
usb-uhci 26380 0 (unused)
usbcore 79168 1 [hid usb-uhci]
mousedev 5556 1 (autoclean)
input 5888 0 (autoclean) [keybdev hid mousedev]
ext3 71300 2
jbd 52084 2 [ext3]


The module "st" seems loaded, but the tape doesn't work.

Any ideas?
S.
 
Old 12-01-2003, 02:35 AM   #6
siddiqu
Member
 
Registered: Mar 2001
Location: India
Posts: 332

Rep: Reputation: 30
Hi..


Fine. but ur adaptec module is missing in this list.

try modprobe aic7xxx

Also check ur modules.conf entries also.

Siddiqu.T
 
Old 12-01-2003, 07:35 AM   #7
discanto
LQ Newbie
 
Registered: Nov 2003
Distribution: Fedora core 1
Posts: 4

Original Poster
Rep: Reputation: 0
This is my modules.conf:

alias eth0 3c59x
alias usb-controller usb-uhci
alias scsi_hostadapter aic7xxx


I've tried the command modprobe aic7xxx. After that the tape works fine.
However if I reboot the machine the tape doesn't work again.

How can I make the tape working across reboots?

Thanks again
S.
 
Old 01-09-2004, 12:32 PM   #8
RKindred
LQ Newbie
 
Registered: Jan 2004
Location: San Antonio, TX
Distribution: Red Hat Enterprise 3.0
Posts: 1

Rep: Reputation: 0
PMFJI (pardon me for jumping in), but I found an answer to this elsewhere, so I thought I would forward it to you:

http://lists.suse.com/archive/suse-l...-Mar/0248.html
 
  


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
Colorado 250MB Tape Drive Installation jmoschetti45 Linux - Hardware 1 09-16-2005 06:35 AM
Installation of internal HP DAT 40i DDS internal tape drive netkepala Linux - Hardware 3 11-08-2004 12:22 PM
Tape incremental backup to different tape tungaw2001 Linux - Software 0 08-13-2003 09:42 PM
Tape Autoloader BTseapig Linux - Hardware 1 05-15-2002 08:00 PM
Tape drive installation problem doris Linux - General 1 07-03-2001 08:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:10 PM.

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