Page 1 of 1

kernel panic && 3.6.9

PostPosted: Sat Dec 08, 2012 11:55 am
by rolan
Till last patches (grsecurity) for kernel 3.6.8 perfectly fine
everything; starting from kernel 3.6.9, kernel panics. May it be
connected with the fact that I am on 32 bit? (Distro = slackware
current.) I also don't have tried yet to build 3.6.9 -- without
grsecurity support.

Re: kernel panic && 3.6.9

PostPosted: Sat Dec 08, 2012 7:05 pm
by PaX Team
can you post the details of your kernel panic? also your config/vmlinux/bzImage may be helpful.

Re: kernel panic && 3.6.9

PostPosted: Sun Dec 09, 2012 12:32 pm
by rolan
3.6.9 vanilla <=> zero problems by the way. Okay, I will collect
what you demand; what did so drastically change between the 3.6.8
and the 3.6.9 grsecurity patches series? Every 3.6.8- patch did
work, and none of the 3.6.9 does. (I am also not using virtually
anything from sysvinit, by the way, and even less from systemd! I
am using s6 && tools; and my kernel is monolithic, though it
should not matter.)

Re: kernel panic && 3.6.9

PostPosted: Sun Dec 09, 2012 7:32 pm
by accela
i also get kernel panic during early boot time since 3.6.9, hopping that rolan's experience is same i will just throw my stuff on this post
sadly no serial connection and it hangs too early for netconsole

kernel panic: http://i.imgur.com/2pBum.jpg

cpuinfo: http://pastebin.com/Eic1Y5Bw
.config: http://pastebin.com/rVzYeQz3
vmlinux: http://www.mediafire.com/?c4pil2y2hmofr3l
bzimage: http://www.mediafire.com/?i6wah3wzrbjvlap

gentoo hardened system x86

Re: kernel panic && 3.6.9

PostPosted: Sun Dec 09, 2012 7:51 pm
by PaX Team
thanks, i now know what the problem is, it's fixed in the latest patch.

Re: kernel panic && 3.6.9

PostPosted: Mon Dec 10, 2012 12:41 am
by jacekalex
+1
I have the same problem:

Kernel 3.6.9 + grsecurity-2.9.1-3.6.9-201212041903.patch
The system is working properly, I did not notice any problems.

Kernel 3.6.9 +
grsecurity-2.9.1-3.6.9-201212071641.patch
- kernel panic.
http://ompldr.org/vZ215aw/grsec-panic.jpg

Kernel compiled from the same sources:
Code: Select all
patch-p1 -R <grsecurity-2.9.1-3.6.9-201212041903.patch
make clean
patch-p1 <grsecurity-2.9.1-3.6.9-201212071641.patch
make-j5
make modules_install
make install


Code: Select all
cat /proc/version
Linux version 3.6.9-gr2 (root@localhost) (gcc version 4.6.3 (Gentoo Hardened 4.6.3 p1.5, pie-0.5.2) ) #2 SMP PREEMPT Thu Dec 6 04:12:28 CET 2012


GCC:
Code: Select all
cc -v
Using built-in specs.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.6.3/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --with-ppl --with-cloog --disable-ppl-version-check --with-cloog-include=/usr/include/cloog-ppl --enable-lto --enable-nls --without-included-gettext --with-system-zlib --enable-obsolete --disable-werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp --enable-esp --enable-libgomp --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.6.3/python --enable-checking=release --enable-java-awt=gtk --enable-objc-gc --enable-languages=c,c++,java,go,objc,obj-c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-targets=all --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo Hardened 4.6.3 p1.5, pie-0.5.2'
Thread model: posix
gcc version 4.6.3 (Gentoo Hardened 4.6.3 p1.5, pie-0.5.2)


I'm waiting for the next patch :wink:

Edit:
Code: Select all
/usr/src/linux/grsecurity-2.9.1-3.6.10-201212101818.patch

This patch works fine :)

Thanks :)

Cheers
;-)

Re: kernel panic && 3.6.9

PostPosted: Tue Dec 11, 2012 6:17 am
by rolan
uname -r
3.6.10-grsec

Working fine again, hence -- kudos. (Sorry, I have been delayed.)