Problem when updating the kernel [SOLVED]

Kernels & Hardware, configuring network, installing services

Re: Problem when updating the kernel [SOLVED]

Postby Scorpion » 2018-11-24 19:10

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
Scorpion
 
Posts: 123
Joined: 2018-10-17 11:38

Re: Problem when updating the kernel [SOLVED]

Postby piper » 2018-11-25 10:56

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 shit 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
piper
 
Posts: 102
Joined: 2005-07-03 08:29

Re: Problem when updating the kernel [SOLVED]

Postby Scorpion » 2018-12-02 10:41

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: 123
Joined: 2018-10-17 11:38

Re: Problem when updating the kernel [SOLVED]

Postby Scorpion » 2018-12-31 09:13

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
Scorpion
 
Posts: 123
Joined: 2018-10-17 11:38

Re: Problem when updating the kernel [SOLVED]

Postby Head_on_a_Stick » 2018-12-31 09:29

Scorpion wrote:Why so long?

Not enough entropy, perhaps?

Try
Code: Select all
# apt install haveged
# systemctl enable haveged
User avatar
Head_on_a_Stick
 
Posts: 10346
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Problem when updating the kernel [SOLVED]

Postby Scorpion » 2019-01-02 09:11

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
Scorpion
 
Posts: 123
Joined: 2018-10-17 11:38

Re: Problem when updating the kernel [SOLVED]

Postby None1975 » 2019-01-02 14:57

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
User avatar
None1975
 
Posts: 902
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Re: Problem when updating the kernel [SOLVED]

Postby Scorpion » 2019-01-02 17:04

Right :D now both the kernels work fine but no writings.
User avatar
Scorpion
 
Posts: 123
Joined: 2018-10-17 11:38

Re: Problem when updating the kernel [SOLVED]

Postby stevepusser » 2019-01-02 23:49

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.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Foliate 1.5.3, Minitube 3.1, wine-staging 4.12, Virtual Box 5.2.32 & 6.0.10, Pale Moon 28.6.1, Waterfox 56.2.12
User avatar
stevepusser
 
Posts: 11012
Joined: 2009-10-06 05:53

Re: Problem when updating the kernel [SOLVED]

Postby Scorpion » 2019-01-03 09:21

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
Scorpion
 
Posts: 123
Joined: 2018-10-17 11:38

Re: Problem when updating the kernel [SOLVED]

Postby sunrat » 2019-01-03 11:48

@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
sunrat
 
Posts: 2753
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Problem when updating the kernel [SOLVED]

Postby None1975 » 2019-01-03 13:24

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
User avatar
None1975
 
Posts: 902
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Re: Problem when updating the kernel [SOLVED]

Postby Scorpion » 2019-01-03 15:40

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
Scorpion
 
Posts: 123
Joined: 2018-10-17 11:38

Re: Problem when updating the kernel [SOLVED]

Postby stevepusser » 2019-01-03 19:44

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.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Foliate 1.5.3, Minitube 3.1, wine-staging 4.12, Virtual Box 5.2.32 & 6.0.10, Pale Moon 28.6.1, Waterfox 56.2.12
User avatar
stevepusser
 
Posts: 11012
Joined: 2009-10-06 05:53

Re: Problem when updating the kernel [SOLVED]

Postby Scorpion » 2019-01-04 09:29

(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
Scorpion
 
Posts: 123
Joined: 2018-10-17 11:38

PreviousNext

Return to System configuration

Who is online

Users browsing this forum: No registered users and 16 guests

fashionable