Gentoo Archives: gentoo-hardened

From: pageexec@××××××××.hu
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] stack fault in kernel mode with i686 with 2.6.26-r9 and 2.6.27-r8
Date: Sun, 08 Mar 2009 00:07:51
Message-Id: 49B30C39.28629.1EE164E2@pageexec.freemail.hu
In Reply to: [gentoo-hardened] stack fault in kernel mode with i686 with 2.6.26-r9 and 2.6.27-r8 by basile
1 On 7 Mar 2009 at 18:39, basile wrote:
2
3 > Hi guys,
4 >
5 > I'm encountering a reproduceable problem with hardened 2.6.26-r9 and
6 > 2.6.27-r8 that wasn't there with 2.6.25-r13 on i686, and isn't there
7 > with amd64 using approximately the same kernel configuration in every
8 > case. I've been able to reproduce it in vmware, qemu and on physical
9 > boxes, one with a Intel(R) Core(TM)2 Quad CPU Q6700, the other AMD
10 > Athlon(tm) 64 FX-62 Dual Core. It a stack fault in kernel mode, but I
11 > can't pin it down further. It happens almost immediately after the
12 > bootloader passes control to the kernel. The best error message comes
13 > from qemu which gives the states of the registers. Here's the error
14 > message from a bootable ISO I made suing 2.6.26-r9. Any idea where I
15 > can start tackling this one?
16
17 you'll have to check what code was executed just before the triple fault,
18 start at around EIP. also passing -d in_asm,int,exec,cpu,pcall will produce
19 a nice log file that will make it even easier.
20
21 >
22 > # qemu -cdrom th-i686-20090307-RC3.iso
23 > qemu: fatal: triple fault
24 > EAX=000000ff EBX=0153cac0 ECX=0013a2d1 EDX=0013a2d1
25 > ESI=0024c000 EDI=01400000 EBP=01541a20 ESP=01541a10
26 > EIP=0153a2d0 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0
27 ^^^^^^^^^^^^

Replies

Subject Author
Re: [gentoo-hardened] stack fault in kernel mode with i686 with 2.6.26-r9 and 2.6.27-r8 basile <basile@××××××××××××××.edu>