qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] Problem with qemu-system-mips. Only got a black scree


From: Jaime
Subject: Re: [Qemu-discuss] Problem with qemu-system-mips. Only got a black screen
Date: Thu, 04 Oct 2012 21:21:30 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120912 Thunderbird/15.0.1


On 04/10/12 20:02, Mike Lovell wrote:
On 10/03/2012 02:57 PM, Jaime wrote:

Hello,

I'm trying to use qemu-system-mips with no results, nothing but a black screen appears.
I've used both qemu package from ubuntu 12.04 (1.0.50)  and local version compiled (1.2.0 and 1.2.50) with same results.
Here is the configure:
./configure --target-list=mips-softmmu,mips-linux-user
make

It compiles without problem. But when running:

mips-softmmu/qemu-system-mips -kernel ~/Descargas/mips-test/vmlinux-2.6.18-3-qemu  -initrd ~/Descargas/mips-test/initrd.gz --append "console=/dev/ttyS0,init=/bin/bash"

this shows a black screen, anything else, no messages in the window nor in the console.
I downloaded mips-test image from http://wiki.qemu.org/Testing but also I've tested other (which is the one I'm interested on, using OpenWrt) with same results.

Any idea what's going on?

Thanks!

Jaime

the window that opens when you run qemu-system-* is the graphical console output of the guest. pressing ctrl-alt-1 will change to the console for the qemu monitor. pressing ctrl-alt-2 will change to a console for a serial port to the guest. the "console=/dev/ttyS0" option on --append tells the kernel to use a serial console for its output which should show up when you change to the serial console by pressing ctrl-alt-2.

mike
I've checked both graphical output and console (with ctr-alt-1 and ctrl-alt-3) but they're empty. I get a "normal" behaviour if I test qemu-system-i386, the console starts to print a lot of information. Regardless something is wrong with initrd or append parameters, at least you will see some output sent by the emulated kernel. This isn't happening when executing qemu-system-mips, nothing appears to run (except for the fact that the process is consuming 99% of cpu resources), the console doesn't even show an error message.
I've tested also other "--append" and -nographic combinations with the same result.

This is my cpu:

vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Core(TM)2 Duo CPU     T9300  @ 2.50GHz
flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm dtherm tpr_shadow vnmi flexpriority
bogomips        : 4987.51
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual

Could it be some cpu, or libraries issue?

Thanks

Jaime




reply via email to

[Prev in Thread] Current Thread [Next in Thread]