Bug 18715 - Slow boot since upgrade from kernel 4.1.15 to kernel 4.4.13
Summary: Slow boot since upgrade from kernel 4.1.15 to kernel 4.4.13
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Kernel and Drivers maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-15 14:59 CEST by peter lawford
Modified: 2018-10-07 16:37 CEST (History)
3 users (show)

See Also:
Source RPM: kernel-4.4.13-1.mga5-1-1.mga5
CVE:
Status comment:


Attachments
systemd-analyze blame command's return file (3.50 KB, text/plain)
2016-06-16 15:01 CEST, peter lawford
Details
systemd_analyze_blame_4.1.15-server-2.mga5.txt (3.29 KB, text/plain)
2016-06-16 16:31 CEST, peter lawford
Details
kernel 4.1.15 for mga5-64 (3.42 KB, text/plain)
2016-06-17 13:38 CEST, peter lawford
Details
kernel 4.4.13 for mga5-64 (3.29 KB, text/plain)
2016-06-17 13:39 CEST, peter lawford
Details
journal-4.1.15 (199.77 KB, text/plain)
2016-06-17 15:34 CEST, peter lawford
Details
journal-4.4.13 (327.11 KB, text/plain)
2016-06-17 15:34 CEST, peter lawford
Details

Description peter lawford 2016-06-15 14:59:20 CEST
Description of problem:
from the change of kernels (4.1.15-(server,desktop)-1.mga5 to 4.4.13-(server, desktop)-1.mga5), the boot process runs much more slowly
my stuff (old): mobo  gigabyte X58A  cpu: corei7-960  ram:  24 Go DDR 3 gskill
graphic card: nvidia gtx 9800+

the os mageia5-x86_64 is installed on lvm2 which lies on mdadm raid level5 (/dev/sd[a-d]5)


Version-Release number of selected component (if applicable):
kernel-server,desktop-4.4.13-1.mga5-1-1.mga5


How reproducible:make last mageia update


Steps to Reproduce:
1.
2.
3.
Comment 1 Thierry Vignaud 2016-06-16 11:24:00 CEST
I suspect you're using the proprietary driver and I think that on the first boot with the new kernel, the driver is compiled for this new kernel

CC: (none) => thierry.vignaud, tmb

Comment 2 peter lawford 2016-06-16 13:43:24 CEST
(In reply to Thierry Vignaud from comment #1)
> I suspect you're using the proprietary driver and I think that on the first
> boot with the new kernel, the driver is compiled for this new kernel

Sorry, it's not the case:
1) I don't use any proprietary driver, only those provided by the mageia rpm repositories
2) it happens at EVERY boot, not only the first
Comment 3 Rémi Verschelde 2016-06-16 13:50:27 CEST
(In reply to peter lawford from comment #2)
> 1) I don't use any proprietary driver, only those provided by the mageia rpm
> repositories

Mageia provides proprietary drivers in the Nonfree repository. Check if `rpm -qa | grep nvidia` returns the nvidia-current package.

> 2) it happens at EVERY boot, not only the first

Then it's likely another issue than what Thierry mentioned.
Rémi Verschelde 2016-06-16 13:51:19 CEST

Summary: boot slow => Slow boot since upgrade from kernel 4.1.15 to kernel 4.4.13

Comment 4 Thierry Vignaud 2016-06-16 13:54:51 CEST
Can you _attach_ (not paste) the output of the "systemd-analyze blame" command?

Keywords: (none) => NEEDINFO

Comment 5 peter lawford 2016-06-16 15:01:49 CEST
Created attachment 8003 [details]
systemd-analyze blame command's return file
Comment 6 peter lawford 2016-06-16 15:04:13 CEST
(In reply to Rémi Verschelde from comment #3)
> (In reply to peter lawford from comment #2)
> > 1) I don't use any proprietary driver, only those provided by the mageia rpm
> > repositories
> 
> Mageia provides proprietary drivers in the Nonfree repository. Check if `rpm
> -qa | grep nvidia` returns the nvidia-current package.
> 
> > 2) it happens at EVERY boot, not only the first
> 
> Then it's likely another issue than what Thierry mentioned.

see by yourself:
[petelaw@mageia4_64 ~]$ rpm -qa | grep nvidia
nvidia-current-doc-html-352.79-3.mga5.nonfree
nvidia-current-kernel-4.1.15-server-2.mga5-346.96-5.mga5.nonfree
x11-driver-video-nvidia-current-352.79-3.mga5.nonfree
nvidia-current-kernel-desktop-latest-352.79-10.mga5.nonfree
nvidia-current-kernel-server-latest-352.79-10.mga5.nonfree
dkms-nvidia-current-352.79-3.mga5.nonfree
nvidia-current-kernel-4.1.15-desktop-2.mga5-346.96-5.mga5.nonfree
nvidia-cuda-toolkit-6.5.14-6.1.mga5.nonfree
Comment 7 Thierry Vignaud 2016-06-16 15:17:59 CEST
Can you attach the blame log for the original kernel too?
What's the version reported by "rpm -q dkms-minimal" ?
Comment 8 peter lawford 2016-06-16 15:31:27 CEST
(In reply to Thierry Vignaud from comment #7)
> Can you attach the blame log for the original kernel too?
> What's the version reported by "rpm -q dkms-minimal" ?

dkms-minimal-2.0.19-34.mga5

furthermore, I don't know how to obtain the blame log; sorry
Comment 9 Thierry Vignaud 2016-06-16 15:34:32 CEST
Just boot on the older kernel and run the "systemd-analyze blame" command...
Comment 10 peter lawford 2016-06-16 15:55:18 CEST
(In reply to Thierry Vignaud from comment #9)
> Just boot on the older kernel and run the "systemd-analyze blame" command...

OK, but for that I have to reboot on a second mageia5_64 system on the same machine, I have not yet updated to the new kernel, and which is quite similar to the first one.
I can't make it immediateley, since I am very busy.
please, wait one hour or two
thank you for your patience 
sincerly
Comment 11 Thierry Vignaud 2016-06-16 16:01:30 CEST
You already removed the old kernel?
Else you can choose another kernel from the boot menu.
Comment 12 peter lawford 2016-06-16 16:31:55 CEST
Created attachment 8004 [details]
systemd_analyze_blame_4.1.15-server-2.mga5.txt
Comment 13 peter lawford 2016-06-16 16:33:50 CEST
(In reply to Thierry Vignaud from comment #11)
> You already removed the old kernel?
> Else you can choose another kernel from the boot menu.

OK here is attached the file systemd_analyze_blame_4.1.15-server-2.mga5.txt

since I have rebooted on the old kernel:

[petelaw@mageia4_64 ~]$ uname -a
Linux mageia4_64 4.1.15-server-2.mga5 #1 SMP Wed Jan 20 17:37:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Comment 14 Thierry Vignaud 2016-06-16 17:31:26 CEST
This is not from the same system: in the last logs, there's no trace of the sendmail service that was slow in the first logs
Comment 15 peter lawford 2016-06-16 17:34:53 CEST
(In reply to Thierry Vignaud from comment #14)
> This is not from the same system: in the last logs, there's no trace of the
> sendmail service that was slow in the first logs

It's EXACTLY the same system, it's why I don't understand too what happens between the two kernels
Comment 16 peter lawford 2016-06-16 17:49:20 CEST
(In reply to peter lawford from comment #15)
> (In reply to Thierry Vignaud from comment #14)
> > This is not from the same system: in the last logs, there's no trace of the
> > sendmail service that was slow in the first logs
> 
> It's EXACTLY the same system, it's why I don't understand too what happens
> between the two kernels

my two systems are, for historical reasons, called mga4-64 and mga5-64; both are mageia5-x86_64, and are quite similar; but the logs I have posted to you are both from mga4-64 system
Comment 17 peter lawford 2016-06-17 13:38:17 CEST
Created attachment 8013 [details]
kernel 4.1.15 for mga5-64
Comment 18 peter lawford 2016-06-17 13:39:01 CEST
Created attachment 8014 [details]
kernel 4.4.13 for mga5-64
Comment 19 peter lawford 2016-06-17 13:41:21 CEST
here attached file containing reports of the command "systemd-analyze blame" for respectively kernels 4.1.15 and 4.4.13 on my second system mga5-64
Comment 20 peter lawford 2016-06-17 13:42:42 CEST
(In reply to Thierry Vignaud from comment #14)
> This is not from the same system: in the last logs, there's no trace of the
> sendmail service that was slow in the first logs

please see comments #17, 18 & 19
sincerely
Comment 21 Thierry Vignaud 2016-06-17 13:52:31 CEST
Could you attach (for both kernels) the journalctl logs?
Just run "journalctl -b>/tmp/journal-$(uname -r).txt" as root
Comment 22 peter lawford 2016-06-17 15:34:29 CEST
Created attachment 8017 [details]
journal-4.1.15
Comment 23 peter lawford 2016-06-17 15:34:59 CEST
Created attachment 8018 [details]
journal-4.4.13
Comment 24 peter lawford 2016-06-17 15:35:34 CEST
(In reply to Thierry Vignaud from comment #21)
> Could you attach (for both kernels) the journalctl logs?
> Just run "journalctl -b>/tmp/journal-$(uname -r).txt" as root

here the attached files
Marja Van Waes 2016-06-18 12:27:42 CEST

Keywords: NEEDINFO => (none)
CC: (none) => marja11
Assignee: bugsquad => tmb
Source RPM: kernel-server-4.4.13-1.mga5-1-1.mga5, kernel-desktop-4.4.13-1.mga5-1-1.mga5 => kernel-4.4.13-1.mga5-1-1.mga5

Comment 25 Marja Van Waes 2016-08-26 11:42:29 CEST
Mass-reassigning all bugs with "kernel" in the Source RPM field that are assigned to tmb, to the kernel packagers group, because tmb is currently MIA.

Assignee: tmb => kernel

Comment 26 Marja Van Waes 2018-04-28 19:05:21 CEST
Hi Peter,

Thank you for having taken the needed time to report this issue, and even more thanks for all the effort you've taken to supply good information and logs!

Did this bug get fixed? If so, please change its status to RESOLVED - FIXED

If it didn't, then we regret that we weren't able to fix it in Mageia 5. Mageia 5 has officially reached its End of Life on December 31st, 2017 https://blog.mageia.org/en/2017/11/07/mageia-5-eol-postponed/
It only continued to get important security updates since then, because we are waiting for a big Plasma5 update in Mageia 6, that'll fix many of the Mageia 5 => 6 upgrade issues.

If you haven't seen that this bug got fixed, then please check whether this bug still exists in Mageia 6. If it does, then please change the Version (near the top, at the left) to "6". If you know it exists in Cauldron, then change Version to Cauldron. If you see it in both Cauldron and Mageia 6, then please set Version to Cauldron and add MGA6TOO on the Whiteboard.

Thanks,
Marja
Comment 27 peter lawford 2018-05-05 13:55:21 CEST
(In reply to Marja Van Waes from comment #26)
> Hi Peter,
> 
> Thank you for having taken the needed time to report this issue, and even
> more thanks for all the effort you've taken to supply good information and
> logs!
> 
> Did this bug get fixed? If so, please change its status to RESOLVED - FIXED
> 
> If it didn't, then we regret that we weren't able to fix it in Mageia 5.
> Mageia 5 has officially reached its End of Life on December 31st, 2017
> https://blog.mageia.org/en/2017/11/07/mageia-5-eol-postponed/
> It only continued to get important security updates since then, because we
> are waiting for a big Plasma5 update in Mageia 6, that'll fix many of the
> Mageia 5 => 6 upgrade issues.
> 
> If you haven't seen that this bug got fixed, then please check whether this
> bug still exists in Mageia 6. If it does, then please change the Version
> (near the top, at the left) to "6". If you know it exists in Cauldron, then
> change Version to Cauldron. If you see it in both Cauldron and Mageia 6,
> then please set Version to Cauldron and add MGA6TOO on the Whiteboard.
> 
> Thanks,
> Marja

bug fixed for mageia5 & 6
Comment 28 Marja Van Waes 2018-10-07 16:37:48 CEST
(In reply to peter lawford from comment #27)

> 
> bug fixed for mageia5 & 6

Thanks for telling us :-)

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.