Fedora Core 2 patch
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
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
Quoted 25 lines · Jean-Michel POURE
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.md5I 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
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
Quoted 2 lines · Jean-Michel POURE
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
Quoted 9 lines · Hetz Ben Hamo
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.
Signature · 1 line
Alexander E. Patrakov
Re: [Qemu-devel] Fedora Core 2 as guest OS
In reply to Jean-Michel POUREQuoted 7 lines · Jean-Michel POURE
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.md5I 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.
Now you got me confused..
Which patch fixes the Fedora Core 2 as a host? any URL?
Thanks,
Hetz
Quoted 4 lines
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