Re: 2.5.26 broken on headless boxes

Andi Kleen (ak@suse.de)
Fri, 19 Jul 2002 11:45:09 +0200


On Thu, Jul 18, 2002 at 04:07:06PM -0700, James Simmons wrote:
>
> > I also see similar problems on x86-64 in 2.5.25. The kernel quickly crashes
> > when trying to return from opost_write() because something below has zeroed
> > out the stack (with serial console and vga console and early console enabled)
> > I have not tried it with 2.5.26 yet.
>
> It is the result of registering the console device first for printk and
> then later registering the tty device. Eventually I like to be able to
> have VT_CONSOLE independent of CONFIG_VT so we could have a light weight
> printk. The goal is register tty device once we find a keyboard of some
> kind.

Could you explain to me how this causes a stack overwrite with the
current kernel ? I would like to fix this ASAP because it is a showstopper
for me in 2.5 right now.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/