Gentoo Archives: gentoo-user

From: thegeezer@×××××××××.net
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] grub2 boots only older kernel
Date: Tue, 20 May 2014 19:25:09
Message-Id: 166813ba2d37f3b99a2d68a7bc67c61d@thegeezer.net
In Reply to: Re: [gentoo-user] grub2 boots only older kernel by wireless@tampabay.rr.com
1 On 2014-05-20 02:28, wireless@×××××××××××.com wrote:
2 > On 05/19/14 19:00, wraeth wrote:
3 >> -----BEGIN PGP SIGNED MESSAGE-----
4 >> Hash: SHA256
5 >>
6 >> On 20/05/14 05:26, James wrote:
7 >>> Hello,
8 >>
9 >> Greetings :-)
10 >>
11 >>> I even copied of the .config file from 3.13.6 to 3.14.4, answered the
12 >>> questions and issued:
13 >>
14 >> By "answered the questions" can I assume this to mean `make
15 >> oldconfig`?
16 >>
17 >>> make && make modules_install cp arch/x86_64/boot/bzImage
18 >>> /boot/kernel-3.14.4-gentoo cp System.map
19 >>> /boot/System.map-3.14.4-gentoo cp
20 >>> .config /boot/config-3.14.4-gentoo grub2-mkconfig -o
21 >>> /boot/grub/grub.cfg
22
23 stupid question i know but - was /boot mounted before doing the copies ?
24 you mention you have six other kernels on there -- could it be an out of
25 disk / inode issue so it looks like it's copied but hasn't ?
26
27 >>
28 >> This looks fine.
29 >>
30 >>> GRUB_DEFAULT=kernel-3.14.4-gentoo GRUB_HIDDEN_TIMEOUT=3
31 >>> GRUB_TIMEOUT=10
32 >>> GRUB_GFXMODE=1024x768 GRUB_DISABLE_RECOVERY=true
33 >>
34 >> This also looks fine
35 >>
36 >>> I need ideas as where to look, what to fix to get a newer kernel
37 >>> booting
38 >>> from grub2. Not any changes since 3.13 series was first used:
39 >>> (3.13.1)
40 >>> Note this problem started with kernel 3.13.7-gentoo and has persisted
41 >>> through 3.14.4. I have even diff the .config files [1]
42 >>
43 >> For anyone to give you a useful answer, we would need more detailed
44 >> information about your specific issue - for example:
45 >>
46 >> - - how far through the boot process does the "broken" kernel get?
47 >> - - Are there any error messages or stack traces?
48 >> - - Is there any display at all?
49 >> - - What is the kernel cmdline used to boot the kernel?
50 >> - - Do you use an initramfs?
51 >
52 > It never tries to boot. Grub just sits there withe phrase (did not
53 > copy it down) where it says what version it will boot on the screen
54
55 please do copy the phrase to this list, I would be interested to know
56
57 > and it does nothing (locked up?) I have to <cntl><alt><del> or push
58
59 from the grub2 menu can you choose your old kernels and boot them?
60 is it sitting waiting for you to press enter but perhaps there is a
61 wierd usb-legacy thing in the bios preventing the keyboard working ?
62
63 does it appear to acknowledge the pressing of enter by not making you
64 wait for the timeout and then just goes to a blank screen ? a flashing
65 cursor ?
66
67 > a manual reset. It never tries to load the kernel. Does not matter if
68 > I try a 3.13.7 or 3.14.x, I've rebuilt them quite a few times and did
69 > all the grub2 steps, but none of the newer kernels will boot.
70 >
71
72 what about
73 # cat /etc/portage/make.conf
74 # gcc-config -l
75 # uname -a
76 # ls -lah /usr/src/linux/arch/x86_64/boot/bzImage
77
78 I was thinking maybe that you have made another change somewhere that is
79 making the compilation of a new kernel skewiff... i.e. it's your
80 compiler (build environment) not your grub that might be at fault
81
82
83 > Nothing was done to the bios. The only change was to get rid of ATI
84 > Frame buffer support as suggested upon a recent update:
85 >
86 > * Checking for suitable kernel configuration options...
87 > * CONFIG_FB_RADEON: should not be set. But it is.
88 > * Please check to make sure these options are set correctly.
89 > * Failure to do so may cause unexpected problems.
90 >
91
92 again stupid question but have you tried compiling with this option back
93 in ?
94 i.e. could it be somehow silently booting but not updating the screen
95 (clutching at straws i know)
96
97 >
98 >
99 >
100 > James