Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Problem when updating the kernel [SOLVED]
Re: Problem when updating the kernel [SOLVED]
In the end:
0- Configure the sources.list with the non free and the backports.
1- Install the intel-microcode or the amd-microcode https://wiki.debian.org/Microcode. I got an error about that (with the new kernel).
2- Install the new kernel https://wiki.debian.org/HowToUpgradeKernel (and maybe reboot into that)
3- Install the headers https://wiki.debian.org/NvidiaGraphicsDrivers (both if you will keep also the default kernel, why not?)
4- Install the nvidia-driver (same wiki as before). Reboot.
5- Install cuda https://wiki.debian.org/CUDA
0- Configure the sources.list with the non free and the backports.
1- Install the intel-microcode or the amd-microcode https://wiki.debian.org/Microcode. I got an error about that (with the new kernel).
2- Install the new kernel https://wiki.debian.org/HowToUpgradeKernel (and maybe reboot into that)
3- Install the headers https://wiki.debian.org/NvidiaGraphicsDrivers (both if you will keep also the default kernel, why not?)
4- Install the nvidia-driver (same wiki as before). Reboot.
5- Install cuda https://wiki.debian.org/CUDA
Last edited by Scorpion on 2018-12-31 09:00, edited 1 time in total.
Re: Problem when updating the kernel [SOLVED]
I know nothing about backports, I'm a sid (buildd repos) user, but, cuda *may have problems at this time, or very soon, since I know jack crap about backports and theirs not a problem disregard this
The transitions of nvidia-cuda-toolkit (auto) and llvm-toolchain-3.9-rm (auto) may/may not give problems
transitions
The transitions of nvidia-cuda-toolkit (auto) and llvm-toolchain-3.9-rm (auto) may/may not give problems
transitions
Re: Problem when updating the kernel [SOLVED]
Backports are not unstable so I think that it will be fine. We will see
But I do have a problem when I boot take some time and the writings doesn' t appear on the screen.
I have the impression that gd3 starts when I open the tty 2(CTRL+ALT+F2).
But I do have a problem when I boot take some time and the writings doesn' t appear on the screen.
I have the impression that gd3 starts when I open the tty 2(CTRL+ALT+F2).
Re: Problem when updating the kernel [SOLVED]
After 5:15 minutes of waiting after I chose normal boot option (debian 4.18 kernel from backports) I pressed quickly enter 3 times. I got some writing. One maybe can help fix this problem apt daily download 4:55 and still not finished (only problematic/incomplete).
After some seconds gdm3 started.
Some times I left the pc there so I don' t need to press a key.
Why are not there the writings? Why so long?
Another pc with same kernel/system but without nvidia driver is fine.
After some seconds gdm3 started.
Some times I left the pc there so I don' t need to press a key.
Why are not there the writings? Why so long?
Another pc with same kernel/system but without nvidia driver is fine.
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: Problem when updating the kernel [SOLVED]
Not enough entropy, perhaps?Scorpion wrote:Why so long?
Try
Code: Select all
# apt install haveged
# systemctl enable haveged
deadbang
Re: Problem when updating the kernel [SOLVED]
I installed and enabled havegened.
Meanwhile I also updated the kernel to the 4.18.0-0.bpo.3-amd64 and installed the OS updates.
Some troubles rebooted twice (after power off and install OS updates) and it did not show any installation. After indeed it still had the OS updates pending.
There is a problem with this updates.
Now I' m using the 4.18.0-0.bpo.1-amd64 kernel.
How can I check via terminal the OS updates?
Meanwhile I also updated the kernel to the 4.18.0-0.bpo.3-amd64 and installed the OS updates.
Some troubles rebooted twice (after power off and install OS updates) and it did not show any installation. After indeed it still had the OS updates pending.
There is a problem with this updates.
Now I' m using the 4.18.0-0.bpo.1-amd64 kernel.
How can I check via terminal the OS updates?
- None1975
- df -h | participant
- Posts: 1410
- Joined: 2015-11-29 18:23
- Location: Russia, Kaliningrad
- Has thanked: 46 times
- Been thanked: 70 times
Re: Problem when updating the kernel [SOLVED]
After all, it is much easier to upgrade your operating system from cli. Just run as rootScorpion wrote:How can I check via terminal the OS updates?
Code: Select all
apt update
Code: Select all
apt upgrade
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github
Debian Wiki | DontBreakDebian, My config files on github
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: Problem when updating the kernel [SOLVED]
Does that mean no messages when booting up?
Other things for adventurous users:
Liquorix kernel backports: https://build.opensuse.org/package/show ... uorix-4.19
(see the Liquorix forum for install instructions)
4.19.12 backported kernel: https://build.opensuse.org/package/show ... .19-kernel
Soon to be updated to 4.19.13.
I'm also going to add the 4.20 kernel I backported from Experimental, but some Debian DKMS drivers won't build on it, notably Nvidia 390.87 and virtualbox-5.2.22.
Other things for adventurous users:
Liquorix kernel backports: https://build.opensuse.org/package/show ... uorix-4.19
(see the Liquorix forum for install instructions)
4.19.12 backported kernel: https://build.opensuse.org/package/show ... .19-kernel
Soon to be updated to 4.19.13.
I'm also going to add the 4.20 kernel I backported from Experimental, but some Debian DKMS drivers won't build on it, notably Nvidia 390.87 and virtualbox-5.2.22.
MX Linux packager and developer
Re: Problem when updating the kernel [SOLVED]
yes this messages (random image)
Also every time it ask me to install OS updates, that I have to manually install or only check like now (yesterday I checked and installed updates).
As I said after pressing enter once I got some messages and one was problematic "apt daily download 5 minutes and still not completed".
Will the liquorix kernel be totally fine? With nvidia driver, cuda and everything?
Also every time it ask me to install OS updates, that I have to manually install or only check like now (yesterday I checked and installed updates).
As I said after pressing enter once I got some messages and one was problematic "apt daily download 5 minutes and still not completed".
Will the liquorix kernel be totally fine? With nvidia driver, cuda and everything?
- sunrat
- Administrator
- Posts: 6495
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 118 times
- Been thanked: 476 times
Re: Problem when updating the kernel [SOLVED]
@Scorpion I thought you marked this solved? It would be better to post actual messages or errors the system shows rather than say "it asked to update" or "I got some messages". Posting the result of the systemctl command in your image would be more useful than the image.
@Stevo I just updated siduction to 4.20 and needed to install Nvidia 415.25 from siduction's experimental repo.
@Stevo I just updated siduction to 4.20 and needed to install Nvidia 415.25 from siduction's experimental repo.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
- None1975
- df -h | participant
- Posts: 1410
- Joined: 2015-11-29 18:23
- Location: Russia, Kaliningrad
- Has thanked: 46 times
- Been thanked: 70 times
Re: Problem when updating the kernel [SOLVED]
Hello. I think it is unattended-upgrades. The purpose of this is to keep the computer current with the latest security (and other) updates automatically. You can disable it be typing this command in terminal (as root)Scorpion wrote:As I said after pressing enter once I got some messages and one was problematic "apt daily download 5 minutes and still not completed".
Code: Select all
systemctl stop apt-daily.service
Code: Select all
systemctl disable apt-daily.service
Code: Select all
systemctl disable apt-daily.timer
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github
Debian Wiki | DontBreakDebian, My config files on github
Re: Problem when updating the kernel [SOLVED]
"it asked to update" = (I' m using gnome 3) In notifications (and in Software) I saw OS updates to installsunrat wrote:@Scorpion I thought you marked this solved? It would be better to post actual messages or errors the system shows rather than say "it asked to update" or "I got some messages". Posting the result of the systemctl command in your image would be more useful than the image.
"I got some messages" I reported the only problematic message. The others were fine and I did not have the time to read them since I got some seconds that I used to see the problematic one.
The problem was solved but I had a very slow boot and now I get this problem with the OS updates. And no boot messages.
So now it should be fine (except for the boot messages) and if it will be stuck again, since I disabled the apt-daily service as @None1975 said, it should boot not slowly.
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: Problem when updating the kernel [SOLVED]
Yes, the 4.20 kernel needs a newer Nvidia driver and Virtual Box than are in stretch-backports, but the 4.19 kernels are good with the drivers in backports--that includes the 4.19 Liquorix kernels. The standard Stretch versions are far too old for the newer kernels.sunrat wrote:@Scorpion I thought you marked this solved? It would be better to post actual messages or errors the system shows rather than say "it asked to update" or "I got some messages". Posting the result of the systemctl command in your image would be more useful than the image.
@Stevo I just updated siduction to 4.20 and needed to install Nvidia 415.25 from siduction's experimental repo.
Scorpion, I build and run the latest Liquorix kernels myself, and they work fine for me and many others.
MX Linux packager and developer
Re: Problem when updating the kernel [SOLVED]
I'm not sure of what instructions follow.(see the Liquorix forum for install instructions)
I recompiled some kernels I can use fakeroot make-kpkg and install the .deb right?
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: Problem when updating the kernel [SOLVED]
This thread on the Liquorix forums: https://techpatterns.com/forums/about2615.htmlScorpion wrote:I'm not sure of what instructions follow.(see the Liquorix forum for install instructions)
I recompiled some kernels I can use fakeroot make-kpkg and install the .deb right?
The Liquorix developer made it a sticky second from the top!
MX Linux packager and developer
Re: Problem when updating the kernel [SOLVED]
i installed it but if I want to recompile it:
Code: Select all
make-kpkg --append-to-version -scorpion --revision 1 --initrd kernel-image
[...]
CC arch/x86/boot/compressed/string.o
CC arch/x86/boot/compressed/cmdline.o
CC arch/x86/boot/compressed/error.o
OBJCOPY arch/x86/boot/compressed/vmlinux.bin
LZ4 arch/x86/boot/compressed/vmlinux.bin.lz4
/bin/sh: 1: lz4c: not found
arch/x86/boot/compressed/Makefile:144: recipe for target 'arch/x86/boot/compressed/vmlinux.bin.lz4' failed
make[3]: *** [arch/x86/boot/compressed/vmlinux.bin.lz4] Error 1
arch/x86/boot/Makefile:112: recipe for target 'arch/x86/boot/compressed/vmlinux' failed
make[2]: *** [arch/x86/boot/compressed/vmlinux] Error 2
arch/x86/Makefile:284: recipe for target 'bzImage' failed
make[1]: *** [bzImage] Error 2
make[1]: Leaving directory '/root/snap/kernel/liquorix/linux-4.19'
debian/ruleset/targets/common.mk:295: recipe for target 'debian/stamp/build/kernel' failed
make: *** [debian/stamp/build/kernel] Error 2
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: Problem when updating the kernel [SOLVED]
Scorpion wrote:Code: Select all
/bin/sh: 1: lz4c: not found
Code: Select all
# apt install liblz4-tool
deadbang
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: Problem when updating the kernel [SOLVED]
What make the kernel "Liquorix" are the patches, which are applied in the Debian package building process.
If you're not applying those manually, you're just doing the vanilla kernel. I would suggest you look at my guide to using the OBS to rebuild your modified Liquorix kernel from the sources in the how-to section here. The kernel's config file in in /debian/config as "config".
You can also rebuild your modified Liquorix kernel packages on your own machine if you want, but then you have to learn how to build packages...maybe the "apt-get source <package>", "apt-get build-dep <package>", etc. procedure will work with the OBS if you add the deb-src line, though.
If you're not applying those manually, you're just doing the vanilla kernel. I would suggest you look at my guide to using the OBS to rebuild your modified Liquorix kernel from the sources in the how-to section here. The kernel's config file in in /debian/config as "config".
You can also rebuild your modified Liquorix kernel packages on your own machine if you want, but then you have to learn how to build packages...maybe the "apt-get source <package>", "apt-get build-dep <package>", etc. procedure will work with the OBS if you add the deb-src line, though.
MX Linux packager and developer
Re: Problem when updating the kernel [SOLVED]
I am keeping to update and upgrade.
The 5.0.0-3.1-liquorix-amd64 kernel failed to load modules.
Also the 4.19 from backports failed to load modules, I am using the liquorix.
I am very ok with all the 4.20 liquorix kernel.
Is the 4.20.0-5.1-liquorix-amd64 more recent than the 4.20.0-15.1-liquorix-amd64?
But how can I select the default kernel?
The one in the "Debian GNU/Linux".
The 5.0.0-3.1-liquorix-amd64 kernel failed to load modules.
Also the 4.19 from backports failed to load modules, I am using the liquorix.
I am very ok with all the 4.20 liquorix kernel.
Is the 4.20.0-5.1-liquorix-amd64 more recent than the 4.20.0-15.1-liquorix-amd64?
But how can I select the default kernel?
The one in the "Debian GNU/Linux".