Missing modules/5.10.xxx-MANJARO, suspect .old

Now this has happened the second time (in a year), so i dont’t hink this is a random thing.

I do have 3 kernels on my machine.

  • an old 4.19 (if something goes wrong)
  • 5.10 for stable working environment (automatic on boot)
  • 5.14 for working when all is good (needs manual selection in grub)

Recently i did use 5.14, but today i was not fast enough to select 5.14, so the boot started into 5.10. This is no problem, so i did not interrupt it. But it did not succeed. I could not switch to console. I had to reboot. I did reboot into 5.14, and all works fine. :smiling_face_with_three_hearts:

While working on an article for the wiki i did look into /boot and then into /lib/modules and :scream: (look at kernel 5.10 modules / 18889–>18891)

ls -lA /boot/                                                              
insgesamt 142100
-rw-r--r-- 1 root root    40960 19. Jul 21:16 amd-ucode.img
drwxr-xr-x 3 root root     4096  1. Jan 1970  efi
drwxr-xr-x 1 root root        6  1. Jan 1970  efi_backup
drwxr-xr-x 1 root root      122 12. Feb 2020  grml
drwxr-xr-x 1 root root      182 27. Sep 19:36 grub
-rw-r--r-- 1 root root 28838172 27. Sep 19:26 initramfs-4.19-x86_64-fallback.img
-rw-r--r-- 1 root root  9844756 27. Sep 19:26 initramfs-4.19-x86_64.img
-rw-r--r-- 1 root root 29407184 27. Sep 19:24 initramfs-5.10-x86_64-fallback.img
-rw-r--r-- 1 root root  9380103 27. Sep 19:24 initramfs-5.10-x86_64.img
-rw-r--r-- 1 root root 33214523 27. Sep 19:36 initramfs-5.14-x86_64-fallback.img
-rw-r--r-- 1 root root  9539251 27. Sep 19:35 initramfs-5.14-x86_64.img
-rw-r--r-- 1 root root       23 22. Sep 14:33 linux419-x86_64.kver
-rw-r--r-- 1 root root       22 22. Sep 14:28 linux510-x86_64.kver
-rw-r--r-- 1 root root       21 22. Sep 14:22 linux514-x86_64.kver
drwxr-xr-x 1 root root       22 13. Jul 17:00 memtest86+
-rw-r--r-- 1 root root      553 13. Sep 18:35 refind_linux.conf
-rw-r--r-- 1 root root  5982016 27. Sep 19:26 vmlinuz-4.19-x86_64
-rw-r--r-- 1 root root  9437216 27. Sep 19:24 vmlinuz-5.10-x86_64
-rw-r--r-- 1 root root  9784736 27. Sep 19:35 vmlinuz-5.14-x86_64
 ls -lA /lib/modules/                                                       
insgesamt 0
drwxr-xr-x 1 root root 468 27. Sep 19:26 4.19.207-1-MANJARO
drwxr-xr-x 1 root root 514 27. Sep 19:35 5.14.7-2-MANJARO
drwxr-xr-x 1 root root 104 27. Sep 19:25 extramodules-4.19-MANJARO
drwxr-xr-x 1 root root 104 27. Sep 19:24 extramodules-5.10-MANJARO
drwxr-xr-x 1 root root 104 27. Sep 19:35 extramodules-5.14-MANJARO

Now i do know why the boot into 5.10 failed.

/lib/modules/5.10.xxx-MANJARO is missing. This could have been very bad!

I can’t say how this got deleted (because i did not delete it). But i can show when it was deleted, because snapper is running:

 print -l ./*/snapshot/usr/lib/modules/5.*                                                                                                   
./17837/snapshot/usr/lib/modules/5.10.53-1-MANJARO
./17837/snapshot/usr/lib/modules/5.13.5-1-MANJARO
./17949/snapshot/usr/lib/modules/5.10.53-1-MANJARO
./17949/snapshot/usr/lib/modules/5.13.5-1-MANJARO
./18105/snapshot/usr/lib/modules/5.10.56-1-MANJARO
./18105/snapshot/usr/lib/modules/5.13.8-1-MANJARO
./18257/snapshot/usr/lib/modules/5.10.59-1-MANJARO
./18257/snapshot/usr/lib/modules/5.13.11-1-MANJARO
./18388/snapshot/usr/lib/modules/5.10.59-1-MANJARO
./18388/snapshot/usr/lib/modules/5.13.11-1-MANJARO
./18513/snapshot/usr/lib/modules/5.10.59-1-MANJARO
./18513/snapshot/usr/lib/modules/5.13.11-1-MANJARO
./18629/snapshot/usr/lib/modules/5.10.59-1-MANJARO
./18629/snapshot/usr/lib/modules/5.13.11-1-MANJARO
./18721/snapshot/usr/lib/modules/5.10.59-1-MANJARO
./18721/snapshot/usr/lib/modules/5.13.11-1-MANJARO
./18735/snapshot/usr/lib/modules/5.10.59-1-MANJARO
./18735/snapshot/usr/lib/modules/5.13.11-1-MANJARO
./18736/snapshot/usr/lib/modules/5.10.59-1-MANJARO
./18736/snapshot/usr/lib/modules/5.13.11-1-MANJARO
./18750/snapshot/usr/lib/modules/5.10.59-1-MANJARO
./18750/snapshot/usr/lib/modules/5.13.11-1-MANJARO
./18751/snapshot/usr/lib/modules/5.10.59-1-MANJARO
./18751/snapshot/usr/lib/modules/5.13.11-1-MANJARO
./18763/snapshot/usr/lib/modules/5.10.59-1-MANJARO
./18763/snapshot/usr/lib/modules/5.13.11-1-MANJARO
./18777/snapshot/usr/lib/modules/5.10.59-1-MANJARO
./18777/snapshot/usr/lib/modules/5.13.11-1-MANJARO
./18792/snapshot/usr/lib/modules/5.10.59-1-MANJARO
./18792/snapshot/usr/lib/modules/5.13.11-1-MANJARO
./18831/snapshot/usr/lib/modules/5.10.59-1-MANJARO
./18831/snapshot/usr/lib/modules/5.13.11-1-MANJARO
./18838/snapshot/usr/lib/modules/5.10.59-1-MANJARO
./18838/snapshot/usr/lib/modules/5.13.11-1-MANJARO
./18839/snapshot/usr/lib/modules/5.10.59-1-MANJARO
./18839/snapshot/usr/lib/modules/5.13.11-1-MANJARO
./18839/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18840/snapshot/usr/lib/modules/5.10.59-1-MANJARO
./18840/snapshot/usr/lib/modules/5.13.11-1-MANJARO
./18840/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18841/snapshot/usr/lib/modules/5.10.59-1-MANJARO
./18841/snapshot/usr/lib/modules/5.13.11-1-MANJARO
./18841/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18842/snapshot/usr/lib/modules/5.10.59-1-MANJARO
./18842/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18850/snapshot/usr/lib/modules/5.10.59-1-MANJARO
./18850/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18864/snapshot/usr/lib/modules/5.10.59-1-MANJARO
./18864/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18865/snapshot/usr/lib/modules/5.10.59-1-MANJARO
./18865/snapshot/usr/lib/modules/5.10.68-1-MANJARO
./18865/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18866/snapshot/usr/lib/modules/5.10.59-1-MANJARO
./18866/snapshot/usr/lib/modules/5.10.68-1-MANJARO
./18866/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18867/snapshot/usr/lib/modules/5.10.59-1-MANJARO
./18867/snapshot/usr/lib/modules/5.10.68-1-MANJARO
./18867/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18868/snapshot/usr/lib/modules/5.10.59-1-MANJARO
./18868/snapshot/usr/lib/modules/5.10.68-1-MANJARO
./18868/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18869/snapshot/usr/lib/modules/5.10.59-1-MANJARO
./18869/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18870/snapshot/usr/lib/modules/5.10.59-1-MANJARO
./18870/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18876/snapshot/usr/lib/modules/5.10.59-1-MANJARO
./18876/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18877/snapshot/usr/lib/modules/5.10.68-1-MANJARO
./18877/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18878/snapshot/usr/lib/modules/5.10.68-1-MANJARO
./18878/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18879/snapshot/usr/lib/modules/5.10.68-1-MANJARO
./18879/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18880/snapshot/usr/lib/modules/5.10.68-1-MANJARO
./18881/snapshot/usr/lib/modules/5.10.68-1-MANJARO
./18882/snapshot/usr/lib/modules/5.10.68-1-MANJARO
./18882/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18883/snapshot/usr/lib/modules/5.10.68-1-MANJARO
./18883/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18884/snapshot/usr/lib/modules/5.10.68-1-MANJARO
./18885/snapshot/usr/lib/modules/5.10.68-1-MANJARO
./18886/snapshot/usr/lib/modules/5.10.68-1-MANJARO
./18886/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18889/snapshot/usr/lib/modules/5.10.68-1-MANJARO
./18889/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18891/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18892/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18902/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18903/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18911/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18912/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18913/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18914/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18929/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18930/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18944/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18945/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18958/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18959/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18973/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18974/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18987/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18988/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./19001/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./19002/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./19010/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./19017/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./19018/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./19031/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./19032/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./19048/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./19059/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./19060/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./19061/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./19062/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./19063/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./19064/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./19065/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./19066/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./19067/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./19068/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./19069/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./19070/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./19071/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./19072/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./19073/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./19074/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./19075/snapshot/usr/lib/modules/5.14.7-2-MANJARO

the corresponding dates:

 ls -lA                                                                                                                                       
insgesamt 0
drwxr-xr-x 1 root root  32  2. Aug 08:01 17837
drwxr-xr-x 1 root root  32  9. Aug 00:01 17949
drwxr-xr-x 1 root root  32 16. Aug 00:01 18105
drwxr-xr-x 1 root root  32 23. Aug 07:01 18257
drwxr-xr-x 1 root root  32 30. Aug 08:01 18388
drwxr-xr-x 1 root root  32  6. Sep 00:01 18513
drwxr-xr-x 1 root root  32 13. Sep 08:01 18629
drwxr-xr-x 1 root root  32 18. Sep 08:49 18721
drwxr-xr-x 1 root root  32 19. Sep 07:28 18735
drwxr-xr-x 1 root root  32 19. Sep 07:34 18736
drwxr-xr-x 1 root root  32 20. Sep 08:30 18750
drwxr-xr-x 1 root root  32 20. Sep 09:01 18751
drwxr-xr-x 1 root root  32 21. Sep 07:48 18763
drwxr-xr-x 1 root root  32 22. Sep 07:32 18777
drwxr-xr-x 1 root root  32 23. Sep 07:53 18792
drwxr-xr-x 1 root root  32 25. Sep 08:13 18831
drwxr-xr-x 1 root root  32 25. Sep 14:03 18838
drwxr-xr-x 1 root root  68 25. Sep 14:04 18839
drwxr-xr-x 1 root root  32 25. Sep 14:55 18840
drwxr-xr-x 1 root root  32 25. Sep 15:00 18841
drwxr-xr-x 1 root root  68 25. Sep 15:01 18842
drwxr-xr-x 1 root root  32 26. Sep 07:53 18850
drwxr-xr-x 1 root root  32 26. Sep 20:22 18864
drwxr-xr-x 1 root root  68 26. Sep 20:31 18865
drwxr-xr-x 1 root root  32 26. Sep 20:32 18866
drwxr-xr-x 1 root root  68 26. Sep 20:32 18867
drwxr-xr-x 1 root root  32 26. Sep 20:34 18868
drwxr-xr-x 1 root root  32 27. Sep 13:17 18869
drwxr-xr-x 1 root root  32 27. Sep 14:01 18870
drwxr-xr-x 1 root root  32 27. Sep 19:24 18876
drwxr-xr-x 1 root root  68 27. Sep 19:25 18877
drwxr-xr-x 1 root root  32 27. Sep 19:25 18878
drwxr-xr-x 1 root root  68 27. Sep 19:26 18879
drwxr-xr-x 1 root root  32 27. Sep 19:28 18880
drwxr-xr-x 1 root root  32 27. Sep 19:30 18881
drwxr-xr-x 1 root root  68 27. Sep 19:31 18882
drwxr-xr-x 1 root root  32 27. Sep 19:32 18883
drwxr-xr-x 1 root root  68 27. Sep 19:33 18884
drwxr-xr-x 1 root root  32 27. Sep 19:35 18885
drwxr-xr-x 1 root root  68 27. Sep 19:36 18886
drwxr-xr-x 1 root root  32 28. Sep 07:41 18889
drwxr-xr-x 1 root root  32 28. Sep 11:18 18891
drwxr-xr-x 1 root root  32 28. Sep 11:21 18892
drwxr-xr-x 1 root root  32 29. Sep 13:16 18902
drwxr-xr-x 1 root root  32 29. Sep 13:33 18903
drwxr-xr-x 1 root root  32 30. Sep 07:56 18911
drwxr-xr-x 1 root root  32 30. Sep 08:01 18912
drwxr-xr-x 1 root root  32 30. Sep 08:07 18913
drwxr-xr-x 1 root root  32 30. Sep 08:15 18914
drwxr-xr-x 1 root root  32  1. Okt 07:43 18929
drwxr-xr-x 1 root root  32  1. Okt 08:01 18930
drwxr-xr-x 1 root root  32  2. Okt 08:33 18944
drwxr-xr-x 1 root root  32  2. Okt 09:01 18945
drwxr-xr-x 1 root root  32  3. Okt 07:21 18958
drwxr-xr-x 1 root root  32  3. Okt 08:01 18959
drwxr-xr-x 1 root root  32  4. Okt 07:28 18973
drwxr-xr-x 1 root root  32  4. Okt 08:01 18974
drwxr-xr-x 1 root root  32  5. Okt 07:25 18987
drwxr-xr-x 1 root root  32  5. Okt 08:01 18988
drwxr-xr-x 1 root root  32  6. Okt 07:03 19001
drwxr-xr-x 1 root root  32  6. Okt 08:01 19002
drwxr-xr-x 1 root root  32  6. Okt 15:40 19010
drwxr-xr-x 1 root root  32  7. Okt 07:37 19017
drwxr-xr-x 1 root root  32  7. Okt 08:01 19018
drwxr-xr-x 1 root root  32  8. Okt 07:35 19031
drwxr-xr-x 1 root root  32  8. Okt 08:01 19032
drwxr-xr-x 1 root root  32  9. Okt 00:01 19048
drwxr-xr-x 1 root root  32  9. Okt 11:01 19059
drwxr-xr-x 1 root root  32  9. Okt 12:01 19060
drwxr-xr-x 1 root root  32  9. Okt 13:01 19061
drwxr-xr-x 1 root root  32  9. Okt 14:01 19062
drwxr-xr-x 1 root root  32  9. Okt 15:01 19063
drwxr-xr-x 1 root root  32  9. Okt 16:01 19064
drwxr-xr-x 1 root root  32  9. Okt 17:01 19065
drwxr-xr-x 1 root root  32  9. Okt 18:01 19066
drwxr-xr-x 1 root root  32  9. Okt 19:01 19067
drwxr-xr-x 1 root root  32 10. Okt 07:21 19068
drwxr-xr-x 1 root root  32 10. Okt 08:01 19069
drwxr-xr-x 1 root root  32 10. Okt 09:01 19070
drwxr-xr-x 1 root root  32 10. Okt 10:01 19071
drwxr-xr-x 1 root root  32 10. Okt 11:01 19072
drwxr-xr-x 1 root root  32 10. Okt 12:01 19073
drwxr-xr-x 1 root root  32 10. Okt 13:01 19074
drwxr-xr-x 1 root root  32 10. Okt 14:01 19075
drwxr-xr-x 1 root root 362 17. Apr 22:54 kaputt
drwxr-xr-x 1 root root 362 17. Apr 22:54 kaputt2

This seems weird indeed.

On my side this never happened since I use Manjaro.

What did you do on September 28th, between 7:41 and 11:18? That could help if you remember or can look for activity from this day in Pacman logs or other system logs maybe.

//EDIT: also, we can see something is weird in your boot folder, everything is dated from September 27th… the AMD micro code is old too… that could be a clue (maybe you skipped latest update)?

I indeed had to rollback because the GUI would not show up. Is it possible that i did choose the wrong snapshot for the rollback ?

But this should not be possible too! Updating kernel, modules and initramdisk should be one step without a snapshot in between :man_shrugging:

I do have grub-btrfs, snap-pac snapper snapper-gui

Probably off topic but what about the refind config file in your boot folder?

When did you rollback then? the next day? The 28th?

I did rollback the day after the desaster :wink: (and i do have an snapshot of the broken system)
Maybe i then tried to install refind after the rollback. (28.) wrong !
The refind configfile dates from 13.Sept (8 Days prior)

Then the date seems to match, no more 5.10 between the 28th and 29th. So it seems something you did (probably the rollback) made the folder disappear.

If this is true (this seems to me also),

This seems to indicate that there was taken a snapshoot when none should have been taken.

Snaphots should only be taken before or after some critical action. Never in between. And i did not take manual snapshots. All where taken by snapper or by snap-pac.
Do i have to watch for this with future rollbacks ? Test wehter some dir in /modules is missing before making the rollback ?

This is the second time this had happend to me. So there has to be a systematic behind it.

I will look if i can find in the logs who did take this snapshot!

I looked into the snapshot of the broken system. The rollback must have been sometime shortly after 26.September 20:58 (according to the date of some logfiles in the broken snapshot)

But 18889 has the modules , and 18891 has not:

./18889/snapshot/usr/lib/modules/5.10.68-1-MANJARO
./18889/snapshot/usr/lib/modules/5.14.7-2-MANJARO
./18891/snapshot/usr/lib/modules/5.14.7-2-MANJARO
drwxr-xr-x 1 root root  32 28. Sep 07:41 18889
drwxr-xr-x 1 root root  32 28. Sep 11:18 18891

So it seems the rollback was 2 days prior to the problem :man_shrugging:

No, your boot folder shows timestamp from 27th so the update was on 27th, you can’t have rolled back from a previous date, or else the timestamps wouldn’t be a day after, that makes no sense.

//EDIT: also about the automatic snapshots, is it a default Manjaro setup or is it something you configured yourself? Anyway personally I only take manual snapshots with TimeShift, I don’t see the logic in taking multiple snapshots per day automatically, I guess it could make sense on BTRFS but still if I was using BTRFS I would do the same, manual snapshots when I want, or in worst scenario snapshots before a system update (which I think is the default on a BTRFS Manjaro installation).

I do use btrfs since several years (maybe 2012). This indeed is an installation from 2017. Therefor it can’t be default. :wink: The actual btrfs layout is the result of 5-6 manual rollbacks. (Whilst i had to learn a lot about btrfs)

  • The snapshots are taken by snapper
  • When updating by snap-pac
  • Timeshift does not fit my needs :frowning:

I not only want to be able to rollback the system, but also want to undelete / compare files with previous versions.

Snapshots in btrfs come with no cost, if you don´t forget to release them. The releasing is also automatic by snapper.

But as you said the timestamps in /boot (27.) are after the rollback (26.) . So i must have updated the kernel after the rollback with mhwd-kernel.

Then this was a partial update :scream: only including the kernels. And there must have been the problem. :man_shrugging:

I don’t like to be not up to date, but i first have to get the update running with my GUI setup (multiseat). :sob:

I can’t really help more, I was just trying to help investigate and don’t know a lot about BTRFS or the tools you use for your snapshots/rollback.

To my understanding the error comes from your setup and actions somewhere but I can’t tell you what/why. At this point it only becomes a guess game.

:male_detective:

//EDIT month after: if I understood, issue was related to Kernel Alive package /lib/modules/xxx lost after update

Thank you for your help ! :smiling_face_with_three_hearts:
Investigation was necessary and helpful. I always do want to know what happened so i can learn from it.

We found the time when it happened, And maybe the cause (partial Update) repairing is easy.

1 Like

Some additional info for documentation:

snapshot 18886:

  • There is a dir /usr/lib/modules/bk with all old modules inside
  • There is a file .old pointing to 5.10.68-1-MANJARO
➜  modules     ls -lA                                                                                                  
insgesamt 4
drwxr-xr-x 1 root root 468 27. Sep 19:26 4.19.207-1-MANJARO
drwxr-xr-x 1 root root 514 27. Sep 19:24 5.10.68-1-MANJARO
drwxr-xr-x 1 root root 514 27. Sep 19:35 5.14.7-2-MANJARO
drwxr-xr-x 1 root root 254  1. Mai 10:24 bk
drwxr-xr-x 1 root root 104 27. Sep 19:25 extramodules-4.19-MANJARO
drwxr-xr-x 1 root root 104 27. Sep 19:24 extramodules-5.10-MANJARO
drwxr-xr-x 1 root root 104 27. Sep 19:35 extramodules-5.14-MANJARO
-rw-r--r-- 1 root root  18 27. Sep 19:31 .old
➜  modules ls -lA bk                                                                                               
insgesamt 0
drwxr-xr-x 1 root root 478 25. Apr 20:44 4.19.187-1-MANJARO
drwxr-xr-x 1 root root 524  1. Mai 09:15 5.10.32-1-MANJARO
drwxr-xr-x 1 root root 524  1. Mai 10:16 5.11.16-2-MANJARO
drwxr-xr-x 1 root root 104 25. Apr 20:43 extramodules-4.19-MANJARO
drwxr-xr-x 1 root root 104  1. Mai 09:15 extramodules-5.10-MANJARO
drwxr-xr-x 1 root root 104  1. Mai 10:16 extramodules-5.11-MANJARO
➜  modules cat .old                                                                                                
5.10.68-1-MANJARO

snapshot 18889:

  • There is no /usr/lib/modules/bk
  • There is a file .old pointing to 5.10.68-1-MANJARO
➜  modules ls -lA                                                                                                  
insgesamt 4
drwxr-xr-x 1 root root 468 27. Sep 19:26 4.19.207-1-MANJARO
drwxr-xr-x 1 root root 490 28. Sep 07:41 5.10.68-1-MANJARO
drwxr-xr-x 1 root root 514 27. Sep 19:35 5.14.7-2-MANJARO
drwxr-xr-x 1 root root 104 27. Sep 19:25 extramodules-4.19-MANJARO
drwxr-xr-x 1 root root 104 27. Sep 19:24 extramodules-5.10-MANJARO
drwxr-xr-x 1 root root 104 27. Sep 19:35 extramodules-5.14-MANJARO
-rw-r--r-- 1 root root  18 27. Sep 19:31 .old
➜  modules cat .old                                                                                                
5.10.68-1-MANJARO

snapshot 18886:

  • There is no dir /usr/lib/modules/bk
  • There is no file .old
  • There is no dir 5.10.68-1-MANJARO any more
➜  modules ls -lA                                                                                                  
insgesamt 0
drwxr-xr-x 1 root root 468 27. Sep 19:26 4.19.207-1-MANJARO
drwxr-xr-x 1 root root 514 27. Sep 19:35 5.14.7-2-MANJARO
drwxr-xr-x 1 root root 104 27. Sep 19:25 extramodules-4.19-MANJARO
drwxr-xr-x 1 root root 104 27. Sep 19:24 extramodules-5.10-MANJARO
drwxr-xr-x 1 root root 104 27. Sep 19:35 extramodules-5.14-MANJARO

Does anyone know what this .old file means, or who created it ?

I would find the last snapshot where this file exists. Then go once up to the next snapshot. Open with

sudo nano /.snapshots/xxx/info.xml

and look into the description. Maybe u can find some hints to a system update.

1 Like

This doesn’t exist on my system.

Nothing special :frowning:

➜  18886 cat info.xml                                                          
<?xml version="1.0"?>
<snapshot>
  <type>post</type>
  <num>18886</num>
  <date>2021-09-27 17:36:09</date>
  <pre_num>18885</pre_num>
  <description>linux514 linux514-virtualbox-host-modules</description>
  <cleanup>number</cleanup>
</snapshot>
➜  18889 cat info.xml                                                          
<?xml version="1.0"?>
<snapshot>
  <type>single</type>
  <num>18889</num>
  <date>2021-09-28 05:41:09</date>
  <description>boot</description>
  <cleanup>number</cleanup>
</snapshot>

From here on the modules and the .old file are missing

➜  18891 cat info.xml                                                          
<?xml version="1.0"?>
<snapshot>
  <type>single</type>
  <num>18891</num>
  <date>2021-09-28 09:18:07</date>
  <description>boot</description>
  <cleanup>number</cleanup>
</snapshot>

I think the key is eventually the .old file :sunglasses:

There is something odd in .snapshots/18886 there is a file filelist-18885.txt (about 538MBkB)

➜  18886 head filelist-18885.txt                                                                                                         
c..... /boot/grub/grub-btrfs.cfg
c..... /boot/grub/grub.cfg
+..... /boot/initramfs-5.14-x86_64-fallback.img
+..... /boot/initramfs-5.14-x86_64.img
+..... /boot/linux514-x86_64.kver
+..... /boot/vmlinuz-5.14-x86_64
+..... /etc/mkinitcpio.d/linux514.preset
-..... /etc/mkinitcpio.d/linux514.preset.pacsave
+..... /etc/modules-load.d/linux514-virtualbox-host-modules.conf
+..... /usr/lib/modules/5.14.7-2-MANJARO

and the end:

➜  18886 tail filelist-18885.txt                                                                                                         
+..... /var/lib/pacman/local/linux514-5.14.7-2/files
+..... /var/lib/pacman/local/linux514-5.14.7-2/mtree
+..... /var/lib/pacman/local/linux514-virtualbox-host-modules-6.1.26-10
+..... /var/lib/pacman/local/linux514-virtualbox-host-modules-6.1.26-10/desc
+..... /var/lib/pacman/local/linux514-virtualbox-host-modules-6.1.26-10/files
+..... /var/lib/pacman/local/linux514-virtualbox-host-modules-6.1.26-10/install
+..... /var/lib/pacman/local/linux514-virtualbox-host-modules-6.1.26-10/mtree
c..... /var/log/journal/b3293d51620f434e9ca5219d9af6de4e/system.journal
c..... /var/log/pacman.log
c..... /var/log/snapper.log

Sometimes i do create .txt files as notes. But i can´t remember to create this one. And i wouldn’t use this sort of format. with leading +/-/c ...

So - This seems to be the list of updated files from 18885 to 18886 :man_shrugging:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.