mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "J.A. Magallón" <jamagallon@ono.com>
To: Linux-Kernel <linux-kernel@vger.kernel.org>
Subject: Re: sata-nv and 790i
Date: Mon, 17 Nov 2008 00:07:11 +0100	[thread overview]
Message-ID: <20081117000711.2de5f9e8@werewolf.home> (raw)
In-Reply-To: <491FB988.50601@kernel.org>

On Sun, 16 Nov 2008 15:11:20 +0900, Tejun Heo <tj@kernel.org> wrote:

> J.A. Magallón wrote:
> > Hi all...
> > 
> > I recently put my hands on a system with an ASUS P5N64 WS Pro mobo:
> > 
> > http://www.asus.com/products.aspx?l1=3&l2=11&l3=653&l4=0&model=2182&modelmenu=1
> > 
> > It has a nForce 790i Ultra SLI chipset, the part for the SATA controller
> > is MCP55.
> > 
> > The problem is that linux seems to fail to read the hard drive on boot.
> > I will explain.
> > 
> > I have tried to install both CentOS 5.2 and Mandriva 2009.0.
> > For CentOS (has a 2.6.18 kernel), the install seems ok, but when I reboot
> > into the just intalled system the kernel hangs just after printing
> > the name of the initrd. Mandriva (2.6.27-rc8) just hungs half the install process.
> > Live versions of both hang on boot saying they can not find the root
> > device.
> > 
> > I have found some messages in the net about the MCP55 in that board not
> > being completeley suppported as AHCI in sata_nv, and that some other
> > boards work puttin the SATA controller in 'compatible' mode (with
> > loss of performance).
> > But I can't find any setting in the P5N64 to put SATA in Compat mode.
> > 
> > Can I do this via some kernel parameters ?
> > Somabody has this board working ? Do current kernels have better support
> > for this chipset ?
> 
> All three flavors of sata_nv's - generic (yours), nf2/3 and ck804 - had
> various detection problems from 2.6.27-rc1.  The problem was that their
> hardresets all worked differently.  2.6.27-rc1 started to favor
> hardresets over softresets and exposed this problem.  While trying to
> fix the problem, because all three flavors unexpectedly showed different
> hardreset behaviors, there were some mistakes.  A proper fix is included
> in upstream and is queued for -stable.  Sorry about the mess.
> 

Thanks for the info. Just a couple more questions (I have to say to our
sysdamins if it can be done or not... :) ).

The point on hardresets clarifies the Mandriva case, where I have an 27-rc8
kernel. But what about the CentOS case ? If problems begun with rc1,
what happens with plain 2.6.18 ? It just doesn't have support for that
controller ? But installer works...

Is this the patch in question:

http://marc.info/?l=linux-kernel&m=122584322811935&w=2
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.27.y.git;a=commitdiff;h=814eb57e1799337d9fbb68f5d838afa507dc014e;hp=7bee179aa2a63087ff80bdd7dcb8bd6da209f359

So I suppose that 2.6.27.5 includes this fix.
Can I guess if a kernel would work looking for this code in the source ?

With this info, I can presume that current Mandriva Cooker would work
(it has a .5 kernel), and could check if CentOS people have backported
it in its updates...or do it myself (some CentOS people listening ...? ).
I probably need to install CentOS, its the 'officially supported' distro in
our department.

TIA

-- 
J.A. Magallon <jamagallon()ono!com>     \               Software is like sex:
                                         \         It's better when it's free
Mandriva Linux release 2009.1 (Cooker) for x86_64
Linux 2.6.27.5-desktop-1mnb (gcc 4.3.2 (GCC) #1 Sun Nov

      reply	other threads:[~2008-11-16 23:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-14 23:47 J.A. Magallón
2008-11-16  6:11 ` Tejun Heo
2008-11-16 23:07   ` J.A. Magallón [this message]

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=20081117000711.2de5f9e8@werewolf.home \
    --to=jamagallon@ono.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

all inboxes | Powered by JetHome®