[6254] in linux-scsi channel archive
ncr53c875j and tape drive problem
daemon@ATHENA.MIT.EDU (webmaster@duluoz.net)
Sat Apr 3 01:21:52 1999
From: webmaster@duluoz.net
To: linux-scsi@vger.rutgers.edu
Date: Fri, 2 Apr 1999 22:10:26 -0800 (PST)
Reply-To: mpg4@vexed.net
All-
I'm having a very odd problem with my Diamond FirePort 40 (an
ncr53c875j chip, drivers from Linux 2.0.36), and an Aiwa Travan tape
drive. Starting from a cold boot, with a tape in the drive at block
0, I do the following:
(my tape device is /dev/st0 and /dev/nst0)
daily backups:
write to /dev/nst0 using dump.
write some more to /dev/nst0, or not...same problem either way
restore a file:
mt -f /dev/st0 tell (to get the current block and rewind the tape)
mt -f /dev/nst0 fsf (some number, or skip this step even)
restore xf /dev/nst0 <some file> (restore the file)
mt -f /dev/nst0 seek ..... (to the end of the last file)
more daily backups, or not...it doesnt' matter
restore again:
mt -f /dev/st0 tell
mt -f /dev/nst0 fsf ... and I get an error 30 seconds (I watch the
clock) into the fsf operation. The SCSI bus resets, and I can no
longer access the tape drive. If I shutdown -r or even hit the reset
button, the SCSI controller (the BIOS) fails to detect the tape drive
at boot up. I need to turn the power off on the computer and restart
in order for the tape drive to be detected.
I've included all of the logs and files that I thought might be
helpful below. Let me know if you need something else. I have three
questions:
1) is there a software solution to this problem?
2) would a separate SCSI card just for the tape drive help?
3) If not, can someone recommend a reliable Travan-4 tape
drive, hopefully not too expensive?
Thanks.
-mike
(This is the log of kernel messages during a failure)
Apr 2 17:22:28 paradise kernel: ncr53c875J-0-<6,0>: FAST-10 SCSI 10.0
MB/s (100
ns, offset 7)
Apr 2 17:42:57 paradise kernel: scsi : aborting command due to
timeout : pid 24
936, scsi0, channel 0, id 0, lun 0 Write (6) 00 c0 48 04 00
Apr 2 17:42:57 paradise kernel: ncr53c8xx_abort: pid=24936
serial_number=24949
serial_number_at_timeout=24949
Apr 2 17:42:57 paradise kernel: ncr53c875J-0: abort ccb=0008a820
(skip)
Apr 2 17:42:58 paradise kernel: SCSI host 0 abort (pid 24936) timed
out - reset
ting
Apr 2 17:42:58 paradise kernel: SCSI bus is being reset for host 0
channel 0.
Apr 2 17:42:58 paradise kernel: ncr53c8xx_reset: pid=24936
reset_flags=2 serial
_number=24949 serial_number_at_timeout=24949
Apr 2 17:42:58 paradise kernel: ncr53c875J-0: restart (scsi reset).
Apr 2 17:42:58 paradise kernel: ncr53c875J-0: copying script
fragments into the
on-board RAM ...
Apr 2 17:43:01 paradise kernel: ncr53c875J-0-<0,0>: FAST-20 WIDE SCSI
40.0 MB/s
(50 ns, offset 16)
Apr 2 17:43:04 paradise kernel: st0: Error 2603007f.
Apr 2 17:43:31 paradise kernel: st0: Error 2603007f.
Apr 2 17:45:20 paradise kernel: st0: Error 2603007f.
(then I restart...here's my system info)
root@paradise:~#cd /proc
root@paradise:/proc#cd scsi
root@paradise:/proc/scsi#ls -l
total 0
dr-xr-xr-x 2 root root 0 Apr 2 17:58 ncr53c8xx
-rw-r--r-- 1 root root 0 Apr 2 17:58 scsi
root@paradise:/proc/scsi#cat scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: QUANTUM Model: XP32275W Rev: LYK8
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 05 Lun: 00
Vendor: PIONEER Model: CD-ROM DR-U12X Rev: 1.04
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 06 Lun: 00
Vendor: AIWA Model: TD-8000 Rev: 0143
Type: Sequential-Access ANSI SCSI revision: 02
root@paradise:/proc/scsi#ls -l ncr53c8xx/
total 0
-rw-r--r-- 1 root root 0 Apr 2 17:58 0
root@paradise:/proc/scsi#cat ncr53c8xx/0
General information:
Chip NCR53C875J, device id 0x8f, revision id 0x4
IO port address 0xec00, IRQ number 15
Using memory mapped IO at virtual address 0x4805f00
Synchronous period factor 12, max commands per lun 4
Profiling information:
num_trans = 4631
num_kbytes = 15358
num_disc = 4407
num_break = 531
num_int = 561
num_fly = 4631
ms_setup = 400
ms_data = 9850
ms_disc = 76230
ms_post = 130
root@paradise:/proc/scsi#cd /var/log
root@paradise:/var/log#cat dmesg
Memory: sized by int13 088h
Console: 16 point font, 400 scans
Console: colour VGA+ 80x25, 1 virtual console (max 63)
pcibios_init : BIOS32 Service Directory structure at 0x000fdb70
pcibios_init : BIOS32 Service Directory entry at 0xfdb80
pcibios_init : PCI BIOS revision 2.10 entry at 0xfdba1
Probing PCI hardware.
Calibrating delay loop.. ok - 264.60 BogoMIPS
Memory: 63280k/65536k available (684k kernel code, 384k reserved, 1188k data)
Swansea University Computer Society NET3.035 for Linux 2.0
NET3: Unix domain sockets 0.13 for Linux NET3.035.
Swansea University Computer Society TCP/IP for NET3.034
IP Protocols: ICMP, UDP, TCP
VFS: Diskquotas version dquot_5.6.0 initialized
Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Checking 'hlt' instruction... Ok.
Linux version 2.0.36 (root@paradise.duluoz.net) (gcc version 2.7.2.3) #1 Fri Apr 2 16:42:36 PST 1999
Starting kswapd v 1.4.2.2
Serial driver version 4.13 with no serial options enabled
tty01 at 0x02f8 (irq = 3) is a 16550A
tty02 at 0x03e8 (irq = 4) is a 16550A
Ramdisk driver initialized : 16 ramdisks of 4096K size
loop: registered device at major 7
ide: i82371 PIIX (Triton) on PCI bus 0 function 57
ide: ports are not enabled (BIOS)
ide2: ports already in use, skipping probe
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
NCR53c406a: no available ports found
ncr53c8xx: at PCI bus 0, device 20, function 0
ncr53c8xx: 53c875J detected
ncr53c875J-0: rev=0x04, base=0xfebfff00, io_port=0xec00, irq=15
ncr53c875J-0: ID 7, Fast-20, Parity Checking
ncr53c875J-0: on-board RAM at 0xfebfe000
ncr53c875J-0: restart (scsi reset).
ncr53c875J-0: copying script fragments into the on-board RAM ...
scsi0 : ncr53c8xx - revision 2.5f.1
scsi : 1 host.
ncr53c875J-0-<0,0>: using tagged command queueing, up to 4 cmds/lun
Vendor: QUANTUM Model: XP32275W Rev: LYK8
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
Vendor: PIONEER Model: CD-ROM DR-U12X Rev: 1.04
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 5, lun 0
Vendor: AIWA Model: TD-8000 Rev: 0143
Type: Sequential-Access ANSI SCSI revision: 02
Detected scsi tape st0 at scsi0, channel 0, id 6, lun 0
scsi : detected 1 SCSI tape 1 SCSI cdrom 1 SCSI disk total.
ncr53c875J-0-<0,0>: FAST-20 WIDE SCSI 40.0 MB/s (50 ns, offset 16)
SCSI device sda: hdwr sector= 512 bytes. Sectors= 4445380 [2170 MB] [2.2 GB]
eth0: 3c509 at 0x300 tag 1, 10baseT port, address 00 20 af 05 62 67, IRQ 10.
3c509.c:1.16 2/3/98 becker@cesdis.gsfc.nasa.gov
Partition check:
sda: sda1 sda2 < sda5 sda6 sda7 sda8 >
VFS: Mounted root (ext2 filesystem) readonly.
Adding Swap: 65992k swap-space (priority -1)
Detected scsi tape st0 at scsi0, channel 0, id 6, lun 0
Unable to get major 9 for SCSI tapes
(I never noticed this last line until just now. Possibly this is part
of the problem?)
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu