--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: linux-image-4.19.0-16-amd64: Version 4.19.0-16 breaks lirc and vdr
- From: David Ruetti <david.ruetti@bluewin.ch>
- Date: Tue, 30 Mar 2021 00:42:50 +0200
- Message-id: <161705777004.2554.13190608889010463047.reportbug@supply.int.ruetti13.ch>
Package: src:linux
Version: 4.19.181-1
Severity: important
Upgraded to latest packages and with Kernel 4.19.0-16 lirc stopped working. It cannot find /sys/class/rc and fills every second syslog:
Mar 30 00:09:45 supply lircd[296]: lircd-0.10.1[296]: Error: No /sys/class/rc/ devices found
Mar 30 00:09:45 supply lircd-0.10.1[296]: Error: No /sys/class/rc/ devices found
Booting into 4.19.0-14, lirc work as expected. Breaking of lirc presumably affects vdr (vdr_2.4.1-4~etobi2_amd64.deb / packages.e-tobi.net vdr-experimental buster) as well. Vdr is working as expected on 4.19.0-14 kernel.
root@iris:~# cat /etc/lirc/lircd.conf.d/devinput.lircd.conf
# Rename to devinput.lircd.dist if not using devinput driver
# Re-generate for current kernel using lirc-make-devinput
#
# Generated by lirc-make-devinput on 4.19.0-14-amd64
# Date: Sun Mar 21 14:29:15 UTC 2021
begin remote
name devinput-64
bits 16
eps 30
aeps 100
pre_data_bits 16
pre_data 0x0001
post_data_bits 32
post_data 0x00000001
gap 132799
toggle_bit 0
driver devinput
begin codes
[...]
-- Package-specific info:
** Version:
Linux version 4.19.0-16-amd64 (debian-kernel@lists.debian.org) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP Debian 4.19.181-1 (2021-03-19)
** Command line:
root=/dev/xvda1 ro module.sig_enforce=1 quiet
** Not tainted
** Kernel log:
[ 0.767391] PTP clock support registered
[ 0.767398] EDAC MC: Ver: 3.0.0
[ 0.767559] PCI: System does not support PCI
[ 0.768390] clocksource: Switched to clocksource xen
[ 0.780534] VFS: Disk quotas dquot_6.6.0
[ 0.780554] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.780586] hugetlbfs: disabling because there are no supported hugepage sizes
[ 0.780674] AppArmor: AppArmor Filesystem Enabled
[ 0.780693] pnp: PnP ACPI: disabled
[ 0.782345] NET: Registered protocol family 2
[ 0.782528] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes)
[ 0.782541] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.782588] TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
[ 0.782607] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.782647] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.782653] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.782703] NET: Registered protocol family 1
[ 0.782709] NET: Registered protocol family 44
[ 0.782712] PCI: CLS 0 bytes, default 64
[ 0.782759] Unpacking initramfs...
[ 0.877237] Freeing initrd memory: 87484K
[ 0.878003] Initialise system trusted keyrings
[ 0.878018] Key type blacklist registered
[ 0.878090] workingset: timestamp_bits=40 max_order=17 bucket_order=0
[ 0.879648] zbud: loaded
[ 1.129067] Key type asymmetric registered
[ 1.129069] Asymmetric key parser 'x509' registered
[ 1.129090] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 1.129123] io scheduler noop registered
[ 1.129124] io scheduler deadline registered
[ 1.129177] io scheduler cfq registered (default)
[ 1.129178] io scheduler mq-deadline registered
[ 1.129305] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 1.129663] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 1.130027] Linux agpgart interface v0.103
[ 1.130054] AMD IOMMUv2 driver by Joerg Roedel <jroedel@suse.de>
[ 1.130054] AMD IOMMUv2 functionality not available on this system
[ 1.130163] i8042: PNP: No PS/2 controller found.
[ 1.130163] i8042: Probing ports directly.
[ 1.130984] i8042: No controller found
[ 1.131038] mousedev: PS/2 mouse device common for all mice
[ 1.131089] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.131384] NET: Registered protocol family 10
[ 1.148036] Segment Routing with IPv6
[ 1.148070] mip6: Mobile IPv6
[ 1.148074] NET: Registered protocol family 17
[ 1.148109] mpls_gso: MPLS GSO support
[ 1.148205] mce: Using 2 MCE banks
[ 1.148228] sched_clock: Marking stable (1147023133, 187741)->(1150917806, -3706932)
[ 1.148522] registered taskstats version 1
[ 1.148523] Loading compiled-in X.509 certificates
[ 1.205521] Loaded X.509 cert 'Debian Secure Boot CA: 6ccece7e4c6c0d1f6149f3dd27dfcc5cbb419ea1'
[ 1.205539] Loaded X.509 cert 'Debian Secure Boot Signer 2021 - linux: 4b6ef5abca669825178e052c84667ccbc0531f8c'
[ 1.205565] zswap: loaded using pool lzo/zbud
[ 1.205694] AppArmor: AppArmor sha1 policy hashing enabled
[ 1.205913] xenbus_probe_frontend: Device with no driver: device/vbd/51713
[ 1.205914] xenbus_probe_frontend: Device with no driver: device/vbd/51714
[ 1.205914] xenbus_probe_frontend: Device with no driver: device/vif/0
[ 1.205939] hctosys: unable to open rtc device (rtc0)
[ 1.207650] Freeing unused kernel image memory: 1600K
[ 1.215270] Write protecting the kernel read-only data: 16384k
[ 1.221710] Freeing unused kernel image memory: 2028K
[ 1.222185] Freeing unused kernel image memory: 768K
[ 1.259998] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[ 1.260002] Run /init as init process
[ 1.419218] random: fast init done
[ 1.420660] Invalid max_queues (4), will use default max: 1.
[ 1.423821] xen_netfront: Initialising Xen virtual ethernet driver
[ 1.448973] blkfront: xvda1: flush diskcache: enabled; persistent grants: enabled; indirect descriptors: enabled;
[ 1.455844] blkfront: xvda2: flush diskcache: enabled; persistent grants: enabled; indirect descriptors: enabled;
[ 1.907269] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x214cd4de72c, max_idle_ns: 440795236532 ns
[ 2.079305] PM: Image not found (code -22)
[ 2.326869] cryptd: max_cpu_qlen set to 1000
[ 2.429102] EXT4-fs (xvda1): mounted filesystem with ordered data mode. Opts: (null)
[ 4.049145] systemd[1]: Inserted module 'autofs4'
[ 4.140379] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[ 4.140477] systemd[1]: Detected virtualization xen.
[ 4.140486] systemd[1]: Detected architecture x86-64.
[ 4.150553] systemd[1]: Set hostname to <supply>.
[ 4.745274] random: systemd: uninitialized urandom read (16 bytes read)
[ 4.747548] random: systemd: uninitialized urandom read (16 bytes read)
[ 4.747840] systemd[1]: Listening on Journal Socket.
[ 4.748079] random: systemd: uninitialized urandom read (16 bytes read)
[ 4.751489] systemd[1]: Mounting POSIX Message Queue File System...
[ 4.751990] systemd[1]: Listening on Journal Audit Socket.
[ 4.752288] systemd[1]: Listening on fsck to fsckd communication Socket.
[ 4.752853] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 4.753297] systemd[1]: Created slice system-getty.slice.
[ 4.965467] EXT4-fs (xvda1): re-mounted. Opts: (null)
[ 5.182962] systemd-journald[157]: Received request to flush runtime journal from PID 1
[ 5.777227] input: PC Speaker as /devices/platform/pcspkr/input/input0
[ 5.787083] audit: type=1400 audit(1617053976.802:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=186 comm="apparmor_parser"
[ 5.787089] audit: type=1400 audit(1617053976.802:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=186 comm="apparmor_parser"
[ 5.790066] MCE: In-kernel MCE decoding enabled.
[ 5.843663] audit: type=1400 audit(1617053976.862:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=193 comm="apparmor_parser"
[ 5.843669] audit: type=1400 audit(1617053976.862:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_filter" pid=193 comm="apparmor_parser"
[ 5.843671] audit: type=1400 audit(1617053976.862:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_groff" pid=193 comm="apparmor_parser"
[ 6.140070] Adding 1048572k swap on /dev/xvda2. Priority:-2 extents:1 across:1048572k SSFS
[ 13.279032] random: crng init done
[ 13.279036] random: 7 urandom warning(s) missed due to ratelimiting
** Model information
** Loaded modules:
evdev
edac_mce_amd
pcspkr
ip_tables
x_tables
autofs4
ext4
crc16
mbcache
jbd2
crc32c_generic
fscrypto
ecb
crypto_simd
cryptd
glue_helper
aes_x86_64
xen_netfront
xen_blkfront
** Network interface configuration:
source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
** Network status:
*** IP interfaces and addresses:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:16:3e:5c:04:38 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.53/24 brd 192.168.1.255 scope global dynamic eth0
valid_lft 6814sec preferred_lft 6814sec
inet6 fe80::216:3eff:fe5c:438/64 scope link
valid_lft forever preferred_lft forever
*** Device statistics:
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
lo: 78 2 0 0 0 0 0 0 78 2 0 0 0 0 0 0
eth0: 2541585 12993 0 0 0 0 0 0 1697582 10056 0 0 0 0 0 0
*** Protocol statistics:
Ip:
Forwarding: 2
12160 total packets received
2 with invalid addresses
0 forwarded
0 incoming packets discarded
12107 incoming packets delivered
10003 requests sent out
44 dropped because of missing route
Icmp:
1 ICMP messages received
0 input ICMP message failed
ICMP input histogram:
echo requests: 1
1 ICMP messages sent
0 ICMP messages failed
ICMP output histogram:
echo replies: 1
IcmpMsg:
InType8: 1
OutType0: 1
Tcp:
39 active connection openings
4 passive connection openings
0 failed connection attempts
0 connection resets received
2 connections established
11873 segments received
9960 segments sent out
1 segments retransmitted
0 bad segments received
40 resets sent
Udp:
160 packets received
0 packets to unknown port received
0 packet receive errors
166 packets sent
0 receive buffer errors
0 send buffer errors
IgnoredMulti: 73
UdpLite:
TcpExt:
17 TCP sockets finished time wait in fast timer
51 delayed acks sent
1 delayed acks further delayed because of locked socket
2336 packet headers predicted
845 acknowledgments not containing data payload received
6707 predicted acknowledgments
TCPSackRecovery: 1
Detected reordering 121 times using SACK
TCPDSACKUndo: 1
1 fast retransmits
TCPDSACKRecv: 1
20 connections reset due to unexpected data
TCPSackShifted: 14
TCPSackMerged: 12
TCPSackShiftFallback: 139
TCPRcvCoalesce: 59
TCPAutoCorking: 993
TCPOrigDataSent: 8859
TCPHystartDelayDetect: 1
TCPHystartDelayCwnd: 44
TCPDelivered: 8899
IpExt:
InBcastPkts: 73
InOctets: 2494291
OutOctets: 1554199
InBcastOctets: 8477
InNoECTPkts: 12906
** PCI devices:
not available
** USB devices:
not available
-- System Information:
Debian Release: 10.9
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-16-amd64 (SMP w/1 CPU core)
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8), LANGUAGE=de_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages linux-image-4.19.0-16-amd64 depends on:
ii initramfs-tools [linux-initramfs-tool] 0.133+deb10u1
ii kmod 26-1
ii linux-base 4.6
Versions of packages linux-image-4.19.0-16-amd64 recommends:
ii apparmor 2.13.2-10
ii firmware-linux-free 3.4
Versions of packages linux-image-4.19.0-16-amd64 suggests:
pn debian-kernel-handbook <none>
pn grub-pc | grub-efi-amd64 | extlinux <none>
pn linux-doc-4.19 <none>
Versions of packages linux-image-4.19.0-16-amd64 is related to:
pn firmware-amd-graphics <none>
pn firmware-atheros <none>
pn firmware-bnx2 <none>
pn firmware-bnx2x <none>
pn firmware-brcm80211 <none>
pn firmware-cavium <none>
pn firmware-intel-sound <none>
pn firmware-intelwimax <none>
pn firmware-ipw2x00 <none>
pn firmware-ivtv <none>
pn firmware-iwlwifi <none>
pn firmware-libertas <none>
pn firmware-linux-nonfree <none>
pn firmware-misc-nonfree <none>
pn firmware-myricom <none>
pn firmware-netxen <none>
pn firmware-qlogic <none>
pn firmware-realtek <none>
pn firmware-samsung <none>
pn firmware-siano <none>
pn firmware-ti-connectivity <none>
pn xen-hypervisor <none>
-- no debconf information
--- End Message ---
--- Begin Message ---
Control: tags -1 - moreinfo
On Thu, Apr 01, 2021 at 06:27:05AM +0200, Salvatore Bonaccorso wrote:
> Control: tags -1 + moreinfo
>
> Hi David,
>
> On Tue, Mar 30, 2021 at 12:42:50AM +0200, David Ruetti wrote:
> > Package: src:linux
> > Version: 4.19.181-1
> > Severity: important
> >
> > Upgraded to latest packages and with Kernel 4.19.0-16 lirc stopped working. It cannot find /sys/class/rc and fills every second syslog:
> >
> > Mar 30 00:09:45 supply lircd[296]: lircd-0.10.1[296]: Error: No /sys/class/rc/ devices found
> > Mar 30 00:09:45 supply lircd-0.10.1[296]: Error: No /sys/class/rc/ devices found
> >
> > Booting into 4.19.0-14, lirc work as expected. Breaking of lirc
> > presumably affects vdr (vdr_2.4.1-4~etobi2_amd64.deb /
> > packages.e-tobi.net vdr-experimental buster) as well. Vdr is working
> > as expected on 4.19.0-14 kernel.
>
> Would it be possible for you to check as well directly vanilla
> upstream 4.19.181 and ideally 4.19.183 and if reproducible try to
> bisect the offending commit introducing the issue?
>
> https://wiki.debian.org/DebianKernel/GitBisect might help here.
>
> It might be related to
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1901089 and
> 896111dc4bcf ("media: rc: ensure that uevent can be read directly
> after rc device register") from 5.11-rc6 but which was backported to
> 4.19.173 and 5.10.13.
>
> Do you have the same problem running the backports kernel?
David reported off-list to me that the problem is actually not in the
kernel itself but the card strangely behaving.
Thus closing the bugreport accordingly.
Regards,
Salvatore
--- End Message ---