🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.linux.hardware
1 messages
1 total messages Started by paulsharpe Wed, 01 Sep 1999 00:00
HELP: st: Error: 28000002 (Adaptec 2940/Sun DDS 3 DAT)
#684
Author: paulsharpe
Date: Wed, 01 Sep 1999 00:00
76 lines
3320 bytes
Kernel: 2.2.5-15 (RedHat 6.0 i686)
SCSI:   PCI Adaptec 2940UW
DAT:    Sun 12-24 Gbyte 4mm DDS-3 (HP C1537A)

All looks to be fine when my PC boots (see first block of
diagnostics).  However when I send a command to the tape drive I get
some errors (I compiled st.c with debugging - see second block of
diagnostics) and the command hangs. e.g. 'mt -f /dev/st0 offline'
ejects the tape but hangs and 'ps -l' shows the following:

  F   UID   PID  PPID PRI  NI   VSZ  RSS WCHAN  STAT TTY       TIME
COMMAND
000     0   612   606   0   0  1056  268 head_v D    ttyp0      0:00 mt
-f /dev/st0

Could this be a termination and/or cable problem?

Any help is greatly appreciated.

Paul

## boot diagnostics

...
Aug 31 16:52:44 island kernel: (scsi0:0:4:0) Synchronous at 10.0
Mbyte/sec,offset 15.
Aug 31 16:52:44 island kernel:   Vendor: HP        Model: C1537A
Rev: L706
Aug 31 16:52:44 island kernel:   Type:   Sequential-Access ANSI SCSI
revision: 02
Aug 31 16:52:44 island kernel: Detected scsi tape st0 at scsi0, channel
0, id4, lun 0
Aug 31 16:52:44 island kernel: scsi : detected 1 SCSI tape total.
Aug 31 16:52:44 island kernel: st: Buffer size 32768 bytes, write
threshold 30720 bytes.
Aug 31 16:52:44 island kernel: st: Allocated tape buffer 0 (32768 bytes,
1 segments, dma: 1, a: c0018000).
Aug 31 16:52:44 island kernel: st: segment sizes: first 32768, last
32768 bytes.
Aug 31 16:52:44 island kernel: st: Allocated tape buffer 1 (32768 bytes,
1 segments, dma: 1, a: c0010000).
Aug 31 16:52:44 island kernel: st: segment sizes: first 32768, last
32768 bytes.

...

## end of boot diagnostics



## st.c diagnostics from /var/log/messages

Aug 31 16:59:16 island kernel: st0: Error: 28000002, cmd: 0 0 0 0 0 0
Len: 0
Aug 31 16:59:16 island kernel: extra data not valid Current error
st09:00:
sense key Unit Attention
Aug 31 16:59:16 island kernel: Additional sense indicates Not ready to
ready
transition (medium may have changed)
Aug 31 16:59:16 island kernel: st0: Block limits 1 - 16777215 bytes.
Aug 31 16:59:16 island kernel: st0: Mode sense. Length 11, medium 0, WBS
10,
BLL 8
Aug 31 16:59:16 island kernel: st0: Density 8c, tape length: 0, drv
buffer: 1
Aug 31 16:59:16 island kernel: st0: Block size: 0, buffer size: 32768 (1
blocks).
Aug 31 16:59:16 island kernel: st0: Unloading tape.

## end of st.c diagnostics



Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads