[1066] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Reading tape spins in kernel 2.0?

daemon@ATHENA.MIT.EDU (Cameron MacKinnon)
Thu Dec 5 03:12:30 1996

Date: 	Thu, 05 Dec 1996 03:11:40 -0500
From: Cameron MacKinnon <mackin@interlog.com>
To: linux-scsi@vger.rutgers.edu


2:45am  up 24 days,  2:57, 15 users,  load average: 0.47, 0.45, 0.37
68 processes: 65 sleeping, 3 running, 0 zombie, 0 stopped
CPU states:  2.1% user, 97.8% system,  0.0% nice,  0.4% idle
Mem:  63416K av, 52928K used, 10488K free, 36844K shrd,  3408K buff
Swap: 112440K av,   180K used, 112260K free                8476K cached

  PID USER     PRI  NI SIZE  RES SHRD STAT %CPU %MEM  TIME COMMAND
29918 root      14   0  784  288  200 R    94.7  0.4 24:47 cat /dev/st0
30007 root       5   0  912  484  304 R     2.3  0.7  0:01 top
20892 root       0   0 16312 11324 1064 S     1.3 17.8 21:08 X :0

Well, my 2.0.20 kernel, up 24 days, is about to go down 8-(

I was on another box, trying to restore a tape:
	rsh [box-with-tape] cat /dev/st0 | tar xzvf -
Alas, the data on the tape wasn't compressed, so gzip barfed, tar
barfed, and the rsh ended (on the tar box, not the cat box). Leaving us
with the cat on the remote machine singing along. Now the tape drive
doesn't think it's busy (no activity, and I can eject the tape). The
Linux box has a different view of things - mt reports the device as
busy, and the cat's doing something. kill and kill -9 are completely
ineffective, so I presume the process is never coming up out of the
kernel for air. Is this normal and expected behavior? How does one kill
such a task?

The details:
Configuring Adaptec (SCSI-ID 6) at IO:330, IRQ 10, DMA priority 5
scsi1 : Adaptec 1542
scsi : 2 hosts.
  Vendor: HP        Model: C1130A            Rev: 3540
  Type:   Processor                          ANSI SCSI revision: 02
  Vendor: WANGTEK   Model: 6130-HS        T  Rev: 4G16
  Type:   Sequential-Access                  ANSI SCSI revision: 02
Detected scsi tape st0 at scsi1, channel 0, id 5, lun 0

The kernel is stock 2.0.20, the 1542 and st drivers are modules. There's
also an Adaptec 2940UW running disks, not a module. The HP 'processor'
is a scanner, for the curious.

Please copy me on responses, as I'm only subscribed to the aic7xxx list.
Thanks in advance.

Message from root: System is going down for reboot NOW!

home help back first fref pref prev next nref lref last post