On Mon, Jan 12, 2004 at 03:40:31PM -0500, Mike Westkamper wrote: > > I am trying to build a Fedora Core 1 kernel to match my machine > configuration. The install version does not include support for my EISA > SCSI. > > I am following the procedure outlined for RH9 precisely. > > make bzImage > > (After some time I get the following:) > > kernel/kernel.o(.text+0x1033): In function 'schedule': > :undefined reference to 'active_load_balance' > make[1]: *** [kallsyms] error 1 > > (the make process terminates) > > I have the Makefile, .config and other files for reference. > > Any help will be greatly appreciated. This is a long-standing and well-known bug in /usr/src/linux/kernel/sched.c It has been in all of the Fedora kernel source packages and never been fixed, although the fix is perfectly simple. This bug did impede an i686 rebuild, but not an athlon rebuild. In that file, there is one relevant function definition inside an #ifdef. It should be outside. Move it down one line, thusly: $ diff -c sched.cSTD sched.c *** sched.cSTD Wed Jan 7 12:49:58 2004 --- sched.c Mon Jan 19 13:49:07 2004 *************** *** 214,221 **** # define cpu_active_balance(c) 0 # define do_active_balance(rq, cpu) do { } while (0) # define rq_nr_cpus(rq) 1 - static inline void active_load_balance(runqueue_t *rq, int this_cpu) { } #endif typedef struct cpu_s { task_t *curr, *idle; --- 214,221 ---- # define cpu_active_balance(c) 0 # define do_active_balance(rq, cpu) do { } while (0) # define rq_nr_cpus(rq) 1 #endif + static inline void active_load_balance(runqueue_t *rq, int this_cpu) { } typedef struct cpu_s { task_t *curr, *idle; -- David A. De Graaf DATIX, Inc. Hendersonville, NC dad@xxxxxxxxxxxx (828) 696-8646; fax (828) 694-1037