Code: Select all
lspci -k -vCode: Select all
dmesgHi Mike!mike155 wrote:Please post:You may want to use wgetpaste.
- The output of
Code: Select all
lspci -k -v- The output of
Code: Select all
dmesg- Your kernel config
mike155 wrote:Well, I cannot guess what is wrong on your machine...
The first thing you should do: check whether you really boot from the kernel you compiled. Look at the first line of the output of 'dmesg'. There's the kernel version and the time when the kernel was compiled. Do you boot from the right kernel?
Then look at the output of 'lspci -k -v'. You should see your PCI devices and the kernel drivers in use for those devices. What do you see for you IGB Ethernet adapter? Is there a kernel driver?
Code: Select all
03:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
Subsystem: Gigabyte Technology Co., Ltd I211 Gigabit Network Connection
Flags: bus master, fast devsel, latency 0, IRQ 11, IOMMU group 18
Memory at fc600000 (32-bit, non-prefetchable) [size=128K]
I/O ports at f000 [size=32]
Memory at fc620000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
Capabilities: [70] MSI-X: Enable- Count=5 Masked-
Capabilities: [a0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number 18-c0-4d-ff-ff-91-78-7d
Capabilities: [1a0] Transaction Processing HintsCode: Select all
Kernel driver in use: igbmike155 wrote:Okay, 'lspci -k -v' shows the Ethernet controller:But no kernel driver is attached. I would like to see:Code: Select all
03:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03) Subsystem: Gigabyte Technology Co., Ltd I211 Gigabit Network Connection Flags: bus master, fast devsel, latency 0, IRQ 11, IOMMU group 18 Memory at fc600000 (32-bit, non-prefetchable) [size=128K] I/O ports at f000 [size=32] Memory at fc620000 (32-bit, non-prefetchable) [size=16K] Capabilities: [40] Power Management version 3 Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+ Capabilities: [70] MSI-X: Enable- Count=5 Masked- Capabilities: [a0] Express Endpoint, MSI 00 Capabilities: [100] Advanced Error Reporting Capabilities: [140] Device Serial Number 18-c0-4d-ff-ff-91-78-7d Capabilities: [1a0] Transaction Processing HintsBut it isn't there.Code: Select all
Kernel driver in use: igb
Is this the output of "lspci -k -v" when you boot with your own kernel? Or is it the output when you boot with the Livecd?
Here is a dpaste of 'lspci -k -v' from the LiveCD.mike155 wrote:What happens if you boot from the Livecd? Can you use the Ethernet adapter when you boot from the Livecd? Do you see a "kernel driver in use" in the output of 'lscpi -k -v" when you boot from the Livecd?
Code: Select all
03:00.0 0200: 8086:1539 (rev 03)
Subsystem: 1458:e000
Kernel driver in use: igb
Kernel modules: igbCode: Select all
igb 180224 0
i2c_algo_bit 16384 1 igb
i2c_core 61440 4 i2c_nvidia_gpu,i2c_algo_bit,igb,i2c_piix4
hwmon 24576 1 igb
ptp 24576 1 igbCode: Select all
[ 0.000000] Linux version 5.15.19-gentoo (root@livecd) (gcc (Gentoo 11.2.0 p1) 11.2.0, GNU ld (Gentoo 2.37_p1 p0) 2.37) #3 SMP Sun Feb 6 09:52:10 PST 2022Yeah that's strange, I just redid dmesg from the machine, no flash drive plugged in, and that top line is still there. Here is the dmesgmike155 wrote:That's good. So there is a driver that works with your machine![]()
One more question. In post #5 above, you posted the output of 'lspci -k -v' and the output of 'dmesg'. You wrote that the output of 'lspci -k -v' was from your own kernel. But the output of 'dmesg' doesn't seem to be from your own kernel. It starts with:That is the LiveCD kernel, isn't it?Code: Select all
[ 0.000000] Linux version 5.15.19-gentoo (root@livecd) (gcc (Gentoo 11.2.0 p1) 11.2.0, GNU ld (Gentoo 2.37_p1 p0) 2.37) #3 SMP Sun Feb 6 09:52:10 PST 2022
Please post the output of 'dmesg' when you boot from your own kernel.
Code: Select all
[ 0.933875] igb: Intel(R) Gigabit Ethernet Network Driver
[ 0.933877] igb: Copyright (c) 2007-2014 Intel Corporation.Alright, disabled all Intel except what you mentioned, unfortunately no avail. Here are the new logsmike155 wrote:Please edit your kernel config and remove ALL Intel Ethernet drivers except "Intel(R) 82575/82576 PCI-Express Gigabit Ethernet support". CONFIG_IGB should be defined in you kernel config. All other Intel Ethernet drivers should be disabled. Compile and install your kernel and reboot.
The first line of 'dmesg' should change. #3 should be #4. The end of the line should contain the time when you compiled the kernel. Please double-check this to make sure that you boot the right kernel.
dmesg should also show a message from the IGB Ethernet driver. Something like:Code: Select all
[ 0.933875] igb: Intel(R) Gigabit Ethernet Network Driver [ 0.933877] igb: Copyright (c) 2007-2014 Intel Corporation.
Code: Select all
[ 0.000000] Linux version 5.15.19-gentoo (root@livecd) (gcc (Gentoo 11.2.0 p1) 11.2.0, GNU ld (Gentoo 2.37_p1 p0) 2.37) #3 SMP Sun Feb 6 09:52:10 PST 2022My usb isn't even plugged in when I boot so I'm pretty sure, I'll paste a dmesg of the liveCDmike155 wrote:The first line from dmesg is still:This tells us that you don't boot from the kernel you just compiled.Code: Select all
[ 0.000000] Linux version 5.15.19-gentoo (root@livecd) (gcc (Gentoo 11.2.0 p1) 11.2.0, GNU ld (Gentoo 2.37_p1 p0) 2.37) #3 SMP Sun Feb 6 09:52:10 PST 2022
Do you agree?
mike155 wrote:Please tell us how you compile and install a new kernel.
A common source of problems is that the boot partition is not mounted to /boot.
Code: Select all
cd /usr/src/linux
make menuconfig
~adjusts settings~
make && make modules_install
make install
RebootCode: Select all
df -k /bootCode: Select all
ls -la /boot
Code: Select all
cd /usr/src/linux
make clean <---- One time added step
make menuconfig
~adjusts settings~
make && make modules_install
make install
RebootCode: Select all
make cleandf -k /bootmike155 wrote:Looks good... Please show us the output ofandCode: Select all
df -k /bootCode: Select all
ls -la /boot
NeddySeagoon wrote:GodOfBSD,
Has your clock stepped backwards?
That really confuses make.
Add thatCode: Select all
cd /usr/src/linux make clean <---- One time added step make menuconfig ~adjusts settings~ make && make modules_install make install Rebootto cope with time possibly not being monotonic.Code: Select all
make clean
Code: Select all
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 234866796 8621024 214242336 4% /Code: Select all
total 29428
drwxr-xr-x 2 root root 4096 Feb 6 13:13 .
drwxr-xr-x 21 root root 4096 Feb 5 10:01 ..
-rw-r--r-- 1 root root 127353 Feb 6 13:13 config-5.15.19-gentoo
-rw-r--r-- 1 root root 127379 Feb 6 11:47 config-5.15.19-gentoo.old
-rw-r--r-- 1 root root 0 Jan 30 09:08 .keep
-rw-r--r-- 1 root root 5112943 Feb 6 13:13 System.map-5.15.19-gentoo
-rw-r--r-- 1 root root 5370300 Feb 6 11:47 System.map-5.15.19-gentoo.old
-rw-r--r-- 1 root root 9247616 Feb 6 13:13 vmlinuz-5.15.19-gentoo
-rw-r--r-- 1 root root 10122304 Feb 6 11:47 vmlinuz-5.15.19-gentoo.old
Code: Select all
Sun Feb 6 09:52:10 PST 2022NeddySeagoon wrote:GodOfBSD,
The kernel you are running, with a build time ofis missing too.Code: Select all
Sun Feb 6 09:52:10 PST 2022
/boot is normally a vtat partition, vfat does not support *NIX permissions.
What you are showing loos like a couple of kernel installs to the /boot directory on the root filesystem.
That's what happens when the boot partition is not mounted there.