question in linux's printk in qemu and vga console err
i build a linux 2-6.16 kernel image, and use it to run in qemu. but it have some problems when it runs.
1:the console's config(kernel config) can only be dummy console , can not be vga console ,if i choose vga console ,it will fails in console_init function.
2:it can print message like putstr("Uncompressing Linux...");
but when it run in start_kernel, it use printk to print message, the message can not be found in qemu. my kernel config did not choose vga console ,but choosed dummy console, is this made printk did not work ???
who konws what is wrong ?? and how to deal with it ???
_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn
Quoted 7 lines
From: "tang peilei" <[email protected]>
Reply-To: [email protected]
To: [email protected]
Subject: [Qemu-devel] question in linux's printk in qemu and vga console
err
Quoted 10 lines
Date: Sat, 28 Apr 2007 12:19:02 +0000
i build a linux 2-6.16 kernel image, and use it to run in qemu. but it have some problems when it runs.
1:the console's config(kernel config) can only be dummy console , can not be vga console ,if i choose vga console ,it will fails in
console_initfunction.2:it can print message like
putstr("Uncompressing Linux...");
but when it run instart_kernel, it use printk to print message, the message can not be found in qemu. my kernel config did not choose vga console ,but choosed dummy console, is this made printk did not work ???
i found that dummy console can not display printk messages.
but in qemu, there is also some serial port , it should also useful for "printk". i found there is some serial drivers in linux2.6
i do not konw what should be compiled for qemu's serial, who konws? if i compiled them all , qemu will crash when this kernel image runs.
Quoted 8 lines
who konws what is wrong ?? and how to deal with it ???
_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn
_________________________________________________________________
享用世界上最大的电子邮件系统— MSN Hotmail。 http://www.hotmail.com