[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#440068: gnumach: GPT in fp_save, fpu.c:675



Ever since applying this patch, mach panics for me on startup. It gets
as far as starting sshd, then it panics with

panic: zalloc: zone i386 pcb state exhausted
kernel breakpoint trap, eip 0x1179d7
stopped at 0x1179d6: int $3

Any ideas why I'm getting a panic while others aren't? (I haven't had
too much time to debug on my own; I'm using QEMU-x86 with kqemu
acceleration on ebaled as my platform)
Michael

On Tue, 2007-09-04 at 01:24 +0200, Samuel Thibault wrote:
> Hi,
> 
> Samuel Thibault, le Wed 29 Aug 2007 16:50:20 +0200, a écrit :
> > Michael Banck, le Wed 29 Aug 2007 16:13:20 +0200, a écrit :
> > > eax 0x107502f8
> > 
> > This is the culprit: fxsave needs the buffer to be 16 bytes-aligned. It
> > looks like there is a bug somewhere in the alignment support of
> > zalloc().
> 
> The attached patch should help: in case the allocation makes sleep,
> zalloc_next_space could be changed by another task, and hence possibly
> unaligned.
> 
> Samuel





Reply to: