> From: Keith Owens [mailto:[EMAIL PROTECTED]]
> 
> On Mon, 20 Nov 2000 15:28:25 -0800, 
> Randy Dunlap <[EMAIL PROTECTED]> wrote:
> >I'm having compile errors with kdb-v1.6-2.4.0-test11-pre7...
> >but I'm trying to use it on 2.4.0-test11.
> >I haven't seen any traffic about this.
> >Is kdb available for 2.4.0-test11?
> 
> Shortly, once I fix some problems.
> 
> >First error is in arch/kernel/i386/io-apic.c, line 1608,
> >  x86_capability |= constant;
> >needs to be
> >  x86_capability[0] |= constant;
> 
> -     boot_cpu_data.x86_capability |= X86_FEATURE_APIC;
> +     set_bit(X86_FEATURE_APIC, &boot_cpu_data.x86_capability);

Did that.

> >After this, arch/i386/kdb/i386-dis.c has a few errors (sample):
> >
> >gcc -D__KERNEL__ -I/work/linsrc/240-test11/include -Wall
> >-Wstrict-prototypes -O2 -fno-strict-aliasing -pipe 
> -march=i686   -c -o
> >i386-dis.o i386-dis.c
> >i386-dis.c: In function `print_insn_i386':
> >i386-dis.c:2143: `bfd_mach_i386_i386_intel_syntax' 
> >undeclared (first use in this function)
> 
> Defined in /usr/include/bfd.h, mine is binutils-2.9.5.0.22-6.  The
> disassembly code in kdb was upgraded to a recent gdb, you 
> probably need to upgrade binutils.

Did that.

Is there a kdb that works with test11 or test12-preX?

I made the changes above.  The test11 and test12-preX kernels
build but I get a hang during init (on some kind of parallel
port driver init).  (Pentium III, UP, 440BX/PIIX4 chipset,
IDE drives)

Thanks,
~Randy

Reply via email to