Errors After Upgrade & Kernel Switch ZFS Grub Udev [Solved]

Discussion in general that pertains to Sabayon Linux - Must Pertain to Sabayon Linux

Moderator: Moderators

Post Reply
tonyawards
Growing Hen
Posts: 112
Joined: Sun Nov 23, 2008 4:21

Errors After Upgrade & Kernel Switch ZFS Grub Udev [Solved]

Post by tonyawards » Mon Sep 03, 2012 8:17

I just did an equo update & upgrade that included grub 2.00, sys-fs/zfs-userspace-20120730, glib, and some 80+ other packages. ZFS did not appear to go too well:

Code: Select all

(30/91) >>> sys-fs/zfs-userspace-20120730
>>    ## Unpacking: sys-fs:zfs-userspace-20120730~0.tbz2
>>    ## SPM: setup phase
 * Could not find a usable .config in the kernel source directory.
 * Please ensure that /usr/src/linux points to a configured set of Linux sources.
 * If you are using KBUILD_OUTPUT, please set the environment var so that
 * it points to the necessary object directory so that it might find .config.
 * ERROR: sys-fs/zfs-userspace-20120730 failed (setup phase):
 *   Kernel not configured; no .config found in /lib/modules/3.5.0-sabayon/build
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called pkg_setup
 *   environment, line 4579:  Called spl-zfs-userspace_pkg_setup
 *   environment, line 4961:  Called check_extra_config
 *   environment, line 1262:  Called require_configured_kernel
 *   environment, line 4911:  Called die
 * The specific snippet of code:
 *           die "Kernel not configured; no .config found in ${KV_OUT_DIR}";
 * 
 * If you need support, post the output of `emerge --info '=sys-fs/zfs-userspace-20120730'`,
 * the complete build log and the output of `emerge -pqv '=sys-fs/zfs-userspace-20120730'`.
 * This ebuild used the following eclasses from overlays:
 *   /var/lib/layman/sabayon-distro/eclass/spl-zfs-userspace.eclass
/usr/lib64/portage/bin/isolated-functions.sh: line 214: wait: `Kernel not configured; no .config found in /lib/modules/3.5.0-sabayon/build': not a pid or valid job spec
 * The complete build log is located at '/var/tmp/entropy/packages/amd64/5/sys-fs_zfs-userspace-20120730_0.tbz2/portage/sys-fs/zfs-userspace-20120730/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/entropy/packages/amd64/5/sys-fs_zfs-userspace-20120730_0.tbz2/portage/sys-fs/zfs-userspace-20120730/temp/environment'.
 * Working directory: '/var/tmp/entropy/packages/amd64/5/sys-fs_zfs-userspace-20120730_0.tbz2/portage/sys-fs/zfs-userspace-20120730'
 * S: '/var/tmp/entropy/packages/amd64/5/sys-fs_zfs-userspace-20120730_0.tbz2/portage/sys-fs/zfs-userspace-20120730/work/zfs-userspace-20120730'
>>    ## SPM: pre-install phase
>>    ## Installing package: sys-fs/zfs-userspace-20120730
>>    ## [The Solaris Porting Layer and ZFS Filesystem userspace utilities]
>>    ## Updating database: sys-fs/zfs-userspace-20120730
>>    ## Cleaning previously installed application data.
>>> Regenerating /etc/ld.so.cache...
>>    ## SPM: post-install phase
>>    ## Cleaning: sys-fs/zfs-userspace-20120730_0
I then rebooted after the upgrades installed, and got several "clock skew detected" messages in the startup sequence. It also appears to hang a bit in a couple of spots (I have not yet determined where).

Shutdown is now giving two errors as well (this is paraphrased):

Code: Select all

Shutting down LVs & VGs
Logical Volume vg_zenboy contains a filesystem still in use 

and

udev failed to stop normally - start-stop-daemon - 2 processes failed to stop

It does force past these !!errors and will finally shut down, although it did not on the first reboot after the upgrades - I had to kill it.

All the entropy/equo and update packages were up to date before any of these upgrades, by the way.

Moving on, I then installed the 3.5.0-r3 kernel and sources via kernel-switcher and got another error. (The output here is from a reinstall of the kernel after reinstalling the zfs-userpace, which is why it says 3.5.0 is already installed):

Code: Select all

(1/1) >>> sys-kernel/linux-sabayon-3.5-r3
>>    ## Unpacking: sys-kernel:linux-sabayon-3.5-r3~0.tbz2
>>    ## SPM: setup phase
 * Preparing kernel and its modules
>>    ## SPM: pre-install phase
 * 
 * To avoid automounting and auto(un)installing with /boot,
 * just export the DONT_MOUNT_BOOT variable.
 * 
 * 
 * Your boot partition was detected as being mounted as /boot.
 * Files will be installed there for linux-sabayon to function correctly.
 * 
>>    ## Installing package: sys-kernel/linux-sabayon-3.5-r3
>>    ## [Official Sabayon Linux Standard kernel image]
>>    ## Updating database: sys-kernel/linux-sabayon-3.5-r3
>>    ## SPM: pre-remove phase
 * 
 * To avoid automounting and auto(un)installing with /boot,
 * just export the DONT_MOUNT_BOOT variable.
 * 
 * 
 * Your boot partition was detected as being mounted as /boot.
 * Files will be installed there for linux-sabayon to function correctly.
 * 

Cleaning previously installed application data.
>>    ## SPM: post-remove phase
/var/tmp/entropy/sys-kernel_linux-sabayon-3.5-r3/portage/._unmerge_/sys-kernel/linux-sabayon-3.5-r3/temp/environment: line 3759: /sbin/grub-mkdevicemap: No such file or directory
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Generating grub.cfg ...
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Found background: /boot/grub/default-splash.png
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Found linux image: /boot/kernel-genkernel-x86_64-3.5.0-sabayon
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Found initrd image: /boot/initramfs-genkernel-x86_64-3.5.0-sabayon
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Found linux image: /boot/kernel-genkernel-x86_64-3.4.0-sabayon
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Found initrd image: /boot/initramfs-genkernel-x86_64-3.4.0-sabayon
ERROR: opening path /lib/splash/sys/block
ERROR: failed to discover devices
ERROR: opening path /lib/splash/sys/block
ERROR: failed to discover devices
ERROR: opening path /lib/splash/sys/block
ERROR: failed to discover devices
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
done

 * You are currently booting with kernel:
 * kernel-genkernel-x86_64-3.5.0-sabayon
 * 
 * Use 'eselect bzimage' in order to switch between the available ones

>>    ## SPM: post-install phase
 * Removing extents option for ext4 drives from /etc/fstab
 * Updating boot splash for /boot/initramfs-genkernel-x86_64-3.4.0-sabayon
 * Updating boot splash for /boot/initramfs-genkernel-x86_64-3.5.0-sabayon
/var/tmp/entropy/packages/amd64/5/sys-kernel_linux-sabayon-3.5-r3_0.tbz2/portage/sys-kernel/linux-sabayon-3.5-r3/temp/environment: line 3761: /sbin/grub-mkdevicemap: No such file or directory
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Generating grub.cfg ...
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Found background: /boot/grub/default-splash.png
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Found linux image: /boot/kernel-genkernel-x86_64-3.5.0-sabayon
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Found initrd image: /boot/initramfs-genkernel-x86_64-3.5.0-sabayon
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Found linux image: /boot/kernel-genkernel-x86_64-3.4.0-sabayon
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Found initrd image: /boot/initramfs-genkernel-x86_64-3.4.0-sabayon
ERROR: opening path /lib/splash/sys/block
ERROR: failed to discover devices
ERROR: opening path /lib/splash/sys/block
ERROR: failed to discover devices
ERROR: opening path /lib/splash/sys/block
ERROR: failed to discover devices
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
done

 * You are currently booting with kernel:
 * kernel-genkernel-x86_64-3.5.0-sabayon
 * 
 * Use 'eselect bzimage' in order to switch between the available ones


 * If you are upgrading from a previous kernel, you may be interested
 * in the following document:
 *   - General upgrade guide: http://www.gentoo.org/doc/en/kernel-upgrade.xml

 * Updating module dependencies for 3.5.0-sabayon ...
ignored deprecated option -r                                                                                          [ ok ]
 * Please report kernel bugs at:
 * http://bugs.sabayon.org
 * The source code of this kernel is located at
 * =sys-kernel/sabayon-sources-3.5-r3.
 * Sabayon Linux recommends that portage users install
 * sys-kernel/sabayon-sources-3.5-r3 if you want
 * to build any packages that install kernel modules
 * (such as ati-drivers, nvidia-drivers, virtualbox, etc...).
>>    ## Cleaning: sys-kernel/linux-sabayon-3.5-r3
>>  @@ Installation complete.
>>  @@ Configuration files scan complete.
localhost  #
As I mentioned, this is actually the output from the reinstall of the kernel. After the first install of 3.5 I reinstalled the zfs-userpace but got no errors like I did the first time, so I then reinstalled the kernel to see if I got the same output, which I did.

Any ideas as to what has happened here - I don't use zfs; does it even matter?

As for grub, although a grub 2.00 package came through in the upgrade set, it shows that I still have grub 1.99 running, but the interface looks rather different now, as do the options. On inital boot, I get a very brief flicker on screen of "error:file not found" before the first new-looking screen (options are Sabayon GNU/LINUX and Advanced Options for Sabayon Gnu/Linux). When I select the second choice "Advanced options for Sabayon-linux" I get:

Code: Select all

error: file not found (this line is repeated several times)
Loading Linux x_86 3.5.0-sabayon
Loading initial ramdisk
Press any key to continue
If I press a key, I get the old familiar choice of kernels list - If I do nothing and don't press a key, it will still boot into 3.5.0 after a delay, but this is a bit confusing at the moment, not sure if it's correct (and the two separate displays of the "file not found" notices in grub definitely don't look right to me).

****************************************************

This is a mishmash of stuff, I know, but as it all came up in the same upgrade and kernel-switch, I am trying to figure how/if they are all related...

The system does boot (though slower) and it does shut down (also slower). I'm in 3.5.0 and have removed all the 3.4.0 stuff, and it appears to be running normally once it boots up, but I wonder what did not get installed just right.

BTW, the clock skew notifications (there were several in the first reboot after the inital upgrade set) seem to have gone away after a few of these reboots, but could that have corrupted some things in the big upgrade if it was going on then? How can I fix or even detect if that in fact happened?

Any ideas as to what all this is? - and is this (2 sequential screens) the correct new sequence &/or look for grub 1.99?

I really had no good idea for a subject line or forum category for all this, so it wound up here - feel free to move it if it belongs somewhere else...

Thank you all.
Last edited by tonyawards on Wed Sep 05, 2012 4:54, edited 1 time in total.
SL Version: XI+, just rollin' along / Kernel 3.8.3 | KDE 4.10.1 | HP dv6000z | AMD Turion64 MK-36 | 2GB RAM | nVidia GeForce 6150

lxnay
Land Owner
Posts: 3596
Joined: Thu Oct 13, 2005 23:16
Location: Italy
Contact:

Re: Errors After Upgrade & Kernel Switch / ZFS Grub Udev & M

Post by lxnay » Mon Sep 03, 2012 11:27

You can ignore the zfs-userspace issue, it's not binary-package related. I've just fixed it.
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+

lxnay
Land Owner
Posts: 3596
Joined: Thu Oct 13, 2005 23:16
Location: Italy
Contact:

Re: Errors After Upgrade & Kernel Switch / ZFS Grub Udev & M

Post by lxnay » Mon Sep 03, 2012 11:36

You can ignore the linux-sabayon warnings as well (fixing them right now...).
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+

lxnay
Land Owner
Posts: 3596
Joined: Thu Oct 13, 2005 23:16
Location: Italy
Contact:

Re: Errors After Upgrade & Kernel Switch / ZFS Grub Udev & M

Post by lxnay » Mon Sep 03, 2012 11:42

Slower boot:
I think it's due to the clock skew. 99% of the times, it's because of that.

GRUB 2.00:
Reinstalling GRUB on the MBR (or partition) fixes it [grub2-install /dev/sdX]. Please make sure that your /boot/grub/grub.cfg is up-to-date as well (generally this is done every time you install a new kernel, but please double check) [grub-mkconfig -o /boot/grub/grub.cfg.new] and compare the output against /boot/grub/grub.cfg.
Everybody knows that grub 2.00 is a pita...
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+

tonyawards
Growing Hen
Posts: 112
Joined: Sun Nov 23, 2008 4:21

Re: Errors After Upgrade & Kernel Switch / ZFS Grub Udev & M

Post by tonyawards » Tue Sep 04, 2012 5:45

Thank you, lxnay. I'll just not worry about the zfs errors, then.

I reinstalled grub-2 directly from entropy but am still getting the same “error: file not found” messages in grub. But it still boots past grub just fine, whether I make choices or not. I performed:

Code: Select all

grub-mkconfig -o /boot/grub/grub.cfg.new
and compared it with grub.cfg – they look the same to me. I'll post the output here for reference:

Code: Select all

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_fonts ###
### END /etc/grub.d/00_fonts ###

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="${saved_entry}"

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod lvm
insmod ext2
set root='lvm/vg_zenboy-lv_root'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint='lvm/vg_zenboy-lv_root'  09c0ed3c-c426-44c1-901b-ed8e4d76d8f3
else
  search --no-floppy --fs-uuid --set=root 09c0ed3c-c426-44c1-901b-ed8e4d76d8f3
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=1024x768
  load_video
  # vga= is deprecated, grub2 handles this just fine
  # making grub2 res == linux fb res
  set gfxpayload=keep
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1'  598fa424-3607-456b-8e34-82bc564c5990
else
  search --no-floppy --fs-uuid --set=root 598fa424-3607-456b-8e34-82bc564c5990
fi
insmod png
background_image -m stretch /grub/default-splash.png
if sleep --interruptible 0 ; then
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Sabayon GNU/Linux' --class sabayon --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-09c0ed3c-c426-44c1-901b-ed8e4d76d8f3' {
        load_video
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1'  598fa424-3607-456b-8e34-82bc564c5990
        else
          search --no-floppy --fs-uuid --set=root 598fa424-3607-456b-8e34-82bc564c5990
        fi
            echo    'Loading Linux x86_64-3.5.0-sabayon ...'
        linux   /kernel-genkernel-x86_64-3.5.0-sabayon ro  init=/linuxrc splash=silent,theme:sabayon vga=791 console=tty1 quiet dokeymap keymap=us domdadm resume=swap:/dev/mapper/vg_zenboy-lv_swap real_resume=/dev/mapper/vg_zenboy-lv_swap dolvm root=/dev/mapper/vg_zenboy-lv_root docrypt 
        echo    'Loading initial ramdisk ...'
        initrd  /initramfs-genkernel-x86_64-3.5.0-sabayon
}
submenu 'Advanced options for Sabayon GNU/Linux' $menuentry_id_option 'gnulinux-advanced-09c0ed3c-c426-44c1-901b-ed8e4d76d8f3' {
        menuentry 'Sabayon GNU/Linux, with Linux x86_64-3.5.0-sabayon' --class sabayon --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86_64-3.5.0-sabayon-advanced-09c0ed3c-c426-44c1-901b-ed8e4d76d8f3' {
                load_video
                insmod gzio
                insmod part_msdos
                insmod ext2
                set root='hd0,msdos1'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1'  598fa424-3607-456b-8e34-82bc564c5990
                else
search --no-floppy --fs-uuid --set=root 598fa424-3607-456b-8e34-82bc564c5990
                fi
                echo    'Loading Linux x86_64-3.5.0-sabayon ...'
                linux   /kernel-genkernel-x86_64-3.5.0-sabayon ro  init=/linuxrc splash=silent,theme:sabayon vga=791 console=tty1 quiet dokeymap keymap=us domdadm resume=swap:/dev/mapper/vg_zenboy-lv_swap real_resume=/dev/mapper/vg_zenboy-lv_swap dolvm root=/dev/mapper/vg_zenboy-lv_root docrypt 
                echo    'Loading initial ramdisk ...'
                initrd  /initramfs-genkernel-x86_64-3.5.0-sabayon
        }
        menuentry 'Sabayon GNU/Linux, with Linux x86_64-3.5.0-sabayon (recovery mode)' --class sabayon --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86_64-3.5.0-sabayon-recovery-09c0ed3c-c426-44c1-901b-ed8e4d76d8f3' {
                load_video
                insmod gzio
                insmod part_msdos
                insmod ext2
                set root='hd0,msdos1'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1'  598fa424-3607-456b-8e34-82bc564c5990
                else
                  search --no-floppy --fs-uuid --set=root 598fa424-3607-456b-8e34-82bc564c5990
                fi
echo    'Loading Linux x86_64-3.5.0-sabayon ...'
                linux   /kernel-genkernel-x86_64-3.5.0-sabayon ro single init_opts=single  init=/linuxrc splash=verbose,theme:sabayon vga=791 console=tty1 quiet dokeymap keymap=us domdadm resume=swap:/dev/mapper/vg_zenboy-lv_swap real_resume=/dev/mapper/vg_zenboy-lv_swap dolvm root=/dev/mapper/vg_zenboy-lv_root docrypt
                echo    'Loading initial ramdisk ...'
                initrd  /initramfs-genkernel-x86_64-3.5.0-sabayon
        }
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
 # the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###                                                                                
As to the other issues, my “clock skew detected” warnings had gone, but it was still hanging on boot. On a hunch, I looked at /etc/modprobe.d/blacklist.conf – and (see this thread: http://forum.sabayon.org/viewtopic.php? ... 6&start=10) once again, an update (I still think it's kde version changes) had wiped the added “blacklist wl” from my file. Added it back in and it is booting right through at normal speed.

This has also eliminated one of my shutdown “fails” - the “udev – 2 processes failed to stop” error is gone now.

The other shutdown error “failed: logical volume contains a filesystem still in use” is still there, but the next line in the shutdown sequence force kills it with next to no time wasted. ( The weird zfs-userspace errors wouldn't have anything to do with that, would they?)

And I still show grub as 1.99 on its main screen, but like you said, 2.oh-no. I miss 0.97, worked fine for me...

Thanks again, lxnay, for your clarifications.
SL Version: XI+, just rollin' along / Kernel 3.8.3 | KDE 4.10.1 | HP dv6000z | AMD Turion64 MK-36 | 2GB RAM | nVidia GeForce 6150

lxnay
Land Owner
Posts: 3596
Joined: Thu Oct 13, 2005 23:16
Location: Italy
Contact:

Re: Errors After Upgrade & Kernel Switch / ZFS Grub Udev & M

Post by lxnay » Tue Sep 04, 2012 7:06

Run grub2-install! Read my previous post
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+

tonyawards
Growing Hen
Posts: 112
Joined: Sun Nov 23, 2008 4:21

Re: Errors After Upgrade & Kernel Switch / ZFS Grub Udev & M

Post by tonyawards » Tue Sep 04, 2012 14:37

Ah, oops :oops: - sorry about that.

Ran

Code: Select all

localhost # grub2-install /dev/sda
Installation finished. No error reported.
Grub is now looking good, no more "error: file not found" messages.

I rechecked

Code: Select all

grub-mkconfig -o /boot/grub/grub.cfg.new
and the grub.cgf and grub.cgf.new are the same as well.

Thanks, lxnay; sorry I misread your specifics earlier.
SL Version: XI+, just rollin' along / Kernel 3.8.3 | KDE 4.10.1 | HP dv6000z | AMD Turion64 MK-36 | 2GB RAM | nVidia GeForce 6150

lxnay
Land Owner
Posts: 3596
Joined: Thu Oct 13, 2005 23:16
Location: Italy
Contact:

Re: Errors After Upgrade & Kernel Switch / ZFS Grub Udev & M

Post by lxnay » Tue Sep 04, 2012 14:43

No problem, good that it worked
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+

Post Reply