linux-config.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jim Wright <JimWright@quick.cz>
To: linux-config@vger.kernel.org
Subject: HELP - configuring inclusion of module 8390, possible bug
Date: Mon, 21 Mar 2005 00:42:07 +0100	[thread overview]
Message-ID: <423E0A4F.9080406@quick.cz> (raw)

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/


                 reply	other threads:[~2005-03-20 23:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=423E0A4F.9080406@quick.cz \
    --to=jimwright@quick.cz \
    --cc=linux-config@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).