kernel panic && 3.6.9

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

kernel panic && 3.6.9

Postby rolan » Sat Dec 08, 2012 11:55 am

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.
rolan
 
Posts: 16
Joined: Mon Aug 15, 2011 12:23 am

Re: kernel panic && 3.6.9

Postby PaX Team » Sat Dec 08, 2012 7:05 pm

can you post the details of your kernel panic? also your config/vmlinux/bzImage may be helpful.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Re: kernel panic && 3.6.9

Postby rolan » Sun Dec 09, 2012 12:32 pm

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.)
rolan
 
Posts: 16
Joined: Mon Aug 15, 2011 12:23 am

Re: kernel panic && 3.6.9

Postby accela » Sun Dec 09, 2012 7:32 pm

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
accela
 
Posts: 5
Joined: Fri Nov 18, 2011 1:10 pm

Re: kernel panic && 3.6.9

Postby PaX Team » Sun Dec 09, 2012 7:51 pm

thanks, i now know what the problem is, it's fixed in the latest patch.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Re: kernel panic && 3.6.9

Postby jacekalex » Mon Dec 10, 2012 12:41 am

+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
;-)
Last edited by jacekalex on Wed Dec 12, 2012 8:35 am, edited 1 time in total.
jacekalex
 
Posts: 39
Joined: Tue Jan 11, 2011 2:16 pm

Re: kernel panic && 3.6.9

Postby rolan » Tue Dec 11, 2012 6:17 am

uname -r
3.6.10-grsec

Working fine again, hence -- kudos. (Sorry, I have been delayed.)
rolan
 
Posts: 16
Joined: Mon Aug 15, 2011 12:23 am


Return to grsecurity support