Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 522948 - >=sys-kernel/hardened-sources-3.15.8: panic during boot
Summary: >=sys-kernel/hardened-sources-3.15.8: panic during boot
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-16 14:20 UTC by Michael Orlitzky
Modified: 2014-10-13 18:08 UTC (History)
2 users (show)

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


Attachments
Photo of the panic (laptop-crash.jpg,214.91 KB, image/jpeg)
2014-09-16 14:20 UTC, Michael Orlitzky
Details
kernel .config (laptop-config.txt,81.95 KB, text/plain)
2014-09-16 14:21 UTC, Michael Orlitzky
Details
netconsole.log (netconsole.log,26.40 KB, text/x-log)
2014-09-17 02:40 UTC, Michael Orlitzky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Orlitzky gentoo-dev 2014-09-16 14:20:05 UTC
Created attachment 384850 [details]
Photo of the panic

I've tried both 3.15.8 and 3.16.1 on my Thinkpad X61s; both crash in the same place during boot. I've got a photo of the panic and the kernel config coming.
Comment 1 Michael Orlitzky gentoo-dev 2014-09-16 14:21:07 UTC
Created attachment 384852 [details]
kernel .config

This is the .config from 3.15.8 -- the one for 3.16.1 was essentially the same, I just did a `make oldconfig`.
Comment 2 Anthony Basile gentoo-dev 2014-09-16 18:19:05 UTC
Okay, I'll pass this by upstream.
Comment 3 PaX Team 2014-09-16 19:05:29 UTC
can you enable frame pointers and post a backtrace again? also if you could capture the kernel logs via netconsole or a serial one, it'd be helpful.
Comment 4 Michael Orlitzky gentoo-dev 2014-09-17 02:40:10 UTC
Created attachment 384888 [details]
netconsole.log

Silly question: how do I enable the frame pointers? I tried deleting every occurrence of -fomit-frame-pointer in the Makefile, but I don't even know how to tell if it worked. Here's the netconsole output.
Comment 5 Anthony Basile gentoo-dev 2014-10-06 01:54:27 UTC
(In reply to Michael Orlitzky from comment #4)
> Created attachment 384888 [details]
> netconsole.log
> 
> Silly question: how do I enable the frame pointers? I tried deleting every
> occurrence of -fomit-frame-pointer in the Makefile, but I don't even know
> how to tell if it worked. Here's the netconsole output.

If you add it to the CFLAGS, it should be the last option on the command line. The last option wins over a previous opposite.  So add -fno-omit-frame-pointer.
Comment 6 PaX Team 2014-10-06 10:03:38 UTC
CONFIG_FRAME_POINTER
Comment 7 PaX Team 2014-10-06 10:06:19 UTC
forgot to say but this should be fixed in the supported versions now, so please try 3.14/3.16 (and soon 3.17).
Comment 8 Michael Orlitzky gentoo-dev 2014-10-06 13:15:32 UTC
Thanks, the laptop is currently in the hospital with a broken screen but I should be able to confirm later this week when the replacement comes in.
Comment 9 Michael Orlitzky gentoo-dev 2014-10-13 18:08:23 UTC
Looks like it is indeed fixed in hardened-sources-3.16.4-r1, thanks!