* [gentoo-user] grub2 boots only older kernel
@ 2014-05-19 19:26 James
2014-05-19 23:49 ` wraeth
0 siblings, 1 reply; 6+ messages in thread
From: James @ 2014-05-19 19:26 UTC (permalink / raw
To: gentoo-user
Hello,
> grub 2 trouble?
I have 6 different kernels. that show up in /boot and in the grub2 boot menu
of choices.
The lastest version that works is 3.13.6
I cannot get any since then to boot the (FX8350) gentoo system. Very weird.
I even copied of the .config file from 3.13.6 to 3.14.4, answered the
questions and issued:
make && make modules_install
cp arch/x86_64/boot/bzImage /boot/kernel-3.14.4-gentoo
cp System.map /boot/System.map-3.14.4-gentoo
cp .config /boot/config-3.14.4-gentoo
grub2-mkconfig -o /boot/grub/grub.cfg
/etc/default/grub has:
GRUB_DEFAULT=kernel-3.14.4-gentoo
GRUB_HIDDEN_TIMEOUT=3
GRUB_TIMEOUT=10
GRUB_GFXMODE=1024x768
GRUB_DISABLE_RECOVERY=true
I need ideas as where to look, what to fix to get a newer kernel
booting from grub2. Not any changes since 3.13 series was first used:
(3.13.1) Note this problem started with kernel 3.13.7-gentoo and has
persisted through 3.14.4. I have even diff the .config files [1]
stumped needing a nudge,
James
[1]
diff config-3.13.6B-gentoo config-3.14.4-gentoo
3c3
< # Linux/x86 3.13.6-gentoo Kernel Configuration
---
> # Linux/x86 3.14.4-gentoo Kernel Configuration
178d177
< # CONFIG_UIDGID_STRICT_TYPE_CHECKS is not set
264a264,268
> CONFIG_HAVE_CC_STACKPROTECTOR=y
> # CONFIG_CC_STACKPROTECTOR is not set
> CONFIG_CC_STACKPROTECTOR_NONE=y
> # CONFIG_CC_STACKPROTECTOR_REGULAR is not set
> # CONFIG_CC_STACKPROTECTOR_STRONG is not set
399d402
< CONFIG_MICROCODE_INTEL_LIB=y
452a456
> # CONFIG_ZSMALLOC is not set
465d468
< # CONFIG_CC_STACKPROTECTOR is not set
771a775
> # CONFIG_NF_TABLES_INET is not set
780a785
> CONFIG_NFT_REJECT=m
816d820
< CONFIG_NFT_REJECT_IPV4=y
817a822
> CONFIG_NFT_REJECT_IPV4=m
836a842
> CONFIG_NFT_REJECT_IPV6=m
885a892,893
> # CONFIG_NET_SCH_HHF is not set
> # CONFIG_NET_SCH_PIE is not set
933c941,942
< # CONFIG_NETPRIO_CGROUP is not set
---
> # CONFIG_CGROUP_NET_PRIO is not set
> # CONFIG_CGROUP_NET_CLASSID is not set
1104a1114
> # CONFIG_GENWQE is not set
1513a1524
> CONFIG_ARCH_MIGHT_HAVE_PC_SERIO=y
1580a1592
> # CONFIG_SERIAL_CLPS711X is not set
1665a1678
> # CONFIG_I2C_DESIGNWARE_PLATFORM is not set
1671a1685
> # CONFIG_I2C_RIIC is not set
1681a1696
> # CONFIG_I2C_ROBOTFUZZ_OSIF is not set
1730a1746
> # CONFIG_GPIO_CLPS711X is not set
1733a1750
> # CONFIG_GPIO_SCH311X is not set
1764d1780
< # CONFIG_GPIO_MCP23S08 is not set
1937d1952
< # CONFIG_CPU_THERMAL is not set
1938a1954
> # CONFIG_RCAR_THERMAL is not set
1940a1957
> # CONFIG_ACPI_INT3403_THERMAL is not set
1952a1970
> # CONFIG_DW_WATCHDOG is not set
2034a2053
> # CONFIG_MFD_MAX14577 is not set
2055a2075
> # CONFIG_MFD_LP3943 is not set
2085a2106
> # CONFIG_REGULATOR_ACT8865 is not set
2121d2141
< # CONFIG_VIDEO_V4L2_INT_DEVICE is not set
2186d2205
< # CONFIG_USB_SN9C102 is not set
2240a2260,2263
> # Audio/Video compression chips
> #
> #
2280a2304
> # CONFIG_DRM_I915 is not set
2291a2316
> # CONFIG_DRM_BOCHS is not set
2328a2354
> # CONFIG_FB_OPENCORES is not set
2667d2692
< # CONFIG_USB_MUSB_HDRC is not set
2705a2731
> # CONFIG_USB_MUSB_HDRC is not set
2706a2733
> # CONFIG_USB_DWC2 is not set
2742a2770
> # CONFIG_USB_SERIAL_MXUPORT is not set
2796a2825,2826
> # CONFIG_USB_OTG_FSM is not set
> # CONFIG_KEYSTONE_USB_PHY is not set
2819a2850
> # CONFIG_USB_GR_UDC is not set
2930a2962
> # CONFIG_RTC_DRV_ISL12057 is not set
3010a3043
> # CONFIG_HP_WIRELESS is not set
3113a3147,3151
> # Humidity sensors
> #
> # CONFIG_DHT11 is not set
>
> #
3122a3161
> # CONFIG_CM32181 is not set
3137a3177,3180
> # Inclinometer sensors
> #
> #
3139a3183
> # CONFIG_MPL3115 is not set
3157a3202
> # CONFIG_BCM_KONA_USB2_PHY is not set
3169a3215
> CONFIG_DMI_SCAN_MACHINE_NON_EFI_FALLBACK=y
3176a3223
> CONFIG_EFI_RUNTIME_MAP=y
3221d3267
< CONFIG_GENERIC_ACL=y
3338d3383
< # CONFIG_DEBUG_INFO is not set
3381a3427
> CONFIG_PANIC_TIMEOUT=0
3474a3521,3522
> # CONFIG_TEST_MODULE is not set
> # CONFIG_TEST_USER_COPY is not set
3493d3540
< # CONFIG_X86_DECODER_SELFTEST is not set
3672a3720
> # CONFIG_CRYPTO_DEV_CCP is not set
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] grub2 boots only older kernel
2014-05-19 19:26 [gentoo-user] grub2 boots only older kernel James
@ 2014-05-19 23:49 ` wraeth
0 siblings, 0 replies; 6+ messages in thread
From: wraeth @ 2014-05-19 23:49 UTC (permalink / raw
To: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 20/05/14 05:26, James wrote:
> Hello,
Greetings :-)
> I even copied of the .config file from 3.13.6 to 3.14.4, answered the
> questions and issued:
By "answered the questions" can I assume this to mean `make oldconfig`?
> make && make modules_install cp arch/x86_64/boot/bzImage
> /boot/kernel-3.14.4-gentoo cp System.map /boot/System.map-3.14.4-gentoo cp
> .config /boot/config-3.14.4-gentoo grub2-mkconfig -o /boot/grub/grub.cfg
This looks fine.
> GRUB_DEFAULT=kernel-3.14.4-gentoo GRUB_HIDDEN_TIMEOUT=3 GRUB_TIMEOUT=10
> GRUB_GFXMODE=1024x768 GRUB_DISABLE_RECOVERY=true
This also looks fine
> I need ideas as where to look, what to fix to get a newer kernel booting
> from grub2. Not any changes since 3.13 series was first used: (3.13.1)
> Note this problem started with kernel 3.13.7-gentoo and has persisted
> through 3.14.4. I have even diff the .config files [1]
For anyone to give you a useful answer, we would need more detailed
information about your specific issue - for example:
- - how far through the boot process does the "broken" kernel get?
- - Are there any error messages or stack traces?
- - Is there any display at all?
- - What is the kernel cmdline used to boot the kernel?
- - Do you use an initramfs?
As for the kernel diff below, there are obviously a few options changed
between the kernels, but without more information about your hardware and an
idea of what is actually happening, it's difficult to tell if any are the
cause of your issue.
> stumped needing a nudge,
*nudge*
Cheers;
wraeth
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iF4EAREIAAYFAlN6mJYACgkQXcRKerLZ91lH+wD8CmQ2TzCvd9kcHf3LbW6cLt9S
nvWraneMUG06R9Cs2xgA/iow3X4EqGK6nGzxHNgq6nX30NKIO6ZdVBhVz7H4y4me
=bvNG
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] grub2 boots only older kernel
[not found] ` <njFDk-37H-7@gated-at.bofh.it>
@ 2014-05-20 1:28 ` wireless
2014-05-20 19:25 ` thegeezer
2014-05-21 12:56 ` Todd Goodman
0 siblings, 2 replies; 6+ messages in thread
From: wireless @ 2014-05-20 1:28 UTC (permalink / raw
To: gentoo-user
On 05/19/14 19:00, wraeth wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> On 20/05/14 05:26, James wrote:
>> Hello,
>
> Greetings :-)
>
>> I even copied of the .config file from 3.13.6 to 3.14.4, answered the
>> questions and issued:
>
> By "answered the questions" can I assume this to mean `make oldconfig`?
>
>> make && make modules_install cp arch/x86_64/boot/bzImage
>> /boot/kernel-3.14.4-gentoo cp System.map /boot/System.map-3.14.4-gentoo cp
>> .config /boot/config-3.14.4-gentoo grub2-mkconfig -o /boot/grub/grub.cfg
>
> This looks fine.
>
>> GRUB_DEFAULT=kernel-3.14.4-gentoo GRUB_HIDDEN_TIMEOUT=3 GRUB_TIMEOUT=10
>> GRUB_GFXMODE=1024x768 GRUB_DISABLE_RECOVERY=true
>
> This also looks fine
>
>> I need ideas as where to look, what to fix to get a newer kernel booting
>> from grub2. Not any changes since 3.13 series was first used: (3.13.1)
>> Note this problem started with kernel 3.13.7-gentoo and has persisted
>> through 3.14.4. I have even diff the .config files [1]
>
> For anyone to give you a useful answer, we would need more detailed
> information about your specific issue - for example:
>
> - - how far through the boot process does the "broken" kernel get?
> - - Are there any error messages or stack traces?
> - - Is there any display at all?
> - - What is the kernel cmdline used to boot the kernel?
> - - Do you use an initramfs?
It never tries to boot. Grub just sits there withe phrase (did not copy
it down) where it says what version it will boot on the screen
and it does nothing (locked up?) I have to <cntl><alt><del> or push
a manual reset. It never tries to load the kernel. Does not matter if
I try a 3.13.7 or 3.14.x, I've rebuilt them quite a few times and did
all the grub2 steps, but none of the newer kernels will boot.
Nothing was done to the bios. The only change was to get rid of ATI
Frame buffer support as suggested upon a recent update:
* Checking for suitable kernel configuration options...
* CONFIG_FB_RADEON: should not be set. But it is.
* Please check to make sure these options are set correctly.
* Failure to do so may cause unexpected problems.
James
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] grub2 boots only older kernel
2014-05-20 1:28 ` wireless
@ 2014-05-20 19:25 ` thegeezer
2014-05-21 12:56 ` Todd Goodman
1 sibling, 0 replies; 6+ messages in thread
From: thegeezer @ 2014-05-20 19:25 UTC (permalink / raw
To: gentoo-user
On 2014-05-20 02:28, wireless@tampabay.rr.com wrote:
> On 05/19/14 19:00, wraeth wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA256
>>
>> On 20/05/14 05:26, James wrote:
>>> Hello,
>>
>> Greetings :-)
>>
>>> I even copied of the .config file from 3.13.6 to 3.14.4, answered the
>>> questions and issued:
>>
>> By "answered the questions" can I assume this to mean `make
>> oldconfig`?
>>
>>> make && make modules_install cp arch/x86_64/boot/bzImage
>>> /boot/kernel-3.14.4-gentoo cp System.map
>>> /boot/System.map-3.14.4-gentoo cp
>>> .config /boot/config-3.14.4-gentoo grub2-mkconfig -o
>>> /boot/grub/grub.cfg
stupid question i know but - was /boot mounted before doing the copies ?
you mention you have six other kernels on there -- could it be an out of
disk / inode issue so it looks like it's copied but hasn't ?
>>
>> This looks fine.
>>
>>> GRUB_DEFAULT=kernel-3.14.4-gentoo GRUB_HIDDEN_TIMEOUT=3
>>> GRUB_TIMEOUT=10
>>> GRUB_GFXMODE=1024x768 GRUB_DISABLE_RECOVERY=true
>>
>> This also looks fine
>>
>>> I need ideas as where to look, what to fix to get a newer kernel
>>> booting
>>> from grub2. Not any changes since 3.13 series was first used:
>>> (3.13.1)
>>> Note this problem started with kernel 3.13.7-gentoo and has persisted
>>> through 3.14.4. I have even diff the .config files [1]
>>
>> For anyone to give you a useful answer, we would need more detailed
>> information about your specific issue - for example:
>>
>> - - how far through the boot process does the "broken" kernel get?
>> - - Are there any error messages or stack traces?
>> - - Is there any display at all?
>> - - What is the kernel cmdline used to boot the kernel?
>> - - Do you use an initramfs?
>
> It never tries to boot. Grub just sits there withe phrase (did not
> copy it down) where it says what version it will boot on the screen
please do copy the phrase to this list, I would be interested to know
> and it does nothing (locked up?) I have to <cntl><alt><del> or push
from the grub2 menu can you choose your old kernels and boot them?
is it sitting waiting for you to press enter but perhaps there is a
wierd usb-legacy thing in the bios preventing the keyboard working ?
does it appear to acknowledge the pressing of enter by not making you
wait for the timeout and then just goes to a blank screen ? a flashing
cursor ?
> a manual reset. It never tries to load the kernel. Does not matter if
> I try a 3.13.7 or 3.14.x, I've rebuilt them quite a few times and did
> all the grub2 steps, but none of the newer kernels will boot.
>
what about
# cat /etc/portage/make.conf
# gcc-config -l
# uname -a
# ls -lah /usr/src/linux/arch/x86_64/boot/bzImage
I was thinking maybe that you have made another change somewhere that is
making the compilation of a new kernel skewiff... i.e. it's your
compiler (build environment) not your grub that might be at fault
> Nothing was done to the bios. The only change was to get rid of ATI
> Frame buffer support as suggested upon a recent update:
>
> * Checking for suitable kernel configuration options...
> * CONFIG_FB_RADEON: should not be set. But it is.
> * Please check to make sure these options are set correctly.
> * Failure to do so may cause unexpected problems.
>
again stupid question but have you tried compiling with this option back
in ?
i.e. could it be somehow silently booting but not updating the screen
(clutching at straws i know)
>
>
>
> James
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] grub2 boots only older kernel
2014-05-20 1:28 ` wireless
2014-05-20 19:25 ` thegeezer
@ 2014-05-21 12:56 ` Todd Goodman
1 sibling, 0 replies; 6+ messages in thread
From: Todd Goodman @ 2014-05-21 12:56 UTC (permalink / raw
To: gentoo-user
* wireless@tampabay.rr.com <wireless@tampabay.rr.com> [140519 21:25]:
[SNIP]
> It never tries to boot. Grub just sits there withe phrase (did not copy
> it down) where it says what version it will boot on the screen
> and it does nothing (locked up?) I have to <cntl><alt><del> or push
> a manual reset. It never tries to load the kernel. Does not matter if
> I try a 3.13.7 or 3.14.x, I've rebuilt them quite a few times and did
> all the grub2 steps, but none of the newer kernels will boot.
>
> Nothing was done to the bios. The only change was to get rid of ATI
> Frame buffer support as suggested upon a recent update:
>
> * Checking for suitable kernel configuration options...
> * CONFIG_FB_RADEON: should not be set. But it is.
> * Please check to make sure these options are set correctly.
> * Failure to do so may cause unexpected problems.
>
>
>
>
> James
I've had problems like this with grub2 when it was trying to retain the
graphics mode (sorry, I don't remember the line in grub.cfg since I've
since removed it.)
I usually find grub problems by entering the grub command line and
typing the commands in the menuentry from /boot/grub/grub.cfg that
doesn't work one at a time.
Todd
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] grub2 boots only older kernel
[not found] ` <nkehJ-42n-17@gated-at.bofh.it>
@ 2014-05-21 22:56 ` wireless
0 siblings, 0 replies; 6+ messages in thread
From: wireless @ 2014-05-21 22:56 UTC (permalink / raw
To: gentoo-user; +Cc: Todd Goodman
On 05/21/14 08:00, Todd Goodman wrote:
> * wireless@tampabay.rr.com <wireless@tampabay.rr.com> [140519 21:25]:
> [SNIP]
>> It never tries to boot. Grub just sits there withe phrase (did not copy
>> it down) where it says what version it will boot on the screen
>> and it does nothing (locked up?) I have to <cntl><alt><del> or push
>> a manual reset. It never tries to load the kernel. Does not matter if
>> I try a 3.13.7 or 3.14.x, I've rebuilt them quite a few times and did
>> all the grub2 steps, but none of the newer kernels will boot.
>>
>> Nothing was done to the bios. The only change was to get rid of ATI
>> Frame buffer support as suggested upon a recent update:
>>
>> * Checking for suitable kernel configuration options...
>> * CONFIG_FB_RADEON: should not be set. But it is.
>> * Please check to make sure these options are set correctly.
>> * Failure to do so may cause unexpected problems.
>>
>>
>>
>>
>> James
>
> I've had problems like this with grub2 when it was trying to retain the
> graphics mode (sorry, I don't remember the line in grub.cfg since I've
> since removed it.)
yep, this is what I suspect. I may need to reinstall grub2, for some
unknown reason. My research so far has yielded lots of anomolies with
grub2....
>
> I usually find grub problems by entering the grub command line and
> typing the commands in the menuentry from /boot/grub/grub.cfg that
> doesn't work one at a time.
Good idea, I'll try this.
> Todd
James
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-05-21 22:52 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-19 19:26 [gentoo-user] grub2 boots only older kernel James
2014-05-19 23:49 ` wraeth
[not found] <njBq1-5sY-1@gated-at.bofh.it>
[not found] ` <njFDk-37H-7@gated-at.bofh.it>
2014-05-20 1:28 ` wireless
2014-05-20 19:25 ` thegeezer
2014-05-21 12:56 ` Todd Goodman
[not found] <njH2r-5gX-13@gated-at.bofh.it>
[not found] ` <njH2r-5gX-15@gated-at.bofh.it>
[not found] ` <njH2q-5gX-11@gated-at.bofh.it>
[not found] ` <nkehJ-42n-17@gated-at.bofh.it>
2014-05-21 22:56 ` wireless
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox