qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Linux 2.6.10 ?
@ 2005-05-08  6:24 Der Herr Hofrat
  2005-05-08 10:16 ` Christian MICHON
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Der Herr Hofrat @ 2005-05-08  6:24 UTC (permalink / raw)
  To: qemu-devel


Hi !

 does anybody have a 2.6.X (preferably 2.6.10) running under qemu ?
 trying to launch it (passed with -kernel) fails - it simply gives me
 
 (qemu)

 thats it - the 2.6.10 is compiled as generic 686 and works fine on the box

thx !

Nicholas Mc Guire                               e-mail: der.herr@hofr.at
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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Qemu-devel] Linux 2.6.10 ?
  2005-05-08  6:24 [Qemu-devel] Linux 2.6.10 ? Der Herr Hofrat
@ 2005-05-08 10:16 ` Christian MICHON
  2005-05-08 17:35   ` Der Herr Hofrat
  2005-05-08 10:43 ` Paul Brook
  2005-05-08 16:25 ` Herbert Poetzl
  2 siblings, 1 reply; 12+ messages in thread
From: Christian MICHON @ 2005-05-08 10:16 UTC (permalink / raw)
  To: qemu-devel

it's ok with me on a XP host and running linux 2.6.10 with either
-kernel option (remember you need an -hda too) and inside an iso.

It also works inside a -fda too.

What is your exact cmd line ?

Christian

On 5/8/05, Der Herr Hofrat <der.herr@hofr.at> wrote:
> 
> Hi !
> 
>  does anybody have a 2.6.X (preferably 2.6.10) running under qemu ?
>  trying to launch it (passed with -kernel) fails - it simply gives me
> 
>  (qemu)
> 
>  thats it - the 2.6.10 is compiled as generic 686 and works fine on the box
> 
> thx !
> 
> Nicholas Mc Guire                               e-mail: der.herr@hofr.at
> 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
> 
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
> 


-- 
Christian

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Qemu-devel] Linux 2.6.10 ?
  2005-05-08  6:24 [Qemu-devel] Linux 2.6.10 ? Der Herr Hofrat
  2005-05-08 10:16 ` Christian MICHON
@ 2005-05-08 10:43 ` Paul Brook
  2005-05-08 17:32   ` Der Herr Hofrat
  2005-05-08 16:25 ` Herbert Poetzl
  2 siblings, 1 reply; 12+ messages in thread
From: Paul Brook @ 2005-05-08 10:43 UTC (permalink / raw)
  To: qemu-devel

On Sunday 08 May 2005 07:24, Der Herr Hofrat wrote:
> Hi !
>
>  does anybody have a 2.6.X (preferably 2.6.10) running under qemu ?
>  trying to launch it (passed with -kernel) fails - it simply gives me
>
>  (qemu)

You need to make sure you have the sdl development headers and libraries 
installed when you compile qemu. Otherwise all graphical output will be 
disabled.

Check that configure says "SDL support   yes"

The other alternative is to configure your guest to communicate over the 
serial port.

Paul

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Qemu-devel] Linux 2.6.10 ?
  2005-05-08  6:24 [Qemu-devel] Linux 2.6.10 ? Der Herr Hofrat
  2005-05-08 10:16 ` Christian MICHON
  2005-05-08 10:43 ` Paul Brook
@ 2005-05-08 16:25 ` Herbert Poetzl
  2005-05-08 17:53   ` Der Herr Hofrat
  2 siblings, 1 reply; 12+ messages in thread
From: Herbert Poetzl @ 2005-05-08 16:25 UTC (permalink / raw)
  To: Der Herr Hofrat; +Cc: qemu-devel

On Sun, May 08, 2005 at 08:24:57AM +0200, Der Herr Hofrat wrote:
> 
> Hi !
> 
>  does anybody have a 2.6.X (preferably 2.6.10) running under qemu ?
>  trying to launch it (passed with -kernel) fails - it simply gives me

works fine here with and without graphical output
for using qemu-fast x86/x86 you might want to look
at the following patches/configs:

 http://vserver.13thfloor.at/Stuff/QEMU/

HTH,
Herbert

>  (qemu)
> 
>  thats it - the 2.6.10 is compiled as generic 686 and works fine on the box
> 
> thx !
> 
> Nicholas Mc Guire                               e-mail: der.herr@hofr.at
> 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
> 
> 
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Qemu-devel] Linux 2.6.10 ?
  2005-05-08 10:43 ` Paul Brook
@ 2005-05-08 17:32   ` Der Herr Hofrat
  0 siblings, 0 replies; 12+ messages in thread
From: Der Herr Hofrat @ 2005-05-08 17:32 UTC (permalink / raw)
  To: Paul Brook; +Cc: qemu-devel

> On Sunday 08 May 2005 07:24, Der Herr Hofrat wrote:
> > Hi !
> >
> >  does anybody have a 2.6.X (preferably 2.6.10) running under qemu ?
> >  trying to launch it (passed with -kernel) fails - it simply gives me
> >
> >  (qemu)
> 
> You need to make sure you have the sdl development headers and libraries 
> installed when you compile qemu. Otherwise all graphical output will be 
> disabled.
> 
> Check that configure says "SDL support   yes"
> 
> The other alternative is to configure your guest to communicate over the 
> serial port.
>
I checked that by using the 2.4.21 that came packaged in the linux-test - that
boots up without any problems - 2.4.26 (Slackware default kernel) also worked
so I assumed its really related to 2.6.X.

SDL support is set to yes - but boot tests were done with -nographic .

thx!

Nicholas Mc Guire                               e-mail: der.herr@hofr.at
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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Qemu-devel] Linux 2.6.10 ?
  2005-05-08 10:16 ` Christian MICHON
@ 2005-05-08 17:35   ` Der Herr Hofrat
  2005-05-09  0:18     ` Henrik Nordstrom
  0 siblings, 1 reply; 12+ messages in thread
From: Der Herr Hofrat @ 2005-05-08 17:35 UTC (permalink / raw)
  To: Christian MICHON, qemu-devel

> it's ok with me on a XP host and running linux 2.6.10 with either
> -kernel option (remember you need an -hda too) and inside an iso.
> 
> It also works inside a -fda too.
> 
> What is your exact cmd line ?
>
 
qemu -nographic \
	-hda linux.img \
	-kernel bzImage \
	-append "root=/dev/hda mem=64M"

The same kernel boots on the system without any problem - in fact it was 
running whyle trying to run qemu - so I guess its not a basic config problem
of the kernel. There is absolutely no output from the boot process what so
ever though.

thx !

Nicholas Mc Guire                               e-mail: der.herr@hofr.at
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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Qemu-devel] Linux 2.6.10 ?
  2005-05-08 16:25 ` Herbert Poetzl
@ 2005-05-08 17:53   ` Der Herr Hofrat
  2005-05-08 21:09     ` Christian MICHON
  0 siblings, 1 reply; 12+ messages in thread
From: Der Herr Hofrat @ 2005-05-08 17:53 UTC (permalink / raw)
  To: Herbert Poetzl; +Cc: qemu-devel

> On Sun, May 08, 2005 at 08:24:57AM +0200, Der Herr Hofrat wrote:
> > 
> > Hi !
> > 
> >  does anybody have a 2.6.X (preferably 2.6.10) running under qemu ?
> >  trying to launch it (passed with -kernel) fails - it simply gives me
> 
> works fine here with and without graphical output
> for using qemu-fast x86/x86 you might want to look
> at the following patches/configs:
> 
>  http://vserver.13thfloor.at/Stuff/QEMU/
>
just grabed the bzImage from your web-page and checked what it does - same
behavior the only output is a single line:

(qemu)

I noticed that you had a number of patches in that directory and had mirrors
of qemu up to 0.6.1 - I'm trying this with 0.6.2 - so did you have to apply
any of those patches in there to get it to work with 0.6.1 ?

thx !

Nicholas Mc Guire                               e-mail: der.herr@hofr.at
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
 

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Qemu-devel] Linux 2.6.10 ?
  2005-05-08 17:53   ` Der Herr Hofrat
@ 2005-05-08 21:09     ` Christian MICHON
  0 siblings, 0 replies; 12+ messages in thread
From: Christian MICHON @ 2005-05-08 21:09 UTC (permalink / raw)
  To: qemu-devel

for me it's working on a XP host with qemu 0.7.0.
I can see the ouput errors on the serial console of qemu. Neat :)
I just miss a initrd...

I've been compiling 2.6.x guests since qemu 0.6.0, and the only pb
I have are regarding stable framebuffer switching. It works on the host
but not always inside qemu :(

Christian

On 5/8/05, Der Herr Hofrat <der.herr@hofr.at> wrote:
> >
> >  http://vserver.13thfloor.at/Stuff/QEMU/
> >
> just grabed the bzImage from your web-page and checked what it does - same
> behavior the only output is a single line:
> 
> (qemu)
> 
> I noticed that you had a number of patches in that directory and had mirrors
> of qemu up to 0.6.1 - I'm trying this with 0.6.2 - so did you have to apply
> any of those patches in there to get it to work with 0.6.1 ?
> 
> thx !

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Qemu-devel] Linux 2.6.10 ?
  2005-05-08 17:35   ` Der Herr Hofrat
@ 2005-05-09  0:18     ` Henrik Nordstrom
  2005-05-09  9:10       ` Der Herr Hofrat
  0 siblings, 1 reply; 12+ messages in thread
From: Henrik Nordstrom @ 2005-05-09  0:18 UTC (permalink / raw)
  To: qemu-devel

On Sun, 8 May 2005, Der Herr Hofrat wrote:

>> it's ok with me on a XP host and running linux 2.6.10 with either
>> -kernel option (remember you need an -hda too) and inside an iso.
>>
>> It also works inside a -fda too.
>>
>> What is your exact cmd line ?
>>
>
> qemu -nographic \
> 	-hda linux.img \
> 	-kernel bzImage \
> 	-append "root=/dev/hda mem=64M"

Eh? -nographic but you didn't tell the kernel to use the serial port as 
console? Where is the kernel output supposed to go here?

-append "root=/dev/hda mem=64M console=ttyS0"

should work better.

Regards
Henrik

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Qemu-devel] Linux 2.6.10 ?
  2005-05-09  0:18     ` Henrik Nordstrom
@ 2005-05-09  9:10       ` Der Herr Hofrat
  2005-05-09 14:45         ` Christian MICHON
  2005-05-10 13:46         ` Henrik Nordstrom
  0 siblings, 2 replies; 12+ messages in thread
From: Der Herr Hofrat @ 2005-05-09  9:10 UTC (permalink / raw)
  To: qemu-devel

> On Sun, 8 May 2005, Der Herr Hofrat wrote:
> 
> >> it's ok with me on a XP host and running linux 2.6.10 with either
> >> -kernel option (remember you need an -hda too) and inside an iso.
> >>
> >> It also works inside a -fda too.
> >>
> >> What is your exact cmd line ?
> >>
> >
> > qemu -nographic \
> > 	-hda linux.img \
> > 	-kernel bzImage \
> > 	-append "root=/dev/hda mem=64M"
> 
> Eh? -nographic but you didn't tell the kernel to use the serial port as 
> console? Where is the kernel output supposed to go here?
> 
> -append "root=/dev/hda mem=64M console=ttyS0"
> 
> should work better.
>
console= only would influence the output of init and beond
atleast up to the attempt to open the console
the kernel messages should appear any way.
as they do with 2.4.21. I'l give it a shot with a setup from scratch - as this
is my first attempt at qemu I might have doene something very basic
wrong.

thanks!
 
Nicholas Mc Guire                               e-mail: der.herr@hofr.at
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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Qemu-devel] Linux 2.6.10 ?
  2005-05-09  9:10       ` Der Herr Hofrat
@ 2005-05-09 14:45         ` Christian MICHON
  2005-05-10 13:46         ` Henrik Nordstrom
  1 sibling, 0 replies; 12+ messages in thread
From: Christian MICHON @ 2005-05-09 14:45 UTC (permalink / raw)
  To: qemu-devel

@Nicholas

Just to make sure, I'll be sending you off-list a "tiny" 2.6.10 kernel with
a minimalistic embedded initramfs. It's quite small (<600k),
just to check qemu is working fine.

To use it, just do (tested with mingw/qemu-0.7.0):
qemu-img create -f qcow hda.img 32M
qemu -L . -hda hda.img -kernel tiny

This kernel is self-sufficient, and only needs "-kernel" to boot. :)

Christian

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Qemu-devel] Linux 2.6.10 ?
  2005-05-09  9:10       ` Der Herr Hofrat
  2005-05-09 14:45         ` Christian MICHON
@ 2005-05-10 13:46         ` Henrik Nordstrom
  1 sibling, 0 replies; 12+ messages in thread
From: Henrik Nordstrom @ 2005-05-10 13:46 UTC (permalink / raw)
  To: qemu-devel

On Mon, 9 May 2005, Der Herr Hofrat wrote:

> console= only would influence the output of init and beond
> atleast up to the attempt to open the console
> the kernel messages should appear any way.
> as they do with 2.4.21.

You don't get any kenel console output in Linux-2.4 or Linux-2.6 if 
console= is not specified and -nographic is used. This because the VGA 
controller is still precent according to the PCI BIOS, just not emulated. 
Because the Linux kernel finds the VGA controller it automatically selects 
this as the kernel console.

If you compile your kernel without VGA console support then specifying 
console= is not required, as the kernel will then automatically select the 
serial console as this is the first available console device the kernel 
knows about.

Regards
Henrik

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2005-05-10 13:48 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-08  6:24 [Qemu-devel] Linux 2.6.10 ? Der Herr Hofrat
2005-05-08 10:16 ` Christian MICHON
2005-05-08 17:35   ` Der Herr Hofrat
2005-05-09  0:18     ` Henrik Nordstrom
2005-05-09  9:10       ` Der Herr Hofrat
2005-05-09 14:45         ` Christian MICHON
2005-05-10 13:46         ` Henrik Nordstrom
2005-05-08 10:43 ` Paul Brook
2005-05-08 17:32   ` Der Herr Hofrat
2005-05-08 16:25 ` Herbert Poetzl
2005-05-08 17:53   ` Der Herr Hofrat
2005-05-08 21:09     ` Christian MICHON

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).