Eric> Finally finding some time to investigate it, I build insmod
Eric> with a -g and ran it under GDB. It turned out that the very
Eric> first call to bfd_make_empty_symbol() inside the loop is
Eric> returned a NULL pointer. I checked that the argument to the
Eric> function (abfd) wasn't NULL, but I didn't know whether it
Eric> actually pointed to reasonable stuff. I didn't relish the
Eric> thought of building binutils from scratch to step through
Eric> libbfd. I don't think I have enough disk space to do it.
This is not a problem with PCMCIA (at least, not very likely so). The
problem is that Red Hat 3.0.3 shipped with a bfd header file that's
inconsistent with the installed BFD library. There is a fixed insmod
RPM somewhere on the red hat ftp site (I think it's in the upgrades
directory, if memory serves).
--david