Processed: forcibly merging 1070876 1070997

2024-05-12 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> forcemerge 1070876 1070997
Bug #1070876 [src:linux] linux: hang when resuming from suspend
Bug #1070997 [src:linux] linux-image-5.10.0-29-amd64: more info
Severity set to 'important' from 'normal'
Merged 1070876 1070997
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
1070876: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1070876
1070997: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1070997
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#1070997: sorry about the new bug

2024-05-12 Thread Mike Kupfer
Apologies, I had meant to update 1070876, not create a new bug.  I guess
they should be merged?

regards,
mike



Bug#1070997: linux-image-5.10.0-29-amd64: more info

2024-05-12 Thread Mike Kupfer
Package: src:linux
Version: 5.10.216-1
Followup-For: Bug #1070876
X-Debbugs-Cc: kup...@rawbw.com

Dear Maintainer,

Sorry about the lack of system information in the original submission.
(I had run "reportbug linux" rather than "reportbug kernel".)

The kernel log is from a fresh boot.  Please let me know if there are
any files from /var/log that I should include.

-- Package-specific info:
** Version:
Linux version 5.10.0-29-amd64 (debian-kernel@lists.debian.org) (gcc-10 (Debian 
10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP 
Debian 5.10.216-1 (2024-05-03)

** Command line:
BOOT_IMAGE=/vmlinuz-5.10.0-29-amd64 root=/dev/mapper/ceylon--vg-root ro quiet

** Not tainted

** Kernel log:
[   10.876427] usbcore: registered new interface driver uvcvideo
[   10.876429] USB Video Class driver (1.1.1)
[   10.877628] intel_rapl_common: Found RAPL domain package
[   10.877630] intel_rapl_common: Found RAPL domain core
[   10.877631] intel_rapl_common: Found RAPL domain uncore
[   10.877638] intel_rapl_common: RAPL package-0 domain package locked by BIOS
[   10.905380] Adding 1003516k swap on /dev/mapper/ceylon--vg-swap_1.  
Priority:-2 extents:1 across:1003516k SSFS
[   10.924828] cfg80211: Loaded X.509 cert 'romain.per...@gmail.com: 
3abbc6ec146e09d1b6016ab9d6cf71dd233f0328'
[   10.925204] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   10.929617] input: HDA Intel HDMI HDMI/DP,pcm=3 as 
/devices/pci:00/:00:03.0/sound/card0/input12
[   10.929692] input: HDA Intel HDMI HDMI/DP,pcm=7 as 
/devices/pci:00/:00:03.0/sound/card0/input13
[   10.929754] input: HDA Intel HDMI HDMI/DP,pcm=8 as 
/devices/pci:00/:00:03.0/sound/card0/input14
[   10.929825] input: HDA Intel HDMI HDMI/DP,pcm=9 as 
/devices/pci:00/:00:03.0/sound/card0/input15
[   10.930695] input: HDA Intel HDMI HDMI/DP,pcm=10 as 
/devices/pci:00/:00:03.0/sound/card0/input16
[   10.931777] cfg80211: Loaded X.509 cert 'wens: 
61c038651aabdcf94bd0ac7ff06c7248db18c600'
[   10.938367] platform regulatory.0: firmware: direct-loading firmware 
regulatory.db
[   10.940753] platform regulatory.0: firmware: direct-loading firmware 
regulatory.db.p7s
[   11.007023] Bluetooth: Core ver 2.22
[   11.007082] NET: Registered protocol family 31
[   11.007084] Bluetooth: HCI device and connection manager initialized
[   11.007216] Bluetooth: HCI socket layer initialized
[   11.007219] Bluetooth: L2CAP socket layer initialized
[   11.007225] Bluetooth: SCO socket layer initialized
[   11.007354] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC3235: 
line_outs=1 (0x16/0x0/0x0/0x0/0x0) type:line
[   11.007356] snd_hda_codec_realtek hdaudioC1D0:speaker_outs=1 
(0x14/0x0/0x0/0x0/0x0)
[   11.007358] snd_hda_codec_realtek hdaudioC1D0:hp_outs=1 
(0x15/0x0/0x0/0x0/0x0)
[   11.007360] snd_hda_codec_realtek hdaudioC1D0:mono: mono_out=0x0
[   11.007362] snd_hda_codec_realtek hdaudioC1D0:inputs:
[   11.007364] snd_hda_codec_realtek hdaudioC1D0:  Headset Mic=0x1a
[   11.007366] snd_hda_codec_realtek hdaudioC1D0:  Dock Mic=0x19
[   11.007368] snd_hda_codec_realtek hdaudioC1D0:  Headphone Mic=0x18
[   11.007370] snd_hda_codec_realtek hdaudioC1D0:  Internal Mic=0x13
[   11.041503] usbcore: registered new interface driver btusb
[   11.046768] usb 1-1.3: firmware: failed to load ar3k/AthrBT_0x3101.dfu 
(-2)
[   11.046820] firmware_class: See https://wiki.debian.org/Firmware for 
information about missing firmware
[   11.046874] usb 1-1.3: Direct firmware load for ar3k/AthrBT_0x3101.dfu 
failed with error -2
[   11.046885] Bluetooth: Loading patch file failed
[   11.046926] ath3k: probe of 1-1.3:1.0 failed with error -2
[   11.047085] usbcore: registered new interface driver ath3k
[   11.065040] input: HDA Digital PCBeep as 
/devices/pci:00/:00:1b.0/sound/card1/input17
[   11.065129] input: HDA Intel PCH Dock Mic as 
/devices/pci:00/:00:1b.0/sound/card1/input18
[   11.065190] input: HDA Intel PCH Headphone Mic as 
/devices/pci:00/:00:1b.0/sound/card1/input19
[   11.065254] input: HDA Intel PCH Dock Line Out as 
/devices/pci:00/:00:1b.0/sound/card1/input20
[   11.071353] EXT4-fs (sda2): mounting ext2 file system using the ext4 
subsystem
[   11.082092] EXT4-fs (sda2): mounted filesystem without journal. Opts: (null)
[   11.082099] ext2 filesystem being mounted at /boot supports timestamps until 
2038 (0x7fff)
[   11.112440] ath9k :02:00.0: enabling device ( -> 0002)
[   11.112594] ath: phy0: WB335 2-ANT card detected
[   11.112595] ath: phy0: Set BT/WLAN RX diversity capability
[   11.120307] ath: phy0: Enable LNA combining
[   11.121445] ath: phy0: ASPM enabled: 0x42
[   11.121448] ath: EEPROM regdomain: 0x6c
[   11.121449] ath: EEPROM indicates we should expect a direct regpair map
[   11.121451] ath: Country alpha2 being used: 00
[   11.121452] ath: Regpair used: 0x6c
[   11.123371] ieee80211 phy0: Selected rate control algorithm 'm

Bug#1070986: linux-source-6.7: Signing error building 6.7 custom kernel

2024-05-12 Thread Tom Overlund
Package: linux-source-6.7
Version: 6.7.12-1
Severity: normal
X-Debbugs-Cc: to...@dilacero.org

Dear Maintainer,

I'm following the directions at the Kernel Handbook, "4.2. Building a custom 
kernel from Debian kernel source".

I apt-get installed: linux-source libncurses-dev pahole

I configured with:
$ make localmodconfig

and took defaults to any prompts.

I then ran:
$ make menuconfig

and turned on:
Kernel hacking->Generic Kernel Debugging Instruments->KGDB: kernel debugger 
(KGDB=y)

And finally, ran:
$ make bindeb-pkg

The kernel compiled, but then failed with:
  ...
  HDRINST usr/include/asm/types.h
  INSTALL debian/linux-libc-dev/usr/include
  SIGN
debian/linux-image/lib/modules/6.7.12/kernel/arch/x86/crypto/aesni-intel.ko
At main.c:298:
- SSL error:8002:system library::No such file or directory: 
../crypto/bio/bss_file.c:67
- SSL error:1080:BIO routines::no such file: ../crypto/bio/bss_file.c:75
sign-file: 
debian/linux-image/lib/modules/6.7.12/kernel/arch/x86/crypto/aesni-intel.ko
make[6]: *** [scripts/Makefile.modinst:137: 
debian/linux-image/lib/modules/6.7.12/kernel/arch/x86/crypto/aesni-intel.ko] 
Error 1
make[5]: *** [Makefile:1844: modules_install] Error 2
make[4]: *** [Makefile:2059: run-command] Error 2
make[3]: *** [debian/rules:17: binary-arch] Error 2
ESC[1mdpkg-buildpackage: ESC[0mESC[1;31merrorESC[0m: make -f debian/rules 
binary subprocess returned exit status 2
make[2]: *** [scripts/Makefile.package:144: bindeb-pkg] Error 2
make[1]: *** [/home/virt/linux-source-6.7/Makefile:1560: bindeb-pkg] Error 2
make: *** [Makefile:246: __sub-make] Error 2

I did some digging, and it looks like it's trying to double-sign the .ko files. 
For example, earlier in the make output, it says:

run-command KBUILD_RUN_COMMAND=+./scripts/package/builddeb
  SYMLINK debian/linux-image/lib/modules/6.7.12/build
  INSTALL debian/linux-image/lib/modules/6.7.12/modules.order
  INSTALL debian/linux-image/lib/modules/6.7.12/modules.builtin
  INSTALL debian/linux-image/lib/modules/6.7.12/modules.builtin.modinfo
  INSTALL 
debian/linux-image/lib/modules/6.7.12/kernel/arch/x86/crypto/aesni-intel.ko
  SIGN
debian/linux-image/lib/modules/6.7.12/kernel/arch/x86/crypto/aesni-intel.ko
  XZ  
debian/linux-image/lib/modules/6.7.12/kernel/arch/x86/crypto/aesni-intel.ko.xz

And ls shows the .xz file is there:
$ ls debian/linux-image/lib/modules/6.7.12/kernel/arch/x86/crypto/aesni-intel*
debian/linux-image/lib/modules/6.7.12/kernel/arch/x86/crypto/aesni-intel.ko.xz

So then when it tries to sign the .ko file again, it can't find it, because 
it's been compressed to .xz.

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.7.12-amd64 (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-source-6.7 depends on:
ii  binutils  2.42-4
ii  xz-utils  5.6.1+really5.4.5-1

Versions of packages linux-source-6.7 recommends:
ii  bc1.07.1-4
ii  bison 2:3.8.2+dfsg-1+b1
ii  build-essential   12.10
ii  cpio  2.15+dfsg-1
ii  flex  2.6.4-8.2+b2
ii  kmod  32-1
ii  libelf-dev0.191-1+b1
ii  libssl-dev3.2.1-3
ii  linux-config-6.7  6.7.12-1
ii  rsync 3.3.0-1

Versions of packages linux-source-6.7 suggests:
ii  libncurses-dev [ncurses-dev]  6.4+20240414-1
ii  pkgconf [pkg-config]  1.8.1-1+b2
pn  qtbase5-dev   

-- no debconf information