Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 589154 - sys-kernel/hardened-sources-4.6.4-r1 unable to boot
Summary: sys-kernel/hardened-sources-4.6.4-r1 unable to boot
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
: 588700 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-07-19 16:07 UTC by Alexander Stoll
Modified: 2016-07-24 15:26 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
kernel-config-x86_64-4.6.4-hardened-r1 (kernel-config-x86_64-4.6.4-hardened-r1,101.49 KB, text/x-mpsub)
2016-07-19 20:06 UTC, Dmitriy Baranov
Details
dmesg (dmesg464r1,79.05 KB, text/plain)
2016-07-19 20:07 UTC, Dmitriy Baranov
Details
Kernel Log after ssh login (Testbox-Log-SSH.txt,5.02 KB, text/plain)
2016-07-20 14:16 UTC, Alexander Stoll
Details
Testbox kernel config (Testbox-kconfig,84.46 KB, text/x-mpsub)
2016-07-20 14:22 UTC, Alexander Stoll
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Stoll 2016-07-19 16:07:23 UTC
Well, this is some kind of summarized feedback on the real bumpy ride related to the 4.6 kernel series - hopefully helpful and some specific to 4.6.4-r1.

- early 4.6 releases until 4.6.3-r1 won´t boot on x86 box, early panic

- 4.6.3-r1 panics on x86 related to pppd when DSL is pulled on modem

- 4.6.4 on amd64 box panics on shutdown to reboot

- 4.6.4-r1 on amd64 box panics shortly after boot on login via ssh

- fallback to 4.5 on all boxes restores normal operation

- as far as noticed (some are headless), all panics were related to spinlock on the terminal

No 4.6 revision has ran flawlessly on any box so far.

If needed, I will give further details.
Comment 1 Dmitriy Baranov 2016-07-19 17:10:36 UTC
I confirm this. Kernel freezes after setting my net. 4.6.4-r1 freezes but 4.6.4 works normal for me.
Comment 2 Anthony Basile gentoo-dev 2016-07-19 17:53:24 UTC
(In reply to reagentoo from comment #1)
> I confirm this. Kernel freezes after setting my net. 4.6.4-r1 freezes but
> 4.6.4 works normal for me.

*sigh*  I'll pass it upstream.
Comment 3 PaX Team 2016-07-19 19:15:04 UTC
getting your configs and some output from the kernel would be helpful. also if you try the latest grsec patch then either disable size overflow or boot with pax_size_overflow_report_only for now.
Comment 4 Dmitriy Baranov 2016-07-19 20:06:32 UTC
Created attachment 441154 [details]
kernel-config-x86_64-4.6.4-hardened-r1

my kernel config
Comment 5 Dmitriy Baranov 2016-07-19 20:07:31 UTC
Created attachment 441158 [details]
dmesg

dmesg out with pax_size_overflow_report_only
Comment 6 Anthony Basile gentoo-dev 2016-07-20 09:59:44 UTC
*** Bug 588700 has been marked as a duplicate of this bug. ***
Comment 7 Markus Walter 2016-07-20 10:09:15 UTC
I'm not too sure, that my bug 588700 actually is a duplicate of this, since it occurred before 4.6 and involves a different error (not a size overflow but an inability to handle a kernel paging request).
Comment 8 Alexander Stoll 2016-07-20 14:16:45 UTC
Created attachment 441214 [details]
Kernel Log after ssh login

ssh login triggers the overflow
Comment 9 Alexander Stoll 2016-07-20 14:22:19 UTC
Created attachment 441216 [details]
Testbox kernel config
Comment 10 Anthony Basile gentoo-dev 2016-07-21 16:28:16 UTC
(In reply to Markus Oehme from comment #7)
> I'm not too sure, that my bug 588700 actually is a duplicate of this, since
> it occurred before 4.6 and involves a different error (not a size overflow
> but an inability to handle a kernel paging request).

okay.  can you test 4.6.4-r2 which I just put on the tree.

@pipacs 4.6.4-r2 = grsecurity-3.1-4.6.4-201607192040
Comment 11 Markus Walter 2016-07-21 17:32:54 UTC
(In reply to Anthony Basile from comment #10)
> okay.  can you test 4.6.4-r2 which I just put on the tree.

I'm now running 4.6.4-r2 and everything looks fine. *thumbs up*