Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #76631 > unrolled thread

Bug#1022202: linux: rebuild upgrades of running kernel breaks module loading

Started byChristian Göttsche <cgzones@googlemail.com>
First post2022-10-21 22:50 +0200
Last post2023-01-29 17:10 +0100
Articles 6 — 4 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#1022202: linux: rebuild upgrades of running kernel breaks module loading Christian Göttsche <cgzones@googlemail.com> - 2022-10-21 22:50 +0200
    Processed: Re: Bug#1022202: linux: rebuild upgrades of running  kernel breaks module loading "Debian Bug Tracking System" <owner@bugs.debian.org> - 2022-10-21 23:00 +0200
    Bug#1022202: linux: rebuild upgrades of running kernel breaks module loading Salvatore Bonaccorso <carnil@debian.org> - 2022-10-21 23:00 +0200
    Bug#1022202: failed to validate module [usbserial] BTF: -22 Brilliantov Kirill Vladimirovich <kirill.brilliantov@rt.ru> - 2022-12-08 07:30 +0100
    Bug#1022202: marked as done (linux: rebuild upgrades of running  kernel breaks module loading) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2023-01-29 17:10 +0100
    Bug#1022202: marked as done (linux: rebuild upgrades of running  kernel breaks module loading) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2023-01-29 17:10 +0100

#76631 — Bug#1022202: linux: rebuild upgrades of running kernel breaks module loading

FromChristian Göttsche <cgzones@googlemail.com>
Date2022-10-21 22:50 +0200
SubjectBug#1022202: linux: rebuild upgrades of running kernel breaks module loading
Message-ID<Fj77P-fNnW-1@gated-at.bofh.it>
source: linux
version: 6.0.2-1+b1
severity: important

Upgrading the package of the currently running kernel, e.g. for
rebuilds like 6.0.2-1+b1, breaks module loading until the next reboot.
Trying to load modules by applications, e.g. qemu, will fail:

Oct 21 22:23:23 debianHome kernel: BPF:          type_id=1457 bits_offset=0
Oct 21 22:23:23 debianHome kernel: BPF:
Oct 21 22:23:23 debianHome kernel: BPF: Invalid name
Oct 21 22:23:23 debianHome kernel: BPF:
Oct 21 22:23:23 debianHome kernel: failed to validate module [tun] BTF: -22

Maybe this is hard to fix, due to signature changes, so maybe the
postinst should print a strong reboot recommendation?

[toc] | [next] | [standalone]


#76632 — Processed: Re: Bug#1022202: linux: rebuild upgrades of running kernel breaks module loading

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2022-10-21 23:00 +0200
SubjectProcessed: Re: Bug#1022202: linux: rebuild upgrades of running kernel breaks module loading
Message-ID<Fj7hw-fNrn-11@gated-at.bofh.it>
In reply to#76631
Processing control commands:

> forcemerge 1003210 -1
Bug #1003210 [src:linux] Linux kernel module loading failing with "failed to validate module" error
Bug #1022202 [src:linux] linux: rebuild upgrades of running kernel breaks module loading
Severity set to 'normal' from 'important'
The source linux and version 6.0.2-1+b1 do not appear to match any binary packages
Marked as found in versions linux/5.15.5-2.
Bug #1003210 [src:linux] Linux kernel module loading failing with "failed to validate module" error
The source linux and version 6.0.2-1+b1 do not appear to match any binary packages
Marked as found in versions linux/6.0.2-1+b1.
Merged 1003210 1022202

-- 
1003210: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003210
1022202: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022202
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#76633

FromSalvatore Bonaccorso <carnil@debian.org>
Date2022-10-21 23:00 +0200
Message-ID<Fj7hw-fNrn-7@gated-at.bofh.it>
In reply to#76631
Control: forcemerge 1003210 -1 

Hi Christian,

On Fri, Oct 21, 2022 at 10:40:22PM +0200, Christian Göttsche wrote:
> source: linux
> version: 6.0.2-1+b1
> severity: important
> 
> Upgrading the package of the currently running kernel, e.g. for
> rebuilds like 6.0.2-1+b1, breaks module loading until the next reboot.
> Trying to load modules by applications, e.g. qemu, will fail:
> 
> Oct 21 22:23:23 debianHome kernel: BPF:          type_id=1457 bits_offset=0
> Oct 21 22:23:23 debianHome kernel: BPF:
> Oct 21 22:23:23 debianHome kernel: BPF: Invalid name
> Oct 21 22:23:23 debianHome kernel: BPF:
> Oct 21 22:23:23 debianHome kernel: failed to validate module [tun] BTF: -22
> 
> Maybe this is hard to fix, due to signature changes, so maybe the
> postinst should print a strong reboot recommendation?

I'm going to merge this with the related #1003210 .

Regards,
Salvatore

[toc] | [prev] | [next] | [standalone]


#77504 — Bug#1022202: failed to validate module [usbserial] BTF: -22

FromBrilliantov Kirill Vladimirovich <kirill.brilliantov@rt.ru>
Date2022-12-08 07:30 +0100
SubjectBug#1022202: failed to validate module [usbserial] BTF: -22
Message-ID<FAizT-9bv4-1@gated-at.bofh.it>
In reply to#76631
Hello!
package linux-image-6.0.0-5-amd64 6.0.10-2
```
$ uname -r
6.0.0-5-amd64
```
At connect RS232-USB adapter dmesg contain follow lines
```
.........
[  792.056242] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  792.056249] usb 1-2: Product: TTL232R-3V3
[  792.056255] usb 1-2: Manufacturer: FTDI
[  792.056260] usb 1-2: SerialNumber: FTHEC1HL
[  792.085092] BPF:      type_id=75 bits_offset=128
[  792.085106] BPF:
[  792.085111] BPF: Invalid name
[  792.085116] BPF:
[  792.085122] failed to validate module [usbserial] BTF: -22
[ 1372.750421] rmi4_f12 rmi4-00.fn12: Failed to read object data. Code: -6.
.......
```

[toc] | [prev] | [next] | [standalone]


#78115 — Bug#1022202: marked as done (linux: rebuild upgrades of running kernel breaks module loading)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2023-01-29 17:10 +0100
SubjectBug#1022202: marked as done (linux: rebuild upgrades of running kernel breaks module loading)
Message-ID<FTipI-20eq-9@gated-at.bofh.it>
In reply to#76631

[Multipart message — attachments visible in raw view] — view raw

Your message dated Sun, 29 Jan 2023 16:02:54 +0000
with message-id <E1pMA8s-008Bvd-Ox@fasolo.debian.org>
and subject line Bug#1003210: fixed in linux 6.1.8-1
has caused the Debian Bug report #1003210,
regarding linux: rebuild upgrades of running kernel breaks module loading
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1003210: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003210
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#78119 — Bug#1022202: marked as done (linux: rebuild upgrades of running kernel breaks module loading)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2023-01-29 17:10 +0100
SubjectBug#1022202: marked as done (linux: rebuild upgrades of running kernel breaks module loading)
Message-ID<FTipJ-20eq-35@gated-at.bofh.it>
In reply to#76631

[Multipart message — attachments visible in raw view] — view raw

Your message dated Sun, 29 Jan 2023 16:02:54 +0000
with message-id <E1pMA8s-008Bvg-QI@fasolo.debian.org>
and subject line Bug#1022202: fixed in linux 6.1.8-1
has caused the Debian Bug report #1022202,
regarding linux: rebuild upgrades of running kernel breaks module loading
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1022202: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022202
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web