Bug#1030738: linux-image-6.1.0-3-amd64: rtw88_8723de, machine hard reset when mac address changes

2023-02-06 Thread Martin Kraus
Package: src:linux
Version: 6.1.8-1
Severity: critical
Justification: breaks the whole system
X-Debbugs-Cc: debian-b...@wujiman.net

Dear Maintainer,

I was hit by a bug described on opensuse bug tracker

https://bugzilla.opensuse.org/show_bug.cgi?id=1206767

The machine (HP Laptop 15-bw0xx) kept hard resetting during boot. 
The problem is in a wifi module rtw88_8723de or in a hardware it controls.
When Network Manager attempts to activate the wifi it scans for wireless 
networks 
using a random mac address at which time the computer hard resets.

The following configuration in Network Manager avoids the problem

[device]
wifi.scan-rand-mac-address=no

I had to put the following as a parameter to the kernel commandline when in 
grub to 
at least boot the computer.

modprobe.blacklist=rtw88_88723de

I'm running current Bookworm on the target computer but I had the same problem 
when testing this on a Bullseye live image.

It might be specific to HP laptops, can't really say. But it's a nasty surprise 
to whoever
gets hit by this and not really obvious how to get around it.

with regards
Martin Kraus


-- Package-specific info:
** Version:
Linux version 6.1.0-3-amd64 (debian-kernel@lists.debian.org) (gcc-12 (Debian 
12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP 
PREEMPT_DYNAMIC Debian 6.1.8-1 (2023-01-29)

** Command line:
BOOT_IMAGE=/boot/vmlinuz-6.1.0-3-amd64 root=/dev/mapper/storage-system ro 
pcie_aspm.policy=performance quiet

** Not tainted

** Kernel log:
[   11.777954] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module 
fuse...
[   11.778207] systemd[1]: systemd-fsck-root.service - File System Check on 
Root Device was skipped because of an unmet condition check 
(ConditionPathExists=!/run/initramfs/fsck-root).
[   11.781638] systemd[1]: Starting systemd-journald.service - Journal 
Service...
[   11.844547] systemd[1]: Starting systemd-modules-load.service - Load Kernel 
Modules...
[   11.847073] systemd[1]: Starting systemd-remount-fs.service - Remount Root 
and Kernel File Systems...
[   11.847292] systemd[1]: systemd-repart.service - Repartition Root Disk was 
skipped because no trigger condition checks were met.
[   11.849709] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All 
udev Devices...
[   11.853051] systemd[1]: Finished kmod-static-nodes.service - Create List of 
Static Device Nodes.
[   11.854106] systemd[1]: modprobe@drm.service: Deactivated successfully.
[   11.854379] systemd[1]: Finished modprobe@drm.service - Load Kernel Module 
drm.
[   11.910249] fuse: init (API version 7.37)
[   11.911464] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[   11.911714] systemd[1]: Finished modprobe@fuse.service - Load Kernel Module 
fuse.
[   11.932687] systemd[1]: Mounting sys-fs-fuse-connections.mount - FUSE 
Control File System...
[   11.933518] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[   11.933954] systemd[1]: Finished modprobe@configfs.service - Load Kernel 
Module configfs.
[   11.936360] systemd[1]: Mounting sys-kernel-config.mount - Kernel 
Configuration File System...
[   11.984985] pstore: Using crash dump compression: deflate
[   12.029471] pstore: Registered efi as persistent store backend
[   12.030627] systemd[1]: modprobe@efi_pstore.service: Deactivated 
successfully.
[   12.031015] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel 
Module efi_pstore.
[   12.081671] systemd[1]: Started systemd-journald.service - Journal Service.
[   12.214858] EXT4-fs (dm-0): re-mounted. Quota mode: none.
[   12.667451] systemd-journald[263]: Received client request to flush runtime 
journal.
[   13.159707] lp: driver loaded but no devices found
[   13.181228] ppdev: user-space parallel port driver
[   16.611536] acpi-tad ACPI000E:00: Missing _PRW
[   16.611959] ACPI: AC: AC Adapter [ACAD] (on-line)
[   16.620521] acpi_cpufreq: overriding BIOS provided _PSD data
[   16.797063] input: PC Speaker as /devices/platform/pcspkr/input/input8
[   17.001400] cryptd: max_cpu_qlen set to 1000
[   17.148655] AVX2 version of gcm_enc/dec engaged.
[   17.148745] AES CTR mode by8 optimization enabled
[   17.306409] sp5100_tco: SP5100/SB800 TCO WatchDog Timer Driver
[   17.306597] sp5100-tco sp5100-tco: Using 0xfed80b00 for watchdog MMIO address
[   17.306805] sp5100-tco sp5100-tco: initialized. heartbeat=60 sec (nowayout=0)
[   17.356628] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   17.356788] sr 1:0:0:0: Attached scsi generic sg1 type 5
[   17.534043] Adding 3903484k swap on /dev/mapper/storage-swap.  Priority:-2 
extents:1 across:3903484k FS
[   17.875462] snd_hda_intel :00:01.1: Force to non-snoop mode
[   17.937842] snd_hda_intel :00:01.1: bound :00:01.0 (ops 
amdgpu_dm_audio_component_bind_ops [amdgpu])
[   17.943526] input: HDA ATI HDMI HDMI/DP,pcm=3 as 
/devices/pci:00/:00:01.1/sound/card0/input10
[   18.253443] mc: Linux media interface: v0.10
[   18.285769] input: HP WMI hotkeys

Bug#608804: linux-image-amd64: /sys/class/power_supply/ACAD/online is 1 without power cable plugged in

2011-01-04 Thread Martin Kraus
On Mon, Jan 03, 2011 at 08:30:21PM +, Ben Hutchings wrote:
 Please report this upstream at https://bugzilla.kernel.org under
 product ACPI, component Power-Battery.  Let us know the bug number or
 URL so we can track it.

I've just tried kernel image 2.6.37~rc7-1~experimental.1 from experimental and
the problem is gone. /sys/class/power_supply/ACAD/online returns the correct
information.

Since it's fixed in a newer version the problem remains with 2.6.32 for
squeeze.

The change that fixed this must have come somewhere between 2.6.37-rc5 and 
2.6.37-rc7
since 2.6.37-rc5 still displayed the wrong information.

mk



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110104104623.ga3...@finrod



Bug#608804: linux-image-amd64: /sys/class/power_supply/ACAD/online is 1 without power cable plugged in

2011-01-03 Thread Martin Kraus
Package: linux-image-amd64
Version: 2.6.32+28
Severity: normal
Tags: upstream


After cold boot without power cable plugged in 
/sys/class/power_supply/ACAD/online is 1 which 
leaves on_ac_power returning wrong information for packages like 
laptop-mode-tools. 

Hardware used is Lenovo ThinkPad SL410. 

modprobe -r ac; modprobe ac 
solves this problem as does plugging the power cable in and out again.

I've tested this with vanila kernel version 2.6.37-rc5 and this problem is 
still present.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-image-amd64 depends on:
ii  linux-image-2.6.32-5-amd642.6.32-29  Linux 2.6.32 for 64-bit PCs

linux-image-amd64 recommends no packages.

linux-image-amd64 suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110103160408.4077.60412.report...@localhost