summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-discuss/20120407/006904.html
blob: 10c11207db045ee3f8915d5c2bc48452f4050fe6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<!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=%3C4F80825D.7080000%40mageia.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="006903.html">
   <LINK REL="Next"  HREF="006905.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-discuss] Bug or Feature?</H1>
    <B>Thomas Backlund</B> 
    <A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Bug%20or%20Feature%3F&In-Reply-To=%3C4F80825D.7080000%40mageia.org%3E"
       TITLE="[Mageia-discuss] Bug or Feature?">tmb at mageia.org
       </A><BR>
    <I>Sat Apr  7 20:07:25 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="006903.html">[Mageia-discuss] Bug or Feature?
</A></li>
        <LI>Next message: <A HREF="006905.html">[Mageia-discuss] Bug or Feature?
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#6904">[ date ]</a>
              <a href="thread.html#6904">[ thread ]</a>
              <a href="subject.html#6904">[ subject ]</a>
              <a href="author.html#6904">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>07.04.2012 20:59, imnotpc skrev:
&gt;<i> On 04/07/2012 12:43 PM, Wolfgang Bornath wrote:
</I>&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;<i> On 04/07/2012 09:35 AM, Frank Griffin wrote:
</I>&gt;&gt;&gt;&gt;<i> On 04/07/2012 08:51 AM, imnotpc wrote:
</I>&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;<i> menu entry is added to the bottom rather than the top. The result is that
</I>&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;<i> systems are only accessed through ssh so I had no idea the new kernels
</I>&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;<i> update, probably dbus, broke the old kernel and hung all my boxes during
</I>&gt;&gt;&gt;&gt;&gt;<i> reboot.
</I>&gt;&gt;&gt;&gt;&gt;<i>
</I>&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;<i> would be used by default. I haven't had time to check yet, but this may also
</I>&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;<i> behavior?
</I>&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> Not so.  The default uses the symlinks for vmlinuz and initrd which are
</I>&gt;&gt;&gt;&gt;<i> version-independent, and the kernel install redefines them to point to the
</I>&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;<i> and is there so that after the next new kernel comes along you'll have an
</I>&gt;&gt;&gt;&gt;<i> entry to boot this one if you need to.
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> So the first and last menu entry are the same most recent version? Then this
</I>&gt;&gt;&gt;<i> is probably a bug since the symlink entry won't boot but the entry at the
</I>&gt;&gt;&gt;<i> bottom that lists the version by name boots fine.
</I>&gt;&gt;<i> Then something went wrong during installation of the new kernel. Could
</I>&gt;&gt;<i> you please show the output of
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> $ ls -l /boot
</I>&gt;&gt;<i>
</I>&gt;<i> I don't think it effects this output, but just so you know I deleted 
</I>&gt;<i> most of the unused entries from the grub menu and moved the most recent 
</I>&gt;<i> version to the top so it would boot again if there was a power failure. 
</I>&gt;<i> The curious thing is I expected vmlinuz-3.3.1-desktop-1.mga2 to be here 
</I>&gt;<i> but it isn't. This box has received every update that has come out.
</I>&gt;<i> 
</I>&gt;<i> [<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">root at Cedar1</A> jalaramie]# ls -l /boot
</I>&gt;<i> total 20792
</I>&gt;<i> -rw-r--r-- 1 root root     440 Apr  7 08:14 boot.backup.sda
</I>&gt;<i> lrwxrwxrwx 1 root root      27 Apr  7 08:17 config -&gt; 
</I>&gt;<i> config-3.3.1-desktop-2.mga2
</I>&gt;<i> -rw-r--r-- 1 root root  135041 Feb 16 09:36 config-3.2.6-desktop-3.mga2
</I>&gt;<i> -rw-r--r-- 1 root root  136931 Apr  4 06:15 config-3.3.1-desktop-2.mga2
</I>&gt;<i> drwxr-xr-x 2 root root    4096 Mar 21 19:03 dracut/
</I>&gt;<i> -rwxr-xr-x 1 root root  537088 Apr  3 14:22 gfxmenu*
</I>&gt;<i> drwxr-xr-x 2 root root    4096 Apr  7 08:14 grub/
</I>&gt;<i> -rw-r--r-- 1 root root 5715971 Apr  3 14:22 initrd-3.2.6-desktop-3.mga2.img
</I>&gt;<i> -rw-r--r-- 1 root root 5733762 Apr  5 07:32 initrd-3.3.1-desktop-2.mga2.img
</I>&gt;<i> lrwxrwxrwx 1 root root      31 Apr  5 07:32 initrd-desktop.img -&gt; 
</I>&gt;<i> initrd-3.3.1-desktop-2.mga2.img
</I>
You are missing the symlink initrd.img -&gt; initrd-3.3.1-desktop-2.mga2.img

that is used on default setups...

--
Thomas
</PRE>



<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="006903.html">[Mageia-discuss] Bug or Feature?
</A></li>
	<LI>Next message: <A HREF="006905.html">[Mageia-discuss] Bug or Feature?
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#6904">[ date ]</a>
              <a href="thread.html#6904">[ thread ]</a>
              <a href="subject.html#6904">[ subject ]</a>
              <a href="author.html#6904">[ 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>