FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 05-26-2012, 08:38 PM
Heinz Diehl
 
Default dracut in kernel-3.3.5-2.fc16.i686 and kernel-3.3.6-3.fc16.i686 fails to mount root

On 26.05.2012, JD wrote:

> Bug ID 822792 at bugzilla.redhat.com is about this problem.
> However, I am stuck booting kernel-3.3.4-3.fc16.i686 which does not have
> this problem.

JFYI: all of the vanilla 3.3.x kernels boot just fine, with dracut
behaving as it should. Maybe the failure is related to some Fedora
stuff..

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 05-26-2012, 11:13 PM
JD
 
Default dracut in kernel-3.3.5-2.fc16.i686 and kernel-3.3.6-3.fc16.i686 fails to mount root

On 05/26/2012 01:25 PM, JD wrote:

The pertinent failure message in both of these kernels is:

[ 29.653980] dracut Warning: No root device
"block:/dev/disk/by-uuid/03f82b3c-5163-465b-a4c3-3bcb349a1cc4" found
[ 29.654857] dracut: + emergency_shell No root device
"block:/dev/disk/by-uuid/03f82b3c-5163-465b-a4c3-3bcb349a1cc4" found

[ 29.654966] dracut: + set +e
[ 29.655231] dracut: + [ No root device
"block:/dev/disk/by-uuid/03f82b3c-5163-465b-a4c3-3bcb349a1cc4" found =
-n ]

[ 29.655359] dracut: + _rdshell_name=dracut
[ 29.655443] dracut: + echo
[ 29.655512] dracut:
[ 29.655593] dracut: + echo
[ 29.655661] dracut:
[ 29.655880] dracut: + warn No root device
"block:/dev/disk/by-uuid/03f82b3c-5163-465b-a4c3-3bcb349a1cc4" found

[ 29.655984] dracut: + check_quiet
[ 29.656096] dracut: + [ -z yes ]
[ 29.656353] dracut: + echo <28>dracut Warning: No root device
"block:/dev/disk/by-uuid/03f82b3c-5163-465b-a4c3-3bcb349a1cc4" found
[ 29.656613] dracut: + echo dracut Warning: No root device
"block:/dev/disk/by-uuid/03f82b3c-5163-465b-a4c3-3bcb349a1cc4" found
[ 29.656860] dracut: dracut Warning: No root device
"block:/dev/disk/by-uuid/03f82b3c-5163-465b-a4c3-3bcb349a1cc4" found

[ 29.656981] dracut: + source_hook emergency
[ 29.657169] dracut: + source_all /lib/dracut/hooks/emergency
[ 29.657278] dracut: + local f
[ 29.657426] dracut: + [ /lib/dracut/hooks/emergency ]
[ 29.657590] dracut: + [ -d //lib/dracut/hooks/emergency ]
[ 29.657794] dracut: + [ -e
//lib/dracut/hooks/emergency/50plymouth-emergency.sh ]
[ 29.660236] dracut: + .
//lib/dracut/hooks/emergency/50plymouth-emergency.sh


The system then drops into the shell.
Bug ID 822792 at bugzilla.redhat.com is about this problem.
However, I am stuck booting kernel-3.3.4-3.fc16.i686 which does not
have this problem.
I have received no further updates on this problem, which might be
unique to my laptop???
I have also uploaded to the bug the full log of dracut and a file
output of rpm -qa in order

for the devs to see which package might be the culprit.

So, I looked a little further, and found the cause.
The UUID in /etc/fstab was created by the clean install of fc16 from DVD.
That uuid is

259d7b44-1122-42cc-b504-3dd40027d3b9

whereas dracut in the 2 kernels that are failing to mount root, thinks
the uuid should be 03f82b3c-5163-465b-a4c3-3bcb349a1cc4

fstab contains the line

UUID=03f82b3c-5163-465b-a4c3-3bcb349a1cc4 / ext3
defaults 0 0


as stated above, kernel kernel-3.3.4-3.fc16.i686
has no problem mounting root with uuid
03f82b3c-5163-465b-a4c3-3bcb349a1cc4
So, I guess I will save old fstab, recompute the blkid of all devices
in fstab

and reboot.



blkid /dev/sda2 yields the same id that
kernel-3.3.5-2.fc16.i686 and kernel-3.3.6-3.fc16.i686
are unable to mount.
So, it seems a different uuid was generated and placed
in the boot/grub2/grub.cfg file when the update was done.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 05-26-2012, 11:44 PM
JD
 
Default dracut in kernel-3.3.5-2.fc16.i686 and kernel-3.3.6-3.fc16.i686 fails to mount root

On 05/26/2012 04:13 PM, JD wrote:


blkid /dev/sda2 yields the same id that
kernel-3.3.5-2.fc16.i686 and kernel-3.3.6-3.fc16.i686
are unable to mount.
So, it seems a different uuid was generated and placed
in the boot/grub2/grub.cfg file when the update was done.


Modifying /boot/grub2/grug.cfg to use uuid that
kernel-3.3.4-3.fc16.i686 has no problem with,
and rebooting, yielded the same problem: dracut
is unable to find and mount the root device.

And vice-versa: modifying /etc/fstab to use the uuid
that dracut is expecting (per the uuid that was inserted
into the grub.cfg by the installation of kernel-3.3.6-3.fc16.i686),
also yields the same failure to mount.

Of course in both cases, grub.cfg and fstab were moded
to have same uuid of / parition.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 05-27-2012, 01:45 AM
Bill Davidsen
 
Default dracut in kernel-3.3.5-2.fc16.i686 and kernel-3.3.6-3.fc16.i686 fails to mount root

JD wrote:

The pertinent failure message in both of these kernels is:

[ 29.653980] dracut Warning: No root device
"block:/dev/disk/by-uuid/03f82b3c-5163-465b-a4c3-3bcb349a1cc4" found
[ 29.654857] dracut: + emergency_shell No root device
"block:/dev/disk/by-uuid/03f82b3c-5163-465b-a4c3-3bcb349a1cc4" found
[ 29.654966] dracut: + set +e
[ 29.655231] dracut: + [ No root device
"block:/dev/disk/by-uuid/03f82b3c-5163-465b-a4c3-3bcb349a1cc4" found = -n ]
[ 29.655359] dracut: + _rdshell_name=dracut
[ 29.655443] dracut: + echo
[ 29.655512] dracut:
[ 29.655593] dracut: + echo
[ 29.655661] dracut:
[ 29.655880] dracut: + warn No root device
"block:/dev/disk/by-uuid/03f82b3c-5163-465b-a4c3-3bcb349a1cc4" found
[ 29.655984] dracut: + check_quiet
[ 29.656096] dracut: + [ -z yes ]
[ 29.656353] dracut: + echo <28>dracut Warning: No root device
"block:/dev/disk/by-uuid/03f82b3c-5163-465b-a4c3-3bcb349a1cc4" found
[ 29.656613] dracut: + echo dracut Warning: No root device
"block:/dev/disk/by-uuid/03f82b3c-5163-465b-a4c3-3bcb349a1cc4" found
[ 29.656860] dracut: dracut Warning: No root device
"block:/dev/disk/by-uuid/03f82b3c-5163-465b-a4c3-3bcb349a1cc4" found
[ 29.656981] dracut: + source_hook emergency
[ 29.657169] dracut: + source_all /lib/dracut/hooks/emergency
[ 29.657278] dracut: + local f
[ 29.657426] dracut: + [ /lib/dracut/hooks/emergency ]
[ 29.657590] dracut: + [ -d //lib/dracut/hooks/emergency ]
[ 29.657794] dracut: + [ -e //lib/dracut/hooks/emergency/50plymouth-emergency.sh ]
[ 29.660236] dracut: + . //lib/dracut/hooks/emergency/50plymouth-emergency.sh

The system then drops into the shell.
Bug ID 822792 at bugzilla.redhat.com is about this problem.
However, I am stuck booting kernel-3.3.4-3.fc16.i686 which does not have this
problem.
I have received no further updates on this problem, which might be unique to my
laptop???
I have also uploaded to the bug the full log of dracut and a file output of rpm
-qa in order
for the devs to see which package might be the culprit.

Don't think it's you, although it doesn't seem to be universal. Some hardware
seems to trigger a different output from the blkid calc, while most work. That's
only based on three upgrades, two worked fine, one did as you say, haven't
gotten to building a 3.4 kernel yet, on my to-do list for the weekend.



--
Bill Davidsen <davidsen@tmr.com>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 05-27-2012, 02:59 AM
JD
 
Default dracut in kernel-3.3.5-2.fc16.i686 and kernel-3.3.6-3.fc16.i686 fails to mount root

On 05/26/2012 06:45 PM, Bill Davidsen wrote:


Don't think it's you, although it doesn't seem to be universal. Some
hardware seems to trigger a different output from the blkid calc,
while most work. That's only based on three upgrades, two worked fine,
one did as you say, haven't gotten to building a 3.4 kernel yet, on my
to-do list for the weekend.




I believe I have fixed the problem, but I have no idea
what had caused it in the first place.
First time it happened was when yum update brought in
kernel-3.3.5-2.fc16.i686, and I rebooted into the new kernel.
2nd time was when yum update brought in kernel-3.3.6-3.fc16.i686 .
So I remained with booting kernel-3.3.4-3.fc16.i686.
Finally, today I decided to examine /boot/grub2/grub.cfg.
I read it carefully line by line and compared each line with
the corresponding line in menuentry for kernel-3.3.4-3.fc16.i686.
I saw that when the first yum update brought in kernel-3.3.5-2.fc16.i686,
it messed up the uuid's in the menuentry for kernel-3.3.5-2.fc16.i686
as follows:

menuentry 'Fedora (3.3.5-2.fc16.i686)' --class fedora --class gnu-linux
--class gnu --class os {

load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set=root
03f82b3c-5163-465b-a4c3-3bcb349a1cc4

echo 'Loading Fedora (3.3.5-2.fc16.i686)'
linux /boot/vmlinuz-3.3.5-2.fc16.i686
root=UUID=259d7b44-1122-42cc-b504-3dd40027d3b9 ro rd.md=0 rd.lvm=0
rd.dm=0 KEYT

ABLE=us quiet SYSFONT=latarcyrheb-sun16 rd.luks=0 LANG=en_US.UTF-8
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-3.3.5-2.fc16.i686.img
}

Notice the difference between the UUID's
The linux line has the correct uuid, but the search line has the wrong uuid.

So, when the 2nd yum update came along, it repeated the same error.

Today, I rpm -e'd both of the kernels, and did yum update kernel
and it brought in kernel-3.3.6-3.fc16.i686 and I checked grub.cfg.
And now it has the correct uuid on both lines of the the menu entry.
So, I am guessing that installation of 3.3.5-2 must have introduced
the error and 3.3.6-3 simply used that as a template to follow.
I cannot find the binary rpm for 3.3.5-2 to retry installing it to see
if it will commit the same erroneous menuentry into grub.cfg
If you do have it, please send link.


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 05-28-2012, 04:41 PM
Jonathan Ryshpan
 
Default dracut in kernel-3.3.5-2.fc16.i686 and kernel-3.3.6-3.fc16.i686 fails to mount root

On Sat, 2012-05-26 at 21:45 -0400, Bill Davidsen wrote:
> Don't think it's you, although it doesn't seem to be universal. Some
> hardware
> seems to trigger a different output from the blkid calc, while most
> work. That's
> only based on three upgrades, two worked fine, one did as you say,
> haven't
> gotten to building a 3.4 kernel yet, on my to-do list for the weekend.
I always have a similar problem when the kernel on an old i686 laptop is
upgraded, but never have it on my other machine, which has x86_64
hardware. I can always correct it by running grub2-mkconfig to generate
a new /boot/grub2/grub.cfg file. This has been reported in:
https://bugzilla.redhat.com/show_bug.cgi?id=818715
There are other odd differences in the startup menu.

jon

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 05-29-2012, 01:39 AM
JD
 
Default dracut in kernel-3.3.5-2.fc16.i686 and kernel-3.3.6-3.fc16.i686 fails to mount root

On 05/28/2012 09:41 AM, Jonathan Ryshpan wrote:

On Sat, 2012-05-26 at 21:45 -0400, Bill Davidsen wrote:

Don't think it's you, although it doesn't seem to be universal. Some
hardware
seems to trigger a different output from the blkid calc, while most
work. That's
only based on three upgrades, two worked fine, one did as you say,
haven't
gotten to building a 3.4 kernel yet, on my to-do list for the weekend.

I always have a similar problem when the kernel on an old i686 laptop is
upgraded, but never have it on my other machine, which has x86_64
hardware. I can always correct it by running grub2-mkconfig to generate
a new /boot/grub2/grub.cfg file. This has been reported in:
https://bugzilla.redhat.com/show_bug.cgi?id=818715
There are other odd differences in the startup menu.

jon


I have made a comment for 822792 that when yum update
had brought in kernel-3.3.5-2.fc16.i686, it created a bad
uuid for the search line in grub.cfg, but left the Linux line
with the correct uuid. So, I was never able to boot
kernel-3.3.5-2.fc16.i686 and it had not occurred to me to
examine grub.cfg at that time. Ditto after yum update
brought in kernel-3.3.6-3.fc16.i686, the same thing happened
and I had not looked at grub.cfg. I only decided to examine it
closely yesterday (05/27) just after midnight. I posted my
finding in bugzilla.
So, I believe installing kernel-3.3.5-2.fc16.i686 mad the
bad uuid entry, and kernel-3.3.6-3.fc16.i686 made the mistake
of using the kernel-3.3.5-2 menu entry as a template, and made
the same erroneous entry (that's my guess).
Afcter I deleted both kernels (rpm -e) and ran yum update
which brought in kernel-3.3.6-3, I checked grub.cfg and
it had the correct uuid and I was able to boot it.
I would like to verify my guess re: kernel-3.3.5-2, but I cannot
find the rpm for it anywhere online.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 

Thread Tools




All times are GMT. The time now is 01:13 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org