Skip to contentSkip to conversation

question in linux's printk in qemu and vga consoleerr

Qemu-devel tang peilei 1 participant 1 message Apr 28, 2007

lore
Share & tools
lore
#0 lore raw

i found in qemu, there is also a parallel console, so i build a linux 2.6 kernle with all parallel drivers in it , but there is no message in parallel console.

i do not know how to do now, i put my config file in this mail, i hope some one can help me to found out what is wrong in my kernel image. thank you very much

Quoted 4 lines

From: "tang peilei" <[email protected]>
Reply-To: [email protected]
To: [email protected]
Subject: RE: [Qemu-devel] question in linux's printk in qemu and vga

consoleerr

Quoted 31 lines

Date: Sat, 28 Apr 2007 17:03:16 +0000

Quoted 4 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_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 ???

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 3 lines

who konws what is wrong ?? and how to deal with it ???

Quoted 11 lines
Quoted 5 lines

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn

_________________________________________________________________
享用世界上最大的电子邮件系统— MSN Hotmail。 http://www.hotmail.com

_________________________________________________________________
享用世界上最大的电子邮件系统— MSN Hotmail。 http://www.hotmail.com