Gentoo Archives: gentoo-user

From: Steve Wilson <steve+gentoo_users@×××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] gentoo-sources-5.10.103 - will not boot
Date: Mon, 14 Mar 2022 20:51:58
Message-Id: 1f032993-0d9a-5adb-2e7a-12424c936151@swsystem.co.uk
In Reply to: Re: [gentoo-user] gentoo-sources-5.10.103 - will not boot by thelma@sys-concept.com
1 On 13/03/2022 22:26, thelma@×××××××××××.com wrote:
2 > On 3/13/22 14:34, Neil Bothwick wrote:
3 >> On Sun, 13 Mar 2022 14:04:59 -0600, thelma@×××××××××××.com wrote:
4 >>
5 >>> On 3/13/22 13:21, thelma@×××××××××××.com wrote:
6 >>>> Upgraded to: gentoo-sources-5.10.103
7 >>>> and kernel will not boot, not even recovery mode.
8 >>>>
9 >>>> I'm getting some strange looping/scrolling message on the screen:
10 >>>>
11 >>>> Kscan: watching read  1  fsk983s....
12 >>>>
13 >>>> I followed standard procedure:
14 >>>>
15 >>>> emerge -avq =sys-kernel/gentoo-sources-5.10.103
16 >>>> cd /usr/src/
17 >>>> eselect kernel set 3  (this is: linux -> linux-5.10.103-gentoo)
18 >>>> cd linux
19 >>>> cp ../linux-old_kernel/.config .
20 >>>> mount /boot/
21 >>>>
22 >>>> make oldconfig
23 >>>> make
24 >>>> make modules_prepare
25 >>>> make modules_install
26 >>>> make install
27 >>>>
28 >>>> grub-mkconfig -o /boot/grub/grub.cfg
29 >>>> reboot
30 >>>>
31 >>>> ( did the same on my other boxes and this kernel is booting OK on
32 >>>> other installations)
33 >>>
34 >>> Solved.
35 >>
36 >> Please post the solution. Otherwise anyone with a similar problem
37 >> searching for an answer will find only the question and a tease that it
38 >> can be fixed but not telling how.
39 >
40 > Simple human error :-/
41 >
42 > When I did:
43 > cd linux
44 > cp ../linux-old_kernel/.config .
45 > mount /boot/
46 > make oldconfig
47 >
48 > New entries showed up. Instead of pressing "enter" I made a mistake
49 > and press "Y" several times.
50 > This enabled some feature in the new kernel that shouldn't be there;
51 > example: "CONFIG_KCSAN = y"
52 >
53 > Redoing the process just by hitting "enter" soled the problem; new
54 > kernel boot as it should.
55 >
56 make olddefconfig will the same as oldconfig while picking the defaults,
57 this will save on hitting enter each time.
58
59 Steve