We have a 1.6 GHz Pentium with an Adaptec 2930 SCSI card, and we connect it to an external Sony SDT 9000 4-mm tape drive. We have no problems with doing "tar" or "dump" when we were running Red Hat 7.0, but when we upgrade to Red Hat 7.1, we keep getting errors. Red Hat 7.1 does recognize the tape drive, and when we use "tar" to copy files to the tape it actually does some of the files in the beginning, but before too long (within 15 secs) "tar" will quit. The following is a sample of the "tar" failures:
# mt -f /dev/nst0 setblk 1024
# tar -l -cvf /dev/nst0 ./var
./var/
./var/lib/
./var/lib/rpm/
./var/lib/rpm/Packages
./var/lib/rpm/Name
./var/lib/rpm/Basenames
./var/lib/rpm/Group
./var/lib/rpm/Requirename
./var/lib/rpm/Providename
tar: /dev/nst0: Wrote only 0 of 10240 bytes
tar: Error is not recoverable: exiting now
# mt -f /dev/nst0 rewind
# tar -tvf /dev/nst0
drwxr-xr-x root/root 0 2002-05-31 19:58:52 ./var/
drwxr-xr-x root/root 0 2002-05-31 18:25:00 ./var/lib/
drwxr-xr-x root/root 0 1996-02-14 17:07:19 ./var/lib/rpm/
-rw-r--r-- root/root 12255232 2002-05-31 19:57:13 ./var/lib/rpm/Packages
tar: /dev/nst0: Cannot read: Input/output error
tar: Error exit delayed from previous errors
From /var/log/messages, we got these:
Jun 3 14:08:03 ewxterm kernel: st0: Block limits 1 - 16777215 bytes.
Jun 3 14:08:42 ewxterm kernel: st0: Error with sense data: [valid=0] Info fld=0x0, Current st09:00:
sense key Illegal Request
Jun 3 14:08:42 ewxterm kernel: Additional sense indicates Invalid command operation code
Jun 3 14:08:46 ewxterm kernel: (scsi0:0:6:0) Data Overrun during SEND_SENSE operation.
Jun 3 14:08:52 ewxterm kernel: (scsi0:0:6:0) CHECK_CONDITION on REQUEST_SENSE, returning an error.
Jun 3 14:08:52 ewxterm kernel: st0: Error 27070002 (sugg. bt 0x20, driver bt 0x7, host bt 0x7).
Jun 3 14:20:00 ewxterm kernel: Uniform CD-ROM driver unloaded
Jun 3 14:20:01 ewxterm kernel: hdc: ATAPI 48X CD-ROM drive, 120kB Cache, UDMA(33)
Jun 3 14:20:01 ewxterm kernel: Uniform CD-ROM driver Revision: 3.12
Jun 3 14:24:03 ewxterm kernel: scsi : aborting command due to timeout : pid 0, scsi0, channel 0, id 6,
lun 0 Read (6) 01 00 00 20 00
Jun 3 14:24:05 ewxterm kernel: SCSI host 0 abort (pid 0) timed out - resetting
Jun 3 14:24:05 ewxterm kernel: SCSI bus is being reset for host 0 channel 0.
Jun 3 14:24:05 ewxterm kernel: (scsi0:0:6:0) Synchronous at 10.0 Mbyte/sec, offset 15.
Jun 3 14:24:05 ewxterm kernel: (scsi0:0:6:0) CHECK_CONDITION on REQUEST_SENSE, returning an error.
Jun 3 14:24:05 ewxterm kernel: st0: Error 27070002 (sugg. bt 0x20, driver bt 0x7, host bt 0x7).
Jun 3 14:24:05 ewxterm kernel: (scsi0:0:6:0) CHECK_CONDITION on REQUEST_SENSE, returning an error.
Jun 3 14:24:05 ewxterm kernel: st0: Error 27070002 (sugg. bt 0x20, driver bt 0x7, host bt 0x7).
Further down the /var/log/messages file are the following:
Jun 3 15:46:07 ewxterm kernel: (scsi0:0:6:0) CHECK_CONDITION on REQUEST_SENSE, returning an error.
Jun 3 15:46:07 ewxterm kernel: st0: Error 27070002 (sugg. bt 0x20, driver bt 0x7, host bt 0x7).
Jun 3 16:01:52 ewxterm kernel: scsi : aborting command due to timeout : pid 0, scsi0, channel 0, id 6,
lun 0 Write (6) 01 00 00 3c 00
Jun 3 16:01:52 ewxterm kernel: (scsi0:0:6:0) SCSISIGI 0xe6, SEQADDR 0x18b, SSTAT0 0x7, SSTAT1 0x3
Jun 3 16:01:52 ewxterm kernel: (scsi0:0:6:0) SG_CACHEPTR 0x0, SSTAT2 0x0, STCNT 0x0
Jun 3 16:01:55 ewxterm kernel: SCSI host 0 abort (pid 0) timed out - resetting
Jun 3 16:01:55 ewxterm kernel: SCSI bus is being reset for host 0 channel 0.
Jun 3 16:01:55 ewxterm kernel: (scsi0:0:6:0) Synchronous at 10.0 Mbyte/sec, offset 15.
Jun 3 16:01:55 ewxterm kernel: (scsi0:0:6:0) CHECK_CONDITION on REQUEST_SENSE, returning an error.
Jun 3 16:01:55 ewxterm kernel: st0: Error 27070002 (sugg. bt 0x20, driver bt 0x7, host bt 0x7).
Jun 3 16:11:20 ewxterm kernel: (scsi0:0:6:0) CHECK_CONDITION on REQUEST_SENSE, returning an error.
Jun 3 16:11:20 ewxterm kernel: st0: Error 27070002 (sugg. bt 0x20, driver bt 0x7, host bt 0x7).
Jun 3 16:11:20 ewxterm kernel: (scsi0:0:6:0) Data overrun detected in Data-In phase, tag 0;
Jun 3 16:11:20 ewxterm kernel: Have seen Data Phase. Length=0, NumSGs=0.
Jun 3 16:11:20 ewxterm kernel: Raw SCSI Command: 0x10 00 00 00 01 00
Jun 3 16:11:20 ewxterm kernel: st0: Error 27070000 (sugg. bt 0x20, driver bt 0x7, host bt 0x7).
Jun 3 16:11:20 ewxterm kernel: st0: Error on write filemark.
As I mentioned, the tape drive works fine with Red Hat 7.0, but not Red Hat 7.1. Any
suggestions/explanations will be much appreciated.
Edwin H. Fung
Code 584
NASA Goddard Space Flight Center
Greenbelt, MD 20771
E-mail: [EMAIL PROTECTED]
Code 584
NASA Goddard Space Flight Center
Greenbelt, MD 20771
(301) 286-7347
E-mail: [EMAIL PROTECTED]