summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-discuss/20120407/006906.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-discuss/20120407/006906.html')
-rw-r--r--zarb-ml/mageia-discuss/20120407/006906.html147
1 files changed, 147 insertions, 0 deletions
diff --git a/zarb-ml/mageia-discuss/20120407/006906.html b/zarb-ml/mageia-discuss/20120407/006906.html
new file mode 100644
index 000000000..c3e3e9223
--- /dev/null
+++ b/zarb-ml/mageia-discuss/20120407/006906.html
@@ -0,0 +1,147 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-discuss] Bug or Feature?
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Bug%20or%20Feature%3F&In-Reply-To=%3C4F808332.5020407%40Rock3d.net%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="006905.html">
+ <LINK REL="Next" HREF="006907.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-discuss] Bug or Feature?</H1>
+ <B>imnotpc</B>
+ <A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Bug%20or%20Feature%3F&In-Reply-To=%3C4F808332.5020407%40Rock3d.net%3E"
+ TITLE="[Mageia-discuss] Bug or Feature?">imnotpc at Rock3d.net
+ </A><BR>
+ <I>Sat Apr 7 20:10:58 CEST 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="006905.html">[Mageia-discuss] Bug or Feature?
+</A></li>
+ <LI>Next message: <A HREF="006907.html">[Mageia-discuss] Bug or Feature?
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#6906">[ date ]</a>
+ <a href="thread.html#6906">[ thread ]</a>
+ <a href="subject.html#6906">[ subject ]</a>
+ <a href="author.html#6906">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On 04/07/2012 02:07 PM, Thomas Backlund wrote:
+&gt;<i> 07.04.2012 20:59, imnotpc skrev:
+</I>&gt;&gt;<i> On 04/07/2012 12:43 PM, Wolfgang Bornath wrote:
+</I>&gt;&gt;&gt;<i> 2012/4/7 imnotpc&lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">imnotpc at rock3d.net</A>&gt;:
+</I>&gt;&gt;&gt;&gt;<i> On 04/07/2012 09:35 AM, Frank Griffin wrote:
+</I>&gt;&gt;&gt;&gt;&gt;<i> On 04/07/2012 08:51 AM, imnotpc wrote:
+</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> I just discovered that when a new kernel package is installed the grub
+</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> menu entry is added to the bottom rather than the top. The result is that
+</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> the original kernel remains the default and new kernels not used. Most of my
+</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> systems are only accessed through ssh so I had no idea the new kernels
+</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> weren't being used and this only came to my attention today when another
+</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> update, probably dbus, broke the old kernel and hung all my boxes during
+</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> reboot.
+</I>&gt;&gt;&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> I would think that if you install an update the expectation is that it
+</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> would be used by default. I haven't had time to check yet, but this may also
+</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> be the cause of other bugs I've been having. Is this a bug or intended
+</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> behavior?
+</I>&gt;&gt;&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;&gt;<i> Not so. The default uses the symlinks for vmlinuz and initrd which are
+</I>&gt;&gt;&gt;&gt;&gt;<i> version-independent, and the kernel install redefines them to point to the
+</I>&gt;&gt;&gt;&gt;&gt;<i> new kernel. The entry tacked on to the end uses the new versoins by name,
+</I>&gt;&gt;&gt;&gt;&gt;<i> and is there so that after the next new kernel comes along you'll have an
+</I>&gt;&gt;&gt;&gt;&gt;<i> entry to boot this one if you need to.
+</I>&gt;&gt;&gt;&gt;<i> So the first and last menu entry are the same most recent version? Then this
+</I>&gt;&gt;&gt;&gt;<i> is probably a bug since the symlink entry won't boot but the entry at the
+</I>&gt;&gt;&gt;&gt;<i> bottom that lists the version by name boots fine.
+</I>&gt;&gt;&gt;<i> Then something went wrong during installation of the new kernel. Could
+</I>&gt;&gt;&gt;<i> you please show the output of
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> $ ls -l /boot
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;<i> I don't think it effects this output, but just so you know I deleted
+</I>&gt;&gt;<i> most of the unused entries from the grub menu and moved the most recent
+</I>&gt;&gt;<i> version to the top so it would boot again if there was a power failure.
+</I>&gt;&gt;<i> The curious thing is I expected vmlinuz-3.3.1-desktop-1.mga2 to be here
+</I>&gt;&gt;<i> but it isn't. This box has received every update that has come out.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> [<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">root at Cedar1</A> jalaramie]# ls -l /boot
+</I>&gt;&gt;<i> total 20792
+</I>&gt;&gt;<i> -rw-r--r-- 1 root root 440 Apr 7 08:14 boot.backup.sda
+</I>&gt;&gt;<i> lrwxrwxrwx 1 root root 27 Apr 7 08:17 config -&gt;
+</I>&gt;&gt;<i> config-3.3.1-desktop-2.mga2
+</I>&gt;&gt;<i> -rw-r--r-- 1 root root 135041 Feb 16 09:36 config-3.2.6-desktop-3.mga2
+</I>&gt;&gt;<i> -rw-r--r-- 1 root root 136931 Apr 4 06:15 config-3.3.1-desktop-2.mga2
+</I>&gt;&gt;<i> drwxr-xr-x 2 root root 4096 Mar 21 19:03 dracut/
+</I>&gt;&gt;<i> -rwxr-xr-x 1 root root 537088 Apr 3 14:22 gfxmenu*
+</I>&gt;&gt;<i> drwxr-xr-x 2 root root 4096 Apr 7 08:14 grub/
+</I>&gt;&gt;<i> -rw-r--r-- 1 root root 5715971 Apr 3 14:22 initrd-3.2.6-desktop-3.mga2.img
+</I>&gt;&gt;<i> -rw-r--r-- 1 root root 5733762 Apr 5 07:32 initrd-3.3.1-desktop-2.mga2.img
+</I>&gt;&gt;<i> lrwxrwxrwx 1 root root 31 Apr 5 07:32 initrd-desktop.img -&gt;
+</I>&gt;&gt;<i> initrd-3.3.1-desktop-2.mga2.img
+</I>&gt;<i> You are missing the symlink initrd.img -&gt; initrd-3.3.1-desktop-2.mga2.img
+</I>&gt;<i>
+</I>&gt;<i> that is used on default setups...
+</I>&gt;<i>
+</I>&gt;<i> --
+</I>&gt;<i> Thomas
+</I>
+I found this in the system log for this box:
+
+Apr 5 07:31:32 Cedar1 bootloader-config[12407]: HDIO_GETGEO on /dev/sda succeeded: heads=255 sectors=63 cylinders=9729 start=0
+Apr 5 07:31:32 Cedar1 bootloader-config[12407]: id2hd: 0x0007920f=&gt;sda
+Apr 5 07:31:32 Cedar1 bootloader-config[12407]: id2edd: 0x0007920f=&gt;/sys/firmware/edd/int13_dev80
+Apr 5 07:31:32 Cedar1 bootloader-config[12407]: geometry_from_edd sda 0x0007920f: 9729/255/63
+Apr 5 07:31:32 Cedar1 bootloader-config[12407]: test_for_bad_drives(/dev/sda on sector #62)
+Apr 5 07:31:32 Cedar1 bootloader-config[12407]: running: blkid -o udev -p /dev/sda
+Apr 5 07:31:32 Cedar1 bootloader-config[12407]: running: blkid -o udev -p /dev/sda
+Apr 5 07:31:32 Cedar1 bootloader-config[12407]: found a dos partition table on /dev/sda at sector 0
+Apr 5 07:31:32 Cedar1 bootloader-config[12407]: guess_geometry_from_partition_table sda: 9729/255/63
+Apr 5 07:31:32 Cedar1 bootloader-config[12407]: running: blkid -o udev -p /dev/sda1
+Apr 5 07:31:33 Cedar1 bootloader-config[12407]: blkid gave: swap 9b788175-efe0-41a6-8220-8c3e4b7e0dd4
+Apr 5 07:31:33 Cedar1 bootloader-config[12407]: running: blkid -o udev -p /dev/sda5
+Apr 5 07:31:33 Cedar1 bootloader-config[12407]: blkid gave: ext4 3d52f62b-fb08-4018-b0e5-5c792022be76
+Apr 5 07:31:33 Cedar1 bootloader-config[12407]: running: blkid -o udev -p /dev/sda6
+Apr 5 07:31:33 Cedar1 bootloader-config[12407]: blkid gave: ext4 143f3efc-a8da-4470-819e-94b6d1342ef2
+Apr 5 07:31:34 Cedar1 bootloader-config[12407]: perImageAppend is now splash quiet resume=UUID=9b788175-efe0-41a6-8220-8c3e4b7e0dd4
+Apr 5 07:31:34 Cedar1 bootloader-config[12407]: adding /boot/vmlinuz-3.3.1-desktop-2.mga2
+Apr 5 07:31:34 Cedar1 bootloader-config[12407]: running: mkinitrd -f /boot/initrd-3.3.1-desktop-2.mga2.img 3.3.1-desktop-2.mga2
+Apr 5 07:32:00 Cedar1 bootloader-config[12407]: running: /usr/share/bootsplash/scripts/make-boot-splash /boot/initrd-3.3.1-desktop-2.mga2.img 800
+Apr 5 07:32:10 Cedar1 bootloader-config[12407]: ERROR: /boot/initrd.img is not a symbolic link
+Apr 5 07:32:10 Cedar1 bootloader-config[12407]: replacing /boot/vmlinuz with /boot/vmlinuz-3.3.1-desktop-1.mga2 for bootloader label linux
+Apr 5 07:32:10 Cedar1 bootloader-config[12407]: entries linux do not have same kernel_or_dev: /boot/vmlinuz-3.3.1-desktop-1.mga2 ne /boot/vmlinuz
+Apr 5 07:32:10 Cedar1 bootloader-config[12407]: entries desktop 3.3.1-1.mga2 do not have same initrd: /boot/initrd-3.3.1-desktop-1.mga2.img ne /boot/initrd.img
+Apr 5 07:32:10 Cedar1 bootloader-config[12407]: current labels: linux linux-nonfb failsafe desktop 3.2.6-3.mga2 desktop 3.3.1-1.mga2 alt_desktop 3.3.1-1.mga2
+Apr 5 07:32:10 Cedar1 bootloader-config[12407]: adding /boot/vmlinuz-3.3.1-desktop-2.mga2
+Apr 5 07:32:10 Cedar1 bootloader-config[12407]: current labels: linux linux-nonfb failsafe desktop 3.2.6-3.mga2 desktop 3.3.1-1.mga2 alt_desktop 3.3.1-1.mga2 desktop 3.3.1-2.mga2
+Apr 5 07:32:10 Cedar1 bootloader-config[12407]: writing grub config to /boot/grub/menu.lst
+
+
+</PRE>
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="006905.html">[Mageia-discuss] Bug or Feature?
+</A></li>
+ <LI>Next message: <A HREF="006907.html">[Mageia-discuss] Bug or Feature?
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#6906">[ date ]</a>
+ <a href="thread.html#6906">[ thread ]</a>
+ <a href="subject.html#6906">[ subject ]</a>
+ <a href="author.html#6906">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-discuss">More information about the Mageia-discuss
+mailing list</a><br>
+</body></html>