Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: Upgrade Warning -- kernel 5.13.3-1 may break networking  (Read 4393 times)

Offline unklarer

  • User
  • Posts: 643
Re: Upgrade Warning -- kernel 5.13.3-1 may break networking
« Reply #75 on: 2021/07/21, 13:29:08 »
^^@dibl,

i can confirm that!
Exactly that I had yesterday also on the screen.   ;D

Offline Carnophage

  • User
  • Posts: 37
    • http://carnophage.wordpress.com
Re: Upgrade Warning -- kernel 5.13.3-1 may break networking
« Reply #76 on: 2021/07/21, 13:39:00 »
Well, there might be something with the very old installation (or it's something HW config related) as I just rebooted my other laptop and 5.13 works fine so far, lsmod shows iwlmvm, vfat or nft_ modules loaded, which does not happen on the older installation

Code: [Select]
System:    Host: tomato Kernel: 5.13.4-1-siduction-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1 Desktop: Xfce 4.16.0
           tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm4 dm: LightDM 1.26.0
           Distro: siduction 18.3.0 Patience - nox - (202002161822) base: Debian GNU/Linux 11 (bullseye)

some old udev rules leftovers, suddenly tiggered by some micro change in how kernel reports something?

Offline jure

  • User
  • Posts: 621
Re: Upgrade Warning -- kernel 5.13.3-1 may break networking
« Reply #77 on: 2021/07/21, 13:54:38 »
while on my system, which is an uptodate old installation (riders on the storm), the nfs modules are not loaded on booting, I made an entry in /etc/modules (with nfs and nfsv4) and set a link to /etc/modules-loaded.d/nfs.conf
Now nfs modules are loaded while booting and the nfs shares are mounted like before with the 5.12er kernel on the same system.

Code: [Select]
cat modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
nfs
nfsv4

Code: [Select]
ls -l modules-load.d/
insgesamt 4
-rw-r--r-- 1 root root 119 24. Feb 2014  cups-filters.conf
lrwxrwxrwx 1 root root  10 13. Jul 19:29 modules.conf -> ../modules
lrwxrwxrwx 1 root root  12 21. Jul 13:38 nfs.conf -> /etc/modules
lrwxrwxrwx 1 root root  39 27. Mai 15:53 nvidia.conf -> /etc/alternatives/glx--nvidia-load.conf
« Last Edit: 2021/07/21, 14:02:55 by jure »
Gruss Juergen

Offline towo

  • Global Moderator
  • User
  • *****
  • Posts: 2.563
Re: Upgrade Warning -- kernel 5.13.3-1 may break networking
« Reply #78 on: 2021/07/21, 14:35:41 »
Quote
while on my system, which is an uptodate old installation (riders on the storm),
Ähm, that can't be!

Quote
inxi -S -xxx
System:    Host: siductionbox Kernel: 5.13.4-1-siduction-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1
           Desktop: KDE Plasma 5.20.5 tk: Qt 5.15.2 wm: kwin_x11 dm: LightDM 1.26.0 Distro: Debian GNU/Linux 11 (bullseye)
           base: Debian GNU/Linux 11 (bullseye)

That's what you have postet before. Your system is a bullseye install, not a siduction base.
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline towo

  • Global Moderator
  • User
  • *****
  • Posts: 2.563
Re: Upgrade Warning -- kernel 5.13.3-1 may break networking
« Reply #79 on: 2021/07/21, 14:41:05 »
@all

please show your

/etc/initramfs-tools/modules
/etc/initramfs-tools/initramfs.conf

also an
Code: [Select]
ls -ld /boot/initrd.img*
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.171
    • Land of the Buckeye
Re: Upgrade Warning -- kernel 5.13.3-1 may break networking
« Reply #80 on: 2021/07/21, 14:47:41 »
Quote from: jure
... I made an entry in /etc/modules

I made an entry for vfat, and confirmed that is is also in /etc/modules-load.d/modules.conf, and rebooted.  Now the fat and vfat modules are loaded, but the USB thumb drive still won't mount. In dmesg appears the same error "codepage cp437 not found".
Google led me to this
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline Carnophage

  • User
  • Posts: 37
    • http://carnophage.wordpress.com
Re: Upgrade Warning -- kernel 5.13.3-1 may break networking
« Reply #81 on: 2021/07/21, 14:50:47 »
@all

please show your

/etc/initramfs-tools/modules
/etc/initramfs-tools/initramfs.conf

also an
Code: [Select]
ls -ld /boot/initrd.img*

Code: [Select]
# List of modules that you want to include in your initramfs.
# They will be loaded at boot time in the order below.
#
# Syntax:  module_name [args ...]
#
# You must run update-initramfs(8) to effect this change.
#
# Examples:
#
# raid1
# sd_mod

Code: [Select]
#
# initramfs.conf
# Configuration file for mkinitramfs(8). See initramfs.conf(5).
#
# Note that configuration options from this file can be overridden
# by config files in the /etc/initramfs-tools/conf.d directory.

#
# MODULES: [ most | netboot | dep | list ]
#
# most - Add most filesystem and all harddrive drivers.
#
# dep - Try and guess which modules to load.
#
# netboot - Add the base modules, network modules, but skip block devices.
#
# list - Only include modules from the 'additional modules' list
#

MODULES=most

#
# BUSYBOX: [ y | n | auto ]
#
# Use busybox shell and utilities.  If set to n, klibc utilities will be used.
# If set to auto (or unset), busybox will be used if installed and klibc will
# be used otherwise.
#

BUSYBOX=auto

#
# KEYMAP: [ y | n ]
#
# Load a keymap during the initramfs stage.
#

KEYMAP=n

#
# COMPRESS: [ gzip | bzip2 | lz4 | lzma | lzop | xz | zstd ]
#

COMPRESS=gzip

#
# DEVICE: ...
#
# Specify a specific network interface, like eth0
# Overridden by optional ip= or BOOTIF= bootarg
#

DEVICE=

#
# NFSROOT: [ auto | HOST:MOUNT ]
#

NFSROOT=auto

#
# RUNSIZE: ...
#
# The size of the /run tmpfs mount point, like 256M or 10%
# Overridden by optional initramfs.runsize= bootarg
#

RUNSIZE=10%

#
# FSTYPE: ...
#
# The filesystem type(s) to support, or "auto" to use the current root
# filesystem type
#

FSTYPE=auto

Code: [Select]
-rw-r--r-- 1 root root 28567250 Jul 21 14:42 /boot/initrd.img-5.12.17-1-siduction-amd64
-rw-r--r-- 1 root root 28916752 Jul 21 14:42 /boot/initrd.img-5.13.3-3-siduction-amd64
-rw-r--r-- 1 root root 28921960 Jul 21 14:41 /boot/initrd.img-5.13.4-1-siduction-amd64

Offline towo

  • Global Moderator
  • User
  • *****
  • Posts: 2.563
Re: Upgrade Warning -- kernel 5.13.3-1 may break networking
« Reply #82 on: 2021/07/21, 14:52:17 »
Hm, not the case of the problem, sadly.
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline towo

  • Global Moderator
  • User
  • *****
  • Posts: 2.563
Re: Upgrade Warning -- kernel 5.13.3-1 may break networking
« Reply #83 on: 2021/07/21, 14:54:50 »
Quote from: dibl
I made an entry for vfat, and confirmed that is is also in /etc/modules-load.d/modules.conf, and rebooted.  Now the fat and vfat modules are loaded, but the USB thumb drive still won't mount. In dmesg appears the same error "codepage cp437 not found".
Google led me to this.

nls_cp437 is also a kernel module.

Code: [Select]
towo:Defiant> sudo modinfo nls_cp437
filename:       /lib/modules/5.14.0-rc2-siduction-amd64/kernel/fs/nls/nls_cp437.ko
license:        Dual BSD/GPL
depends:
retpoline:      Y
intree:         Y
name:           nls_cp437
vermagic:       5.14.0-rc2-siduction-amd64 SMP preempt mod_unload modversions
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.171
    • Land of the Buckeye
Re: Upgrade Warning -- kernel 5.13.3-1 may break networking
« Reply #84 on: 2021/07/21, 14:56:23 »
Same here:

Code: [Select]
don@Hibiscus:~$ cat /etc/initramfs-tools/modules
# List of modules that you want to include in your initramfs.
# They will be loaded at boot time in the order below.
#
# Syntax:  module_name [args ...]
#
# You must run update-initramfs(8) to effect this change.
#
# Examples:
#
# raid1
# sd_mod
don@Hibiscus:~$ cat /etc/initramfs-tools/initramfs.conf
#
# initramfs.conf
# Configuration file for mkinitramfs(8). See initramfs.conf(5).
#
# Note that configuration options from this file can be overridden
# by config files in the /etc/initramfs-tools/conf.d directory.

#
# MODULES: [ most | netboot | dep | list ]
#
# most - Add most filesystem and all harddrive drivers.
#
# dep - Try and guess which modules to load.
#
# netboot - Add the base modules, network modules, but skip block devices.
#
# list - Only include modules from the 'additional modules' list
#

MODULES=most

#
# BUSYBOX: [ y | n | auto ]
#
# Use busybox shell and utilities.  If set to n, klibc utilities will be used.
# If set to auto (or unset), busybox will be used if installed and klibc will
# be used otherwise.
#

BUSYBOX=auto

#
# KEYMAP: [ y | n ]
#
# Load a keymap during the initramfs stage.
#

KEYMAP=n

#
# COMPRESS: [ gzip | bzip2 | lz4 | lzma | lzop | xz | zstd ]
#

COMPRESS=gzip

#
# DEVICE: ...
#
# Specify a specific network interface, like eth0
# Overridden by optional ip= or BOOTIF= bootarg
#

DEVICE=

#
# NFSROOT: [ auto | HOST:MOUNT ]
#

NFSROOT=auto

#
# RUNSIZE: ...
#
# The size of the /run tmpfs mount point, like 256M or 10%
# Overridden by optional initramfs.runsize= bootarg
#

RUNSIZE=10%

#
# FSTYPE: ...
#
# The filesystem type(s) to support, or "auto" to use the current root
# filesystem type
#

FSTYPE=auto

don@Hibiscus:~$ ls -ld /boot/initrd.img*
-rw-r--r-- 1 root root 30676978 Jul 13 04:47 /boot/initrd.img-5.12.16-1-siduction-amd64
-rw-r--r-- 1 root root 30678716 Jul 15 05:28 /boot/initrd.img-5.12.17-1-siduction-amd64
-rw-r--r-- 1 root root 31018372 Jul 21 07:00 /boot/initrd.img-5.13.4-1-siduction-amd64
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.171
    • Land of the Buckeye
Re: Upgrade Warning -- kernel 5.13.3-1 may break networking
« Reply #85 on: 2021/07/21, 14:58:29 »
Same as vfat:

Code: [Select]
don@Hibiscus:~$ sudo modinfo nls_cp437
[sudo] password for don:
filename:       /lib/modules/5.12.17-1-siduction-amd64/kernel/fs/nls/nls_cp437.ko
license:        Dual BSD/GPL
depends:       
retpoline:      Y
intree:         Y
name:           nls_cp437
vermagic:       5.12.17-1-siduction-amd64 SMP preempt mod_unload modversions
don@Hibiscus:~$ lsmod | grep nls_cp437
don@Hibiscus:~$

(I'm booted in a kernel that has networking ...)
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline michaa7

  • User
  • Posts: 2.159
Re: Upgrade Warning -- kernel 5.13.3-1 may break networking
« Reply #86 on: 2021/07/21, 15:02:32 »
Quote
$ more /etc/initramfs-tools/modules
# List of modules that you want to include in your initramfs.
# They will be loaded at boot time in the order below.
#
# Syntax:  module_name [args ...]
#
# You must run update-initramfs(8) to effect this change.
#
# Examples:
#
# raid1
# sd_mod

Quote
$ more /etc/initramfs-tools/initramfs.conf
#
# initramfs.conf
# Configuration file for mkinitramfs(8). See initramfs.conf(5).
#
# Note that configuration options from this file can be overridden
# by config files in the /etc/initramfs-tools/conf.d directory.

#
# MODULES: [ most | netboot | dep | list ]
#
# most - Add most filesystem and all harddrive drivers.
#
# dep - Try and guess which modules to load.
#
# netboot - Add the base modules, network modules, but skip block devices.
#
# list - Only include modules from the 'additional modules' list
#

MODULES=most

#
# BUSYBOX: [ y | n | auto ]
#
# Use busybox shell and utilities.  If set to n, klibc utilities will be used.
# If set to auto (or unset), busybox will be used if installed and klibc will
# be used otherwise.
#

...skipping 1 line
BUSYBOX=auto

#
# KEYMAP: [ y | n ]
#
# Load a keymap during the initramfs stage.
#

KEYMAP=n

#
# COMPRESS: [ gzip | bzip2 | lz4 | lzma | lzop | xz | zstd ]
#

COMPRESS=gzip

#
# DEVICE: ...
#
# Specify a specific network interface, like eth0
# Overridden by optional ip= or BOOTIF= bootarg
#

DEVICE=

#
# NFSROOT: [ auto | HOST:MOUNT ]
#

...skipping 1 line
NFSROOT=auto

#
# RUNSIZE: ...
#
# The size of the /run tmpfs mount point, like 256M or 10%
# Overridden by optional initramfs.runsize= bootarg
#

RUNSIZE=10%

#
# FSTYPE: ...
#
# The filesystem type(s) to support, or "auto" to use the current root
# filesystem type
#

FSTYPE=auto

Quote
$ ls -ld /boot/initrd.img*
-rw-r--r-- 1 root root 77124201 21. Jul 12:02 /boot/initrd.img-5.10.0-8-amd64
-rw-r--r-- 1 root root 68578383 20. Jul 14:06 /boot/initrd.img-5.13.3-3-siduction-amd64
-rw-r--r-- 1 root root 68580019 21. Jul 00:57 /boot/initrd.img-5.13.4-1-siduction-amd64
-rw-r--r-- 1 root root 63600472 13. Feb 16:18 /boot/initrd.img-5.7.8-towo.1-siduction-amd64
-rw-r--r-- 1 root root 64538128 23. Dez 2020  /boot/initrd.img-5.9.15-towo.1-siduction-amd64

Ok, you can't code, but you still might be able to write a bug report for Debian's sake

Offline jure

  • User
  • Posts: 621
Re: Upgrade Warning -- kernel 5.13.3-1 may break networking
« Reply #87 on: 2021/07/21, 15:02:48 »
@towo

Code: [Select]
cat siduction-version
siduction 12.2.0 Riders on the Storm - kde - (201212092131) upgrade to plasma 5 kde-full

Code: [Select]
cat debian_version
11.0

may be the version 11 (bullseye) comes from my system cleanup in march 2021, but this is an old installation ... I would remember if had made a new installation ;-)

edit2
changelog
Quote
base-files (11.1) unstable; urgency=medium
...
  - Use 11.0 as version in /etc/debian_version.
    (expected to change at every point release)
...


edit:
Code: [Select]
ls -ld /boot/initrd.img*
-rw-r--r-- 1 root root 61124578 16. Jul 18:51 /boot/initrd.img-5.12.17-1-siduction-amd64
-rw-r--r-- 1 root root 61663455 21. Jul 10:59 /boot/initrd.img-5.13.4-1-siduction-amd64

Code: [Select]
cat  /etc/initramfs-tools/modules
# List of modules that you want to include in your initramfs.
# They will be loaded at boot time in the order below.
#
# Syntax:  module_name [args ...]
#
# You must run update-initramfs(8) to effect this change.
#
# Examples:
#
# raid1
# sd_mod

Code: [Select]
/etc/initramfs-tools/initramfs.conf
#
# initramfs.conf
# Configuration file for mkinitramfs(8). See initramfs.conf(5).
#
# Note that configuration options from this file can be overridden
# by config files in the /etc/initramfs-tools/conf.d directory.

#
# MODULES: [ most | netboot | dep | list ]
#
# most - Add most filesystem and all harddrive drivers.
#
# dep - Try and guess which modules to load.
#
# netboot - Add the base modules, network modules, but skip block devices.
#
# list - Only include modules from the 'additional modules' list
#

MODULES=most

#
# BUSYBOX: [ y | n | auto ]
#
# Use busybox shell and utilities.  If set to n, klibc utilities will be used.
# If set to auto (or unset), busybox will be used if installed and klibc will
# be used otherwise.
#

BUSYBOX=auto

#
# KEYMAP: [ y | n ]
#
# Load a keymap during the initramfs stage.
#

KEYMAP=n

#
# COMPRESS: [ gzip | bzip2 | lz4 | lzma | lzop | xz | zstd ]
#

COMPRESS=gzip

#
# DEVICE: ...
#
# Specify a specific network interface, like eth0
# Overridden by optional ip= or BOOTIF= bootarg
#

DEVICE=

#
# NFSROOT: [ auto | HOST:MOUNT ]
#

NFSROOT=auto

#
# RUNSIZE: ...
#
# The size of the /run tmpfs mount point, like 256M or 10%
# Overridden by optional initramfs.runsize= bootarg
#

RUNSIZE=10%

#
# FSTYPE: ...
#
# The filesystem type(s) to support, or "auto" to use the current root
# filesystem type
#

FSTYPE=auto

« Last Edit: 2021/07/21, 18:10:55 by jure »
Gruss Juergen

Offline cs

  • User
  • Posts: 86
Re: Upgrade Warning -- kernel 5.13.3-1 may break networking
« Reply #88 on: 2021/07/21, 15:29:45 »
@towo

Here we go again:

Code: [Select]
ls -ld /boot/initrd.img*
-rw-r--r-- 1 root root 68749648 17. Jul 19:22 /boot/initrd.img-5.12.17-1-siduction-amd64
-rw-r--r-- 1 root root 69364492 21. Jul 08:47 /boot/initrd.img-5.13.4-1-siduction-amd64

Code: [Select]
cat /etc/initramfs-tools/modules

# List of modules that you want to include in your initramfs.
# They will be loaded at boot time in the order below.
#
# Syntax:  module_name [args ...]
#
# You must run update-initramfs(8) to effect this change.
#
# Examples:
#
# raid1
# sd_mod

Code: [Select]
cat /etc/initramfs-tools/initramfs.conf
#
# initramfs.conf
# Configuration file for mkinitramfs(8). See initramfs.conf(5).
#
# Note that configuration options from this file can be overridden
# by config files in the /etc/initramfs-tools/conf.d directory.

#
# MODULES: [ most | netboot | dep | list ]
#
# most - Add most filesystem and all harddrive drivers.
#
# dep - Try and guess which modules to load.
#
# netboot - Add the base modules, network modules, but skip block devices.
#
# list - Only include modules from the 'additional modules' list
#

MODULES=most

#
# BUSYBOX: [ y | n | auto ]
#
# Use busybox shell and utilities.  If set to n, klibc utilities will be used.
# If set to auto (or unset), busybox will be used if installed and klibc will
# be used otherwise.
#

BUSYBOX=auto

#
# KEYMAP: [ y | n ]
#
# Load a keymap during the initramfs stage.
#

KEYMAP=n

#
# COMPRESS: [ gzip | bzip2 | lz4 | lzma | lzop | xz | zstd ]
#

COMPRESS=gzip

#
# DEVICE: ...
#
# Specify a specific network interface, like eth0
# Overridden by optional ip= or BOOTIF= bootarg
#

DEVICE=

#
# NFSROOT: [ auto | HOST:MOUNT ]
#

NFSROOT=auto

#
# RUNSIZE: ...
#
# The size of the /run tmpfs mount point, like 256M or 10%
# Overridden by optional initramfs.runsize= bootarg
#

RUNSIZE=10%

#
# FSTYPE: ...
#
# The filesystem type(s) to support, or "auto" to use the current root
# filesystem type
#

FSTYPE=auto

Thanks for your efforts!

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.171
    • Land of the Buckeye
Re: Upgrade Warning -- kernel 5.13.3-1 may break networking
« Reply #89 on: 2021/07/21, 15:39:39 »
For an experiment, while booted in 5.13.4-1, I added nls_cp437 to /etc/modules, then ran

Code: [Select]
update-initramfs -u
and rebooted. Still no networking, and the USB thumb drive mounting fails silently.
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO