qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Fedora Core 2 patch
@ 2004-06-24  9:14 Jean-Michel POURE
  2004-06-24  9:31 ` Hetz Ben Hamo
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Jean-Michel POURE @ 2004-06-24  9:14 UTC (permalink / raw)
  To: qemu devel Mailing list

Dear all,

I tested again the Fedora patch. The patch does not seem to solve problems, 
unless you are prepared to wait for days before booting up...

Maybe it should be removed from patch repository?
http://www.dad-answers.com/qemu/patches/Fedora-Core-2/

Fedora Core 2 image can be fetched for testing from:
http://www.poure.com/qemu/fedora-c2.img.tar.bz2
http://www.poure.com/qemu/fedora-c2.img.tar.bz2.md5

I read on a mailing-list that the Fedora Core 2 kernel was not compiled with 
GCC and contains some Redhat code as usual.

Testing Fedora Core 2 may simply be a whaste of time...

Cheers,
Jean-Michel

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

* Re: [Qemu-devel] Fedora Core 2 patch
  2004-06-24  9:14 [Qemu-devel] Fedora Core 2 patch Jean-Michel POURE
@ 2004-06-24  9:31 ` Hetz Ben Hamo
  2004-06-24 10:55   ` Alexander E. Patrakov
  2004-06-24 10:26 ` Jean-Michel POURE
  2004-06-24 12:17 ` [Qemu-devel] Fedora Core 2 as guest OS Fabrice Bellard
  2 siblings, 1 reply; 6+ messages in thread
From: Hetz Ben Hamo @ 2004-06-24  9:31 UTC (permalink / raw)
  To: qemu-devel, jm

I'm removing the patch for fedora.

The solution is simple. instead of just running qemu and sticking the 
parameters, you should do:

LD_ASSUME_KERNEL=2.2.5 qemu <and the qemu parameters>

Feel free to create an alias in your .bashrc or whatever you favorite shell 
is ;)

I tested it on Fedora Core 2 and in Rawhide - works perfectly OK.

Thanks,
Hetz

On Thursday 24 June 2004 12:14, Jean-Michel POURE wrote:
> Dear all,
>
> I tested again the Fedora patch. The patch does not seem to solve problems,
> unless you are prepared to wait for days before booting up...
>
> Maybe it should be removed from patch repository?
> http://www.dad-answers.com/qemu/patches/Fedora-Core-2/
>
> Fedora Core 2 image can be fetched for testing from:
> http://www.poure.com/qemu/fedora-c2.img.tar.bz2
> http://www.poure.com/qemu/fedora-c2.img.tar.bz2.md5
>
> I read on a mailing-list that the Fedora Core 2 kernel was not compiled
> with GCC and contains some Redhat code as usual.
>
> Testing Fedora Core 2 may simply be a whaste of time...
>
> Cheers,
> Jean-Michel
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel

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

* Re: [Qemu-devel] Fedora Core 2 patch
  2004-06-24  9:14 [Qemu-devel] Fedora Core 2 patch Jean-Michel POURE
  2004-06-24  9:31 ` Hetz Ben Hamo
@ 2004-06-24 10:26 ` Jean-Michel POURE
  2004-06-24 11:53   ` Hetz Ben Hamo
  2004-06-24 12:17 ` [Qemu-devel] Fedora Core 2 as guest OS Fabrice Bellard
  2 siblings, 1 reply; 6+ messages in thread
From: Jean-Michel POURE @ 2004-06-24 10:26 UTC (permalink / raw)
  To: qemu-devel

Le jeudi 24 Juin 2004 11:14, Jean-Michel POURE a écrit :
> I tested again the Fedora patch. The patch does not seem to solve problems,
> unless you are prepared to wait for days before booting up...

Just a quick note that this message was about running Fedora guest.
Fabrice writes me that the patch is supposed to solve Fedora host issues.

Sorry for the confusion. 
Jean-Michel

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

* Re: [Qemu-devel] Fedora Core 2 patch
  2004-06-24  9:31 ` Hetz Ben Hamo
@ 2004-06-24 10:55   ` Alexander E. Patrakov
  0 siblings, 0 replies; 6+ messages in thread
From: Alexander E. Patrakov @ 2004-06-24 10:55 UTC (permalink / raw)
  To: qemu-devel

Hetz Ben Hamo wrote:
> I'm removing the patch for fedora.
> 
> The solution is simple. instead of just running qemu and sticking the 
> parameters, you should do:
> 
> LD_ASSUME_KERNEL=2.2.5 qemu <and the qemu parameters>
> 
> Feel free to create an alias in your .bashrc or whatever you favorite shell 
> is ;)
> 
> I tested it on Fedora Core 2 and in Rawhide - works perfectly OK.

Unfortunately, this solution is not acceptable for me. The problem is 
that it relies upon RedHat-specific glibc setup.

RedHat provides separate glibc libraries for TLS and (obsolete) non-TLS 
systems. The LD_ASSUME_KERNEL variable selects between them and forces 
qemu to use the old library.

On my system (LFS CVS HEAD as of April 2004) there is just NO non-TLS 
version of glibc, so this "solution" doesn't work. The same applies to 
most of modern source-based distros (e.g. Gentoo).

Probably we have to insert into the ./configure script a test for the 
brokenness that forces us to use __libc_sigaction on older systems, and 
use __libc_sigaction ONLY if the regular sigaction is broken. 
Unfortunately, I can't do this myself because I don't know what exactly 
is broken and therefore I can't write the testcase.

Yes, this means that there will be no single portable binary 
distribution. But it is not worse than the current situation with 
non-working qemu binary.

-- 
Alexander E. Patrakov

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

* Re: [Qemu-devel] Fedora Core 2 patch
  2004-06-24 10:26 ` Jean-Michel POURE
@ 2004-06-24 11:53   ` Hetz Ben Hamo
  0 siblings, 0 replies; 6+ messages in thread
From: Hetz Ben Hamo @ 2004-06-24 11:53 UTC (permalink / raw)
  To: jm, qemu-devel

Now you got me confused..

Which patch fixes the Fedora Core 2 as a host? any URL?

Thanks,
Hetz

> Just a quick note that this message was about running Fedora guest.
> Fabrice writes me that the patch is supposed to solve Fedora host issues.
> 
> Sorry for the confusion. 
> Jean-Michel

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

* Re: [Qemu-devel] Fedora Core 2 as guest OS
  2004-06-24  9:14 [Qemu-devel] Fedora Core 2 patch Jean-Michel POURE
  2004-06-24  9:31 ` Hetz Ben Hamo
  2004-06-24 10:26 ` Jean-Michel POURE
@ 2004-06-24 12:17 ` Fabrice Bellard
  2 siblings, 0 replies; 6+ messages in thread
From: Fabrice Bellard @ 2004-06-24 12:17 UTC (permalink / raw)
  To: qemu-devel

Jean-Michel POURE wrote:

> Fedora Core 2 image can be fetched for testing from:
> http://www.poure.com/qemu/fedora-c2.img.tar.bz2
> http://www.poure.com/qemu/fedora-c2.img.tar.bz2.md5
> 
> I read on a mailing-list that the Fedora Core 2 kernel was not compiled with 
> GCC and contains some Redhat code as usual.
> 
> Testing Fedora Core 2 may simply be a whaste of time...

This is a generic timer problem linked to the fact that a 2.6.x guest 
kernel is used. This problem especially arises if you are using a 2.4.x 
host kernel.

A workaround is to add "clock=pit" on the guest kernel command line 
(type 'linux clock=pit' as boot argument in the Fedora installer).

If you use a 2.4.x kernel, make sure you also did
'echo 1024 > /proc/sys/dev/rtc/max-user-freq' as root.

Fabrice.

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

end of thread, other threads:[~2004-06-24 22:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-24  9:14 [Qemu-devel] Fedora Core 2 patch Jean-Michel POURE
2004-06-24  9:31 ` Hetz Ben Hamo
2004-06-24 10:55   ` Alexander E. Patrakov
2004-06-24 10:26 ` Jean-Michel POURE
2004-06-24 11:53   ` Hetz Ben Hamo
2004-06-24 12:17 ` [Qemu-devel] Fedora Core 2 as guest OS Fabrice Bellard

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).