

Code: Select all
$ zcat /proc/config.gz > ./my_seed_config 
If you have a question about a specific kernel parameter you should look into the help and google the parameter name (e.g.: google "linux CONFIG_AUDIT").Leonardo.b wrote:And, about the linux kernel documentation: where could I find a more detailed description of each config, if not satisfied by what <H> over menuconfig just displays?
You will find the answer where hibernation is described. You just do the reverse action (= not enabling): https://wiki.gentoo.org/wiki/Suspend_and_hibernateLeonardo.b wrote:This would be nice, because I could disable a couple of function I don't want (like the laptop going in sleep mode when i pull the screen down, interrupting any compile work).

Code: Select all
lspci -nnk Code: Select all
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Radeon RX 460/560D / Pro 450/455/460/555/555X/560/560X] [1002:67ef] (rev cf)
Subsystem: XFX Pine Group Inc. Device [1682:9460]
Kernel driver in use: amdgpuinto google and the first hit is an auto generated page from the kernel source code.1002:67ef pci linux kernel
Code: Select all
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubCode: Select all
│ Symbol: CDROM_PKTCDVD [=m] │
│ Type : tristate │
│ Defined at drivers/block/Kconfig:332 │
│ Prompt: Packet writing on CD/DVD media (DEPRECATED) │
│ Depends on: BLK_DEV [=y] && !UML │
│ Location: │
│ -> Device Drivers │
│ -> Block devices (BLK_DEV [=y]) │
│ Selects: CDROM [=y] && BLK_SCSI_REQUEST [=y] │ As he said, this is his "First-time kernel configuration", and he is already having issues with hardware identification with the kernel config.NeddySeagoon wrote:...
There is a drawback, well, several drawbacks to starting with the liveCD kernel. Its a fully modular kernel, which means it will require an initrd to boot at all.
Making an initrd is another thing to learn and get right and most users don't need it.
Secondly, the liveCD kernel is supposed to boot anywhere, so its full of junk, it will be junk to you anyway.
...

Yes, but I'm not talking about the technical aspects of the operation, but from the didactic point of view for learning (in a more educational style).NeddySeagoon wrote:ff11,
There is no danger of having a non working system.
I don't think anyone posting here is advocating wiping out the existing working kernel.
Everyone builds a dud kernel now and again, so everyone keeps several kernels around to choose from on their boot menu.
Very little is required to have a kernel that will boot without an initrd.
Even on those installs that require user space tools to mount root, the intird can be made kernel agnostic so its not rebuilt every kernel update.
But this is exactly what many beginners expect. And it may not be ideal to spend a relatively little time (like one or two days), but I know that today, many of them expect it.NeddySeagoon wrote:A kernel (and userspace) that drives all your hardware the way you like, I agree, can take a long lime. It need not be done in a single sitting though.
The hard bit is getting it to boot at all.


Code: Select all
make localmodconfigCode: Select all
dmesg | grep -i errorIt isn't that easy, but you're on the right track.Leonardo.b wrote:And, to conclude: still a question. When I run:The result isn't void.Code: Select all
dmesg | grep -i error
So I think is there something I could anyway improve.
Code: Select all
~ $ dmesg | grep -i error
[ 0.274246] ACPI Error: AE_NOT_FOUND, While resolving a named reference package element - LNKC (20190816/dspkginit-438)


Code: Select all
[ 1.273920] hp_accel: laptop model unknown, using default axes configuration
[ 1.296043] lis3lv02d: unknown sensor type 0x0
[ 1.296056] hp_accel: probe of HPQ6007:00 failed with error -22
Code: Select all
CONFIG_TOUCHSCREEN_USB_COMPOSITE
CONFIG_TOUCHSCREEN_USB_ELO