2.5.26 broken on headless boxes
A message that is not in the archive (sent off-list or not yet received): 20020717165538.D13352@parcelfarce.linux.theplanet.co.uk.suse.lists.linux.kernel
Quoted 2 lines · Matthew Wilcox
On a headless box with both
CONFIG_VT_CONSOLEandCONFIG_SERIAL_CONSOLEdefined, I get:
[...]
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.
-Andi
Quoted 5 lines
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.
Quoted 11 lines · James Simmons
Quoted 5 lines
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_CONSOLEindependent ofCONFIG_VTso 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