Skip to contentSkip to conversation

pxeboot broken by commit "x86 setup: handle boot loaders which set up the stack incorrectly"

DISCUSSION Yinghai Lu 2 participants 2 messages Nov 7, 2007 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Yinghai Lu

author
#1 lore raw
Quoted 13 lines · H. Peter Anvin

Ah, right - this was a longstanding bug in syslinux which was fixed in 3.50-pre7. The workaround for abug in old LILO exposed a bug in old syslinux. Joy.

--
Sent from my cellphone (pardon any lack of formatting)

-----Original Message-----
From: Yinghai Lu <[email protected]>
Sent: Tuesday, November 06, 2007 20:12
To: H. Peter Anvin <[email protected]>
Subject: Re: pxeboot broken by commit "x86 setup: handle boot loaders which set up the stack incorrectly"

Quoted 9 lines
Quoted 3 lines · H. Peter Anvin

Could you check if 3.52 is affected as well?

--

3.52 works

YH

good to know. everyone need to update to 3.52 now... but i still can not understand why that mcp55 system works but the ck804 based doesn't on 3.10

YH

#2 lore raw
Quoted 5 lines · Yinghai Lu

good to know. everyone need to update to 3.52 now... but i still can not understand why that mcp55 system works but the ck804 based doesn't on 3.10

The bug is that syslinux incorrectly positions the stack above the command line (but not the stack pointer register; hence the kernel patch exposing this bug.) So the stack plus command line end up being limited
to 512 bytes; how much stack gets used depends on the BIOS, so one
BIOS may use a lot more than another.

-hpa