Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 495292 - sys-kernel/hardened-sources-3.12.*: kernel panic at very early stage
Summary: sys-kernel/hardened-sources-3.12.*: kernel panic at very early stage
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-25 08:42 UTC by Hongjiu Zhang
Modified: 2013-12-28 07:16 UTC (History)
1 user (show)

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


Attachments
Photo of panic information (6ea14ae7c88aa6aa489bdf8888233f72.1387960939.jpg,62.98 KB, image/jpeg)
2013-12-25 08:43 UTC, Hongjiu Zhang
Details
Kernel config (config.kernel,123.39 KB, text/plain)
2013-12-25 22:31 UTC, Hongjiu Zhang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hongjiu Zhang 2013-12-25 08:42:14 UTC
The kernel panic happens at very early stage. The kernel config here is a small modification on 'make defconfig' one. I also tried Ubuntu/Debian/Slackware/Sabayon's kernel configurations, but none of them are working. This doesn't happen on 3.11.* or gentoo-sources-3.12.*.

The whole work is on a Ubuntu LiveCD since so far I don't have a working system right now.

Reproducible: Always




emerge --info:

Portage 2.2.7 (hardened/linux/x86, gcc-4.7.3, glibc-2.17, 3.11.0-12-generic i686)
=================================================================
System uname: Linux-3.11.0-12-generic-i686-Intel-R-_Core-TM-_i5-2450M_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem:     3957248 total,   1748552 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Sun, 22 Dec 2013 20:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.6, 3.3.3
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.12.6, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.12 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo local
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/var/cache/portage/dist"
EMERGE_DEFAULT_OPTS="--quiet --with-bdeps=y"
FCFLAGS="-O2 -march=pentium-m -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=pentium-m -pipe"
GENTOO_MIRRORS="ftp://lug.mtu.edu/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
INSTALL_MASK=" /lib/systemd /usr/lib/systemd"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/var/cache/portage/pkg"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-9e"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/lib/repo/portage"
PORTDIR_OVERLAY="/var/lib/repo/local"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext a52 aac acpi avahi bash-completion berkdb bluetooth branding bzip2 cdda cdr cjk cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm gif gpm hardened iconv icu inotify ipv6 jpeg jpeg2k kipi lcms ldap libnotify lzma mad mmx mmxext mng modules mp3 mp4 mpeg mudflap ncurses networkmanager nls nptl ogg openexr opengl openmp pam pango pax_kernel pcre pdf phonon pic plasma png policykit ppds pulseaudio qt3support quota readline samba sdl semantic-desktop session skey spell sqlite sse sse2 ssl startup-notification svg syslog taglib tcpd tiff truetype udev udisks unicode upower urandom usb v4l vorbis wxwidgets x264 x86 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="crypt crypt-gpg gensplash syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python3_3" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 intel mach64 mga nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa via vmware nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Hongjiu Zhang 2013-12-25 08:43:22 UTC
Created attachment 366158 [details]
Photo of panic information

I can only provide this picture of panic information. I wish this can provide enough for you to deal with it.
Comment 2 Hongjiu Zhang 2013-12-25 22:24:05 UTC
Configuration of 'make defconfig' with GrSec 'Auto + Desktop + No virtualisation + Security' seems enough to reproduce this problem here.
Comment 3 Hongjiu Zhang 2013-12-25 22:31:02 UTC
Created attachment 366194 [details]
Kernel config
Comment 4 Hongjiu Zhang 2013-12-28 07:16:45 UTC
The kernel is removed from Portage tree. Updating.