Bug#948257: Testet Patch mentioned by Salvatore Bonaccorso

2020-01-07 Thread nils
The small patch at 
https://salsa.debian.org/kernel-team/initramfs-tools/merge_requests/23 
(https://salsa.debian.org/kernel-team/initramfs-tools/merge_requests/23) works 
fine.

Before:
100s of depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not 
open builtin file 
'/var/tmp/mkinitramfs_DkdaZa/lib/modules/5.4.0-2-amd64/modules.builtin.bin

With patch:
No Errors.


Bug#948394: linux-image-5.4.0-2-amd64: regular lockups with kswapd0 hang message with kernel 5.3 and 5.4 but not 5.2

2020-01-07 Thread Crashbunny
Package: src:linux
Version: 5.4.8-1
Severity: normal

Dear Maintainer,

On an old laptop, a t410s, running typical desktop software, firefox being the 
main
app and using the most resources, wayland, swaywm and zfs on root. SSD appears 
to
have some errors. Also locks up with latest stable xanmod kernel. Never locks 
up with kernel 5.2.

After it locks up, mouse cursor doesn't move, ctrl+alt+f1 doesn't work,
I can't ssh in from another machine, but sysrq works.

   * What led up to the situation?

Watching youtube videos for hours will always trigger a lockup.
Sometimes opening a new firefox tab and loading a webpage.

   * What exactly did you do (or not do) that was effective (or
 ineffective)?

Never locks up with kernel 5.2.

-- Package-specific info:
** Version:
Linux version 5.4.0-2-amd64 (debian-kernel@lists.debian.org) (gcc version 9.2.1 
20200104 (Debian 9.2.1-22)) #1 SMP Debian 5.4.8-1 (2020-01-05)

** Command line:
BOOT_IMAGE=/BOOT/debian@/vmlinuz-5.4.0-2-amd64 root=ZFS=/ROOT/debian ro 
root=ZFS=rpool/ROOT/debian quiet splash debug ignore_loglevel

** Tainted: POE (12289)
* proprietary module was loaded
* externally-built ("out-of-tree") module was loaded
* unsigned module was loaded

** Kernel log:
[   48.974355] systemd-journald[1202]: Successfully sent stream file descriptor 
to service manager.
[   48.98] systemd-journald[1202]: Successfully sent stream file descriptor 
to service manager.
[   49.004267] systemd[1]: cups.service: Installed new job cups.service/restart 
as 873
[   49.010979] systemd-journald[1202]: Successfully sent stream file descriptor 
to service manager.
[   49.238339] systemd[1]: Found redundant job dev-hugepages.mount/start, 
dropping from transaction.
[   49.300253] systemd[1]: Sent message type=signal 
sender=org.freedesktop.systemd1 destination=n/a 
path=/org/freedesktop/systemd1/unit/cups_2eservice 
interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=46 
reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
[   49.318699] systemd-journald[1202]: Successfully sent stream file descriptor 
to service manager.
[   49.327641] systemd-journald[1202]: Successfully sent stream file descriptor 
to service manager.
[   50.344504] systemd-journald[1202]: Successfully sent stream file descriptor 
to service manager.
[   50.383383] systemd-journald[1202]: Successfully sent stream file descriptor 
to service manager.
[   50.651316] iwlwifi :03:00.0: Radio type=0x1-0x3-0x1
[   50.894644] iwlwifi :03:00.0: Radio type=0x1-0x3-0x1
[   50.953185] systemd-journald[1202]: Successfully sent stream file descriptor 
to service manager.
[   51.010164] iwlwifi :03:00.0: Radio type=0x1-0x3-0x1
[   51.255635] iwlwifi :03:00.0: Radio type=0x1-0x3-0x1
[   52.205428] broken atomic modeset userspace detected, disabling atomic
[   54.764401] iwlwifi :03:00.0: Radio type=0x1-0x3-0x1
[   54.881140] systemd-journald[1202]: Successfully sent stream file descriptor 
to service manager.
[   55.007307] iwlwifi :03:00.0: Radio type=0x1-0x3-0x1
[   55.089273] systemd-journald[1202]: Successfully sent stream file descriptor 
to service manager.
[   55.481630] systemd-journald[1202]: Successfully sent stream file descriptor 
to service manager.
[   57.217511] systemd-journald[1202]: Successfully sent stream file descriptor 
to service manager.
[   57.238809] systemd-journald[1202]: Successfully sent stream file descriptor 
to service manager.
[   58.162247] wlp3s0: authenticate with c8:ff:77:f7:c2:55
[   58.192815] wlp3s0: send auth to c8:ff:77:f7:c2:55 (try 1/3)
[   58.270700] systemd-journald[1202]: Successfully sent stream file descriptor 
to service manager.
[   58.277872] wlp3s0: authenticated
[   58.280907] wlp3s0: associate with c8:ff:77:f7:c2:55 (try 1/3)
[   58.298512] wlp3s0: RX AssocResp from c8:ff:77:f7:c2:55 (capab=0x11 status=0 
aid=3)
[   58.303440] wlp3s0: associated
[   58.613573] systemd-journald[1202]: Successfully sent stream file descriptor 
to service manager.
[   59.125333] systemd-journald[1202]: Successfully sent stream file descriptor 
to service manager.
[   59.387163] IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready
[   59.469678] systemd-journald[1202]: Successfully sent stream file descriptor 
to service manager.
[   59.527132] systemd-journald[1202]: Successfully sent stream file descriptor 
to service manager.
[   59.540640] systemd-journald[1202]: Successfully sent stream file descriptor 
to service manager.
[   59.541441] systemd-journald[1202]: Successfully sent stream file descriptor 
to service manager.
[   59.581126] netpoll: netconsole: local port 
[   59.581134] netpoll: netconsole: local IPv4 address 172.29.9.90
[   59.581136] netpoll: netconsole: interface 'wlp3s0'
[   59.581138] netpoll: netconsole: remote port 514
[   59.581139] netpoll: netconsole: remote IPv4 address 172.29.9.7
[   59.581141] netpoll: netconsole: remote ethernet address e0:d5:5e:26:0d:68
[   59.581309] printk: 

Bug#945055: Acknowledgement (intel-microcode: CPU runs at considerably higher temperatures)

2020-01-07 Thread Christoph Anton Mitterer
Control: forwarded -1 
https://lore.kernel.org/lkml/d05aba2742ae42783788c954e2a380e7fcb10830.ca...@scientia.net/

Hey.

I've forwarded this to lkml.

My most recent post in that thread[0] contains an pretty elaborate test
series comparing kernel 5.2 vs. 5.4 (each with intel_pstate=disable and
without), each on Cinnamon and GNOME Classic... under different
scenarios (idle system and several videos played back).

My personal conclusion would be that something changed between 5.2 and
5.3, which made temperatures and CPU utilisation considerably worse for
Cinnamon,... and not such much, but still noticeably for GNOME.


Apart from that however, there seems to be additionally something wrong
with Cinnamon, as it performs much worse with video playback than GNOME
does - even under 5.2.

So I've additionally created a ticket there at Cinnamon[1].


[0] 
https://lore.kernel.org/lkml/c7b7e81b14380709c3d63033b0e67ee12b737b55.ca...@scientia.net/
[1] https://github.com/linuxmint/cinnamon/issues/9085#issuecomment-570654676



Processed: Re: Bug#945055: Acknowledgement (intel-microcode: CPU runs at considerably higher temperatures)

2020-01-07 Thread Debian Bug Tracking System
Processing control commands:

> forwarded -1 
> https://lore.kernel.org/lkml/d05aba2742ae42783788c954e2a380e7fcb10830.ca...@scientia.net/
Bug #945055 [linux] linux: CPU runs at considerably higher temperatures
Set Bug forwarded-to-address to 
'https://lore.kernel.org/lkml/d05aba2742ae42783788c954e2a380e7fcb10830.ca...@scientia.net/'.

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



Bug#948257: depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open builtin file '/var/tmp/mkinitramfs_N1a1Mk/lib/modules/5.4.0-1-amd64/modules.builtin.bin'

2020-01-07 Thread Benjamin Poirier
On 2020/01/07 10:12, Michael Jeanson wrote:
> On 2020-01-06 7:46 p.m., Benjamin Poirier wrote:
> > I'm not sure if it's related but I saw almost the same error on last
> > upgrade (but for 5.4.0-2):
> > 
> > depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not 
> > open builtin file 
> > '/var/tmp/mkinitramfs_J2sneW/lib/modules/5.4.0-2-amd64/modules.builtin.bin'
> > 
> > and I now get:
> > 
> > root@vsid:~# lttng list --kernel
> > Error: Unable to list kernel events: Kernel tracer not available
> > root@vsid:~# journalctl -u lttng-sessiond.service
> > [...]
> > Jan 07 09:33:20 vsid lttng-sessiond[403]: Error: Failed to load kmod 
> > library resources
> > Jan 07 09:33:20 vsid lttng-sessiond[403]: Warning: No kernel tracer 
> > available
> > 
> > lttng-modules-dkms is installed. I can load the modules manually but I
> > still get the same error.
> > 
> 
> Hi,
> 
> If you had just installed the lttng-modules-dkms and lttng-tools packages,
> it's possible that the lttng-sessiond deamon was started before the kernel
> modules were built and so it couldn't load them.

Looks like the modules are built before lttng-sessiond is started:
Setting up lttng-modules-dkms (2.11.0-2) ...
Loading new lttng-modules-2.11.0 DKMS files...
Building for 5.4.0-2-amd64
Building initial module for 5.4.0-2-amd64
Done.

lttng-lib-ring-buffer.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.4.0-2-amd64/updates/dkms/

[...]

depmod...

DKMS: install completed.
Setting up linux-headers-5.4.0-2-amd64 (5.4.8-1) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 5.4.0-2-amd64:.
Setting up sudo (1.8.29-1) ...
Setting up babeltrace (1.5.7-2) ...
Setting up liburcu6:amd64 (0.11.1-2) ...
Setting up linux-headers-amd64 (5.4.8-1) ...
Setting up liblttng-ctl0:amd64 (2.11.0-3) ...
Setting up lttng-tools (2.11.0-3) ...

Still, it doesn't work.

> Simply restarting the sessiond should fix this.

I tried restarting lttng-sessiond or rebooting the machine but it was no
help, lttng-sessiond always reports:
Error: Failed to load kmod library resources
Warning: No kernel tracer available

A quick look into the code shows that is:
src/bin/lttng-sessiond/modprobe.c
kmod_set_log_fn(*ctx, log_kmod, NULL);
ret = kmod_load_resources(*ctx);
if (ret < 0) {
ERR("Failed to load kmod library resources");
goto error;
}

I didn't dig into libkmod, but I noticed (using opensnoop.bt) the
following:
8071   lttng-sessiond  2   0 
/lib/modules/5.4.0-2-amd64/modules.dep.bin
8071   lttng-sessiond  2   0 
/lib/modules/5.4.0-2-amd64/modules.alias.bin
8071   lttng-sessiond  2   0 
/lib/modules/5.4.0-2-amd64/modules.symbols.bin
8071   lttng-sessiond  2   0 
/lib/modules/5.4.0-2-amd64/modules.builtin.alias.bin

On another machine which I haven't yet updated and where lttng still
works, I see:
193519 lttng-sessiond  2   0 
/lib/modules/5.4.0-1-amd64/modules.dep.bin
193519 lttng-sessiond  2   0 
/lib/modules/5.4.0-1-amd64/modules.alias.bin
193519 lttng-sessiond  2   0 
/lib/modules/5.4.0-1-amd64/modules.symbols.bin
193519 lttng-sessiond  2   0 
/lib/modules/5.4.0-1-amd64/modules.builtin.bin

Not sure if /lib/modules/5.4.0-2-amd64/modules.builtin.alias.bin is
relevant but it's an empty file...

After downgrading libkmod2 from
Version: 26+20191223-1
to
Version: 26-3
the issue with lttng is no longer apparent:
root@vsid:/tmp# lttng list --kernel
Kernel events:
-
  asoc_snd_soc_bias_level_start (loglevel: TRACE_EMERG (0)) (type: 
tracepoint)
  asoc_snd_soc_bias_level_done (loglevel: TRACE_EMERG (0)) (type: 
tracepoint)
  asoc_snd_soc_dapm_start (loglevel: TRACE_EMERG (0)) (type: 
tracepoint)
[...] 



Bug#931930: firmware-misc-nonfree: Please, include i915/icl_dmc_ver1_07.bin

2020-01-07 Thread Miguel A. Vallejo
With the arrival of kernel 5.4.0-2-amd64 now there are three missing
firmware files:

update-initramfs: Generating /boot/initrd.img-5.4.0-2-amd64
W: Possible missing firmware /lib/firmware/i915/icl_dmc_ver1_07.bin
for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_dmc_ver2_04.bin
for module i915
W: Possible missing firmware
/lib/firmware/i915/bxt_huc_ver01_8_2893.bin for module i915

All of them are in the source package (???)



Processed: reassign 948367 to src:linux

2020-01-07 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reassign 948367 src:linux
Bug #948367 [linux-source] [ppc64] linux-source: please enable LPARCFG kernel 
option
Bug reassigned from package 'linux-source' to 'src:linux'.
No longer marked as found in versions 5.4.
Ignoring request to alter fixed versions of bug #948367 to the same values 
previously set
> thanks
Stopping processing here.

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



Processed: reassign 948367 to src:linux

2020-01-07 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reassign 948367 src:linux 5.4.8-1
Bug #948367 [src:linux] [ppc64] linux-source: please enable LPARCFG kernel 
option
Ignoring request to reassign bug #948367 to the same package
Bug #948367 [src:linux] [ppc64] linux-source: please enable LPARCFG kernel 
option
Marked as found in versions linux/5.4.8-1.
> thanks
Stopping processing here.

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



Bug#948367: [ppc64] linux-source: please enable LPARCFG kernel option

2020-01-07 Thread anatoly pugachev
Package: linux-source
Version: 5.4
Severity: wishlist

Dear Maintainer,

Could you please enable LPARCFG ppc64 kernel compile option, to be able
to get stats (lparstat) on a running LPAR ?!

Thanks.

Sample output:

# lparstat -i
Could not open /proc/ppc64/lparcfg
Node Name: redpanda
Partition Name   : redpanda
Type : Dedicated
Mode : Uncapped
Entitled Capacity: 0.00
Online Memory: 33456128 kB
Minimum Capacity : 0.00
Maximum Capacity : 0.00
Capacity Increment   : 0.00
Active CPUs in Pool  : 0
Maximum Capacity of Pool : 0.00
Physical CPU Percentage  : 0
Memory Mode  : Shared

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'unreleased')
Architecture: ppc64

Kernel: Linux 5.4.0-1-powerpc64 (SMP w/32 CPU cores)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-source depends on:
pn  linux-source-5.3  
pn  linux-source-5.4  

linux-source recommends no packages.

linux-source suggests no packages.



Bug#948365: mkinitramfs: do not copy SELinux file attributes

2020-01-07 Thread Christian Göttsche
Package: initramfs-tools-core
Version: 0.135
File: /usr/sbin/mkinitramfs
User: selinux-de...@lists.alioth.debian.org
Usertags: selinux

Hi,

currently mkinitramfs (called by update-initramfs -u) uses 'cp -a' to
gather the files for the initramfs.
'-a' unfolds to '-dR --preserve=all' and 'preserve=all' forces cp to
copy an existing SELinux context.
This results into odd denials/permission-requests like:

type=PROCTITLE msg=audit(01/07/20 17:43:37.802:10521) : proctitle=cp
-ar /etc/ld.so.conf /etc/ld.so.conf.d /var/tmp/mkinitramfs_5j7fmj/etc/
type=PATH msg=audit(01/07/20 17:43:37.802:10521) : item=1
name=/var/tmp/mkinitramfs_5j7fmj/etc/ld.so.conf.d nametype=CREATE
cap_fp=none cap_fi=none cap_fe=0 cap_fver=0 cap_frootid=0
type=PATH msg=audit(01/07/20 17:43:37.802:10521) : item=0
name=/var/tmp/mkinitramfs_5j7fmj/etc/ inode=1942 dev=08:01
mode=dir,755 ouid=root ogid=root rdev=00:00
obj=root:object_r:initramfs_tmp_t:s0 nametype=PARENT cap_fp=none
cap_fi=none cap_fe=0 cap_fver=0 cap_frootid=0
type=CWD msg=audit(01/07/20 17:43:37.802:10521) :
cwd=/root/workspace/selinux/selinux-policy-debian
type=SYSCALL msg=audit(01/07/20 17:43:37.802:10521) : arch=x86_64
syscall=mkdir success=no exit=EACCES(Permission denied)
a0=0x55cf69140670 a1=0700 a2=0x4001e a3=0x55cf67cb760e items=2
ppid=96302 pid=99538 auid=root uid=root gid=root euid=root suid=root
fsuid=root egid=root sgid=root fsgid=root tty=pts1 ses=1 comm=cp
exe=/usr/bin/cp subj=root:sysadm_r:initramfs_t:s0-s0:c0.c1023
key=(null)
type=AVC msg=audit(01/07/20 17:43:37.802:10521) : avc:  denied  {
create } for  pid=99538 comm=cp name=ld.so.conf.d
scontext=root:sysadm_r:initramfs_t:s0-s0:c0.c1023
tcontext=system_u:object_r:ld_so_conf_t:s0 tclass=dir permissive=0

These copied files should not inherited the original ld_so_conf_t
context or at least it should be configured by the SELinux policy
writer.

Please consider using the option 'no-preserve=context,xattr'.

Best regards
  Christian Göttsche


--- /root/workspace/mkinitramfs 2020-01-07 21:09:49.015636826 +0100
+++ /usr/sbin/mkinitramfs   2020-01-07 21:10:40.926855379 +0100
@@ -351,7 +351,7 @@

 # workaround: libgcc always needed on old-abi arm
 if [ "$DPKG_ARCH" = arm ] || [ "$DPKG_ARCH" = armeb ]; then
-   cp -a /lib/libgcc_s.so.1 "${DESTDIR}/lib/"
+   cp -a --no-preserve=context,xattr /lib/libgcc_s.so.1 "${DESTDIR}/lib/"
 fi

 run_scripts /usr/share/initramfs-tools/hooks
@@ -371,7 +371,7 @@
 rm -f "${DESTDIR}/lib/modules/${version}"/modules.*map

 # make sure that library search path is up to date
-cp -ar /etc/ld.so.conf* "$DESTDIR"/etc/
+cp -a --no-preserve=context,xattr /etc/ld.so.conf* "$DESTDIR"/etc/
 if ! ldconfig -r "$DESTDIR" ; then
[ "$(id -u)" != "0" ] \
&& echo "ldconfig might need uid=0 (root) for chroot()" >&2
@@ -400,7 +400,7 @@
   [ -e "${DESTDIR}/lib/ld-linux-armhf.so.3" ]; then
rm -f "${DESTDIR}/lib/arm-linux-gnueabihf/ld-linux.so.3"
rm -f "${DESTDIR}/lib/ld-linux-armhf.so.3"
-   cp -aL /lib/ld-linux-armhf.so.3 "${DESTDIR}/lib/"
+   cp -aL --no-preserve=context,xattr
/lib/ld-linux-armhf.so.3 "${DESTDIR}/lib/"
ln -sf /lib/ld-linux-armhf.so.3
"${DESTDIR}/lib/arm-linux-gnueabihf/ld-linux.so.3"
fi
 fi



Processed: reassign 948357 to initramfs-tools, forcibly merging 948257 948357

2020-01-07 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reassign 948357 initramfs-tools
Bug #948357 [initramfs-tools-core] thousands of identical lookup_builtin_file 
warnings
Bug reassigned from package 'initramfs-tools-core' to 'initramfs-tools'.
No longer marked as found in versions initramfs-tools/0.135.
Ignoring request to alter fixed versions of bug #948357 to the same values 
previously set
> forcemerge 948257 948357
Bug #948257 [initramfs-tools] depmod: ERROR: ../libkmod/libkmod.c:515 
lookup_builtin_file() could not open builtin file 
'/var/tmp/mkinitramfs_N1a1Mk/lib/modules/5.4.0-1-amd64/modules.builtin.bin'
Bug #948301 [initramfs-tools] libkmod2: update-initramfs fails in 
lookup_builtin_file()
Bug #948327 [initramfs-tools] depmod: ERROR: ../libkmod/libkmod.c:515 
lookup_builtin_file() could not open builtin file
Bug #948357 [initramfs-tools] thousands of identical lookup_builtin_file 
warnings
Severity set to 'normal' from 'important'
Added indication that 948357 affects kmod
Added tag(s) patch.
Bug #948301 [initramfs-tools] libkmod2: update-initramfs fails in 
lookup_builtin_file()
Bug #948327 [initramfs-tools] depmod: ERROR: ../libkmod/libkmod.c:515 
lookup_builtin_file() could not open builtin file
Merged 948257 948301 948327 948357
> thanks
Stopping processing here.

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



Bug#948357: thousands of identical lookup_builtin_file warnings

2020-01-07 Thread 積丹尼 Dan Jacobson
Package: initramfs-tools-core
Version: 0.135
Severity: important

$ aptitude full-upgrade gives thousands of identical
depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open 
builtin file '/lib/modules/5.4.0-2-amd64/modules.builtin.bin'
depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open 
builtin file '/lib/modules/5.4.0-2-amd64/modules.builtin.bin'
depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open 
builtin file '/lib/modules/5.4.0-2-amd64/modules.builtin.bin'

so many that it pushed everything else off the screen.

One would be enough. Not thousands.



Bug#947685: linux-image-5.4.0-1-amd64: NETDEV WATCHDOG: enp5s0f1 (r8169): transmit queue 0 timed out

2020-01-07 Thread Vincas Dargis

Same with 5.4.8-1



Bug#948257: depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open builtin file '/var/tmp/mkinitramfs_N1a1Mk/lib/modules/5.4.0-1-amd64/modules.builtin.bin'

2020-01-07 Thread Michael Jeanson
On 2020-01-06 7:46 p.m., Benjamin Poirier wrote:
> I'm not sure if it's related but I saw almost the same error on last
> upgrade (but for 5.4.0-2):
> 
> depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open 
> builtin file 
> '/var/tmp/mkinitramfs_J2sneW/lib/modules/5.4.0-2-amd64/modules.builtin.bin'
> 
> and I now get:
> 
> root@vsid:~# lttng list --kernel
> Error: Unable to list kernel events: Kernel tracer not available
> root@vsid:~# journalctl -u lttng-sessiond.service
> [...]
> Jan 07 09:33:20 vsid lttng-sessiond[403]: Error: Failed to load kmod library 
> resources
> Jan 07 09:33:20 vsid lttng-sessiond[403]: Warning: No kernel tracer available
> 
> lttng-modules-dkms is installed. I can load the modules manually but I
> still get the same error.
> 

Hi,

If you had just installed the lttng-modules-dkms and lttng-tools packages,
it's possible that the lttng-sessiond deamon was started before the kernel
modules were built and so it couldn't load them. Simply restarting the
sessiond should fix this.

Cheers,

Michael



Processed: Re: Bug#948327: depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open builtin file

2020-01-07 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reassign 948327 initramfs-tools
Bug #948327 [kmod] depmod: ERROR: ../libkmod/libkmod.c:515 
lookup_builtin_file() could not open builtin file
Bug reassigned from package 'kmod' to 'initramfs-tools'.
No longer marked as found in versions kmod/26+20191223-1.
Ignoring request to alter fixed versions of bug #948327 to the same values 
previously set
> forcemerge 948257 948327
Bug #948257 [initramfs-tools] depmod: ERROR: ../libkmod/libkmod.c:515 
lookup_builtin_file() could not open builtin file 
'/var/tmp/mkinitramfs_N1a1Mk/lib/modules/5.4.0-1-amd64/modules.builtin.bin'
Bug #948301 [initramfs-tools] libkmod2: update-initramfs fails in 
lookup_builtin_file()
Bug #948327 [initramfs-tools] depmod: ERROR: ../libkmod/libkmod.c:515 
lookup_builtin_file() could not open builtin file
Added tag(s) patch.
Bug #948301 [initramfs-tools] libkmod2: update-initramfs fails in 
lookup_builtin_file()
Merged 948257 948301 948327
> affects 948257 kmod
Bug #948257 [initramfs-tools] depmod: ERROR: ../libkmod/libkmod.c:515 
lookup_builtin_file() could not open builtin file 
'/var/tmp/mkinitramfs_N1a1Mk/lib/modules/5.4.0-1-amd64/modules.builtin.bin'
Bug #948301 [initramfs-tools] libkmod2: update-initramfs fails in 
lookup_builtin_file()
Bug #948327 [initramfs-tools] depmod: ERROR: ../libkmod/libkmod.c:515 
lookup_builtin_file() could not open builtin file
Added indication that 948257 affects kmod
Added indication that 948301 affects kmod
Added indication that 948327 affects kmod
> thanks
Stopping processing here.

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



Bug#948257: depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open builtin file '/var/tmp/mkinitramfs_N1a1Mk/lib/modules/5.4.0-1-amd64/modules.builtin.bin'

2020-01-07 Thread crvi c
On Mon, 6 Jan 2020 at 20:58, Marco d'Itri  wrote:

> >* What outcome did you expect instead?
> >
> > Successful ramfs generation
> Do you have any reason to believe that the initrfamfs was not generated
> successfully?
>

No. I just meant successful command completion. A reboot worked fine. So,
no serious issues.