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 1SF7sI-0006rg-Gy for garchives@archives.gentoo.org; Tue, 03 Apr 2012 17:50:34 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 43350E0D90; Tue, 3 Apr 2012 17:50:19 +0000 (UTC) Received: from mail-pz0-f52.google.com (mail-pz0-f52.google.com [209.85.210.52]) by pigeon.gentoo.org (Postfix) with ESMTP id 4ECA8E0824 for ; Tue, 3 Apr 2012 17:48:35 +0000 (UTC) Received: by dake40 with SMTP id e40so3925941dak.11 for ; Tue, 03 Apr 2012 10:48:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=7tL62SFYQWGk2h1HRXTnpYwd0F3gcr7l2+BuUm7OQQI=; b=EFRFNkHT4Ht7ML7qJXAkl5oPxw0tsRtZu3nUSdcBlKRAI0aEVWnYYmlw5b3fEMvaAj iBYbP262aF0KPji++8i0oQV+mGhvqwAjG1hdc5ZI+5Al1eJog65eHelkiSbjLpvFaWQr VXnByIKg2gLKISd1v1G0VUL9rWlH7pA580RUvzhsX2bEoSkPR3uc0M//s/fks3VUleyo JzF4+yiipaT+B6J0rhsuMB96LpnVUiCGT4dcYYnKqDSLffGOAxLN19YEcdTYlITLD+Aj gLMVsloIt2N1hQOdetcl0wf3V++hgeLZuOcxXPJtJGOkliW92ki706HloHICxrYodgBm ndVw== 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.68.125.195 with SMTP id ms3mr30056955pbb.62.1333475314485; Tue, 03 Apr 2012 10:48:34 -0700 (PDT) Received: by 10.68.221.103 with HTTP; Tue, 3 Apr 2012 10:48:34 -0700 (PDT) In-Reply-To: <4F7AF959.4090804@gmail.com> References: <20120327142646.GB3754@acm.acm> <20120327223544.GC3437@acm.acm> <20120328005520.140b8fd6@khamul.example.com> <20120328140132.GA3546@acm.acm> <20120328155636.5296a82d@hactar.digimed.co.uk> <20120328170733.GA27818@acm.acm> <4F73C0B6.9090002@gmail.com> <4F73CB46.3080009@gmail.com> <4F74C2FE.3030704@gmail.com> <4F795818.4080901@gmail.com> <20120402230811.6470ee83@digimed.co.uk> <4F7A2674.6030601@gmail.com> <4F7A422C.2080600@gmail.com> <4F7A5025.9000602@gmail.com> <4F7A5B93.9000408@gmail.com> <4F7AF11B.3040907@kutulu.org> <4F7AF959.4090804@gmail.com> Date: Tue, 3 Apr 2012 12:48:34 -0500 Message-ID: Subject: Re: [gentoo-user] Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs? From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 536edba0-8bca-4ff2-a789-68af6ae3f386 X-Archives-Hash: b3c7e327362844adc8a51bd054aebad3 On Tue, Apr 3, 2012 at 8:21 AM, Dale wrote: > Mike Edenfield wrote: > >> It was the debug stuff; every line that look like >> >> "dracut: + stuff here" >> >> was debugging information; AFAICT dracut mounted /dev/sda3 as root then >> it mounted the two other partitions it found. >> >> But this could be a problem (from your other email): >> >> root@fireball / # dracut -H -f /boot/init-thingy >> E: Dracut module "lvm" cannot be found. >> E: Dracut module "lvm" cannot be found. >> >> dracut couldn't find it's lvm module, even though your USE flags are set >> correctly. Can you try re-emerging dracut with its current USE flags? >> >> You should have a folder in /usr/lib/dracut/modules named 'lvm' that has >> a 'module-setup.sh' script in it, plus probably some other support >> files, if everything got installed correctly. >> >> --Mike >> >> > > > I have re-emerged dracut several times and it still gives the same > error. =C2=A0I even tried changing versions once to see if it was a bug o= r > something. =C2=A0I found others with errors for other modules but no one > posted a fix. =C2=A0It's a head scratcher for sure. > > Since lvm is not needed for booting YET, I think my main problem is the > kernel and lvm. =C2=A0Now, even if I boot with the old kernel and no init > thingy, I have to restart lvm before it will let me mount my /data > partition. =C2=A0I think when I added the needed stuff for dracut and the > init thingy, it messed up something for lvm. =C2=A0I can't put my finger = on > what yet tho. > > The directory you mentions is there and there is all sorts of goodies in > there. =C2=A0I'm not sure why dracut is not finding it. I do. I don't use LVM, so i didn't had neither USE=3Ddevice-mapper, nor DRACUT_MODULES=3Dlvm, so I add them. Then I tried to create my initramfs with LVM, and like in your case, it failed. Using the --debug option for dracut, it *seems* (it's really verbose and I didn't read everything), it seems that it doesn't "find" the lvm module not because it's not there, but because I actually don't have any LVM volumes. So I removed the -H option for dracut to stop looking at my host status, and lo and behold, it included the LVM module. So please, try that. If it works, then there is two options: 1. Dracut has a bug that stops it from detecting your host LVM status; maybe it only checks the "important" or standard partitions, or maybe the checking process itself has a bug. 2. Your LVM configuration (while it works) it's not "canonically" detectabl= e. Either case, please try re-creating your dracut initramfs without the -H option. I think that's the last problem (the other "problem" was that you got scared with the humongous debug output that dracut generates with dr.debug), and so we can then finally put this case to rest. Regards. --=20 Canek Pel=C3=A1ez Vald=C3=A9s Posgrado en Ciencia e Ingenier=C3=ADa de la Computaci=C3=B3n Universidad Nacional Aut=C3=B3noma de M=C3=A9xico