Re: [gentoo-user] Stupid init thingy. It's on my nerve, again.

2015-03-15 Thread Mike Gilbert
On Sun, Mar 15, 2015 at 5:41 AM, Dale rdalek1...@gmail.com wrote:
 Mike Gilbert wrote:
 On Sat, Mar 14, 2015 at 7:54 PM, Dale rdalek1...@gmail.com wrote:
 Howdy,

 I'm going to try to keep my cool but ya know.  I built me a updated
 kernel, 3.18.9 to be more precise.  A few weeks ago dracut was updated.
 It went to version dracut-041.  Well, it wouldn't build anything.  It
 spit out a bunch of stuff about not finding things that I know is
 installed such as lvm2.  Example below:

  SNIP 

 That version at least builds the init thingy for me to use.  So,
 question.  Why is the old version working but the new version isn't?
 Why is it not finding lvm2 when I know it is installed because
 everything but /boot and / is on lvm?  Why does it seem like I went
 through this once before?

 The dracut module for lvm is called 'lvm', not 'lvm2'. Do you have
 something like dracutmodules+=lvm2 in dracut.conf?




 I had tried both with no change.  I did notice this tho when trying the
 new version again.

 [ebuild U ~] sys-kernel/dracut-041::gentoo [034-r4::gentoo]
 USE=-debug (-selinux) -systemd% (-device-mapper%*) (-net%)
 DRACUT_MODULES=(-biosdevname%) (-bootchart%) (-btrfs%) (-caps%)
 (-cifs%) (-crypt%) (-crypt-gpg%) (-crypt-loop%) (-dash%) (-dmraid%)
 (-dmsquash-live%) (-gensplash%) (-iscsi%) (-livenet%) (-lvm%) (-mdraid%)
 (-multipath%) (-nbd%) (-nfs%) (-plymouth%) (-ssh-client%) (-syslog%)
 (-systemd%)
E: dracut module 'lvm2' cannot be found or installed.
 It seems that everything is disabled regardless of what I put in
 make.conf or dracuts conf file.  So, how does one tell dracut to enable
 lvm?  I don't think I need the other stuff.  Having lvm would be nice
 tho.  ;-)  It seems to work with the old version just fine but this new
 version has something different.  I couldn't find anything in the build
 log file to give me a hint.  Forums didn't help any either, although I
 did find a post with the same question I am asking.  Just no answer.  :/


In older versions of the dracut ebuild (sys-kernel/dracut-036),
DRACUT_MODULES was used to select which modules to install.

In newer versions, DRACUT_MODULES is no longer used; instead, all
modules are installed every time. That's why you see all the flags in
parentheses: the flags have been removed from the ebuild, but they are
effectively enabled now.

Back to your logs, both of them say they cannot find the 'lvm2'
module. This makes sense because 'lvm2' is not a valid dracut module.
It seems like 034 just ignores this error, carrying on with building a
possibly broken initramfs.

As far as I can tell, the only way for that missing module message to
show up is if you have that non-existing module listed in some dracut
config file somewhere. You should check for stale files in
/etc/dracut/dracut.conf.d, and in /usr/lib/dracut/dracut.conf.d.
Remove any reference to the 'lvm2' module in the dracutmodules or
add_dracutmodules variables.

If you still can't get it working, post the output of dracut --debug
foo.img somewhere please. Let's stick with dracut-041; I'm not
interested in debugging an older version.



Re: [gentoo-user] Stupid init thingy. It's on my nerve, again.

2015-03-15 Thread Dale
Mike Gilbert wrote:
 On Sat, Mar 14, 2015 at 7:54 PM, Dale rdalek1...@gmail.com wrote:
 Howdy,

 I'm going to try to keep my cool but ya know.  I built me a updated
 kernel, 3.18.9 to be more precise.  A few weeks ago dracut was updated.
 It went to version dracut-041.  Well, it wouldn't build anything.  It
 spit out a bunch of stuff about not finding things that I know is
 installed such as lvm2.  Example below:

  SNIP 

 That version at least builds the init thingy for me to use.  So,
 question.  Why is the old version working but the new version isn't?
 Why is it not finding lvm2 when I know it is installed because
 everything but /boot and / is on lvm?  Why does it seem like I went
 through this once before?

 The dracut module for lvm is called 'lvm', not 'lvm2'. Do you have
 something like dracutmodules+=lvm2 in dracut.conf?




I had tried both with no change.  I did notice this tho when trying the
new version again.

[ebuild U ~] sys-kernel/dracut-041::gentoo [034-r4::gentoo]
USE=-debug (-selinux) -systemd% (-device-mapper%*) (-net%)
DRACUT_MODULES=(-biosdevname%) (-bootchart%) (-btrfs%) (-caps%)
(-cifs%) (-crypt%) (-crypt-gpg%) (-crypt-loop%) (-dash%) (-dmraid%)
(-dmsquash-live%) (-gensplash%) (-iscsi%) (-livenet%) (-lvm%) (-mdraid%)
(-multipath%) (-nbd%) (-nfs%) (-plymouth%) (-ssh-client%) (-syslog%)
(-systemd%) 

It seems that everything is disabled regardless of what I put in
make.conf or dracuts conf file.  So, how does one tell dracut to enable
lvm?  I don't think I need the other stuff.  Having lvm would be nice
tho.  ;-)  It seems to work with the old version just fine but this new
version has something different.  I couldn't find anything in the build
log file to give me a hint.  Forums didn't help any either, although I
did find a post with the same question I am asking.  Just no answer.  :/

Thanks.

Dale

:-)  :-) 




Re: [gentoo-user] Stupid init thingy. It's on my nerve, again.

2015-03-15 Thread Dale
Mike Gilbert wrote:
 In older versions of the dracut ebuild (sys-kernel/dracut-036),
 DRACUT_MODULES was used to select which modules to install.

 In newer versions, DRACUT_MODULES is no longer used; instead, all
 modules are installed every time. That's why you see all the flags in
 parentheses: the flags have been removed from the ebuild, but they are
 effectively enabled now.

 Back to your logs, both of them say they cannot find the 'lvm2'
 module. This makes sense because 'lvm2' is not a valid dracut module.
 It seems like 034 just ignores this error, carrying on with building a
 possibly broken initramfs.

 As far as I can tell, the only way for that missing module message to
 show up is if you have that non-existing module listed in some dracut
 config file somewhere. You should check for stale files in
 /etc/dracut/dracut.conf.d, and in /usr/lib/dracut/dracut.conf.d.
 Remove any reference to the 'lvm2' module in the dracutmodules or
 add_dracutmodules variables.

 If you still can't get it working, post the output of dracut --debug
 foo.img somewhere please. Let's stick with dracut-041; I'm not
 interested in debugging an older version.



Well, this is sort of weird but I guess they changed how dracut is set
up completely as you said.  I ended up just commenting EVERYTHING out
but the log file part and now I think it works.  I get this:

root@fireball / # dracut --force /boot/initramfs-3.18.9-1.img
Executing: /usr/bin/dracut --force /boot/initramfs-3.18.9-1.img
*** Including module: bash ***
*** Including module: i18n ***
*** Including module: kernel-modules ***
*** Including module: resume ***
*** Including module: rootfs-block ***
*** Including module: terminfo ***
*** Including module: udev-rules ***
Skipping udev rule: 91-permissions.rules
Skipping udev rule: 80-drivers-modprobe.rules
*** Including module: usrmount ***
*** Including module: base ***
*** Including module: fs-lib ***
*** Including module: shutdown ***
*** Including modules done ***
*** Installing kernel module dependencies and firmware ***
*** Installing kernel module dependencies and firmware done ***
*** Resolving executable dependencies ***
*** Resolving executable dependencies done***
*** Stripping files ***
*** Stripping files done ***
*** Creating image file ***
*** Creating image file done ***
root@fireball / #

My question now is this, does that build whatever lvm stuff is needed
even tho it doesn't mention it?  I ask because /usr is on a lvm
partition.  It sorta needs that little bit.  ;-)  Maybe I need to add
that bit on the command line or something??

The only dracut conf file I have is in /etc.  I have a dracut.conf.d
directory in /etc but it is empty.  Since it changed how it was working,
or not working, when I edited the file in /etc, I guess it is using that
file for its config. 

Thanks. 

Dale

:-)  :-) 




Re: [gentoo-user] Stupid init thingy. It's on my nerve, again.

2015-03-15 Thread Dale
Mike Gilbert wrote:
 On Sun, Mar 15, 2015 at 7:59 PM, Dale rdalek1...@gmail.com wrote:
 I see lvm stuff with no errors.  I'm pretty clueless on init thingys but
 I think that is a good thing.

 Thoughts?  Am I rebootable again?

 Looks good to me.




Thanks much for the help.  I hate, ummm, HATE, those init thingys.  o_O 

Dale

:-)  :-) 



Re: [gentoo-user] Stupid init thingy. It's on my nerve, again.

2015-03-15 Thread Mike Gilbert
On Sun, Mar 15, 2015 at 7:59 PM, Dale rdalek1...@gmail.com wrote:
 I see lvm stuff with no errors.  I'm pretty clueless on init thingys but
 I think that is a good thing.

 Thoughts?  Am I rebootable again?


Looks good to me.



Re: [gentoo-user] Stupid init thingy. It's on my nerve, again.

2015-03-15 Thread Dale
Dale wrote:
 Mike Gilbert wrote:
 In older versions of the dracut ebuild (sys-kernel/dracut-036),
 DRACUT_MODULES was used to select which modules to install.

 In newer versions, DRACUT_MODULES is no longer used; instead, all
 modules are installed every time. That's why you see all the flags in
 parentheses: the flags have been removed from the ebuild, but they are
 effectively enabled now.

 Back to your logs, both of them say they cannot find the 'lvm2'
 module. This makes sense because 'lvm2' is not a valid dracut module.
 It seems like 034 just ignores this error, carrying on with building a
 possibly broken initramfs.

 As far as I can tell, the only way for that missing module message to
 show up is if you have that non-existing module listed in some dracut
 config file somewhere. You should check for stale files in
 /etc/dracut/dracut.conf.d, and in /usr/lib/dracut/dracut.conf.d.
 Remove any reference to the 'lvm2' module in the dracutmodules or
 add_dracutmodules variables.

 If you still can't get it working, post the output of dracut --debug
 foo.img somewhere please. Let's stick with dracut-041; I'm not
 interested in debugging an older version.


 Well, this is sort of weird but I guess they changed how dracut is set
 up completely as you said.  I ended up just commenting EVERYTHING out
 but the log file part and now I think it works.  I get this:

 root@fireball / # dracut --force /boot/initramfs-3.18.9-1.img
 Executing: /usr/bin/dracut --force /boot/initramfs-3.18.9-1.img
 *** Including module: bash ***
 *** Including module: i18n ***
 *** Including module: kernel-modules ***
 *** Including module: resume ***
 *** Including module: rootfs-block ***
 *** Including module: terminfo ***
 *** Including module: udev-rules ***
 Skipping udev rule: 91-permissions.rules
 Skipping udev rule: 80-drivers-modprobe.rules
 *** Including module: usrmount ***
 *** Including module: base ***
 *** Including module: fs-lib ***
 *** Including module: shutdown ***
 *** Including modules done ***
 *** Installing kernel module dependencies and firmware ***
 *** Installing kernel module dependencies and firmware done ***
 *** Resolving executable dependencies ***
 *** Resolving executable dependencies done***
 *** Stripping files ***
 *** Stripping files done ***
 *** Creating image file ***
 *** Creating image file done ***
 root@fireball / #

 My question now is this, does that build whatever lvm stuff is needed
 even tho it doesn't mention it?  I ask because /usr is on a lvm
 partition.  It sorta needs that little bit.  ;-)  Maybe I need to add
 that bit on the command line or something??

 The only dracut conf file I have is in /etc.  I have a dracut.conf.d
 directory in /etc but it is empty.  Since it changed how it was working,
 or not working, when I edited the file in /etc, I guess it is using that
 file for its config. 

 Thanks. 

 Dale

 :-)  :-) 




I think I typed to fast.  It seems I was still on the older version.  I
thought I had upgraded but it seems I had not.  So, sort of disregard
previous message and look at this one instead, which looks pretty dang
good in my opinion. 

root@fireball / # dracut --force /boot/initramfs-3.18.9-1.img
Executing: /usr/bin/dracut --force /boot/initramfs-3.18.9-1.img
dracut module 'bootchart' will not be installed, because command
'/sbin/bootchartd' could not be found!
dracut module 'dash' will not be installed, because command '/bin/dash'
could not be found!
dracut module 'modsign' will not be installed, because command 'keyctl'
could not be found!
dracut module 'network' will not be installed, because command
'dhclient' could not be found!
dracut module 'plymouth' will not be installed, because command
'plymouthd' could not be found!
dracut module 'plymouth' will not be installed, because command
'plymouth' could not be found!
dracut module 'btrfs' will not be installed, because command 'btrfs'
could not be found!
dracut module 'crypt' will not be installed, because command
'cryptsetup' could not be found!
dracut module 'dmraid' will not be installed, because command 'dmraid'
could not be found!
dracut module 'multipath' will not be installed, because command
'multipath' could not be found!
dracut module 'cifs' will not be installed, because command 'mount.cifs'
could not be found!
dracut module 'fcoe-uefi' will not be installed, because command
'dcbtool' could not be found!
dracut module 'fcoe-uefi' will not be installed, because command
'fipvlan' could not be found!
dracut module 'fcoe-uefi' will not be installed, because command
'lldpad' could not be found!
dracut module 'iscsi' will not be installed, because command
'iscsistart' could not be found!
dracut module 'iscsi' will not be installed, because command
'iscsi-iname' could not be found!
dracut module 'nbd' will not be installed, because command 'nbd-client'
could not be found!
95nfs: Could not find any command of 'rpcbind portmap'!
dracut module 'biosdevname' will not be installed, because command

Re: [gentoo-user] Stupid init thingy. It's on my nerve, again.

2015-03-14 Thread Mike Gilbert
On Sat, Mar 14, 2015 at 7:54 PM, Dale rdalek1...@gmail.com wrote:
 Howdy,

 I'm going to try to keep my cool but ya know.  I built me a updated
 kernel, 3.18.9 to be more precise.  A few weeks ago dracut was updated.
 It went to version dracut-041.  Well, it wouldn't build anything.  It
 spit out a bunch of stuff about not finding things that I know is
 installed such as lvm2.  Example below:

 === Sat Mar 14 16:58:16 CDT 2015 ===

 I: Executing: /usr/bin/dracut -H --force /boot/initramfs-3.18.9-1
 I: dracut module 'bootchart' will not be installed, because command
 '/sbin/bootchartd' could not be found!
 I: dracut module 'dash' will not be installed, because command
 '/bin/dash' could not be found!
 I: dracut module 'modsign' will not be installed, because command
 'keyctl' could not be found!
 I: dracut module 'network' will not be installed, because command
 'dhclient' could not be found!
 I: dracut module 'plymouth' will not be installed, because command
 'plymouthd' could not be found!
 I: dracut module 'plymouth' will not be installed, because command
 'plymouth' could not be found!
 I: dracut module 'btrfs' will not be installed, because command 'btrfs'
 could not be found!
 I: dracut module 'crypt' will not be installed, because command
 'cryptsetup' could not be found!
 I: dracut module 'dmraid' will not be installed, because command
 'dmraid' could not be found!
 I: dracut module 'multipath' will not be installed, because command
 'multipath' could not be found!
 I: dracut module 'cifs' will not be installed, because command
 'mount.cifs' could not be found!
 I: dracut module 'fcoe-uefi' will not be installed, because command
 'dcbtool' could not be found!
 I: dracut module 'fcoe-uefi' will not be installed, because command
 'fipvlan' could not be found!
 I: dracut module 'fcoe-uefi' will not be installed, because command
 'lldpad' could not be found!
 I: dracut module 'iscsi' will not be installed, because command
 'iscsistart' could not be found!
 I: dracut module 'iscsi' will not be installed, because command
 'iscsi-iname' could not be found!
 I: 95nfs: Could not find any command of 'rpcbind portmap'!
 I: dracut module 'biosdevname' will not be installed, because command
 'biosdevname' could not be found!
 I: dracut module 'masterkey' will not be installed, because command
 'keyctl' could not be found!
 E: dracut module 'lvm2' cannot be found or installed.


 Now after all that, it just stops and doesn't build a init thingy.
 Nothing gets added to /boot.  So, I go back to version 034-r4 and it
 works as it should, and has before.  Example:

 === Sat Mar 14 18:23:25 CDT 2015 ===

 I: Executing: /usr/bin/dracut --force /boot/initramfs-3.18.9-1.img
 E: dracut module 'lvm2' cannot be found or installed.
 E: dracut module 'fstab-sys' cannot be found or installed.
 E: dracut module 'lvm2' cannot be found or installed.
 E: dracut module 'fstab-sys' cannot be found or installed.
 I: *** Including module: bash ***
 I: *** Including module: i18n ***
 I: *** Including module: kernel-modules ***
 I: *** Including module: resume ***
 I: *** Including module: rootfs-block ***
 I: *** Including module: terminfo ***
 I: *** Including module: udev-rules ***
 I: Skipping udev rule: 91-permissions.rules
 I: Skipping udev rule: 80-drivers-modprobe.rules
 I: *** Including module: usrmount ***
 I: *** Including module: base ***
 I: *** Including module: fs-lib ***
 I: *** Including module: shutdown ***
 I: *** Including modules done ***
 I: *** Installing kernel module dependencies and firmware ***
 I: *** Installing kernel module dependencies and firmware done ***
 I: *** Resolving executable dependencies ***
 I: *** Resolving executable dependencies done***
 I: *** Stripping files ***
 I: *** Stripping files done ***
 I: *** Creating image file ***
 I: *** Creating image file done ***


 That version at least builds the init thingy for me to use.  So,
 question.  Why is the old version working but the new version isn't?
 Why is it not finding lvm2 when I know it is installed because
 everything but /boot and / is on lvm?  Why does it seem like I went
 through this once before?


The dracut module for lvm is called 'lvm', not 'lvm2'. Do you have
something like dracutmodules+=lvm2 in dracut.conf?



[gentoo-user] Stupid init thingy. It's on my nerve, again.

2015-03-14 Thread Dale
Howdy,

I'm going to try to keep my cool but ya know.  I built me a updated
kernel, 3.18.9 to be more precise.  A few weeks ago dracut was updated. 
It went to version dracut-041.  Well, it wouldn't build anything.  It
spit out a bunch of stuff about not finding things that I know is
installed such as lvm2.  Example below:

=== Sat Mar 14 16:58:16 CDT 2015 ===

I: Executing: /usr/bin/dracut -H --force /boot/initramfs-3.18.9-1
I: dracut module 'bootchart' will not be installed, because command
'/sbin/bootchartd' could not be found!
I: dracut module 'dash' will not be installed, because command
'/bin/dash' could not be found!
I: dracut module 'modsign' will not be installed, because command
'keyctl' could not be found!
I: dracut module 'network' will not be installed, because command
'dhclient' could not be found!
I: dracut module 'plymouth' will not be installed, because command
'plymouthd' could not be found!
I: dracut module 'plymouth' will not be installed, because command
'plymouth' could not be found!
I: dracut module 'btrfs' will not be installed, because command 'btrfs'
could not be found!
I: dracut module 'crypt' will not be installed, because command
'cryptsetup' could not be found!
I: dracut module 'dmraid' will not be installed, because command
'dmraid' could not be found!
I: dracut module 'multipath' will not be installed, because command
'multipath' could not be found!
I: dracut module 'cifs' will not be installed, because command
'mount.cifs' could not be found!
I: dracut module 'fcoe-uefi' will not be installed, because command
'dcbtool' could not be found!
I: dracut module 'fcoe-uefi' will not be installed, because command
'fipvlan' could not be found!
I: dracut module 'fcoe-uefi' will not be installed, because command
'lldpad' could not be found!
I: dracut module 'iscsi' will not be installed, because command
'iscsistart' could not be found!
I: dracut module 'iscsi' will not be installed, because command
'iscsi-iname' could not be found!
I: 95nfs: Could not find any command of 'rpcbind portmap'!
I: dracut module 'biosdevname' will not be installed, because command
'biosdevname' could not be found!
I: dracut module 'masterkey' will not be installed, because command
'keyctl' could not be found!
E: dracut module 'lvm2' cannot be found or installed.


Now after all that, it just stops and doesn't build a init thingy. 
Nothing gets added to /boot.  So, I go back to version 034-r4 and it
works as it should, and has before.  Example:

=== Sat Mar 14 18:23:25 CDT 2015 ===

I: Executing: /usr/bin/dracut --force /boot/initramfs-3.18.9-1.img
E: dracut module 'lvm2' cannot be found or installed.
E: dracut module 'fstab-sys' cannot be found or installed.
E: dracut module 'lvm2' cannot be found or installed.
E: dracut module 'fstab-sys' cannot be found or installed.
I: *** Including module: bash ***
I: *** Including module: i18n ***
I: *** Including module: kernel-modules ***
I: *** Including module: resume ***
I: *** Including module: rootfs-block ***
I: *** Including module: terminfo ***
I: *** Including module: udev-rules ***
I: Skipping udev rule: 91-permissions.rules
I: Skipping udev rule: 80-drivers-modprobe.rules
I: *** Including module: usrmount ***
I: *** Including module: base ***
I: *** Including module: fs-lib ***
I: *** Including module: shutdown ***
I: *** Including modules done ***
I: *** Installing kernel module dependencies and firmware ***
I: *** Installing kernel module dependencies and firmware done ***
I: *** Resolving executable dependencies ***
I: *** Resolving executable dependencies done***
I: *** Stripping files ***
I: *** Stripping files done ***
I: *** Creating image file ***
I: *** Creating image file done ***


That version at least builds the init thingy for me to use.  So,
question.  Why is the old version working but the new version isn't? 
Why is it not finding lvm2 when I know it is installed because
everything but /boot and / is on lvm?  Why does it seem like I went
through this once before? 

Thanks.

Dale

:-)  :-)