So I got kernel 2.3.42 so that I could use netfilter and keep people from hijacking my 'net connection (the machine acts as a bridge between an ad-hoc 802.11 wireless network and the DSL line). Is 3.1.10 supposed to work with the new kernel, as a module?
Compiling it as a static part of the kernel appears to work, except it doesn't find my PCMCIA adapter because I have to pass a configuration parameter (extra_sockets=1) to the i82365 driver. Is there a way to pass this information other than with insmod?
Since afaik I have to use it as a module, I configured it as such using menuconfig, but I get unresolved symbols. In particular, depmod -ae sez:
depmod: *** Unresolved symbols in /lib/modules/2.3.42/pcmcia/ds.o depmod: pcmcia_lookup_bus depmod: *** Unresolved symbols in /lib/modules/2.3.42/pcmcia/i82365.o depmod: dead_socket depmod: *** Unresolved symbols in /lib/modules/2.3.42/pcmcia/yenta.o depmod: pci_find_parent_resource depmod: probe_irq_mask
I solved the dead_socket problem by defining it in i82365.c (it's just a static struct, normally resolved by linking with cs.o I assume), and got around the pcmcia_lookup_bus problem by not configuring CardBus support. The other two symbols are defined in arch/i386/kernel/irq.c and drivers/pci/pci.c (respectively) but I don't know what to do to get it to link against them. Is this a known problem, or something wrong with my system, or just a normal bug?
Appologies for my lack of kernel-hacker savvy,