I can't seem to get my scsi tape drive to write to tapes.
I am running RedHat 6.2 with all the updates, and I have rebuilt the
kernel to include scsi support for as well as atapi/scsi for the cd
burner. The scsi card is a Adaptec AHA-2910c and the tape drive is an
Onstream 50gb ADR.
When I first installed the card kudzu found it and but configured it as
a Adaptec AIC-7850 SCSI, I'm not sure if this is causing my problem.
When ever I try to right to the drive I get and input/output error. If
I try to use KDat to mount a tape it says its unable to rewind the
drive.
I can't seem to find any information on this type of problem, can
someone help me?
Here are the error messages I get
[computer]# mt -f /dev/nst0 rewind
/dev/nst0: Input/output error
[computer]# tar -cvpf /dev/st0 --label=" backup " \ --directory /
--exclude=var/spool --exclude=proc .
backup
tar: --directory: Cannot stat: No such file or directory
tar: Removing leading `/' from member names
lost+found/
boot/
boot/lost+found/
boot/kernel.h
boot/boot.b
boot/chain.b
tar: /dev/st0: Cannot write: Input/output error
tar: Error is not recoverable: exiting now
[computer]# mt -f /dev/nst0 status
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 32768 bytes. Density code 0x0 (default).
Soft error count since last status=0
General status bits on (41010000):
BOT ONLINE IM_REP_EN
#dmesg gives
(scsi0) <Adaptec AIC-7850 SCSI host adapter> found at PCI 0/10/0
(scsi0) Narrow Channel, SCSI ID=7, 3/255 SCBs
(scsi0) Cables present (Int-50 YES, Ext-50 NO)
(scsi0) Downloading sequencer code... 416 instructions downloaded
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.28/3.2.4
<Adaptec AIC-7850 SCSI host adapter>
scsi1 : SCSI host adapter emulation for IDE ATAPI devices
scsi : 2 hosts.
(scsi0:0:1:0) Synchronous at 10.0 Mbyte/sec, offset 7.
Vendor: OnStream Model: SC-50 Rev: 1.03
Type: Sequential-Access ANSI SCSI revision: 02
Detected scsi tape st0 at scsi0, channel 0, id 1, lun 0
Vendor: HP Model: CD-Writer+ 8100 Rev: 1.0g
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi1, channel 0, id 0, lun 0
Vendor: LG Model: CD-ROM CRD-8400B Rev: 1.01
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr1 at scsi1, channel 0, id 1, lun 0
scsi : detected 1 SCSI tape 2 SCSI cdroms total.
sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray
Uniform CDROM driver Revision: 2.56
sr1: scsi3-mmc drive: 40x/40x cd/rw xa/form2 cdda tray
When I try to mount the tape the following errors are reported in
/var/messages
Sep 27 09:19:14 io kernel: st0: Error with sense data: [valid=0] Info
fld=0xb6ca6, Current st09:00: sense key Illegal Request
Sep 27 09:19:14 io kernel: Additional sense indicates Invalid command
operation code
Sep 27 09:19:14 io kernel: st0: Write not multiple of tape block size.
Sep 27 09:19:14 io kernel: st0: Error with sense data: [valid=0] Info
fld=0xb6ca6, Current st09:00: sense key Illegal Request
Sep 27 09:19:14 io kernel: Additional sense indicates Invalid field in
cdb
Sep 27 09:19:59 io kernel: svc: unknown version (3)
Sep 27 09:21:10 io kernel: st0: Error with sense data: [valid=0] Info
fld=0xb6ca6, Current st09:00: sense key Illegal Request
Sep 27 09:21:10 io kernel: Additional sense indicates Invalid command
operation code
Sep 27 09:21:10 io kernel: st0: Error with sense data: [valid=0] Info
fld=0xb6ca6, Current st09:00: sense key Illegal Request
Sep 27 09:21:10 io kernel: Additional sense indicates Invalid field in
cdb
Sep 27 09:21:20 io kernel: st0: Error with sense data: [valid=0] Info
fld=0xb6ca6, Current st09:00: sense key Illegal Request
Sep 27 09:21:20 io kernel: Additional sense indicates Invalid command
operation code
Sep 27 09:21:20 io kernel: st0: Error with sense data: [valid=0] Info
fld=0xb6ca6, Current st09:00: sense key Illegal Request
Sep 27 09:21:20 io kernel: Additional sense indicates Invalid field in
cdb
Sep 27 09:23:23 io inetd[530]: auth/tcp: bind: Address already in use
Sep 27 09:29:45 io kernel: st0: Error with sense data: [valid=0] Info
fld=0xb6ca6, Current st09:00: sense key Illegal Request
Sep 27 09:29:45 io kernel: Additional sense indicates Invalid command
operation code
Sep 27 09:29:45 io kernel: st0: Error with sense data: [valid=0] Info
fld=0xb6ca6, Current st09:00: sense key Illegal Request
Sep 27 09:29:45 io kernel: Additional sense indicates Invalid field in
cdb
Thanks