2.6.13.4-bs4 released - fixes for SKAS0 problems - careful about COW
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).
Signature · 20 lines
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 [email protected] https://lists.sourceforge.net/lists/listinfo/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.
Quoted 16 lines · Blaisorblade
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.
Quoted 7 lines
* fix compilation of UML on
x86_64with 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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 9 lines · Phill Wombat
Hi List,
Start the process of compiling 2.6.13.4-bs4.
x86_64host, 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.
Quoted 13 lines
================ SNIP ======================
AS
arch/um/sys-i386/stub.o
CCarch/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
Signature · 3 lines
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
arch/um/sys-i386/stub_segv.c +0 -1
@@ -4,7 +4,6 @@*/ #include <signal.h> -#include <asm/sigcontext.h> #include <asm/unistd.h> #include "uml-config.h" #include "sysdep/sigcontext.h"
Fixed!! Compiles OK now.
Thanks
Phill.
Quoted 7 lines · Blaisorblade
Quoted 6 lines · Phill Wombat
Hi List,
Start the process of compiling 2.6.13.4-bs4.
x86_64host, i386 UML.
Quoted 23 lines
Quoted 3 lines
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_64compile 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.
Quoted 13 lines
================ SNIP ======================
AS
arch/um/sys-i386/stub.o
CCarch/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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel