xfs
[Top] [All Lists]

Re: Fwd: TAKE - Sync kdb v2.0-2.4.17 i386 code with xfs

To: Florin Iucha <florin@xxxxxxxxx>
Subject: Re: Fwd: TAKE - Sync kdb v2.0-2.4.17 i386 code with xfs
From: Steve Lord <lord@xxxxxxx>
Date: 04 Jan 2002 17:38:55 -0600
Cc: linux-xfs@xxxxxxxxxxx, kaos@xxxxxxxxxxxxxxxxxxxxxxxxx
In-reply-to: <20020104170418.B30706@xxxxxxxxx>
References: <20020104170418.B30706@xxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Fri, 2002-01-04 at 17:04, Florin Iucha wrote:
> > I have checked out latest linux-2.4-xfs branch and copied my old .config
> > from the same box and ran make oldconfig.
> > 
> > I was prompted as expected for "PAGEBUF" and "XFS", but not for kdb. When
> > compiling, however, compiling kdb failed. I went into "Kernel Haking" and
> > enabled "Kernel Hacking" and disabled kdb.
> > 
> > So:
> > 1. Why was kdb enabled without prompting me?
> > 2. Why do I need to enable kernel hacking in orderto be able to disable kdb?
> > 0. kdb doesn't compile
> 
> Actually the kernel doesn't compile, even without kdb, so probably most of
> the issues from my previous e-mail vanish:
> 
> -- cut here --
> gcc -D__KERNEL__ -I/usr/local/src/linux-2.4-xfs/linux/include  -Wall 
> -Wstrict-pr
> ototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
> -fomit-frame-pointe
> r -pipe -mpreferred-stack-boundary=2 -march=i686    -c -o traps.o traps.c
> traps.c: In function `unknown_nmi_error':
> traps.c:584: warning: implicit declaration of function `kdb'
> traps.c:584: `KDB_REASON_NMI' undeclared (first use in this function)
> traps.c:584: (Each undeclared identifier is reported only once
> traps.c:584: for each function it appears in.)
> make[1]: *** [traps.o] Error 1
> make[1]: Leaving directory 
> `/usr/local/src/linux-2.4-xfs/linux/arch/i386/kernel'
> make: *** [_dir_arch/i386/kernel] Error 2
> -- cut here --

>From a quick scan of the code it does indeed look like there is no
way to build with kdb turned off right now. Looks like a few too many
ifdefs were eliminated.

Steve

> 
> Thanks,
> florin
> 
> -- 
> 
> "If it's not broken, let's fix it till it is."
> 
> 41A9 2BDE 8E11 F1C5 87A6  03EE 34B3 E075 3B90 DFE4
-- 

Steve Lord                                      voice: +1-651-683-3511
Principal Engineer, Filesystem Software         email: lord@xxxxxxx


<Prev in Thread] Current Thread [Next in Thread>