Skip to contentSkip to conversation

kernel 2.6.10 and qemu

Qemu-devel Der Herr Hofrat 1 participant 1 message May 10, 2005 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

HI !

so the problem whth 2.6.X and qemu on a console was is simply that the default 2.6.X kernel settings is to have the serial
console disabled and thus no output when booting with -nographic 2.4.X had it on by default.. The parameters (-append "root=/dev/hda") don't cause any problems no matter what settings you have - they do cause kernel problems but they will not stop qemu. So it looks like it works fine on a tty with -nographic with the following settings in 2.6.X:

make menuconfig:

Device Driver --->
...
Character Devices --->

     ...
     Serial drivers --->
       ...
       [*] Console on 8250/16550 and compatible serial port

which results in

CONFIG_SERIAL_8250_CONSOLE=y

in the .config being set.

qemu then needs a:

-append "console=ttyS0"

this is necessary to get any output as qemu treats stdout on a terminal as serial device and not as VGA (which is what confused me).

thx for your help !

Nicholas Mc Guire                               e-mail: [email protected]
OpenTech EDV-Research GmbH                      Embedded GNU/Linux/RTLinux
Lichtenstein Str. 31 2130 Mistelbach            web   :http://www.opentech.at/
phone :+43 2572 201082                          fax   :+43 2572 201084

news: 7th Real Time Linux Workshop, 2-4 Nov 2004, Lille France - details at
http://www.realtimelinuxfoundation.org/events/events.html soon