* [uml-devel] 2.6.13.4-bs4 released - fixes for SKAS0 problems - careful about COW
@ 2005-10-15 11:25 Blaisorblade
2005-10-20 20:54 ` Phill Wombat
0 siblings, 1 reply; 4+ messages in thread
From: Blaisorblade @ 2005-10-15 11:25 UTC (permalink / raw)
To: user-mode-linux-user, user-mode-linux-devel, Kai Tan; +Cc: Jeff Dike, Nix
Ok, I've batched together the existing fixes and released -bs4.
It's really nice, it fixes various problems, as indicated on the website. But
it also restores the 2.6.12 COW format (see below) - so please beware to your
COW files!
Changelog follows
* -bs3 didn't apply on top of 2.6.13.3, because one of his patches was merged
in it. So remove it from -bs.
* CAREFUL : 2.6.13 kernel changed the COW format from all previous kernels in
an unintended way (and it wasn't our fault). -bs4 restores the previous
format, but this means you likely won't be able to use the same COW files
when switching from any 2.6.13 to -bs4; but -bs4 has the same format as any
<= 2.6.12 or >= 2.6.14 UML kernel.
* fix compilation of UML on x86_64 with SKAS0
* fix compilation of UML on i386 without SKAS mode
* fix SKAS0 mode assembly code - this could stop it from working on some old
GCC compilers (this happened, for instance, on GCC 3.2.3, and on RH 9).
--
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade
___________________________________
Yahoo! Mail - proteggi la tua casella di posta da virus
e posta indesiderata
http://mail.yahoo.it
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [uml-devel] 2.6.13.4-bs4 released - fixes for SKAS0 problems - careful about COW
2005-10-15 11:25 [uml-devel] 2.6.13.4-bs4 released - fixes for SKAS0 problems - careful about COW Blaisorblade
@ 2005-10-20 20:54 ` Phill Wombat
2005-10-21 9:20 ` Blaisorblade
0 siblings, 1 reply; 4+ messages in thread
From: Phill Wombat @ 2005-10-20 20:54 UTC (permalink / raw)
To: user-mode-linux-devel
Hi List,
Start the process of compiling 2.6.13.4-bs4.
x86_64 host, i386 UML.
Using same config as successful 2.6.12.5-bb12-skas0.
Some compile errors encountered:
================ SNIP ======================
SYMLINK arch/um/sys-i386/bitops.c
CC arch/um/sys-i386/bitops.o
CC arch/um/sys-i386/bugs.o
AS arch/um/sys-i386/checksum.o
CC arch/um/sys-i386/delay.o
CC arch/um/sys-i386/fault.o
CC arch/um/sys-i386/ksyms.o
CC arch/um/sys-i386/ldt.o
CC arch/um/sys-i386/ptrace.o
CC arch/um/sys-i386/ptrace_user.o
SYMLINK arch/um/sys-i386/semaphore.c
CC arch/um/sys-i386/semaphore.o
CC arch/um/sys-i386/signal.o
CC arch/um/sys-i386/sigcontext.o
AS arch/um/sys-i386/stub.o
CC arch/um/sys-i386/stub_segv.o
In file included from /usr/include/asm/sigcontext.h:7,
from arch/um/sys-i386/stub_segv.c:7:
/usr/include/asm-i386/sigcontext.h:18: error: redefinition of ‘struct _fpreg’
/usr/include/asm-i386/sigcontext.h:23: error: redefinition of ‘struct _fpxreg’
/usr/include/asm-i386/sigcontext.h:29: error: redefinition of ‘struct _xmmreg’
/usr/include/asm-i386/sigcontext.h:33: error: redefinition of ‘struct _fpstate’
/usr/include/asm-i386/sigcontext.h:57: error: redefinition of ‘struct sigcontext’
make[1]: *** [arch/um/sys-i386/stub_segv.o] Error 1
make: *** [arch/um/sys-i386] Error 2
CHK include/linux/version.h
make[1]: `arch/um/sys-i386/util/mk_sc' is up to date.
gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -D__arch_um__ -DSUBARCH=\"i386\" -Iarch/um/include -I/home/phill/linux-2.6.13/arch/um/kernel/tt/include -I/home/phill/linux-2.6.13/arch/um/kernel/skas/include -Dvmap=kernel_vmap -Din6addr_loopback=kernel_in6addr_loopback -Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask -fno-unit-at-a-time -m32 -U__i386__ -Ui386 -D_LARGEFILE64_SOURCE -Wdeclaration-after-statement -Wno-pointer-sign -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.0.1/include -D__KERNEL__ -Iinclude -S -o arch/um/kernel-offsets.s arch/um/sys-i386/kernel-offsets.c
CHK arch/um/kernel-offsets.h
make[1]: `arch/um/sys-i386/util/mk_thread' is up to date.
CC [M] arch/um/drivers/hostaudio_kern.o
LD [M] arch/um/drivers/hostaudio.o
================ SNIP ======================
Regards
Phill.
On Sat, 2005-10-15 at 13:25 +0200, Blaisorblade wrote:
> Ok, I've batched together the existing fixes and released -bs4.
> It's really nice, it fixes various problems, as indicated on the website. But
> it also restores the 2.6.12 COW format (see below) - so please beware to your
> COW files!
>
> Changelog follows
>
> * -bs3 didn't apply on top of 2.6.13.3, because one of his patches was merged
> in it. So remove it from -bs.
>
> * CAREFUL : 2.6.13 kernel changed the COW format from all previous kernels in
> an unintended way (and it wasn't our fault). -bs4 restores the previous
> format, but this means you likely won't be able to use the same COW files
> when switching from any 2.6.13 to -bs4; but -bs4 has the same format as any
> <= 2.6.12 or >= 2.6.14 UML kernel.
>
> * fix compilation of UML on x86_64 with SKAS0
>
> * fix compilation of UML on i386 without SKAS mode
>
> * fix SKAS0 mode assembly code - this could stop it from working on some old
> GCC compilers (this happened, for instance, on GCC 3.2.3, and on RH 9).
>
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [uml-devel] 2.6.13.4-bs4 released - fixes for SKAS0 problems - careful about COW
2005-10-20 20:54 ` Phill Wombat
@ 2005-10-21 9:20 ` Blaisorblade
2005-10-21 21:13 ` Phill Wombat
0 siblings, 1 reply; 4+ messages in thread
From: Blaisorblade @ 2005-10-21 9:20 UTC (permalink / raw)
To: user-mode-linux-devel; +Cc: Phill Wombat
[-- Attachment #1: Type: text/plain, Size: 1483 bytes --]
On Thursday 20 October 2005 22:54, Phill Wombat wrote:
> Hi List,
>
> Start the process of compiling 2.6.13.4-bs4.
>
> x86_64 host, i386 UML.
>
> Using same config as successful 2.6.12.5-bb12-skas0.
>
> Some compile errors encountered:
Can't reproduce that on my i386 host, and probably can't reproduce it on my
x86_64 compile environment (but I'm too lazy to reboot there).
I would bet your glibc headers have a bug somewhere (this seems a "double
inclusion of the same header" problem). However, try the attached patch.
> ================ SNIP ======================
> AS arch/um/sys-i386/stub.o
> CC arch/um/sys-i386/stub_segv.o
> In file included from /usr/include/asm/sigcontext.h:7,
> from arch/um/sys-i386/stub_segv.c:7:
> /usr/include/asm-i386/sigcontext.h:18: error: redefinition of ‘struct
> _fpreg’ /usr/include/asm-i386/sigcontext.h:23: error: redefinition of
> ‘struct _fpxreg’ /usr/include/asm-i386/sigcontext.h:29: error: redefinition
> of ‘struct _xmmreg’ /usr/include/asm-i386/sigcontext.h:33: error:
> redefinition of ‘struct _fpstate’ /usr/include/asm-i386/sigcontext.h:57:
> error: redefinition of ‘struct sigcontext’ make[1]: ***
> [arch/um/sys-i386/stub_segv.o] Error 1
--
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade
[-- Attachment #2: uml-stub-segv_c-compile-fix --]
[-- Type: text/x-diff, Size: 369 bytes --]
Index: linux-2.6.13/arch/um/sys-i386/stub_segv.c
===================================================================
--- linux-2.6.13.orig/arch/um/sys-i386/stub_segv.c
+++ linux-2.6.13/arch/um/sys-i386/stub_segv.c
@@ -4,7 +4,6 @@
*/
#include <signal.h>
-#include <asm/sigcontext.h>
#include <asm/unistd.h>
#include "uml-config.h"
#include "sysdep/sigcontext.h"
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [uml-devel] 2.6.13.4-bs4 released - fixes for SKAS0 problems - careful about COW
2005-10-21 9:20 ` Blaisorblade
@ 2005-10-21 21:13 ` Phill Wombat
0 siblings, 0 replies; 4+ messages in thread
From: Phill Wombat @ 2005-10-21 21:13 UTC (permalink / raw)
To: user-mode-linux-devel
Fixed!! Compiles OK now.
Thanks
Phill.
On Fri, 2005-10-21 at 11:20 +0200, Blaisorblade wrote:
> On Thursday 20 October 2005 22:54, Phill Wombat wrote:
> > Hi List,
> >
> > Start the process of compiling 2.6.13.4-bs4.
> >
> > x86_64 host, i386 UML.
> >
> > Using same config as successful 2.6.12.5-bb12-skas0.
> >
> > Some compile errors encountered:
> Can't reproduce that on my i386 host, and probably can't reproduce it on my
> x86_64 compile environment (but I'm too lazy to reboot there).
>
> I would bet your glibc headers have a bug somewhere (this seems a "double
> inclusion of the same header" problem). However, try the attached patch.
>
> > ================ SNIP ======================
>
> > AS arch/um/sys-i386/stub.o
> > CC arch/um/sys-i386/stub_segv.o
> > In file included from /usr/include/asm/sigcontext.h:7,
> > from arch/um/sys-i386/stub_segv.c:7:
> > /usr/include/asm-i386/sigcontext.h:18: error: redefinition of ‘struct
> > _fpreg’ /usr/include/asm-i386/sigcontext.h:23: error: redefinition of
> > ‘struct _fpxreg’ /usr/include/asm-i386/sigcontext.h:29: error: redefinition
> > of ‘struct _xmmreg’ /usr/include/asm-i386/sigcontext.h:33: error:
> > redefinition of ‘struct _fpstate’ /usr/include/asm-i386/sigcontext.h:57:
> > error: redefinition of ‘struct sigcontext’ make[1]: ***
> > [arch/um/sys-i386/stub_segv.o] Error 1
>
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-10-21 21:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-15 11:25 [uml-devel] 2.6.13.4-bs4 released - fixes for SKAS0 problems - careful about COW Blaisorblade
2005-10-20 20:54 ` Phill Wombat
2005-10-21 9:20 ` Blaisorblade
2005-10-21 21:13 ` Phill Wombat
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).