Skip to contentSkip to conversation

Kernel Panic

parisc-linux marc 2 participants 2 messages Sep 7, 2002

lore
Share & tools
lore

marc

author
#0 lore raw

Okay, I've upgraded from the .iso image off of debian.org. Now, I'm getting stranger errors with my tape drive. It looks like the st is no longer a loadable kernel module? Anyways, any help is appreciated.

(none):~# lsmod
Module                  Size  Used by    Not tainted
(none):~# insmod st
insmod: st: no module by that name found
(none):~# cat /proc/scsi/scsi
Attached devices: 
Host: scsi0 Channel: 00 Id: 05 Lun: 00
  Vendor: SEAGATE  Model: ST34371W         Rev: HP03
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 06 Lun: 00
  Vendor: SEAGATE  Model: ST32171W         Rev: HP03
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 01 Lun: 00
  Vendor: SONY     Model: SDT-7000         Rev: 0150
  Type:   Sequential-Access                ANSI SCSI revision: 02
(none):~# ls /dev/st*
/dev/st0   /dev/st0l  /dev/st1	 /dev/st1l  /dev/stderr  /dev/stdout
/dev/st0a  /dev/st0m  /dev/st1a  /dev/st1m  /dev/stdin
(none):~# ls nst*
/dev/nst0   /dev/nst0l	/dev/nst1   /dev/nst1l
/dev/nst0a  /dev/nst0m	/dev/nst1a  /dev/nst1m
(none):~# tar -cvpf /dev/st0 /home
st0: Block limits 1 - 16777215 bytes.
tar: Removing leading `/' from member names
home/
home/lost+found/
home/marc/
home/marc/.bashrc
home/marc/.bash_profile
st0: Error on write filemark.
st0: Error with sense data: Current st09:00: sns = 70  4
ASC=44 ASCQ= 0
Raw sense data:0x70 0x00 0x04 0x00 0x00 0x00 0x00 0x12 0x00 0x00 0x00 0x00 0x44 
0x00 0x00 0x00 0xa3 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
tar: /dev/st0: Warning: Cannot close: Input/output error
(none):/home/marc# tar -xvpf /dev/st0
tar: /dev/st0: Cannot read: Input/output error
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now
#1 lore raw
Quoted 1 line · marc

It looks like the st is no longer a loadable kernel module?

Right. It's not:
CONFIG_CHR_DEV_ST=y

See arch/parisc/debian-configs/* for default configs.

Quoted 7 lines

st0: Error on write filemark.
st0: Error with sense data: Current st09:00: sns = 70 4
ASC=44 ASCQ= 0
Raw sense data:0x70 0x00 0x04 0x00 0x00 0x00 0x00 0x12 0x00 0x00 0x00 0x00 0x
44
0x00 0x00 0x00 0xa3 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
tar: /dev/st0: Warning: Cannot close: Input/output error

Seagate (and other vendors) publishes the subset of SCSI spec they implement. It includes Sense Key/ASC/ASCQ encodings.
Look for "scsi2_seagate.pdf" on www.seagate.com web site.

Sense Key = 0x04 == "Hardware Error"
ASC/ASCQ = 0x44/0 == "Internal Target Failure"

You need to find the programming manual for your tape device and hopefully it explains exactly what this means.

grant