/srv/irclogs.ubuntu.com/2019/07/17/#ubuntu-kernel.txt

sub526While building ubuntu-xenial kernel it failed for me with "debian/rules.d/4-checks.mk: recipe for target 'module-check-generic' failed", how to solve this error?00:51
sub526Again just retried building the kernel by executing "fakeroot debian/rules binary-headers binary-generic binary-perarch" but this time got different error "mv: cannot move '/home/sa/ubuntu-xenial/debian/linux-modules-4.4.0-154-generic/lib/modules/4.4.0-154-generic/kernel' to '/home/sa/ubuntu-xenial/debian/linux-modules-extra-4.4.0-154-generic/lib/m01:07
sub526odules/4.4.0-154-generic/kernel/kernel': Directory not empty01:07
sub526debian/rules.d/2-binary-arch.mk:123: recipe for target 'install-generic' failed01:07
sub526Any help is appreciated.01:09
=== cpaelzer__ is now known as cpaelzer
jibelhi, I just reported https://forum.snapcraft.io/t/cannot-launch-snaps-on-eoan-and-kernel-5-2/12341 which is apparently caused by kernel 5.2. Could someone help to bisect this?10:28
mvojibel: thanks for digging into the 5.2 squashfs mount issue! I wonder if its just snaps or any squashfs (or loop mount) that is broken? you could create a squashfs file with mksquashfs and try to mount it to double check (if you are on this already anyway, if not I can install 5.2 and see what happens)11:04
jibelmvo, mounting a squashfs works fine. I tried with the squashfs of an iso11:11
jibelmvo, I added a comment to the report. I seems that it tried to mount loop devices on already mounted loop devices11:12
jibelin my case it attempts to mount vscode on loop21 but freemind is already mounted on it.11:12
jibelso some snap squashfses are successfully mounted11:13
Chipacajibel: mvo: I suspect it's the attempt at doing all the mounts together at boot that trips it up11:15
ograare you sure it is kernel and not systemd's way to do the mounts ?11:15
Chipacaogra: rebooting into 5.0 makes the issue go away11:15
ograyeah, sure ... not saying it isnt triggered by the kernel ... 11:16
Chipacajibel: i.e. to repro without snapd, you'll need to do a lot of parallel mounts :-)11:16
ograbut if manual mounting gives you properly numbered loop devices it smells more like systemd is messing it up11:16
Chipacaa lot == 10? maybe more11:16
Chipacaogra: when doing a single mount there is no race between assigning a loop device and using it for the mount11:17
ogra(using mount /dev/loop$(rand()) ;) ... )11:17
ChipacaI'll stop for lunch, and then look at repro'ing this without snaps, in a vm11:18
Chipacajibel: is there a live image with 5.2 already?11:18
mvoChipaca, jibel aha, yes - a race a boot - that makes sense11:18
Chipacaanswering my question, yesterday's pending is 5.2, good enough for me11:19
Chipaca(downloaded it because of a different issue :)11:19
jibelChipaca, http://cdimage.ubuntu.com/daily-live/pending/11:19
Chipacajibel: poncho!11:19
Chipacawait how does that work on the internet11:19
* Chipaca gives up and goes for lunch11:19
Laneyit'd be good to add an autopkgtest which would have caught this11:34
Laneynew kernels do trigger snapd's tests11:34
LaneyChipaca: mvo: 11:34
Laneydunno if you want to put that on your backlog or something11:34
ChipacaLaney: tbh if this is a race, autopkgtest might be the worst place to hope to catch it11:36
Laneyworst?11:36
ChipacaLaney: autopkgtest seems to run on a powerpc nubus mac emulating a 386sx running dosbox for the amd64 build, or something :-)11:37
Chipacai mean it's quite slow11:37
Chipacaso timing issues there are different11:37
Laneysounds like a good place to make race conditions happen to me11:37
Laneyit's the place where new kernels automatically trigger tests of your stuff11:37
Laneyand you get to block kernels from getting into the hands of users11:38
ChipacaLaney: can autopkgtest be rebooted from a test?11:42
Laneyyes11:42
Chipacathat is, can a test say "and now reboot plz"11:42
Chipacaand then it carries on?11:42
Laneyyou set a "marker" and then when it carries on you can check that variable11:42
Laneyhttps://salsa.debian.org/ci-team/autopkgtest/blob/master/doc/README.package-tests.rst <- "Reboot during a test"11:43
Chipacathis might be doable then11:44
Chipacaneed to figure out how to repro it first :)11:44
Laneynod11:44
=== JanC is now known as Guest31310
Chipacaso, i need to have at least 42 snaps to reproduce the issue13:12
Chipacaand then i get a broken mount where the assignment of the loopback device went bad13:13
=== JanC_ is now known as JanC
Chipacajibel: #183691414:19
Chipacamvo: ^14:19
jibelbug 183691414:19
ubot5bug 1836914 in linux (Ubuntu) "Doing multiple squashfs ((and other loop?) mounts in parallel breaks" [Undecided,New] https://launchpad.net/bugs/183691414:19
jibelChipaca, thank you14:20
Chipacamade a note about it affecting 5.2 arch also14:22
Chipacanow to figure out which upstream kernel to try :-)14:22
mvoChipaca: thank you!14:23
Chipacahuh, the amd64 builds are failing14:26
LocutusOfBorghello guys... http://autopkgtest.ubuntu.com/packages/d/ddcci-driver-linux/eoan/s390x this is failing only on s390x, and of course it looks like because of the new kernel14:26
LocutusOfBorgunfortunately this is an error that happens only on that architecture... how can I dump the make.log file without having an s390x machine=14:27
LocutusOfBorg?14:27
LocutusOfBorg(it is regressed in release FWIW)14:27
LocutusOfBorgwe should really dump the log when dkms fails14:30

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!