[506] in linux-scsi channel archive
NCR 53c810 driver can't extract under 1.2.1 and 1.2.13
daemon@ATHENA.MIT.EDU (Mathew D. Watson)
Tue Aug 15 06:21:42 1995
Date: Mon, 14 Aug 1995 23:32:07 -0700
From: "Mathew D. Watson" <matw@halcyon.com>
To: linux-scsi@vger.rutgers.edu
I'm running linux 1.2.13. (Details follow my signature)
The tape in my drive has an archive created by tar -cvf /dev/st0 ...
That command ouput a list of files wich matched those of
tar -cvf /dev/null ...
Thus tar believed that it put the correct set of files onto the
tape.
The archive is about 250 MB in size.
I am able to extract individual files from the tape; however, full
extractions fail as illustrated by the following sequence:
kuroneko:/mnt/tape# ./mt -f /dev/nst0 status
SCSI 2 tape drive, residual=0
File number=0, block number=0.
Tape block size 512 bytes. Density code 0x13 (DDS (61000 bpi)).
Soft error count since last status=0
General status bits on (41000000):
BOT ONLINE
kuroneko:/mnt/tape# dd if=/dev/nst0 of=tf.00
( Runs for a while and then hangs. The green ready light on the tape
drive is on. )
Here's the relevent part from ps -aux
USER PID %CPU %MEM SIZE RSS TTY STAT START TIME COMMAND
root 166 0.1 1.2 49 184 pp2 D 22:18 0:01 dd if /dev/nst0 of tf.0
Note that the process is in uninterruptable sleep. I need to reboot
the system in order to use the drive again.
The same behavior happens with dd and tar -xvf under Linux 1.2.1
(the version on which I discovered the problem)
Under 1.2.1, tar df /dev/st0 reported only trivial differences between
the tape archive and the disk file system. Thus I believe that the
tape was read to completion and that the tape contents are fine.
The time to hang varies (apparently random).
Once it happened at the instant I ran a locksreen program under X.
Please let me know what I can do to help solve this problem.
Mat Watson
matw@halcyon.com
P.S. Here's a list of system vitals ...
Pentium P90 system (ASUS PCI/I-P54TP4)
2GB DAT scsi tape drive (Exabyte 4200c)
On board NCR 53c810 controller chip
/proc/version:
Linux version 1.2.13 (root@kuroneko) (gcc version 2.6.3) #2 Mon Aug 14 10:16:05 PDT 1995
/proc/cpuinfo
cpu : 586
model : Pentium 90/100
mask : E
vid : GenuineIntel
fdiv_bug : no
math : yes
hlt : yes
wp : yes
Integrated NPU : yes
Enhanced VM86 : yes
IO Breakpoints : yes
4MB Pages : yes
TS Counters : yes
Pentium MSR : yes
Mach. Ch. Exep. : yes
CMPXCHGB8B : yes
BogoMips : 36.08
/proc/kmsg (produces nothing)
/proc/pci
PCI devices found :
Bus 0 Device 0 Function 0.
Host bridge : Intel 82437FX Triton (rev 1).
Bus 0 Device 7 Function 0.
ISA bridge : Intel 82371FB (rev 2).
Bus 0 Device 11 Function 0.
VGA display controller : ATI Mach 32 (rev 2).
Bus 0 Device 12 Function 0.
Old unidentified device : <NULL> <NULL> (rev 0).
kuroneko:/# dmesg
Console: colour EGA+ 80x25, 1 virtual console (max 63)
bios32_init : BIOS32 Service Directory structure at 0x000fb530
bios32_init : BIOS32 Service Directory entry at 0xfb970
pcibios_init : PCI BIOS revision 2.00 entry at 0xfb9a0
Probing PCI hardware.
Calibrating delay loop.. ok - 36.08 BogoMips
Serial driver version 4.11 with no serial options enabled
tty00 at 0x03f8 (irq = 4) is a 16550A
tty01 at 0x02f8 (irq = 3) is a 16550A
lp2 at 0x0278, using polling driver
hda: Maxtor 71260 AT, 1204MB w/256KB Cache, LBA, CHS=612/64/63, MaxMult=16
hdb: TOSHIBA CD-ROM XM-5302TA, ATAPI, CDROM drive
ide0: primary interface on irq 14
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
scsi-ncr53c7,8xx : at PCI bus 0, device 12, function 0
scsi-ncr53c7,8xx : NCR53c810 at memory 0xfb7ff000, io 0xe400, irq 11
scsi0 : using io mapped access
scsi0 : using initiator ID 7
scsi0 : using level active interrupts
scsi0 : burst length 8
scsi0 : using 40MHz SCSI clock
scsi0 : NCR code relocated to 0x1d5b50
scsi0 : test 1 started
scsi0 : NCR53c{7,8}xx (rel 4)
scsi : 1 host.
Vendor: EXABYTE Model: EXB-4200c Rev: 217
Type: Sequential-Access ANSI SCSI revision: 02
Detected scsi tape st0 at scsi0, id 0, lun 0
scsi : detected 1 SCSI tape total.
Memory: 14992k/16384k available (652k kernel code, 384k reserved, 356k data)
This processor honours the WP bit even when in supervisor mode. Good.
Swansea University Computer Society NET3.019
Swansea University Computer Society TCP/IP for NET3.019
IP Protocols: ICMP, UDP, TCP
SLIP: version 0.8.3-NET3.019-NEWTTY (4 channels) (6 bit encapsulation enabled)
NE*000 ethercard probe at 0x300: 00 40 33 2b ff e4
eth0: NE2000 found at 0x300, using IRQ 12.
ne.c:v1.10 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Checking 'hlt' instruction... Ok.
Linux version 1.2.13 (root@kuroneko) (gcc version 2.6.3) #2 Mon Aug 14 10:16:05 PDT 1995
Partition check:
hda: multiple mode turned off
hda: hda1 hda2 hda3 hda4
VFS: Mounted root (ext2 filesystem) readonly.
Adding Swap: 34268k swap-space
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
scsi : aborting command due to timeout : pid 7316, scsi0, id 0, lun 0 Read (6) 01 00 00 40 00
scsi0 : DANGER : command in running list, can not abort.