From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zachary Amsden Subject: Re: Kernel panic while compiling kernel Date: Wed, 18 Feb 2004 11:08:33 -0800 Sender: xen-devel-admin@lists.sourceforge.net Message-ID: <4033B831.2080401@cisco.com> References: <4032C48C.8000602@cisco.com> <200402181317.27906.tvrtko@croadria.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: <200402181317.27906.tvrtko@croadria.com> Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: =?windows-1252?Q?=22Tvrtko_A=2E_Ur=9Aulin=22?= , xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org Tvrtko A. Uršulin wrote: >On Wednesday 18 February 2004 02:49, Zachary Amsden wrote: > > >>Just an observation - I've noticed that several of the include files >>include linux/config.h and some include xeno/config.h - also for some >> >> > >Hmmm... which ones? I have just grepped the whole tree and didn't find any... > > > xen/include/asm-i386/apic.h for one... and there are more dangerous looking things: xen/include/asm-i386/dma.h includes both "linux/config.h" and "linux/spinklock.h". This is very likely to be built into the drivers, and likely to cause major havoc if you change the cacheline size. >>other included files this is the case. Also, -nostdinc only seems to >>be applied to the arch/i386 branch - which means the drivers may be >>getting a different set of include paths. Perhaps some of your config >> >> > >...also true for this one. Where did you notice this no -nostdinc situation? > > Only arch/i386/Rules.mk specifies -nostdinc. This is really dangerous if you are not building on a 2.4.24 or very close kernel, and makes cross-compiling out of the question. I should have a patch for a slightly cleaner build today that you could try out. It's likely to be largish, since I may need to pull in some additional headers from 2.4.24. Zachary Amsden zamsden@cisco.com ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click