LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   tape installation (https://www.linuxquestions.org/questions/linux-newbie-8/tape-installation-120715/)

discanto 11-28-2003 09:15 AM

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 :cry:
S.

wdingus 11-28-2003 09:56 AM

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

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

Or something like that...

discanto 11-28-2003 10:18 AM

Yes, I've tried with tar to write to the tape, but I get the same error "No such device or address".

Thanks
S.

siddiqu 11-29-2003 01:01 AM

Hi..

Check with lsmod the module is loaded or not again.

Siddiqu.T

discanto 12-01-2003 02:18 AM

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.

siddiqu 12-01-2003 02:35 AM

Hi..


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

try modprobe aic7xxx

Also check ur modules.conf entries also.

Siddiqu.T

discanto 12-01-2003 07:35 AM

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.

RKindred 01-09-2004 12:32 PM

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


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