WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] dom0 kernel crashes with kernel panic during boot

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] dom0 kernel crashes with kernel panic during boot
From: Jan Kundrat <jan.kundrat@xxxxxx>
Date: Mon, 15 Nov 2004 18:23:40 +0100 (CET)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 15 Nov 2004 20:24:39 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: <E1CTjc3-0007KE-00@xxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <E1CTjc3-0007KE-00@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> We've never tried XenLinux with an SSP/PIE-enabled version of GCC.
> You might want to try adding 
> "-nopie -fno-stack-protector -fno-stack-protector-all"
> to Linux's CFLAGS in the Linux root Makefile. 
> 
> Although perhaps these are already disabled -- Xen itself doesn't
> build at all with PIE or SSP turned on. 

still crashing. vmlinux is available, see my second message.

CFLAGS:

--- /usr/src/linux-2.6.9-xen0/Makefile  2004-11-15 17:37:04.000000000 
+0100
+++ /usr/src/linux-2.6.9-xen0/Makefile.original 2004-11-15 
17:34:28.000000000 +0100
@@ -204,8 +204,7 @@

 HOSTCC         = gcc
 HOSTCXX        = g++
-#HOSTCFLAGS    = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
-HOSTCFLAGS     = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer 
-nopie -fno-stack-protector -fno-stack-protector-all
+HOSTCFLAGS     = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
 HOSTCXXFLAGS   = -O2

 #      Decide whether to build built-in, modular, or both.
@@ -346,9 +345,7 @@
 CPPFLAGS        := -D__KERNEL__ $(LINUXINCLUDE)

 CFLAGS                 := -Wall -Wstrict-prototypes -Wno-trigraphs \
-                  -fno-strict-aliasing -fno-common \
-                  -nopie -fno-stack-protector -fno-stack-protector-all
-
+                  -fno-strict-aliasing -fno-common
 AFLAGS         := -D__ASSEMBLY__

 export VERSION PATCHLEVEL SUBLEVEL EXTRAVERSION LOCALVERSION 
KERNELRELEASE \

-- 
Jan Kundrat
jan.kundrat@xxxxxx



-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel