FedoraForum.org - Fedora Support Forums and Community
Page 1 of 3 123 LastLast
Results 1 to 15 of 34
  1. #1
    bishpuppy Guest

    2.6.27.12-170.2.5 does not boot

    Hi All,

    I'm using FC 10 x86_64 and my 2.6.27.9-159.fc10 will boot with no problem but the updated version -- 2.6.27.12-170.2.5 does not boot. After the anacron service, it stops, i just get a black screen with a cursor so i booted into 9-159 and uninstalled anacron and still nothing.

    any ideas or how do i remove 12-170?

    thanks

  2. #2
    Join Date
    Aug 2005
    Location
    On the road. What day is it again?
    Posts
    255
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs down

    um, yeah... I second that motion. although you did not have to remove anacron..

    I have been watching to see if anyone else had any problems, and did not notice any posts so I went ahead and "add all" + "process que" on the kernel/headers/devel/firmware, kmod-nvidia, and xorg updates.

    Booting into the new kernel stops pretty suddenly with the following error"
    "unable to access resume device ( /dev/dm-1 )
    mount: error mounting device /dev/root on /sysroot as ext3: no such file or directory"
    I was able to reboot to the 9-159 kernel - akmod built the knod nvidia package, and everything back to normal.

    I opened yumex and removed the 12-170 kernel/devel and kmod-nvidia packages. Nothing else to try except do another update add them back in, Same error, so i backed them out again.

    Anyone know what the heck is going on? Works fine on the previous kernel. Googling suggest that this might be LVM related so here some additional info...


    [root@macbeth ~]# lvscan
    ACTIVE '/dev/VolGroup00/LogVol00' [243.94 GB] inherit
    ACTIVE '/dev/VolGroup00/LogVol01' [3.94 GB] inherit
    [root@macbeth ~]# lvdisplay
    --- Logical volume ---
    LV Name /dev/VolGroup00/LogVol00
    VG Name VolGroup00
    LV UUID OYnwSh-ld05-5bLz-AOR6-HgRV-bvl4-NJKf3B
    LV Write Access read/write
    LV Status available
    # open 1
    LV Size 243.94 GB
    Current LE 7806
    Segments 2
    Allocation inherit
    Read ahead sectors auto
    - currently set to 256
    Block device 253:0

    --- Logical volume ---
    LV Name /dev/VolGroup00/LogVol01
    VG Name VolGroup00
    LV UUID 3d9XYg-3yLo-ye9n-QPzU-9OXR-BcXR-P9sx0t
    LV Write Access read/write
    LV Status available
    # open 1
    LV Size 3.94 GB
    Current LE 126
    Segments 1
    Allocation inherit
    Read ahead sectors auto
    - currently set to 256
    Block device 253:1

    [root@macbeth ~]# cat /etc/fstab
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>

    tmpfs /dev/shm tmpfs defaults 0 0
    devpts /dev/pts devpts gid=5,mode=620 0 0
    sysfs /sys sysfs defaults 0 0
    proc /proc proc defaults 0 0
    /dev/dm-0 / ext3 defaults 1 1
    #Entry for /dev/sda2 :
    UUID=64cb2f11-cffc-44d7-acdc-fce026dcef59 /boot ext3 defaults 1 2
    #Entry for /dev/sda1 :
    UUID=D03006BD3006AA94 /media/sda1 ntfs-3g defaults,locale=en_US.UTF-8 0 0
    /dev/dm-1 swap swap defaults 0 0


    [root@macbeth ~]#
    ...What if there were no hypothetical questions?

  3. #3
    Join Date
    Sep 2006
    Location
    Connellsville, PA, USA
    Posts
    11,306
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    F10 kernel-2.6.27.12-170.2.5.fc10.i686 boots and works fine here, if that's of any use as info.

    V

  4. #4
    bishpuppy Guest
    well i decided to take the easy route and modify the grub menu.lst (/boot/grub/menu.lst) and remove the reference to the 12-170, so now when i reboot, i boot into the 9-159

    i hope this is fixed for the next kernel release

  5. #5
    Join Date
    Aug 2005
    Location
    On the road. What day is it again?
    Posts
    255
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @ Hlingler - Are you using LVM?

    I did a fresh install 2 weeks ago so everything here is pretty clean. 2.6.27.9-159 works great all day long. I know that the new kernel is working great for most people or we would be seeing more posts. Just wondering what the common denominator is....

    Edit: A possible fix is found in this link, will check it tomorrow, i have had enough fun for tonight.
    Last edited by shess01; 29th January 2009 at 04:37 AM.
    ...What if there were no hypothetical questions?

  6. #6
    Join Date
    Sep 2006
    Location
    Connellsville, PA, USA
    Posts
    11,306
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Actually: No, no LVM on this install, except for SWAP (shared between several installs).

    V

  7. #7
    stevea Guest
    "unable to access resume device ( /dev/dm-1 )
    mount: error mounting device /dev/root on /sysroot as ext3: no such file or directory"
    Referring to post #2, where there is some detail ....

    The "resume device" is normally the swap device ... it's where the kernel looks for a suspended session during the bootup. Also clearly this system has a problem with the root file system (so the boot definitely failed).

    The /etc/fstab shows the root and swap as
    /dev/dm-0 / ext3 defaults 1 1
    ...
    /dev/dm-1 swap swap defaults 0 0
    which are both under LVM. For some reason new kernel is not handling the LVMs as expected at bootup. The possibilities are that initrd was built without LVM support or that the LVM support is somehow broken. I'd wager it is the former, but that's a guess.

    It would be EDUCATIONAL to install the offending kernel on your system, then crack open the initrd file (see the thread link above) and see if it supports LVM.. ***BUT*** I would not suggest rebuilding the initrd manually as in that thread. First that example has a possible error and in any case the manual rebuild doesn't solve the bigger problem and the next time a kernel update happens it will stiill be broken.

    When you install a kernel from the repo the package manager runs the /sbin/mkinitrd script which creates a /boot/initrd-XXXX file specific to your system. The script hunts around thru fstab and /etc/sysconfig/mkinitrd and /etc/modprobe.conf (and ..d/) and also perforrms various complex tests to determine what modules are needed in the initrd for a basic bootup.

    I don't have any LVMs under F10. Under F8 the fstab would look like ....
    /dev/VG0/root1 / ext3 defaults 1 1
    /dev/VG0/swap swap swap defaults 0 0
    It's quite possible that the mkinitrd isn't smart enough to recognize all the various forms tihese lines would take.

  8. #8
    stevea Guest
    Quote Originally Posted by Hlingler
    Actually: No, no LVM on this install, except for SWAP (shared between several installs).

    V
    Only your swap is under LVM !!!! Hlingler I've always suspected you were a little kinky - but that's just bizarre.

  9. #9
    Join Date
    Sep 2006
    Location
    Connellsville, PA, USA
    Posts
    11,306
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, the original Fedora install was "default" and so SWAP was LVM, so rather than goof with it, I just used the same SWAP LVM for all installs on that PC.

    V

  10. #10
    Join Date
    Aug 2005
    Location
    On the road. What day is it again?
    Posts
    255
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy

    Searching and still not finding any solution. I have unpacked the initrd images and posted the last section of each - which is the only part that is different. If anyone has any further insight, lay it on me. I notice that in another similar thread, SteveA recommended waiting for this error to be fixed in the next kernel. One that would, hopefully, be coming out soon. But I find little comfort in that as some users are reporting that they have experience this issue for the last 2 kernels!
    Anyway, here is the info...

    This init section is from the 2.6.27.9-159 kernel, it works.
    /lib/udev/console_init tty0
    daemonize --ignore-missing /bin/plymouthd
    plymouth --show-splash
    echo Setting up hotplug.
    hotplug
    echo Creating block device nodes.
    mkblkdevs
    echo Creating character device nodes.
    mkchardevs
    echo "Loading pata_acpi module"
    modprobe -q pata_acpi
    echo "Loading ata_generic module"
    modprobe -q ata_generic
    echo Making device-mapper control node
    mkdmnod
    modprobe scsi_wait_scan
    rmmod scsi_wait_scan
    mkblkdevs
    echo Scanning logical volumes
    lvm vgscan --ignorelockingfailure
    echo Activating logical volumes
    lvm vgchange -ay --ignorelockingfailure VolGroup00
    resume /dev/VolGroup00/LogVol01
    echo Creating root device.
    mkrootdev -t ext3 -o defaults,ro /dev/VolGroup00/LogVol00

    echo Mounting root filesystem.
    mount /sysroot
    cond -ne 0 plymouth --hide-splash
    echo Setting up other filesystems.
    setuproot
    loadpolicy
    plymouth --newroot=/sysroot
    echo Switching to new root and running init.
    switchroot
    echo Booting has failed.
    sleep -1
    [root@macbeth kernel_mod_9-159]#
    Here is the init of the 2.6.27.12-170 kernel that gives me the errors listed in my post above.
    /lib/udev/console_init tty0
    daemonize --ignore-missing /bin/plymouthd
    plymouth --show-splash
    echo Setting up hotplug.
    hotplug
    echo Creating block device nodes.
    mkblkdevs
    echo Creating character device nodes.
    mkchardevs
    mkblkdevs
    resume /dev/dm-1
    echo Creating root device.
    mkrootdev -t ext3 -o defaults,ro /dev/dm-0

    echo Mounting root filesystem.
    mount /sysroot
    cond -ne 0 plymouth --hide-splash
    echo Setting up other filesystems.
    setuproot
    loadpolicy
    plymouth --newroot=/sysroot
    echo Switching to new root and running init.
    switchroot
    echo Booting has failed.
    sleep -1
    [root@macbeth kernel_mod_12-170]#
    Last edited by shess01; 30th January 2009 at 11:40 PM.
    ...What if there were no hypothetical questions?

  11. #11
    LeenS Guest
    Fedora 2.6.27.12-170.2.5.fc10.x86_64 does not work on my system, just like the previous version 2.6.27.9-159.fc10.x86_64.
    Still using 2.6.27.9-159.fc10.x86_64 ...

  12. #12
    Join Date
    Jun 2008
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    I am having the same problem. The boot fails with the error message unable to mount /dev/root on /sysroot as ext3. Further I am having this problem with all the kernels other than the one which came with the installation CD (2.6.27.5-117). I have tried recreating the initrd file as described in the forum without any success.

    Regards,
    Srinivasan.B

  13. #13
    Join Date
    Nov 2006
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by srini2174
    I am having the same problem. The boot fails with the error message unable to mount /dev/root on /sysroot as ext3.
    I also had this problem.
    rootfs is ext3. /home fs converted to ext4.

    Booted older (2.6.27.9-159) kernel to repair and reran mkinitrd --with=ext3 forcing ext3 module. Now it works.
    Next I added MODULES=ext4 to /etc/sysconfig/mkinitrd and reran mkinitrd without the ext3 arg. That works also.
    I now notice that only the ext4 module is loaded and not ext3 but both filesystems mount without problem.

    I suppose that ext3 is covered under the ext4 module.

  14. #14
    Join Date
    Jan 2005
    Posts
    258
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ext3 is more likely statically compiled into the kernel. ext4, jbd2, and crc16 are the modules needed for ext4 filesystems.

  15. #15
    Join Date
    Aug 2005
    Location
    On the road. What day is it again?
    Posts
    255
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I got a fix. Found this bug report 471729 and posted my issues there. The problem appears to be in the mkinitrd script. The one that worked for me is posted here.

    Here is the procedure that i used.

    su
    gedit /sbin/mkinitrd
    > "save as" mkinitrd.bak2
    > "select all"
    > "delete"
    > "paste" new mkinitrd script
    > "save as" mkinitrd
    > "exit"

    /sbin/mkinitrd -f /boot/initrd-2.6.27.12-170.2.5.fc10.i686.img
    2.6.27.12-170.2.5.fc10.i686
    init 6
    This a pretty simple procedure, but if you don't know what you are doing, or need some clarification,ASK
    ...What if there were no hypothetical questions?

Page 1 of 3 123 LastLast

Similar Threads

  1. Rebuilding the Grub Boot Loader on Master Boot Record (MBR) w Fedora Linux
    By Vector in forum Guides & Solutions (Not For Questions)
    Replies: 6
    Last Post: 1st August 2009, 08:39 AM
  2. boot: boot /boot partition fubar!
    By Flyboy917 in forum Using Fedora
    Replies: 6
    Last Post: 26th April 2008, 05:33 PM
  3. How to triple boot, adding xp home to 3rd disk, keeping boot sectors safe
    By voam in forum Installation, Upgrades and Live Media
    Replies: 5
    Last Post: 9th March 2006, 05:28 AM
  4. Dual Boot probl Win XP and FC 3: no boot menu and automatical boot to windows
    By siwask in forum Installation, Upgrades and Live Media
    Replies: 1
    Last Post: 18th February 2005, 04:57 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •