for example:
mt -f /dev/st0 status
/dev/st0: Input/output error
mt -f /dev/nst0 status
/dev/nst0: Input/output error
when I run command without a tape in I get:
mt -f /dev/nst0 status
SCSI 2 tape drive: File number=-1, block number=-1, partition=0. Tape block size 0 bytes. Density code 0x0 (default). Soft error count since last status=0 General status bits on (50000): DR_OPEN IM_REP_EN-Tape drive: HP SureStore T4i
-Linux 2.6.9-1.667 i686 GNU/Linux
______________________________________________________________________________________
Command dmesg | grep scsi, shows:
scsi: ***** BusLogic SCSI Driver Version 2.1.16 of 18 July 2002 ***** scsi: Copyright 1995-1998 by Leonard N. Zubkoff <lnz@xxxxxxxxxxxxx> scsi0: Configuring BusLogic Model BT-930 PCI Ultra SCSI Host Adapter scsi0: Firmware Version: 5.02, I/O Address: 0x2400, IRQ Channel: 11/Level scsi0: PCI Bus: 0, Device: 16, Address: 0x41300000, Host Adapter SCSI ID: 7 scsi0: Parity Checking: Enabled, Extended Translation: Enabled scsi0: Synchronous Negotiation: Fast, Wide Negotiation: Disabled scsi0: Disconnect/Reconnect: Enabled, Tagged Queuing: Enabled scsi0: Driver Queue Depth: 255, Scatter/Gather Limit: 128 segments scsi0: Tagged Queue Depth: Automatic, Untagged Queue Depth: 3 scsi0: SCSI Bus Termination: Enabled, SCAM: Disabled scsi0: *** BusLogic BT-930 Initialized Successfully *** scsi0 : BusLogic BT-930 Attached scsi tape st0 at scsi0, channel 0, id 4, lun 0------------------------------------------------------------------------------------Command lsmod, reveals:
Module--------------------------------------------------------------------------------Size Used by parport_pc 24705 1 lp 11565 0 parport 41737 2 parport_pc,lp autofs4 24005 0 i2c_dev 10433 0 i2c_core 22081 1 i2c_dev sunrpc 160421 1 md5 4033 1 ipv6 232577 12 uhci_hcd 31449 0 e100 39364 0 mii 4673 1 e100 floppy 58609 0 st 34781 0 BusLogic 71645 0 scsi_mod 118417 2 st,BusLogic dm_snapshot 17029 0 dm_zero 2369 0 dm_mirror 23341 2 ext3 116809 2 jbd 74969 1 ext3 dm_mod 54741 6 dm_snapshot,dm_zero,dm_mirror -------------------------------------------------------------------------------- /proc/scsi/scsi: Attached devices: Host: scsi0 Channel: 00 Id: 04 Lun: 00 Vendor: HP Model: T4000s Rev: 1.07 Type: Sequential-Access ANSI SCSI revision: 02 -------------------------------------------------------------------------------- /proc/interrupts: CPU0 0: 172064414 XT-PIC timer 1: 694 XT-PIC i8042 2: 0 XT-PIC cascade 8: 1 XT-PIC rtc 11: 695379 XT-PIC BusLogic BT-930, uhci_hcd, eth0 12: 48430 XT-PIC i8042 14: 249976 XT-PIC ide0 15: 515911 XT-PIC ide1 NMI: 0 ERR: 0
If you need any more info, please let me know.
Any ideas greatly appreciated.
ERS