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]

Linux Kernel, Network, and Services configuration.
Message
Author
User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Problem when updating the kernel [SOLVED]

#16 Post by Scorpion »

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
Last edited by Scorpion on 2018-12-31 09:00, edited 1 time in total.

User avatar
piper
Posts: 102
Joined: 2005-07-03 08:29

Re: Problem when updating the kernel [SOLVED]

#17 Post by piper »

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

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Problem when updating the kernel [SOLVED]

#18 Post by Scorpion »

Backports are not unstable so I think that it will be fine. We will see :D
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).

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Problem when updating the kernel [SOLVED]

#19 Post by Scorpion »

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.

User avatar
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]

#20 Post by Head_on_a_Stick »

Scorpion wrote:Why so long?
Not enough entropy, perhaps?

Try

Code: Select all

# apt install haveged
# systemctl enable haveged
deadbang

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Problem when updating the kernel [SOLVED]

#21 Post by Scorpion »

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?

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1404
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 46 times
Been thanked: 69 times

Re: Problem when updating the kernel [SOLVED]

#22 Post by None1975 »

Scorpion wrote:How can I check via terminal the OS updates?
After all, it is much easier to upgrade your operating system from cli. Just run as root

Code: Select all

apt update
and

Code: Select all

apt upgrade
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Problem when updating the kernel [SOLVED]

#23 Post by Scorpion »

Right :D now both the kernels work fine but no writings.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Problem when updating the kernel [SOLVED]

#24 Post by stevepusser »

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.
MX Linux packager and developer

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Problem when updating the kernel [SOLVED]

#25 Post by Scorpion »

yes this messages (random image) 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?

User avatar
sunrat
Administrator
Administrator
Posts: 6476
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 118 times
Been thanked: 474 times

Re: Problem when updating the kernel [SOLVED]

#26 Post by sunrat »

@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.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1404
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 46 times
Been thanked: 69 times

Re: Problem when updating the kernel [SOLVED]

#27 Post by None1975 »

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".
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)

Code: Select all

systemctl stop apt-daily.service
disable run when system boot

Code: Select all

systemctl disable apt-daily.service
disable run when system boot

Code: Select all

systemctl disable apt-daily.timer
disable timer run
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Problem when updating the kernel [SOLVED]

#28 Post by Scorpion »

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.
"it asked to update" = (I' m using gnome 3) In notifications (and in Software) I saw OS updates to install
"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. :D

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Problem when updating the kernel [SOLVED]

#29 Post by stevepusser »

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.
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.

Scorpion, I build and run the latest Liquorix kernels myself, and they work fine for me and many others.
MX Linux packager and developer

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Problem when updating the kernel [SOLVED]

#30 Post by Scorpion »

(see the Liquorix forum for install instructions)
I'm not sure of what instructions follow.
I recompiled some kernels I can use fakeroot make-kpkg and install the .deb right?

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Problem when updating the kernel [SOLVED]

#31 Post by stevepusser »

Scorpion wrote:
(see the Liquorix forum for install instructions)
I'm not sure of what instructions follow.
I recompiled some kernels I can use fakeroot make-kpkg and install the .deb right?
This thread on the Liquorix forums: https://techpatterns.com/forums/about2615.html

The Liquorix developer made it a sticky second from the top!
MX Linux packager and developer

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Problem when updating the kernel [SOLVED]

#32 Post by Scorpion »

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

User avatar
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]

#33 Post by Head_on_a_Stick »

Scorpion wrote:

Code: Select all

/bin/sh: 1: lz4c: not found

Code: Select all

# apt install liblz4-tool
deadbang

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Problem when updating the kernel [SOLVED]

#34 Post by stevepusser »

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.
MX Linux packager and developer

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Problem when updating the kernel [SOLVED]

#35 Post by Scorpion »

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".

Post Reply