From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jim Wright Subject: HELP - configuring inclusion of module 8390, possible bug Date: Mon, 21 Mar 2005 00:42:07 +0100 Message-ID: <423E0A4F.9080406@quick.cz> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-config-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-config@vger.kernel.org Hi, I have been trying to get an old Toshiba 210cs laptop working with Linux. I am basing the installation on Fedora 3 as per my desktop machine, even though the laptop has only 16MB RAM. It's proving possible ;-) My latest problem is that cardmgr needs to load both 8390.ko and pcnet_cs.ko but 8390.ko does not exist in my trimmed down kernel RPM. The question is, why? pcnet_cs.ko is there and 8390.ko is in the standard Fedora 3 RPM. My RPM BUILD directory has this file: kernel-2.6.10/linux-2.6.10/drivers/net/Makefile containing this line: obj-$(CONFIG_PCMCIA_PCNET) += 8390.o and the .config file has: CONFIG_PCMCIA_PCNET=m so presumably there is a list $(obj-m) of modules and a list $(obj-y) of compiled in "modules" and those that are in the $(obj-y) list and removed from those in the $(obj-m) list to arrive at the list that should be available as .ko files? This seems straightforward. I'm a Java programmer now but this Gnu Makefile stuff is still vaguely familar. So why the **** does it not work as it appears it should in my hacked rpmbuild. Maybe its not the way it appears. Maybe it is as it appears except that there is some bug. A second opinion would be much appreciated, thanks. Should it work like I think? etc. One possiblity is that 8390.o is compiled into the kernel. My /var/log/messages has this: ... cardmgr[...]: executing: 'modprobe 8390 2>&1' ... cardmgr[...]: + FATAL: Module 8390 not found. which I guess would not happen if the module was compiled into the kernel. I do not know, but I have also browsed the list of modules/options that have configuration value "y" and my kernel but "m" or "n" in the Fedora kernel and have not found any that look like they might result in addition of 8390.o to the $(obj-y) list. If there is a bug then it might be that it does not exhibit in the Fedora kernel build because the module 8390.ko is successfully included for some other reason. TIA, Jim -- http://be.webz.cz/