You are not logged in.

#1 2008-12-17 21:51:12

LiteHacker
Member
Registered: 2008-11-27
Posts: 38
Website

qemu with SDL issue (It ran the first time!)

Hello,

I wrote a small sample boot sector to see QEMU run it... It worked.. it displayed the little "Hello World" message I wrote in assembly...
I instructed the code to loop infinitely...

Now... how to turn it off? In X, I would just click the "X" and it turned off...

I tried running this in console to see if it will work without X... It worked... but then looped infinitely... Usual Ctrl+C of course didn't work. I went into another window and typed "top" to see where is qemu.. then I typed "kill [proc id]" ...it tells me I have no permission to do so... I didn't understand why, after all, I ran this thing as a regular user. I didn't want qemu to be taking up all CPU, so I decided to kill it with root. ....it worked, but for some reason, it killed my ability to do anything, including switching screens.

I did a hard reboot.. when I turn on X, it loads LXDE as usual, but for some reason, there is no background.. on the panel, some of the items are missing. Now, any time I try running qemu, it tells me "Could not initialize SDL - exiting" ....well, I am not sure what is wrong. Does anybody else?

I tried reinstalling sdl.. that didn't do anything...

Offline

#2 2008-12-18 00:11:42

LiteHacker
Member
Registered: 2008-11-27
Posts: 38
Website

Re: qemu with SDL issue (It ran the first time!)

Good news - LXDE starts up correctly again. (I restarted X) ... qemu works in X. It gives the error without X... possibly it would be fixed if I reset the computer? I am not going to reboot it for that though.. at least not yet.
Any input on this stuff would be great.

Offline

Board footer

Powered by FluxBB