linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stefan <gentoopower@yahoo.de>
To: Tejun Heo <htejun@gmail.com>
Cc: Robert Hancock <hancockr@shaw.ca>, linux-ide@vger.kernel.org
Subject: Re: System freezes with kernel >2.6.19 - sata_nv [added crash info kern 2.6.21.1]
Date: Wed, 02 May 2007 01:27:38 +0200	[thread overview]
Message-ID: <4637CCEA.8020202@yahoo.de> (raw)
In-Reply-To: <4636A4DC.8070606@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2323 bytes --]

Tejun Heo wrote:
> Robert Hancock wrote:
>   
>> Tejun Heo wrote:
>>     
>>> Stefan wrote:
>>>       
>>>> Hi folks,
>>>>
>>>> yesterday I upgraded  kernel 2.6.19 to 2.6.20 (gentoo kernel). Now my
>>>> box locks up about 10 min after boot.
>>>> After that I tested with a vanilla 2.6.21.1 it shows the same behavior.
>>>> I'm attaching a kern log file from the 2.6.20. The 2.6.21.1 locked up so
>>>> hard, that there was no trace left in the log file.
>>>> If I switch back to 2.6.19 everything is fine again.
>>>> If necessary I will hook up a laptop to this box, so I can capture
>>>> messages via netconsole.
>>>>         
>>> Yes please.
>>>       


Okay, I had time to set this up. I'm attaching the log messages I got
via netconsole.

>>>       
>>>> This machine is running an AMD X2 64, NFORCE4 (ASUS A8N-E)
>>>>
>>>> I haven't been following the development of libata for a while, but from
>>>> the 2.6.20 changelog It looks like there have been some major changes.
>>>>
>>>> Just let me know what kind of information you need in order to narrow it
>>>> down.
>>>>         
>>> Does giving 'sata_nv.adma=0' kernel parameter make any difference?
>>>       

I tested about 20h with adma disabled, the crash won't occur.

If I remove

sata_nv.adma=0

from boot options again it doesn't take long until my machine locks up.

[Attached dmesg output with 2.6.21.1 kernel + crash info I got via
netconsole]


I hope this is useful to you guys.

Cheers Stefan

>> If adma=0 words, then that means it's either an ADMA related problem or
>> that SAMSUNG HD401LJ drive has some problems with NCQ (since ADMA off
>> means NCQ off as well). I would say the latter is more likely.
>>     
>
> I don't have first hand experience with the particular model but I'll be
> surprised if they screwed their firmware up with new generation of
> harddisks.  Firmware on the previous generation drives was pretty good
> and they don't get worse usually.
>
>   
>> We should really have some kind of "noncq" kernel parameter we can use
>> to help debugging these problems. Though, later kernels are supposed to
>> switch it off automatically after too many errors..
>>     
>
> Till now there hasn't been any case where a broken NCQ prevented a
> machine from booting but, yeah, having such thing would be nice for
> debugging.
>
>   


[-- Attachment #2: bootlog.txt.gz --]
[-- Type: application/x-tar, Size: 7502 bytes --]

[-- Attachment #3: crashtrace.txt.gz --]
[-- Type: application/x-tar, Size: 1250 bytes --]

  reply	other threads:[~2007-05-01 23:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-29 22:27 System freezes with kernel >2.6.19 - sata_nv Stefan
2007-04-30 10:04 ` Tejun Heo
2007-04-30 23:44   ` Robert Hancock
2007-05-01  2:24     ` Tejun Heo
2007-05-01 23:27       ` Stefan [this message]
2007-05-01 23:57         ` System freezes with kernel >2.6.19 - sata_nv [added crash info kern 2.6.21.1] Robert Hancock
2007-05-02 11:41           ` Tejun Heo
2007-05-02 22:04             ` Stefan
2007-05-02 23:46               ` Robert Hancock
2007-05-13 19:33             ` Stefan
2007-05-01  0:19   ` System freezes with kernel >2.6.19 - sata_nv Stefan

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=4637CCEA.8020202@yahoo.de \
    --to=gentoopower@yahoo.de \
    --cc=hancockr@shaw.ca \
    --cc=htejun@gmail.com \
    --cc=linux-ide@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;
as well as URLs for NNTP newsgroup(s).