Summary: | [>=sys-kernel/hardened-sources-2.6.38-r1] Invalid alignment/Bus error occurred | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | taaroa <taaroa> |
Component: | Hardened | Assignee: | The Gentoo Linux Hardened Kernel Team (OBSOLETE) <hardened-kernel+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | pageexec, spender, taaroa |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://forums.grsecurity.net/viewtopic.php?f=3&t=2618 | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=365871 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
strace linux32 chroot /mnt/gentoo32 /bin/bash
/etc/init.d/gentoo32 kernel config for hardened for hardened-2.6.38-r1 diff -Nau /usr/src/linux-2.6.38-hardened-r1/.config /usr/src/linux-2.6.38-hardened-r4/.config diff -Nau /usr/src/linux-2.6.38-hardened/.config /usr/src/linux-2.6.38-hardened-r1/.config gdb --args strace linux32 chroot /mnt/gentoo32 /bin/bash |
Description
taaroa
2011-05-04 10:13:05 UTC
Created attachment 272157 [details]
strace linux32 chroot /mnt/gentoo32 /bin/bash
Created attachment 272159 [details]
/etc/init.d/gentoo32
Created attachment 272161 [details]
kernel config for hardened for hardened-2.6.38-r1
Created attachment 272163 [details]
diff -Nau /usr/src/linux-2.6.38-hardened-r1/.config /usr/src/linux-2.6.38-hardened-r4/.config
This may be related to bug #365871 as both seems to be about touching 32-bit from 64-bit? Created attachment 272199 [details]
diff -Nau /usr/src/linux-2.6.38-hardened/.config /usr/src/linux-2.6.38-hardened-r1/.config
I recompiled my kernel with the previous .config. the result is the same.
(In reply to comment #6) > I recompiled my kernel with the previous .config. the result is the same. Could you try with hardened-sources-2.6.38? In the other bug I mentioned the problem surfaced between 2.6.38 and 2.6.38-r1, and blueness experienced the same with 2.6.38-r4 even with all grsec-options turned off IIRC. @Xake [=sys-kernel/hardened-sources-2.6.38] is ok. # linux32 chroot /mnt/gentoo32 uname -a Linux taaroa 2.6.38-hardened #2 SMP Fri Apr 29 02:06:45 KRAST 2011 i686 GNU/Linux I could not get r1 or r2 to cleanly compile; though hardened-sources-2.6.38 compiled and works fine. After running "make oldconfig" with the 2.6.38 .config file, I ran "make" and received continuous warning messages (IIRC the message contained an "asm" note, and stated that some sort of comparison would not work) - for almost every line of the .config. If I find some time I'll download another copy, run "make", and get the precise message. Created attachment 272615 [details]
gdb --args strace linux32 chroot /mnt/gentoo32 /bin/bash
i fixed the 32 bit userland breakage, the next grsec patch will have the fix. Please test the latest which I just added to the tree: hardened-sources-2.6.38-r4 -r1 and -r2 will be removed from the tree in a minute. (In reply to comment #12) > Please test the latest which I just added to the tree: > hardened-sources-2.6.38-r4 > -r1 and -r2 will be removed from the tree in a minute. grsecurity-2.2.2-2.6.38.6-201105111839.patch is ok. (In reply to comment #13) > (In reply to comment #12) > > Please test the latest which I just added to the tree: > > hardened-sources-2.6.38-r4 > > -r1 and -r2 will be removed from the tree in a minute. > > grsecurity-2.2.2-2.6.38.6-201105111839.patch is ok. That's in the tree with hardened-sources-2.6.38-r4. Closing this one. |