After kernel update 5.15.56-4 -> 5.15.61-1 network is lost

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

After kernel update 5.15.56-4 -> 5.15.61-1 network is lost

Postby df8oe » Wed Aug 24, 2022 6:08 am

As title says: after upgrading eth0 is present but has no ip address. I can restart systemd-networkd - but nothing changes. After downgrade to 5.15.56-4 everything is working again. During debugging I found another issue which bothers me (I open a new thread for this).
df8oe
 
Posts: 67
Joined: Fri Oct 01, 2021 5:10 pm

Re: After kernel update 5.15.56-4 -> 5.15.61-1 network is lo

Postby corrobor » Wed Aug 24, 2022 6:33 am

Hi man. 1 hour ago i updated my Raspberry by SSH and now it Is offline (the kernel got update). I think that i have the same issue... Now i'm at work, when i Will go at home i Will check...
corrobor
 
Posts: 23
Joined: Wed Mar 03, 2021 9:43 am

Re: After kernel update 5.15.56-4 -> 5.15.61-1 network is lo

Postby df8oe » Wed Aug 24, 2022 7:33 am

https://www.reddit.com/r/EndeavourOS/co ... unable_to/

So it is not RPI specific. It may be a kernel bug or something related to Arch (EndeavourOS is Arch-based, too).
df8oe
 
Posts: 67
Joined: Fri Oct 01, 2021 5:10 pm

Re: After kernel update 5.15.56-4 -> 5.15.61-1 network is lo

Postby corrobor » Wed Aug 24, 2022 8:45 am

So we have to downgrade kernel to solve and wait for a new kernel?
corrobor
 
Posts: 23
Joined: Wed Mar 03, 2021 9:43 am

Re: After kernel update 5.15.56-4 -> 5.15.61-1 network is lo

Postby graysky » Wed Aug 24, 2022 8:49 am

Do you see anything relating to eth0 or network in journalctl? Anything in systemctl status systemd-networkd
graysky
Developer
 
Posts: 1876
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: After kernel update 5.15.56-4 -> 5.15.61-1 network is lo

Postby rien333 » Wed Aug 24, 2022 1:34 pm

same here, using a raspberry pi 3B. Downgrading fixes the problem. My 3A that uses wifi still works fine FWIW. Will check the logs in a bit.

$this->bbcode_second_pass_quote('', 'D')o you see anything relating to eth0 or network in journalctl? Anything in systemctl status systemd-networkd


Nothing particularly interesting.

systemctl status systemd-networkd shows:

$this->bbcode_second_pass_code('', ' ● systemd-networkd.service - Network Configuration
Loaded: loaded (/usr/lib/systemd/system/systemd-networkd.service; enabled; preset: enabled)
Active: active (running) since Wed 2022-08-24 15:42:12 CEST; 1min 2s ago
TriggeredBy: ● systemd-networkd.socket
Docs: man:systemd-networkd.service(8)
Main PID: 546 (systemd-network)
Status: "Processing requests..."
Tasks: 1 (limit: 664)
CPU: 155ms
CGroup: /system.slice/systemd-networkd.service
└─546 /usr/lib/systemd/systemd-networkd

Aug 24 15:42:12 raspberrypi systemd[1]: Starting Network Configuration...
Aug 24 15:42:12 raspberrypi systemd-networkd[546]: eth0: Link UP
Aug 24 15:42:12 raspberrypi systemd-networkd[546]: lo: Link UP
Aug 24 15:42:12 raspberrypi systemd-networkd[546]: lo: Gained carrier
Aug 24 15:42:12 raspberrypi systemd-networkd[546]: Enumeration completed
Aug 24 15:42:12 raspberrypi systemd[1]: Started Network Configuration.
Aug 24 15:42:12 raspberrypi systemd-networkd[546]: eth0: Configuring with /etc/systemd/network/eth0.network.')

On the older, 5.15.56 kernel, it would say the following after systemd-networkd[546]: eth0: Configuring with /etc/systemd/network/eth0:

$this->bbcode_second_pass_code('', 'systemd-networkd[254]: eth0: Gained carrier
systemd-networkd[254]: eth0: Gained IPv6LL
systemd-networkd[254]: eth0: DHCPv4 address 192.168.0.70/24, gateway 192.168.0.1 acquired from 192.168.0.1
')

The config file /etc/systemd/network/eth0.network contains:

$this->bbcode_second_pass_code('', '[Match]
Name=eth0

[Network]
DHCP=yes

[Route]
GatewayOnLink=yes
Gateway=192.168.0.1
')

Grepping for eth0 in dmesg gives me:

$this->bbcode_second_pass_code('', ' [ 5.785473] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 5.787935] smsc95xx v2.0.0
[ 6.146631] SMSC LAN8700 usb-001:003:01: attached PHY driver (mii_bus:phy_addr=usb-00
1:003:01, irq=199)
[ 6.147082] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, sms
c95xx USB 2.0 Ethernet, b8:27:eb:b5:d5:81
[ 6.165263] systemd[1]: System time before build time, advancing clock.
[ 6.245290] usb 1-1.2: new full-speed USB device number 4 using dwc_otg
[ 6.254960] NET: Registered PF_INET6 protocol family
--
[ 9.184681] bcm2835_isp: module is from the staging directory, the quality is unknown
, you have been warned.
[ 9.194650] bcm2835_codec: module is from the staging directory, the quality is unkno
wn, you have been warned.
[ 9.200339] bcm2835_v4l2: module is from the staging directory, the quality is unknow
n, you have been warned.
[ 9.212221] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 9.218339] smsc95xx 1-1.1:1.0 eth0: Link is Down
[ 9.224939] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[ 9.226108] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video1
4
[ 9.229116] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video1
5')
rien333
 
Posts: 4
Joined: Thu Jul 06, 2017 12:47 am

Re: After kernel update 5.15.56-4 -> 5.15.61-1 network is lo

Postby df8oe » Wed Aug 24, 2022 3:22 pm

Exactly the same here. The three lines in systemd-networkd are here missing, too.
df8oe
 
Posts: 67
Joined: Fri Oct 01, 2021 5:10 pm

Re: After kernel update 5.15.56-4 -> 5.15.61-1 network is lo

Postby JakeTri » Wed Aug 24, 2022 3:41 pm

I have same network issue on both RPi2 and RPi3 after updating to 5.15.61-1. Confirm network is working again after downgrade to 5.15.56-4.

I notice kernel patch for 5.15.61 have changes to smsc95xx driver used on RPi ... Not sure if that is the root cause but look suspicious to me.
Here is a link to smsc95xx driver change https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/diff/drivers/net/usb/smsc95xx.c?id=v5.15.61&id2=v5.15.60
JakeTri
 
Posts: 4
Joined: Sun Jul 04, 2021 6:01 pm

Re: After kernel update 5.15.56-4 -> 5.15.61-1 network is lo

Postby graysky » Wed Aug 24, 2022 6:54 pm

Can you please open a ticket against rpi-5.15.y: https://github.com/raspberrypi/linux/issues/new/choose
graysky
Developer
 
Posts: 1876
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: After kernel update 5.15.56-4 -> 5.15.61-1 network is lo

Postby JakeTri » Wed Aug 24, 2022 8:24 pm

JakeTri
 
Posts: 4
Joined: Sun Jul 04, 2021 6:01 pm

Next

Return to ARMv8

Who is online

Users browsing this forum: No registered users and 16 guests