From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Qu8FY-0005UA-As for garchives@archives.gentoo.org; Thu, 18 Aug 2011 19:27:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 62DD621C227; Thu, 18 Aug 2011 19:27:23 +0000 (UTC) Received: from mail-gy0-f199.google.com (mail-gy0-f199.google.com [209.85.160.199]) by pigeon.gentoo.org (Postfix) with ESMTP id 20CC821C1A0 for ; Thu, 18 Aug 2011 19:26:26 +0000 (UTC) Received: by gyd10 with SMTP id 10so3122373gyd.10 for ; Thu, 18 Aug 2011 12:26:26 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.236.187.1 with SMTP id x1mr416120yhm.8.1313695586374; Thu, 18 Aug 2011 12:26:26 -0700 (PDT) In-Reply-To: <20cf3040ea1c3470b704aacc78ba@google.com> Message-ID: <20cf305e2551c4d75e04aacc9602@google.com> Date: Thu, 18 Aug 2011 19:26:26 +0000 Subject: Re: Re: Re: [gentoo-user] /dev/sda* missing at boot From: frares@gmail.com To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=20cf305e2551c4d74704aacc96ff X-Archives-Salt: X-Archives-Hash: d779147a4f4848b3324736a8266b6577 --20cf305e2551c4d74704aacc96ff Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Em 18/08/2011 16:17, frares@gmail.com escreveu: > Em 18/08/2011 16:13, Michael Mol mikemol@gmail.com> escreveu: > > On Thu, Aug 18, 2011 at 2:59 PM, frares@gmail.com> wrote: > > > > > > Hi, guys > > > > > > It is a shame, I know, but after several years using Gentoo, it is > the first time I try to build a kernel without "genkernel". > > > > > > And now I can't boot to that new kernel, it does not find (and really > do not have a) /dev/sda* root partition ("real-root"); during the boot it > stops, complaining about that, gives me the option to get a shell, from > which I am able to see that there is no /dev/sda* . > > > > > > I have included everything SATA, so it looks like that is not a > kernel problem, but a initramfs issue, I guess. > > > > If you've got a SATA controller, no frills, then all you *really* need > > is AHCI. Build that into your kernel if you're worried about having > > the right modules in initramfs. You can break it out into a module > > later if you like. Opinions differ as to how much stuff should be > > broken into modules vs being built-in to the kernel. I tend to build > > in everything absolutely needed for boot, myself. Some people build in > > just about everything, and some people build in almost nothing. > > There's no "right" way for every use case. > > > > Also, check your BIOS to see if it's running your SATA controller in > > some kind of IDE emulation mode. If it is, disable that. (Some > > motherboards let you choose between "IDE" and "RAID", where "RAID" is > > AHCI mode. Others call IDE mode 'legacy', and still others might > > actually call the AHCI mode 'AHCI') > > > > Motherboards running SATA controllers in IDE emulation mode is an > > incredibly common thing: > > > > 17:18 beh > > 17:18 hda1 turned into sda1 > > 17:19 IRule: Turn SCSI-generic support, or did you > > switch from legacy to AHCI in your BIOS? > > 17:20 shortcircuit: quiet, you > > > > -- > > > > :wq > > > Thanks, gonna try it. > Francisco Forgot to say: I am able to boot the LiveCD and chroot to that partition. Now checking the kernel configuration, there's only SATA_ACARD_AHCI set up as a module, everything else AHCI is included in the kernel. Thanks anyway Francisco --20cf305e2551c4d74704aacc96ff Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Em 18/08/2011 16:17, frares@gmail.com escreveu:
> Em 18/08/2011 16:= 13, Michael Mol mikemol@gmail.com> escreveu:
> > On Thu, Aug = 18, 2011 at 2:59 PM, frares@gmail.com> wrote:
> > >
&= gt; > > Hi, guys
> > >
> > > It is a sham= e, I know, but after several years using Gentoo, it is the first time I try= to build a kernel without "genkernel".
> > >
= > > > And now I can't boot to that new kernel, it does not fin= d (and really do not have a) /dev/sda* root partition ("real-root"= ;); during the boot it stops, complaining about that, gives me the option t= o get a shell, from which I am able to see that there is no /dev/sda* .
> > >
> > > I have included everything SATA, so it= looks like that is not a kernel problem, but a initramfs issue, I guess.> >
> > If you've got a SATA controller, no frill= s, then all you=A0*really* need
> > is AHCI. Build that into you= r kernel if you're worried about having
> > the right module= s in initramfs. You can break it out into a module
> > later if = you like. Opinions differ as to how much stuff should be
> > bro= ken into modules vs being built-in to the kernel. I tend to build
>= > in everything absolutely needed for boot, myself. Some people build i= n
> > just about everything, and some people build in almost not= hing.
> > There's no "right" way for every use cas= e.
> >
> > Also, check your BIOS to see if it's = running your SATA controller in
> > some kind of IDE emulation m= ode. If it is, disable that. (Some
> > motherboards let you choo= se between "IDE" and "RAID", where "RAID" is<= br />> > AHCI mode. Others call IDE mode 'legacy', and still = others might
> > actually call the AHCI mode 'AHCI')
> >
> > Motherboards running SATA controllers in IDE em= ulation mode is an
> > incredibly common thing:
> > <= br />> > 17:18 beh
> > 17:18 hda1 turned into sda1
= > > 17:19 IRule: Turn SCSI-generic support, or did you
> >= ; switch from legacy to AHCI in your BIOS?
> > 17:20 shortcircu= it: quiet, you
> >
> > --
> >
> = > :wq
> >
>
> Thanks, gonna try it.
&g= t;
> Francisco

Forgot to say: I am able to boot the Liv= eCD and chroot to that partition.

Now checking the kernel config= uration, there's only SATA_ACARD_AHCI set up as a module, everything el= se AHCI is included in the kernel.

Thanks anyway

Fran= cisco --20cf305e2551c4d74704aacc96ff--