LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-11-2013, 02:03 PM   #1
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,139

Rep: Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307
barfing on boot after update


It seems every time I update fc18, something pukes. I ran 'yum update' today, and got the errors below. I am hoping for

1. The standard kernel config line (I'm controlling boot from lilo in Slackware with EFI neutered)
2. A link to the howto on that emergency shell you're dropped into - dracut?
3. Any ideas on this?


Code:
Apr 11 15:09:05 RoseViolet systemd[1]: Stopping ABRT Xorg log watcher...
Apr 11 15:09:05 RoseViolet systemd[1]: Starting ABRT Xorg log watcher...
Apr 11 15:09:05 RoseViolet systemd[1]: Started ABRT Xorg log watcher.
Apr 11 15:09:45 RoseViolet ksmtuned[9213]: /usr/sbin/ksmtuned: line 61: /sys/kernel/mm/ksm/run: No such file or directory
Apr 11 15:10:45 RoseViolet ksmtuned[9213]: /usr/sbin/ksmtuned: line 61: /sys/kernel/mm/ksm/run: No such file or directory
Apr 11 15:11:28 RoseViolet yum[18042]: Erased: kernel-modules-extra-3.7.4-204.fc18.x86_64
Apr 11 15:11:29 RoseViolet yum[18042]: Erased: kernel-3.7.4-204.fc18.x86_64
Apr 11 15:11:33 RoseViolet dbus-daemon[2876]: dbus[2876]: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
Apr 11 15:11:33 RoseViolet dbus[2876]: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
Apr 11 15:11:33 RoseViolet dbus-daemon[2876]: dbus[2876]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Apr 11 15:11:33 RoseViolet dbus[2876]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Apr 11 15:11:45 RoseViolet ksmtuned[9213]: /usr/sbin/ksmtuned: line 61: /sys/kernel/mm/ksm/run: No such file or directory
Apr 11 15:12:45 RoseViolet ksmtuned[9213]: /usr/sbin/ksmtuned: line 61: /sys/kernel/mm/ksm/run: No such file or directory
#That line repeated numerous times as everything else expires one by one
BTW I also have "Permission Denied" errors in /var/log/messages for every service in /etc/rc.d/rc?.d/K*
 
Old 04-12-2013, 10:06 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,139

Original Poster
Rep: Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307
I'm running and working again, but no wiser.

It runs on my slackware kernel - so I humped over the slackware modules and off we go. The print is miniscule, so I have difficulty reading anything - especially the console fonts.

Can someone assist me with the kernel command line, and I'll at least TRY that??

I've used linux since 1993, ran Fedora for years at one stage, and never disliked any system so much as this present iteration - f-18.
 
Old 04-12-2013, 03:24 PM   #3
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,139

Original Poster
Rep: Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307
Bump


Can someone assist me with the kernel command line, and I'll at least TRY that??
 
Old 04-18-2013, 09:46 AM   #4
hpfeil
Member
 
Registered: Nov 2010
Location: Tucson, Arizona US
Distribution: Slackware Current
Posts: 352
Blog Entries: 1

Rep: Reputation: Disabled
Bumper
Once you drop into the dracut rescue shell, all hope is lost. There be dragons! When I installed fc? on a 2tb drive in Sep2011, it created a 60gb ext4 boot partition, containing grub and the kernel files (System.map, config, vmlinuz and initramfs), and a logical volume group using the rest of the disk containing lv_home, lv_root, lv_swap. Since then, negative comments on that configuration led me to believe that I need to have /usr on the same partition as /boot, and using a logical volume for swap isn't a smart idea.

There was a new version of grubby updated earlier this year. It changed the command-line options for /sbin/new-kernel-pkg, which is invoked as a post-installation script in the kernel rpm. I have rather poor brains for understanding the intricacies of an rpm build, I don't know post-install runs POSTIN or the post-installation part of ALL (which also contains the pre-uninstall script). The POSTIN script contains the line, "/sbin/new-kernel-pkg --package kernel --install kernel...." but there is no --package option any more. If you run `/sbin/new-kernel-pkg --package kernel` you'll get the help message with all of the options it knows( usage() ). I don't know what happens if there is an --install option after the disallowed --package option. Scanning the new-kernel-pkg script, have to wade through all the mkinitrd stuff at the top, the script proceeds to create a default initramfs file, using initrd-plymouth.img plus a lot of keyboard modules, but no LVM modules, its udev doesn't even create the ext4 device for the first partition. [Sorry, I tend to ramble due to an illness that's keeping me on the disabled list wearing a red t-shirt.]

I now have to invoke dracut manually after every new kernel install to create an initramfs which contains the missing modules. They're compiled into the kernel, but the kernel never gets loaded because the startup code can't find the root partition on the logical volume. You'd think it would at least create a /dev/sda1 containing the kernel and grub, but someone decided that isn't a smart idea. The POSTIN script merely gets the UUID of the root partition then gets stymied because it doesn't know about the volume group that Fedora created a year ago.

You didn't mention your setup, so I don't know if any of that helps. If you are booting using lilo, then you have to run mkinitrd to make an initrd image, not an initramfs, something like this works for me:

`mkinitrd -c -k $KernelVersion -m ext4 -f ext4 -r /dev/disk/by-uuid/e484a3ee-0889-4f13-82ba-60d95c147018 -o initrd-$KernelVersion.img.gz`

Notice that you don't want lilo to boot from the drive, just the root partition. I invoke lilo using symlinks in lilo.confimage=/boot/vmlinuz
=-=-=-snip---=-=-
boot=/dev/disk/by-uuid/c454a8ee-0849-4f13-88ba-60d93c147018
root=/dev/disk/by-uuid/c454a8ee-0849-4f13-88ba-60d93c147018

initrd=/boot/initrd
label=whatever menu entry you want
read-only
-==-=-=snip=-=-=-
 
Old 04-19-2013, 03:18 AM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,139

Original Poster
Rep: Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307
Yes, thanks that does help and I can follow your wandering exactly. I have the policy that I don't want to spend 1/3 of my life learning software. My setup is a 60G SSD while UEFI is sorted out. I have set that up this way (Viewed From Slackware)
Code:
/dev/sda2        swap             swap        noatime,diratime,discard         0   1
/dev/sda3        /                ext4        noatime,diratime,discard         1   1
/dev/sda1        /boot            ext4        noatime,diratime,discard         1   2
/dev/sda6        /home            ext4        noatime,diratime,discard         1   2
/dev/sda5        /fedora          ext4        noatime,diratime,discard         1   2
/home & /boot are common partitions to both systems. When I reported a bug, they had to build a vm to test what I was doing, because nobody in fedora had ever tested anything like this.
My Lilo is in Slackware. I realize from this thread that nobody has a clue what a Fedora install is really doing, which is amusing. My problem is that every time since day 1, I cannot run things on the Fedora kernel, but the slackware-huge kernel runs just fine. That needs no initrd. I have heard the argument for uuids and it doesn't apply in my case.

So the kernel is just 'root=' with no other options and my problem is I have to build an initrd. Correct?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can not boot to OS, how do I update? widget Linux - Newbie 7 09-13-2009 11:30 AM
apache is barfing! sneakyimp Linux - Software 7 09-29-2005 02:38 PM
Fedora 2 can't boot after update Laen Fedora 5 11-24-2004 07:02 PM
can I update db on boot??? clearblueskies Linux - Newbie 2 05-23-2004 11:06 AM
Kernel update boot problems, no boot loader StaticSage Red Hat 2 01-09-2004 06:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration