From: Soeren Sonnenburg <kernel@nn7.de>
To: Alexey Dobriyan <adobriyan@gmail.com>
Cc: jgarzik@pobox.com, linux-kernel@vger.kernel.org
Subject: Re: SATA: Assertion failed! qc->flags & ATA_QCFLAG_ACTIVE,drivers/scsi/libata-core.c,ata_qc_complete,line=3052
Date: Fri, 08 Jul 2005 09:46:34 +0200 [thread overview]
Message-ID: <1120808794.4399.4.camel@localhost> (raw)
In-Reply-To: <200507071243.39080.adobriyan@gmail.com>
On Thu, 2005-07-07 at 12:43 +0400, Alexey Dobriyan wrote:
> On Thursday 07 July 2005 12:04, Soeren Sonnenburg wrote:
> > with hddtemp regularly polling for the temperature state together with
> > libsata from kernel 2.6.12 on a promise tx2. The disk is set to go to
> > sleep mode (hdparm -S 35 /dev/sda). And after a couple of hours the
> > machine oopsed (the disk was sleeping/not mounted at that time - with
> > high probability) :
> >
> > ata2: command timeout
> > ata2: translated ATA stat/err 0xb0/00 to SCSI SK/ASC/ASCQ 0xb/47/00
> > Assertion failed! qc->flags & ATA_QCFLAG_ACTIVE,drivers/scsi/libata-core.c,ata_qc_complete,line=3052
> > ata2: translated ATA stat/err 0xb0/00 to SCSI SK/ASC/ASCQ 0xb/47/00
> > ata2: status=0xb0 { Busy }
> > Unable to handle kernel NULL pointer dereference at virtual address 00000000
>
> > EIP: 0060:[<c0118eac>] Tainted: P VLI
>
> > I am now trying w/o hddtemp, lets see how long it survives...
>
> With untainted kernel, please. To be sure it's our problem.
Ok, I've found a way to reproduce it without loading any prop. stuff.
1. boot with init=/bin/sh
2. run hdparm -S 1 /dev/sda
3. run hddtemp /dev/sda
4. immediate oops
another hang:
1. boot with init=/bin/sh
2. run hdparm -y /dev/sda
Nevertheless, as promised I rand without hddtemp for about a day. I got
this single error:
ata2: translated ATA stat/err 0x25/00 to SCSI SK/ASC/ASCQ 0x4/00/00
ata2: status=0x25 { DeviceFault CorrectedError Error }
SCSI error : <1 0 0 0> return code = 0x8000002
sda: Current: sense key: Hardware Error
Additional sense: No additional sense information
end_request: I/O error, dev sda, sector 240910336
I will reverse apply the patch and proceed w/o hddtemp/hdparm... lets
see whether it survives this night.
Soeren
--
Sometimes, there's a moment as you're waking, when you become aware of
the real world around you, but you're still dreaming.
next prev parent reply other threads:[~2005-07-08 7:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-07 8:04 SATA: Assertion failed! qc->flags & ATA_QCFLAG_ACTIVE,drivers/scsi/libata-core.c,ata_qc_complete,line=3052 Soeren Sonnenburg
2005-07-07 8:43 ` Alexey Dobriyan
2005-07-07 8:40 ` Soeren Sonnenburg
2005-07-08 7:46 ` Soeren Sonnenburg [this message]
2005-07-10 22:34 ` Soeren Sonnenburg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1120808794.4399.4.camel@localhost \
--to=kernel@nn7.de \
--cc=adobriyan@gmail.com \
--cc=jgarzik@pobox.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox