The officially official Devuan Forum!

You are not logged in.

#1 2023-03-12 21:51:16

dino.mesina
Member
Registered: 2023-03-12
Posts: 6  

[BUG] Kernel's problem on devuan daedalus netinstall

Hi,
I have tried to install devuan daedalus on a PC that have a realtek RTL8168 NIC, but the kernel have a lot of unknown symbol that made unusable ethernet port.
Using devuan chimaera 4.0.0 amd64 netinstall there is no problems to install.
(I have tried with devuan_daedalus_5.0.preview-20230307_amd64_netinstall.iso)

lspci:

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b5)
00:1c.2 PCI bridge: Intel Corporation 82801 PCI Bridge (rev b5)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation H61 Express Chipset LPC Controller (rev 05)
00:1f.2 IDE interface: Intel Corporation 6 Series/C200 Series Chipset Family Desktop SATA Controller (IDE mode, ports 0-3) (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
00:1f.5 IDE interface: Intel Corporation 6 Series/C200 Series Chipset Family Desktop SATA Controller (IDE mode, ports 4-5) (rev 05)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series]
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cedar HDMI Audio [Radeon HD 5400/6300/7300 Series]
04:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 01)
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)

dmesg:

[    0.000000] Linux version 6.1.0-5-amd64 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Debian 6.1.12-1 (2023-02-15)
[    0.000000] Command line: BOOT_IMAGE=/boot/isolinux/linux vga=788 nomodeset --- quiet

*** cut ***

[    3.628942] r8169: Unknown symbol phy_set_max_speed (err -2)
[    3.628974] r8169: Unknown symbol phy_ethtool_set_eee (err -2)
[    3.628981] r8169: Unknown symbol phy_attached_info (err -2)
[    3.628986] r8169: Unknown symbol phy_ethtool_set_link_ksettings (err -2)
[    3.628994] r8169: Unknown symbol phy_write_mmd (err -2)
[    3.629003] r8169: Unknown symbol phy_read_paged (err -2)
[    3.629006] r8169: Unknown symbol phy_restore_page (err -2)
[    3.629017] r8169: Unknown symbol genphy_soft_reset (err -2)
[    3.629024] r8169: Unknown symbol __mdiobus_write (err -2)
[    3.629035] r8169: Unknown symbol phy_speed_up (err -2)
[    3.629037] r8169: Unknown symbol phy_connect_direct (err -2)
[    3.629052] r8169: Unknown symbol phy_ethtool_get_link_ksettings (err -2)
[    3.629061] r8169: Unknown symbol __phy_modify (err -2)
[    3.629068] r8169: Unknown symbol phy_suspend (err -2)
[    3.629073] r8169: Unknown symbol phy_modify_paged (err -2)
[    3.629079] r8169: Unknown symbol phy_speed_down (err -2)
[    3.629087] r8169: Unknown symbol mdiobus_read (err -2)
[    3.629099] r8169: Unknown symbol phy_start (err -2)
[    3.629104] r8169: Unknown symbol phy_modify (err -2)
[    3.629108] r8169: Unknown symbol phy_mac_interrupt (err -2)
[    3.629118] r8169: Unknown symbol phy_print_status (err -2)
[    3.629122] r8169: Unknown symbol phy_start_aneg (err -2)
[    3.629126] r8169: Unknown symbol phy_set_asym_pause (err -2)
[    3.629129] r8169: Unknown symbol phy_ethtool_get_eee (err -2)
[    3.629132] r8169: Unknown symbol devm_mdiobus_alloc_size (err -2)
[    3.629149] r8169: Unknown symbol phy_support_asym_pause (err -2)
[    3.629151] r8169: Unknown symbol phy_get_pause (err -2)
[    3.629156] r8169: Unknown symbol mdiobus_write (err -2)
[    3.629159] r8169: Unknown symbol phy_select_page (err -2)
[    3.629166] r8169: Unknown symbol phy_write_paged (err -2)
[    3.629169] r8169: Unknown symbol mdiobus_get_phy (err -2)
[    3.629172] r8169: Unknown symbol phy_ethtool_nway_reset (err -2)
[    3.629179] r8169: Unknown symbol phy_read_mmd (err -2)
[    3.629181] r8169: Unknown symbol phy_init_hw (err -2)
[    3.629186] r8169: Unknown symbol __devm_mdiobus_register (err -2)
[    3.629193] r8169: Unknown symbol phy_resume (err -2)
[    3.629207] r8169: Unknown symbol phy_stop (err -2)
[    3.629209] r8169: Unknown symbol phy_do_ioctl_running (err -2)
[    3.629220] r8169: Unknown symbol phy_disconnect (err -2)

Offline

#2 2023-03-12 22:46:46

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,145  

Re: [BUG] Kernel's problem on devuan daedalus netinstall

Not sure why your install has that issue; there should be an r8196.ko kernel module availabele on your system, and assuming that to be the module for handling RTL8111/8168/8411, the kernel should have loaded that.

Try with modprobe r8169 to see if it looks happier, and if that works, then add r8169 to your /etc/initramfs-tools/modules file before using the command update-initramfs -u -k all in order to prime your initrd to load the module on boot.

Online

#3 2023-03-13 22:41:30

dino.mesina
Member
Registered: 2023-03-12
Posts: 6  

Re: [BUG] Kernel's problem on devuan daedalus netinstall

I already tried and tried again now but it doesn't work...

modprobe: ERROR: could not insert 'r8169': Unknown symbol in module, or unknown parameter (see dmesg)
[  145.666203] r8169: Unknown symbol phy_set_max_speed (err -2)
[  145.666249] r8169: Unknown symbol phy_ethtool_set_eee (err -2)
[  145.666262] r8169: Unknown symbol phy_attached_info (err -2)
[  145.666272] r8169: Unknown symbol phy_ethtool_set_link_ksettings (err -2)
[  145.666287] r8169: Unknown symbol phy_write_mmd (err -2)
[  145.666302] r8169: Unknown symbol phy_read_paged (err -2)
[  145.666309] r8169: Unknown symbol phy_restore_page (err -2)
[  145.666327] r8169: Unknown symbol genphy_soft_reset (err -2)
[  145.666341] r8169: Unknown symbol __mdiobus_write (err -2)
[  145.666359] r8169: Unknown symbol phy_speed_up (err -2)
[  145.666366] r8169: Unknown symbol phy_connect_direct (err -2)
[  145.666390] r8169: Unknown symbol phy_ethtool_get_link_ksettings (err -2)
[  145.666406] r8169: Unknown symbol __phy_modify (err -2)
[  145.666419] r8169: Unknown symbol phy_suspend (err -2)
[  145.666429] r8169: Unknown symbol phy_modify_paged (err -2)
[  145.666440] r8169: Unknown symbol phy_speed_down (err -2)
[  145.666453] r8169: Unknown symbol mdiobus_read (err -2)
[  145.666472] r8169: Unknown symbol phy_start (err -2)
[  145.666483] r8169: Unknown symbol phy_modify (err -2)
[  145.666491] r8169: Unknown symbol phy_mac_interrupt (err -2)
[  145.666509] r8169: Unknown symbol phy_print_status (err -2)
[  145.666517] r8169: Unknown symbol phy_start_aneg (err -2)
[  145.666526] r8169: Unknown symbol phy_set_asym_pause (err -2)
[  145.666533] r8169: Unknown symbol phy_ethtool_get_eee (err -2)
[  145.666542] r8169: Unknown symbol devm_mdiobus_alloc_size (err -2)
[  145.666569] r8169: Unknown symbol phy_support_asym_pause (err -2)
[  145.666576] r8169: Unknown symbol phy_get_pause (err -2)
[  145.666585] r8169: Unknown symbol mdiobus_write (err -2)
[  145.666592] r8169: Unknown symbol phy_select_page (err -2)
[  145.666605] r8169: Unknown symbol phy_write_paged (err -2)
[  145.666612] r8169: Unknown symbol mdiobus_get_phy (err -2)
[  145.666619] r8169: Unknown symbol phy_ethtool_nway_reset (err -2)
[  145.666632] r8169: Unknown symbol phy_read_mmd (err -2)
[  145.666638] r8169: Unknown symbol phy_init_hw (err -2)
[  145.666650] r8169: Unknown symbol __devm_mdiobus_register (err -2)
[  145.666663] r8169: Unknown symbol phy_resume (err -2)
[  145.666684] r8169: Unknown symbol phy_stop (err -2)
[  145.666691] r8169: Unknown symbol phy_do_ioctl_running (err -2)
[  145.666709] r8169: Unknown symbol phy_disconnect (err -2)
[  166.162188] r8169: Unknown symbol phy_set_max_speed (err -2)
[  166.162231] r8169: Unknown symbol phy_ethtool_set_eee (err -2)
[  166.162244] r8169: Unknown symbol phy_attached_info (err -2)
[  166.162254] r8169: Unknown symbol phy_ethtool_set_link_ksettings (err -2)
[  166.162269] r8169: Unknown symbol phy_write_mmd (err -2)
[  166.162285] r8169: Unknown symbol phy_read_paged (err -2)
[  166.162292] r8169: Unknown symbol phy_restore_page (err -2)
[  166.162309] r8169: Unknown symbol genphy_soft_reset (err -2)
[  166.162323] r8169: Unknown symbol __mdiobus_write (err -2)
[  166.162341] r8169: Unknown symbol phy_speed_up (err -2)
[  166.162348] r8169: Unknown symbol phy_connect_direct (err -2)
[  166.162373] r8169: Unknown symbol phy_ethtool_get_link_ksettings (err -2)
[  166.162389] r8169: Unknown symbol __phy_modify (err -2)
[  166.162402] r8169: Unknown symbol phy_suspend (err -2)
[  166.162411] r8169: Unknown symbol phy_modify_paged (err -2)
[  166.162423] r8169: Unknown symbol phy_speed_down (err -2)
[  166.162437] r8169: Unknown symbol mdiobus_read (err -2)
[  166.162455] r8169: Unknown symbol phy_start (err -2)
[  166.162466] r8169: Unknown symbol phy_modify (err -2)
[  166.162475] r8169: Unknown symbol phy_mac_interrupt (err -2)
[  166.162492] r8169: Unknown symbol phy_print_status (err -2)
[  166.162501] r8169: Unknown symbol phy_start_aneg (err -2)
[  166.162510] r8169: Unknown symbol phy_set_asym_pause (err -2)
[  166.162516] r8169: Unknown symbol phy_ethtool_get_eee (err -2)
[  166.162526] r8169: Unknown symbol devm_mdiobus_alloc_size (err -2)
[  166.162552] r8169: Unknown symbol phy_support_asym_pause (err -2)
[  166.162558] r8169: Unknown symbol phy_get_pause (err -2)
[  166.162568] r8169: Unknown symbol mdiobus_write (err -2)
[  166.162575] r8169: Unknown symbol phy_select_page (err -2)
[  166.162588] r8169: Unknown symbol phy_write_paged (err -2)
[  166.162595] r8169: Unknown symbol mdiobus_get_phy (err -2)
[  166.162602] r8169: Unknown symbol phy_ethtool_nway_reset (err -2)
[  166.162614] r8169: Unknown symbol phy_read_mmd (err -2)
[  166.162621] r8169: Unknown symbol phy_init_hw (err -2)
[  166.162632] r8169: Unknown symbol __devm_mdiobus_register (err -2)
[  166.162646] r8169: Unknown symbol phy_resume (err -2)
[  166.162667] r8169: Unknown symbol phy_stop (err -2)
[  166.162674] r8169: Unknown symbol phy_do_ioctl_running (err -2)
[  166.162692] r8169: Unknown symbol phy_disconnect (err -2)
[  195.873980] r8169: Unknown symbol phy_set_max_speed (err -2)
[  195.874030] r8169: Unknown symbol phy_ethtool_set_eee (err -2)
[  195.874043] r8169: Unknown symbol phy_attached_info (err -2)
[  195.874053] r8169: Unknown symbol phy_ethtool_set_link_ksettings (err -2)
[  195.874068] r8169: Unknown symbol phy_write_mmd (err -2)
[  195.874084] r8169: Unknown symbol phy_read_paged (err -2)
[  195.874090] r8169: Unknown symbol phy_restore_page (err -2)
[  195.874109] r8169: Unknown symbol genphy_soft_reset (err -2)
[  195.874123] r8169: Unknown symbol __mdiobus_write (err -2)
[  195.874140] r8169: Unknown symbol phy_speed_up (err -2)
[  195.874147] r8169: Unknown symbol phy_connect_direct (err -2)
[  195.874170] r8169: Unknown symbol phy_ethtool_get_link_ksettings (err -2)
[  195.874186] r8169: Unknown symbol __phy_modify (err -2)
[  195.874199] r8169: Unknown symbol phy_suspend (err -2)
[  195.874209] r8169: Unknown symbol phy_modify_paged (err -2)
[  195.874220] r8169: Unknown symbol phy_speed_down (err -2)
[  195.874233] r8169: Unknown symbol mdiobus_read (err -2)
[  195.874251] r8169: Unknown symbol phy_start (err -2)
[  195.874262] r8169: Unknown symbol phy_modify (err -2)
[  195.874270] r8169: Unknown symbol phy_mac_interrupt (err -2)
[  195.874288] r8169: Unknown symbol phy_print_status (err -2)
[  195.874297] r8169: Unknown symbol phy_start_aneg (err -2)
[  195.874305] r8169: Unknown symbol phy_set_asym_pause (err -2)
[  195.874312] r8169: Unknown symbol phy_ethtool_get_eee (err -2)
[  195.874321] r8169: Unknown symbol devm_mdiobus_alloc_size (err -2)
[  195.874348] r8169: Unknown symbol phy_support_asym_pause (err -2)
[  195.874355] r8169: Unknown symbol phy_get_pause (err -2)
[  195.874364] r8169: Unknown symbol mdiobus_write (err -2)
[  195.874371] r8169: Unknown symbol phy_select_page (err -2)
[  195.874384] r8169: Unknown symbol phy_write_paged (err -2)
[  195.874391] r8169: Unknown symbol mdiobus_get_phy (err -2)
[  195.874398] r8169: Unknown symbol phy_ethtool_nway_reset (err -2)
[  195.874411] r8169: Unknown symbol phy_read_mmd (err -2)
[  195.874417] r8169: Unknown symbol phy_init_hw (err -2)
[  195.874429] r8169: Unknown symbol __devm_mdiobus_register (err -2)
[  195.874442] r8169: Unknown symbol phy_resume (err -2)
[  195.874464] r8169: Unknown symbol phy_stop (err -2)
[  195.874470] r8169: Unknown symbol phy_do_ioctl_running (err -2)
[  195.874489] r8169: Unknown symbol phy_disconnect (err -2)
[  215.809849] r8169: Unknown symbol phy_set_max_speed (err -2)
[  215.809894] r8169: Unknown symbol phy_ethtool_set_eee (err -2)
[  215.809908] r8169: Unknown symbol phy_attached_info (err -2)
[  215.809917] r8169: Unknown symbol phy_ethtool_set_link_ksettings (err -2)
[  215.809933] r8169: Unknown symbol phy_write_mmd (err -2)
[  215.809949] r8169: Unknown symbol phy_read_paged (err -2)
[  215.809956] r8169: Unknown symbol phy_restore_page (err -2)
[  215.809992] r8169: Unknown symbol genphy_soft_reset (err -2)
[  215.810015] r8169: Unknown symbol __mdiobus_write (err -2)
[  215.810034] r8169: Unknown symbol phy_speed_up (err -2)
[  215.810040] r8169: Unknown symbol phy_connect_direct (err -2)
[  215.810064] r8169: Unknown symbol phy_ethtool_get_link_ksettings (err -2)
[  215.810080] r8169: Unknown symbol __phy_modify (err -2)
[  215.810093] r8169: Unknown symbol phy_suspend (err -2)
[  215.810103] r8169: Unknown symbol phy_modify_paged (err -2)
[  215.810115] r8169: Unknown symbol phy_speed_down (err -2)
[  215.810127] r8169: Unknown symbol mdiobus_read (err -2)
[  215.810147] r8169: Unknown symbol phy_start (err -2)
[  215.810157] r8169: Unknown symbol phy_modify (err -2)
[  215.810165] r8169: Unknown symbol phy_mac_interrupt (err -2)
[  215.810183] r8169: Unknown symbol phy_print_status (err -2)
[  215.810192] r8169: Unknown symbol phy_start_aneg (err -2)
[  215.810200] r8169: Unknown symbol phy_set_asym_pause (err -2)
[  215.810207] r8169: Unknown symbol phy_ethtool_get_eee (err -2)
[  215.810217] r8169: Unknown symbol devm_mdiobus_alloc_size (err -2)
[  215.810244] r8169: Unknown symbol phy_support_asym_pause (err -2)
[  215.810250] r8169: Unknown symbol phy_get_pause (err -2)
[  215.810260] r8169: Unknown symbol mdiobus_write (err -2)
[  215.810266] r8169: Unknown symbol phy_select_page (err -2)
[  215.810280] r8169: Unknown symbol phy_write_paged (err -2)
[  215.810287] r8169: Unknown symbol mdiobus_get_phy (err -2)
[  215.810293] r8169: Unknown symbol phy_ethtool_nway_reset (err -2)
[  215.810307] r8169: Unknown symbol phy_read_mmd (err -2)
[  215.810313] r8169: Unknown symbol phy_init_hw (err -2)
[  215.810324] r8169: Unknown symbol __devm_mdiobus_register (err -2)
[  215.810337] r8169: Unknown symbol phy_resume (err -2)
[  215.810359] r8169: Unknown symbol phy_stop (err -2)
[  215.810366] r8169: Unknown symbol phy_do_ioctl_running (err -2)
[  215.810384] r8169: Unknown symbol phy_disconnect (err -2)

Offline

#4 2023-03-13 23:55:13

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,145  

Re: [BUG] Kernel's problem on devuan daedalus netinstall

I tried with that ISO last week, and I tried the new one just hot out of the oven, and I can't repeat the problem;
basically, the kernel package includes the module.

What is your installation setup, i.e. partitions,  filesystem setup, encryption, lvm, desktop?
Any "special" hands-on during the installation.

EDIT: actually I found a way to repeat the problem using an rtl8139 (emulated) card, and I see that probably the installer has a bug in its module selection logic, that results in that some "intermediate modules (e.g. mii.ko) are missing.

EDIT 2: Your path forward could be to just install without network the base system from the ISO. That will install a kernel with modules, and that will (should) detect your ethernet card. Thereafter you make sure to configure the network, eg

 # cat <<EOF >> /etc/network/interfaces
auto eth0
iface eth0 inet dhcp
EOF
# ifup eth0

and to enable the source.list  entries for network installation, followed by manual apt-get, for example:

 # nano /etc/apt/sources.list
... ensure the cdrom line is commented out
... there is: deb http://deb.devuan.org/merged daedalus main
... save and exit
# apt-get update
# apt-get install task-xfce-desktop

EDIT 3: the daedalus-security repository is not available yet

Online

#5 2023-03-15 01:46:47

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,145  

Re: [BUG] Kernel's problem on devuan daedalus netinstall

@dino.mesina: Thank you.

The reported bug is fixed for daedalus preview ISO building at or after 20230314.

Online

#6 2023-03-15 21:55:53

dino.mesina
Member
Registered: 2023-03-12
Posts: 6  

Re: [BUG] Kernel's problem on devuan daedalus netinstall

TOP!
I will try as soon as i can :-)

Offline

#7 2023-03-25 23:02:16

dino.mesina
Member
Registered: 2023-03-12
Posts: 6  

Re: [BUG] Kernel's problem on devuan daedalus netinstall

I have tryed to install with devuan_daedalus_5.0.preview-20230320_amd64_netinstall.iso and it works perfectly! So good!!!

Offline

Board footer