Page 1 of 1

grsecurity-2.1.14-2.6.33-201003071645.patch vmware problem

PostPosted: Tue Mar 09, 2010 4:49 pm
by coderx
2.6.32.9 + grsec work fine
i copied the same config on 2.6.33 + grsec
after reboot there is only
"booting the kernel" and no other messages and cpu work on 100% and nothing more i have pax_nouderef in kernel options but that not help
maybe other problem ?

Re: grsecurity-2.1.14-2.6.33-201003071645.patch vmware problem

PostPosted: Tue Mar 09, 2010 5:00 pm
by elazar
Same issue here, Ill post my config and vmlinux in a bit...

Re: grsecurity-2.1.14-2.6.33-201003071645.patch vmware problem

PostPosted: Tue Mar 09, 2010 8:37 pm
by PaX Team
coderx wrote:2.6.32.9 + grsec work fine
i copied the same config on 2.6.33 + grsec
after reboot there is only
"booting the kernel" and no other messages and cpu work on 100% and nothing more i have pax_nouderef in kernel options but that not help
maybe other problem ?
we'll need the usual info to debug this...

Re: grsecurity-2.1.14-2.6.33-201003071645.patch vmware problem

PostPosted: Wed Mar 10, 2010 3:55 am
by coderx

Re: grsecurity-2.1.14-2.6.33-201003071645.patch vmware problem

PostPosted: Wed Mar 10, 2010 1:25 pm
by PaX Team
can you guys please send me the dmesg from a working .33 boot under vmware?

Re: grsecurity-2.1.14-2.6.33-201003071645.patch vmware problem

PostPosted: Wed Mar 10, 2010 2:05 pm
by coderx
PaX Team wrote:can you guys please send me the dmesg from a working .33 boot under vmware?

http://pastebin.ca/1832184

Re: grsecurity-2.1.14-2.6.33-201003071645.patch vmware problem

PostPosted: Wed Mar 10, 2010 2:57 pm
by PaX Team
coderx wrote:http://pastebin.ca/1832184
thanks, i fixed it. in the meantime you can disable CONFIG_X86_RESERVE_LOW_64K to get it to boot.

Re: grsecurity-2.1.14-2.6.33-201003071645.patch vmware problem

PostPosted: Wed Mar 10, 2010 3:01 pm
by coderx
root@testing:/boot# grep CONFIG_X86_RESERVE_LOW_64K config-2.6.33
# CONFIG_X86_RESERVE_LOW_64K is not set
root@testing:/boot#
didnt helped :)
still "booting the kernel" and nothing more

Re: grsecurity-2.1.14-2.6.33-201003071645.patch vmware problem

PostPosted: Thu Mar 11, 2010 5:11 pm
by PaX Team
coderx wrote:still "booting the kernel" and nothing more
can you try the latest PaX test patch? if that still fails, i'll need your bzImage/vmlinux.

Re: grsecurity-2.1.14-2.6.33-201003071645.patch vmware problem

PostPosted: Thu Mar 11, 2010 6:07 pm
by coderx
fs/built-in.o: In function `load_elf_binary':
/usr/src/linux-2.6.33/fs/binfmt_elf.c:945: undefined reference to `pax_set_initial_flags'
make[2]: *** [.tmp_vmlinux1] Error 1
make[1]: *** [deb-pkg] Error 2
make: *** [deb-pkg] Error 2

Re: grsecurity-2.1.14-2.6.33-201003071645.patch vmware problem

PostPosted: Thu Mar 11, 2010 6:28 pm
by PaX Team
coderx wrote:fs/built-in.o: In function `load_elf_binary':
/usr/src/linux-2.6.33/fs/binfmt_elf.c:945: undefined reference to `pax_set_initial_flags'
make[2]: *** [.tmp_vmlinux1] Error 1
make[1]: *** [deb-pkg] Error 2
make: *** [deb-pkg] Error 2
you'll need to fix your .config when moving from grsec to PaX, it's been discussed many times on the forum ;P.

Re: grsecurity-2.1.14-2.6.33-201003071645.patch vmware problem

PostPosted: Thu Mar 11, 2010 6:45 pm
by coderx
fix what in the config ?

Re: grsecurity-2.1.14-2.6.33-201003071645.patch vmware problem

PostPosted: Thu Mar 11, 2010 7:23 pm
by PaX Team
coderx wrote:fix what in the config ?
that's what searching the forum would have told you:http://forums.grsecurity.net/viewtopic.php?f=1&t=1907&p=7715#p7715

Re: grsecurity-2.1.14-2.6.33-201003071645.patch vmware problem

PostPosted: Thu Mar 11, 2010 7:34 pm
by coderx
i better ask coz i dont wanna waste one more hour in compiling and then error/no booting/etc :)