Article View: comp.os.linux.hardware
Article #684HELP: st: Error: 28000002 (Adaptec 2940/Sun DDS 3 DAT)
From: paulsharpe
Date: Wed, 01 Sep 1999 00:00
Date: Wed, 01 Sep 1999 00:00
76 lines
3320 bytes
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.
Technical Details
Message-ID:
<7qitpb$940$1@nnrp1.deja.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 160178,90124b44c3781050,start X-Google-Attributes: gid160178,public X-Google-Thread: fbad3,90124b44c3781050,start X-Google-Attributes: gidfbad3,public X-Google-Thread: 102b32,90124b44c3781050,start X-Google-Attributes: gid102b32,public From: paulsharpe@my-deja.com Subject: HELP: st: Error: 28000002 (Adaptec 2940/Sun DDS 3 DAT) Date: 1999/09/01 Message-ID: <7qitpb$940$1@nnrp1.deja.com> X-Deja-AN: 519661673 X-Http-Proxy: 1.0 x39.deja.com:80 (Squid/1.1.22) for client 194.112.45.108 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Wed Sep 01 10:05:35 1999 GMT X-MyDeja-Info: XMYDJUIDpaulsharpe Newsgroups: comp.os.linux.hardware,fa.linux.scsi,comp.periphs.scsi X-Http-User-Agent: Mozilla/4.51 [en] (WinNT; I)