[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Failing kernel build when disabling CONFIG_4KSTACKS



Jonathan, thanks for your comments. 

I have downloaded the latest source of the kernel from
one of the Fedora ftp mirrors, installed this as
described in the Release Notes of Fedora Core 3. Then
I executed 'make clean' and 'make bzImage', first by
using the CONFIG_4KSTACKS set (default), which
succeeded, and then by disabling this setting, after
which the build failed with errors mentioned.

It is indeed strange, and I am simply interested to
understand what is going wrong. Next thing I'd like to
do is take the latest kernel from kernel.org and try
to do the same.

The Linuxant Driverloader solution is working, that
much I did try, but I preferred to do things myself.
Not for the sake of saving myself $20 for that
solution, but to satisfy my own curiosity.

Many thanks,

Jaap

--- Jonathan Berry <berryja gmail com> wrote:
> On 4/25/05, Jaap Hoetmer <jaaphoetmer yahoo com>
> wrote:
> > As I happened to have purchased a PCMCIA wireless
> card
> > needing Ndiswrapper, I tried to install this. The
> > build of Ndiswrapper warns about the kernel
> probably
> > needing more than 4k stack space. This kernel
> hacking
> > option can be unset, allowing 8k stack space.
> > 
> > When unsetting this CONFIG_4KSTACK option and
> building
> > the 2.6.11-1.14_FC3 kernel, the build ultimately
> > fails, complaining about :
> > 
> > arch/i386/kernel/built-in.o(.init.text+0x1a47): In
> > function `init_IRQ':
> > arch/i386/kernel/i8259.c:429: undefined reference
> to
> > `irq_ctx_init'
> >
>
arch/i386/kernel/built-in.o(.init.text+0x1a5e):arch/i386/kernel/i8259.c:429:
> > undefined reference to `irq_ctx_init'
> > make: *** [.tmp_vmlinux1] Error 1
> > 
> > Can someone explain what goes wrong here, and how
> this
> > can be resolved? 
> 
> Very interesting.  Simply, the linker has found a
> function call,
> namely 'irq_ctx_init' but it cannot find the code
> that should make up
> that function.  That's what it means by "undefined
> reference."  Looks
> like it is failing in the i8259.c file.  If you can
> figure out what
> module i8259 corresponds to, you can choose to not
> build it.  What
> changes did you make to the config file?  How are
> you building (with
> rpmbuild or make)?  Generally, though, building the
> kernel should not
> fail.  Something else is wrong, but I have no idea
> what.
> 
> > Do I really need more stackspace if
> > using Ndiswrapper and NDIS drivers?
> 
> Possibly not.  What chipset is your card?  Broadcom
> chipset devices
> seem to function fine with only 4k stacks (at least
> some do) so it is
> possible to use 4k stacks.  I suggest that you give
> it a try and then
> if it doesn't work, you can pursue the custom kernel
> further (unless
> of course you have other customizations that you
> want to make).  If
> all else fails, you can download a pre-built kernel
> with 16k stacks
> from Linuxant:
>
http://www.linuxant.com/driverloader/wlan/full/downloads.php
> 
> > Any help greatly appreciated!
> > 
> > Regards,
> > Jaap
> 
> Jonathan
> 
> -- 
> fedora-list mailing list
> fedora-list redhat com
> To unsubscribe:
> http://www.redhat.com/mailman/listinfo/fedora-list
> 

Send instant messages to your online friends http://uk.messenger.yahoo.com 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]