No ipv4 autoconfiguration on kernel 7.0.8 on Rock

Hello,

Requirements:

I have Searched the forum for my issue and found nothing related or helpful
I have checked the Resources category (Resources Index)
I have reviewed the Wiki for relevant information
I have read the the Release Notes and Errata

OpenMandriva Lx version:

OpenMandriva Lx release 6.0 (Vanadium) Rock for znver1

Desktop environment (KDE, LXQT…):

KDE

Description of the issue (screenshots if relevant):

I have downloaded and installed kernel 7.0.8-desktop-1omv2690 from abf, here is the exact command I used to install :

$ sudo dnf install kernel-desktop-7.0.8-1-omv2690.znver1.rpm kernel-headers-7.0.8-1-omv2690.znver1.rpm

rpm files from here Build list - Project openmandriva/kernel - Openmandriva ABF

since then it seems IPv4 doesn’t autoconfigure anymore, when I connect to a wifi or ethernet I get IPv6 addresses but not IPv4, I suspect something going wrong with networkmanager’s DHCP client, unfortunately I haven’t manage to find any logs that could give me more information about what is actually going on, launching sudo dhclient is the workaround I’m using right now to get internet

Relevant informations (hardware involved, software version, logs or output…):

Framework 13, AMD Ryzen 5 7640U
Wifi card (probably irrelevant, I think it affects all hardware) Intel Corporation Wi-Fi 6E(802.11ax) AX210/AX1675* 2x2 [Typhoon Peak] (rev 1a)

network manager is version 1.52.0-3

output of journalctl -u NetworkManager for today (there is basically no information at all) :

-- Boot 2d308c8b7c134ba0bc8dba5f995b567c --
May 18 10:31:06 comfyboi systemd[1]: Starting NetworkManager.service - Network Manager...
May 18 10:31:07 comfyboi systemd[1]: Started NetworkManager.service - Network Manager.

I tried changing log level to debug then reconnect to the wifi (public IP addresses censored from the log) :

May 18 11:09:48 comfyboi NetworkManager[815]: <debug> [1779095388.1708] device[d212808c99994132] (wlp1s0): wifi-scan: scanning-state: idle (notify last-scan)
May 18 11:09:48 comfyboi NetworkManager[815]: <debug> [1779095388.2853] ndisc-lndp[0x7ff3fc00eed0,"wlp1s0"]: processing libndp events
May 18 11:09:48 comfyboi NetworkManager[815]: <debug> [1779095388.2854] ndisc-lndp[0x7ff3fc00eed0,"wlp1s0"]: received router advertisement at timestamp 2323.600 seconds
May 18 11:09:48 comfyboi NetworkManager[815]: <debug> [1779095388.2854] ndisc[0x7ff3fc00eed0,"wlp1s0"]: router-data: next lifetime expiration will happen: in 1800.000 seconds
May 18 11:09:48 comfyboi NetworkManager[815]: <debug> [1779095388.2854] ndisc[0x7ff3fc00eed0,"wlp1s0"]: neighbor discovery configuration changed [GAR]:
May 18 11:09:48 comfyboi NetworkManager[815]: <debug> [1779095388.2855] ndisc[0x7ff3fc00eed0,"wlp1s0"]:   dhcp-level otherconf
May 18 11:09:48 comfyboi NetworkManager[815]: <debug> [1779095388.2855] ndisc[0x7ff3fc00eed0,"wlp1s0"]:   hop limit      : 64
May 18 11:09:48 comfyboi NetworkManager[815]: <debug> [1779095388.2855] ndisc[0x7ff3fc00eed0,"wlp1s0"]:   reachable time : 3600000
May 18 11:09:48 comfyboi NetworkManager[815]: <debug> [1779095388.2855] ndisc[0x7ff3fc00eed0,"wlp1s0"]:   retrans timer  : 1000
May 18 11:09:48 comfyboi NetworkManager[815]: <debug> [1779095388.2855] ndisc[0x7ff3fc00eed0,"wlp1s0"]:   gateway fe80::e6f7:5bff:fe15:c6da pref medium exp 1800.000
May 18 11:09:48 comfyboi NetworkManager[815]: <debug> [1779095388.2855] ndisc[0x7ff3fc00eed0,"wlp1s0"]:   address [public ip6 address] exp 3600.000
May 18 11:09:48 comfyboi NetworkManager[815]: <debug> [1779095388.2855] ndisc[0x7ff3fc00eed0,"wlp1s0"]:   route [public ip6 route]/64 via :: pref medium exp 3600.000
May 18 11:09:48 comfyboi NetworkManager[815]: <debug> [1779095388.2855] ndisc[0x7ff3fc00eed0,"wlp1s0"]:   dns_server [ip6 DNS] exp permanent
May 18 11:09:48 comfyboi NetworkManager[815]: <debug> [1779095388.2855] ndisc[0x7ff3fc00eed0,"wlp1s0"]:   dns_server [ip6 DNS] exp permanent
May 18 11:09:48 comfyboi NetworkManager[815]: <debug> [1779095388.2856] ndisc[0x7ff3fc00eed0,"wlp1s0"]: solicit: schedule sending next (slow) solicitation in about 1740.806 seconds
May 18 11:09:48 comfyboi NetworkManager[815]: <debug> [1779095388.2857] l3cfg[45a0991e60cf57f5,ifindex=2]: obj-state: update: [9b1be84262f88c1a, ip6-address, [public ip6 address]/64 lft 3600sec pref 3600sec lifetime 2323-2323[3600,3600] dev 2 flags noprefixroute src ndisc], nm-configured, in-platform (static: 1, dynamic: 0)
May 18 11:09:48 comfyboi NetworkManager[815]: <debug> [1779095388.2858] platform: (wlp1s0) address: adding or updating IPv6 address: [public ip6 address]/64 lft 3600sec pref 3600sec lifetime 2323-0[3600,3600] dev 2 flags noprefixroute src unknown
May 18 11:09:48 comfyboi NetworkManager[815]: <debug> [1779095388.2859] platform: (wlp1s0) signal: address 6 changed: [public ip6 address]/64 lft 3600sec pref 3600sec lifetime 2323-2323[3600,3600] dev 2 flags noprefixroute src kernel
May 18 11:09:48 comfyboi NetworkManager[815]: <debug> [1779095388.2859] l3cfg[45a0991e60cf57f5,ifindex=2]: obj-state: appeared in platform: [9b1be84262f88c1a, ip6-address, [public ip6 address]/64 lft 3600sec pref 3600sec lifetime 2323-2323[3600,3600] dev 2 flags noprefixroute src ndisc], nm-configured, in-platform
May 18 11:09:48 comfyboi NetworkManager[815]: <debug> [1779095388.2860] platform-linux: do-add-ip6-address[2: [public ip6 address]]: success
May 18 11:09:48 comfyboi NetworkManager[815]: <debug> [1779095388.2860] dns-mgr: (device_l3cd_changed): queueing DNS updates (1)
May 18 11:09:48 comfyboi NetworkManager[815]: <debug> [1779095388.2860] dns-mgr: (device_l3cd_changed): DNS configuration did not change
May 18 11:09:48 comfyboi NetworkManager[815]: <debug> [1779095388.2860] dns-mgr: (device_l3cd_changed): no DNS changes to commit (0)

all the ipv4 things from nmcli con show (before I manually launch a dhcp client) :

ipv4.method:                            auto
ipv4.dns:                               --
ipv4.dns-search:                        --
ipv4.dns-options:                       --
ipv4.dns-priority:                      0
ipv4.addresses:                         --
ipv4.gateway:                           --
ipv4.routes:                            --
ipv4.route-metric:                      -1
ipv4.route-table:                       0 (unspec)
ipv4.routing-rules:                     --
ipv4.replace-local-rule:                -1 (default)
ipv4.dhcp-send-release:                 -1 (default)
ipv4.routed-dns:                        -1 (default)
ipv4.ignore-auto-routes:                no
ipv4.ignore-auto-dns:                   no
ipv4.dhcp-client-id:                    --
ipv4.dhcp-iaid:                         --
ipv4.dhcp-dscp:                         --
ipv4.dhcp-timeout:                      0 (default)
ipv4.dhcp-send-hostname-deprecated:     yes
ipv4.dhcp-send-hostname:                -1 (default)
ipv4.dhcp-hostname:                     --
ipv4.dhcp-fqdn:                         --
ipv4.dhcp-hostname-flags:               0x0 (none)
ipv4.never-default:                     no
ipv4.may-fail:                          yes
ipv4.required-timeout:                  -1 (default)
ipv4.dad-timeout:                       -1 (default)
ipv4.dhcp-vendor-class-identifier:      --
ipv4.dhcp-ipv6-only-preferred:          -1 (default)
ipv4.link-local:                        0 (default)
ipv4.dhcp-reject-servers:               --
ipv4.auto-route-ext-gw:                 -1 (default)
ipv4.shared-dhcp-range:                 --
ipv4.shared-dhcp-lease-time:            0 (default)

Does the issue occur if you boot in to the previous kernel where it was working before? Have you tried removing whatever network connections you use, rebooting and setting new connection/s with the networkmanager applet in menu panel? Have you brought this issue up at OpenMandriva Chat channel? Note: The OM Wiki seems to be on a really slow server, patience is required.

Other than removing and resetting the connection I do not know enough for this problem, I go to OM Chat myself with problems like this.

if I boot on the old kernel I got no problem obtaining the IPv4 address, it’s only with the newer kernel that I have this issue

Imma notify the matrix channel

(btw i just tried to join #openmandriva-cooker and it seems the room version is incompatible with my matrix server, probably the same issue as a year ago when i couldn’t join the two other rooms)

I’ve updated a few things and now everything work :​D

at first i tried to update iproute2 since i noticed version numbers seemed tied to kernel versions (as well as glibc since dnf complained about outdated dependencies) it didn’t change anything

then I updated networkmanager and now it work :​D

$ sudo dnf install Downloads/iproute2-7.0.0-1-omv2690.znver1.rpm Downloads/glibc-2.43-5-omv2690.znver1.rpm Downloads/glibc-devel-2.43-5-omv2690.znver1.rpm Downloads/libc6-2.43-5-omv2690.znver1.rpm
$ sudo dnf install Downloads/networkmanager-1.56.0-1-omv2690.znver1.rpm Downloads/networkmanager-ppp-1.56.0-1-omv2690.znver1.rpm Downloads/networkmanager-wifi-1.56.0-1-omv2690.znver1.rpm Downloads/lib64nm0-1.56.0-1-omv2690.znver1.rpm

idk if recent iproute2 was necessary but with all that it seems I don’t have any more issues with the newest kernel on Rock (apart from that weird error that appear for half a second at boot), I’ll tell you guys if i find anything else thats broken

1 Like

i guess cherry picking from abf’s cooker won’t work. you have to wait for the sync or backport. use the 7.0.3 kernel which was backported by devs

1 Like

the guy with no profile picture who doesn’t know the difference between ROME and ROCK told me to stop and just wait for the developers to do all the work so I guess imma do just that and stop trying new stuff while documenting my experience

(maybe I should have posted this topic in development instead of support, it gives people the wrong idea of what I am trying to do here which is to provide data in case someone actually decide to officially backport a kernel to Rock)

1 Like

The issue is that NetworkManager also needs to be upgraded. The same issue happened on ROME with the introduction of the 6.19 kernel. Please see this issue:

They also have to port the new NetworkManager over to ROME and Rock.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.