RE: [Bug 1864992] Re: depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open builtin file '/lib/modules/5.4.0-14-generic/modules.builtin.bin'

2020-03-25 Thread Rafael David Tinoco
> Hello Paride, or anyone else affected, > > Accepted kmod into eoan-proposed. The package will build now and be > available at https://launchpad.net/ubuntu/+source/kmod/26-1ubuntu1.1 in > a few hours, and then in the -proposed repository. Verification for eoan-proposed:

[Bug 1864992] Re: depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open builtin file '/lib/modules/5.4.0-14-generic/modules.builtin.bin'

2020-03-24 Thread Rafael David Tinoco
Actually, I missed my previous fix: --- This bug was fixed in the package kmod - 27-1ubuntu2 --- kmod (27-1ubuntu2) focal; urgency=medium * d/p/verbose_missing_bin: drop this patch to avoid spurious missing file messages when running depmod -a for the first time in recent

[Bug 1864992] Re: depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open builtin file '/lib/modules/5.4.0-14-generic/modules.builtin.bin'

2020-03-24 Thread Rafael David Tinoco
Thanks doko, focal was Fix Released for the original initramfs-tools, iirc. That made me miss the fix for Focal. I'm applying the same fix (Eoan/Bionic SRUs) to Focal. -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to the bug report.

[Bug 1864992] Re: depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open builtin file '/lib/modules/5.4.0-14-generic/modules.builtin.bin'

2020-03-12 Thread Rafael David Tinoco
Testing Bionic kernel with the initial situation the bug being dropped said to fix: (k)rafaeldtinoco@bkmodissue:~$ sudo rm /lib/modules/4.15.0-91-generic/modules.builtin.bin (k)rafaeldtinoco@bkmodissue:~$ sudo depmod -a -F /boot/System.map-4.15.0-91-generic ok

[Bug 1864992] Re: depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open builtin file '/lib/modules/5.4.0-14-generic/modules.builtin.bin'

2020-03-12 Thread Rafael David Tinoco
** Description changed: + [Impact] + + * There is no impact to the end user but spurious error messages (tons + of them) causing the perception that something really bad happened: + + Example of one of those tons of messages: + + depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file()

[Bug 1864992] Re: depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open builtin file '/lib/modules/5.4.0-14-generic/modules.builtin.bin'

2020-03-12 Thread Rafael David Tinoco
Testing Bionic kernel with the initial situation the bug being dropped said to fix: (k)rafaeldtinoco@bkmodissue:~$ sudo rm /lib/modules/4.15.0-91-generic/modules.builtin.bin (k)rafaeldtinoco@bkmodissue:~$ sudo depmod -a -F /boot/System.map-4.15.0-91-generic (k)rafaeldtinoco@bkmodissue:~$ sudo

[Bug 1864992] Re: depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open builtin file '/lib/modules/5.4.0-14-generic/modules.builtin.bin'

2020-03-11 Thread Rafael David Tinoco
I have created a PPA for this issue: https://launchpad.net/~rafaeldtinoco/+archive/ubuntu/lp1864992 Please provide feedback if possible. I haven't done Focal yet because git-ubuntu is facing a small problem importing latest focal source package to do the merge.. will check it tomorrow. -- You

[Bug 1864992] Re: depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open builtin file '/lib/modules/5.4.0-14-generic/modules.builtin.bin'

2020-03-11 Thread Rafael David Tinoco
@cascardo did a MR for focal and added you as a reviewer. will do the other MR for eoan and bionic now. ** No longer affects: curtin ** No longer affects: subiquity -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to the bug report.

[Bug 1864992] Re: depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open builtin file '/lib/modules/5.4.0-14-generic/modules.builtin.bin'

2020-03-11 Thread Rafael David Tinoco
Reason for keeping verbose_missing_bin patch was because of test case described at: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684901 (k)root@fkmodissue:.../5.4.0-18-generic$ sudo mv modules.alias.bin modules.alias.bin.old (k)root@fkmodissue:.../5.4.0-18-generic$ sudo modprobe hehe

[Bug 1864992] Re: depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open builtin file '/lib/modules/5.4.0-14-generic/modules.builtin.bin'

2020-03-11 Thread Rafael David Tinoco
** Also affects: kmod (Ubuntu Bionic) Importance: Undecided Status: New ** Also affects: kmod (Ubuntu Disco) Importance: Undecided Status: New ** Also affects: kmod (Ubuntu Focal) Importance: Medium Assignee: Rafael David Tinoco (rafaeldtinoco) Status: In

[Bug 1864992] Re: depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open builtin file '/lib/modules/5.4.0-14-generic/modules.builtin.bin'

2020-03-11 Thread Rafael David Tinoco
Sorry @cascardo, forgot to update there. I'll revert half of Debian patch... (the could not open builtin file).. turning it back to DBG() only message. This "fixes" the issue. We can solve implement whatever Debian decides later.. but getting rid of those messages now is good or we will have many

[Bug 1864992] Re: depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open builtin file '/lib/modules/5.4.0-14-generic/modules.builtin.bin'

2020-03-11 Thread Rafael David Tinoco
@cascardo brought to us that there is on-going discussion about this in: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=948257#95 which I missed... Debian has this patch: + debian/patches/verbose_missing_bin Description: Report an error when some .bin files do not exist Author: Marco

[Bug 1864992] Re: depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open builtin file '/lib/modules/5.4.0-14-generic/modules.builtin.bin'

2020-03-11 Thread Rafael David Tinoco
Here is the thing... log_setup_kmod_log() is the function controlling verbocity level. When called from do_modprobe() execution path, it has a way to control the "log priority", being able to control how verbose the execution should be. Meanwhile, when log_setup_kmod_log() is called from

[Bug 1864992] Re: depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open builtin file '/lib/modules/5.4.0-14-generic/modules.builtin.bin'

2020-03-11 Thread Rafael David Tinoco
Kmod source shows: idx = index_file_open(fn); if (idx == NULL) { DBG(ctx, "could not open builtin file '%s'\n", fn); return NULL; } and this is continuously called. I'll check if DBG should be enabled in our case OR we should patch upstream. ** Changed in: subiquity Status: New

[Bug 1864992] Re: depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open builtin file '/lib/modules/5.4.0-14-generic/modules.builtin.bin'

2020-03-11 Thread Rafael David Tinoco
Alright, afaict what is happening is this: In Focal I first faced this issue when upgrading kmod to 26+20191223-1ubuntu1.. but my reproducer was "update-initramfs" only. The issue is that both: mkinitramfs (initramfs-tools) needs a patch to work with recent 5.x kernels: # mkinitramfs

[Bug 1864992] Re: depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open builtin file '/lib/modules/5.4.0-14-generic/modules.builtin.bin'

2020-03-11 Thread Rafael David Tinoco
Related bugs: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1863261 https://bugs.launchpad.net/ubuntu/+source/kmod/+bug/1866012 https://bugs.launchpad.net/ubuntu/+source/kmod/+bug/1864992 -- You received this bug notification because you are a member of Ubuntu Server, which is

[Bug 1864992] Re: depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open builtin file '/lib/modules/5.4.0-14-generic/modules.builtin.bin'

2020-03-10 Thread Rafael David Tinoco
Alright, sorry for the delay, I'm revisiting this now... -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1864992 Title: depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could