Re: Sense data errors trying to read from tape - 2.6.14-gentoo-r5

From: Kai Makisara
Date: Tue May 23 2006 - 14:11:08 EST


On Tue, 23 May 2006, James Lamanna wrote:

> On 5/23/06, James Lamanna <jlamanna@xxxxxxxxx> wrote:
> > Was trying to do an 'amrestore /dev/nst0' when I received the following
> > OOPS:
> >
>
> [SNIP]
>
> > I've also had problems restoring large XFS partitions off of tape
> > (amrestore returns with input/output errors), but I'm not sure whether
> > that is kernel or userspace related (no errors in dmesg or anything).
> > In that case, amrestore did not have any problems restoring TAR-ed
> > filesystems from tape (that was with 2.6.14-gentoo-r5).
> >
>
> [SNIP]
>
> As a follow-up to the above on 2.6.14-gentoo-r5, while trying to
> restore an XFS partition off of the tape (amrestore/dd doesn't oops on
> this kernel) my dmesg fills with the following:
>
> st0: Error with sense data: <6>st0: Current: sense key=0xb
> ASC=0x4b ASCQ=0x0
>
The sense key is "Aborted Command". The ASC and ASCQ fields translate to
"Data phase error".

My first guess is that there are SCSI bus problems (cabling, termination,
etc.).

--
Kai
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/