Gentoo Archives: gentoo-user

From: thelma@×××××××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] genkernel all
Date: Thu, 26 Nov 2020 01:38:08
Message-Id: bdec9a62-f423-b1e6-9e4c-55de320aee4c@sys-concept.com
In Reply to: Re: [gentoo-user] genkernel all by Dale
1 On 11/25/2020 10:33 AM, Dale wrote:
2 > thelma@×××××××××××.com wrote:
3 >> On 11/25/2020 08:27 AM, thelma@×××××××××××.com wrote:
4 >>> On 11/25/2020 08:23 AM, thelma@×××××××××××.com wrote:
5 >>>> I compiled "genkernel all" instead of looking for the correct entry to
6 >>>> boot my M.2 drive.
7 >>>>
8 >>>> Not I compiled nvidia-drivers and got a message:
9 >>>>
10 >>>> * Messages for package x11-drivers/nvidia-drivers-455.28-r1:
11 >>>>
12 >>>> * CONFIG_I2C_NVIDIA_GPU: should not be set. But it is.
13 >>>> * Please check to make sure these options are set correctly.
14 >>>> * Failure to do so may cause unexpected problems.
15 >>>> * CONFIG_I2C_NVIDIA_GPU: should not be set. But it is.
16 >>>>
17 >>>> Genkernel all doesn't have any .config file.
18 >>>> How to remove them? Where to get .config for genkernel all?
19 >>>>
20 >>> found it in /etc/genkernel.conf
21 >> That was not it. I copied genkernel.conf to /usr/src/linux/.config but
22 >> this configuration file is different.
23 >> I was looking for CONFIG_I2C_NVIDIA_GPU in genkernel.conf I couldn't
24 >> find it.
25 >>
26 >> The reason I'm using "genkernel all" as there is some setting missing in
27 >> my old .config file that is stop booting my M.2 SSD (are there any
28 >> special option in kernel for it?). I'm getting an error:
29 >> kernel panic - not syncing: VFS: unable to mount root fs on
30 >> unknown-block (0, 0)
31 >>
32 >>
33 >>
34 >
35 >
36 > If you have a bootable media, CD, another distro or whatever that works,
37 > you can grab the config from it if it recognizes M.2 SSD.  That will
38 > give you a starting point at least.  Later on, you can remove things or
39 > make changes as needed.  The command zcat /proc/config.gz should work
40 > and you can tell that to put it in a regular file and if mounted, even
41 > put it in your kernel source directory. 
42 >
43 > Hope that helps.
44 >
45 > Dale
46 >
47 > :-)  :-) 
48
49 zcat /proc/config.gz
50 Very useful thank you. It will be handy.
51
52 I've noticed that using: genkernel --menuconfig all
53 puts the .config in /usr/src/linux directory and copy kernel to /boot
54 after compiling when you exit.
55 In addition I've switch to "refind" instead of grub; much simpler and
56 user friendly.
57
58 >

Replies

Subject Author
Re: [gentoo-user] genkernel all Dale <rdalek1967@×××××.com>