From: Jean Tourrilhes <jt@bougret.hpl.hp.com>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: Linux kernel mailing list <linux-kernel@vger.kernel.org>,
Jeff Garzik <jgarzik@mandrakesoft.com>,
dahinds@users.sourceforge.net, davem@vger.kernel.org
Subject: Re: Status new-modules + 802.11b/IrDA
Date: Wed, 11 Dec 2002 09:43:05 -0800 [thread overview]
Message-ID: <20021211174305.GB11264@bougret.hpl.hp.com> (raw)
In-Reply-To: <20021211093007.B58402C093@lists.samba.org>
On Wed, Dec 11, 2002 at 07:34:53PM +1100, Rusty Russell wrote:
> In message <20021211010512.GA5853@bougret.hpl.hp.com> you write:
> > Hi,
>
> Hi Jean!
>
> Thanks for the report.
Yes, for a change I'm trying to be helpful ;-)
> > Debian Boot :
> > -----------
> > o Din't pick up new modutils in the init scripts. Probably
> > because I used install option 1b in README (/usr/local/sbin).
> > o Re-install with option 1a (/sbin), works fine.
> > o Maybe this needs to be in README.
>
> Debian have picked up the module-init-tools, so although they're a bit
> lagged as I type this, I expect this to become a less common occurrance.
I'm using stable, which mean that I'm lagging behind Debian...
> > Pcmcia and airo_cs :
> > ------------------
> > o Loads with error below, airo_cs driver is functional.
> > o i82365 cannot be unloaded, it's unsafe.
> > o removal of airo_cs : "Uninitialised timer!/nThis is a
> > warning. Your computer is OK". Call trace on demand. Also, the module
> > airo not removed (probably due to problem with airo_cs).
>
> That, in itself, should be harmless.
Yes, but this is new and I don't really like it. I suspect
something is wrong in the Pcmcia code itself. Last I tried was 2.5.46
and I see some suspicious init_timer() added where I would not expect,
and some missing where they would be needed.
Hum... Who is in charge ?
> > o re-insertion of the card : nothing happens. No messages.
> > o After reboot, /etc/init.d/pcmcia stop -> same thing + script
> > hang + a few [kmodule1? <defunct>]. This prevent the computer to
> > reboot or shutdown properly (== fsck at next boot).
>
> Wierd. The PCMCIA scripts make assumptions about layout of
> /lib/modules/`uname -r` which was broken by the removal of the
> directory hierarchy. It's not the only thing (mkinitrd also wants
> this). While relying on the layout of the kernel source tree is
> broken, no better alternatives have some up, so this is queued to be
> reverted once I test that it doesn't break the current tools (which
> *should* handle it).
I personally believe the timer thingy is important and cause
of problems.
> There is a known bug where an *old* rmmod will hang (it has the effect
> of "rmmod --wait": I have a patch to differentiate the two
> effectively, but it requires everyone to upgrade to 0.9 or above,
> which they have probably done by now).
> > o af_irda, irda-usb & irtty-sir are "unsafe". I tracked that
> > down to the use of MOD_INC_USE_COUNT. The header file module.h give
> > hints on how I should convert that to the new world (use
> > try_module_get), however your FAQ seems to say something else (just
> > remove them, they are useless). I'm quite confused, because those
> > MOD_INC_USE_COUNT have a definite purpose... I would appreciate more
> > guidance.
>
> Looking at these files:
>
> idra-usb.c: add "netdev->owner = THIS_MODULE;" and get rid of the
> MOD_INC_USE_COUNT.
This was the easy one.
> irtty-sir.c: The ldisc code needs an owner field, and it needs to use
> it. Until then, this warning is best left where it is.
Ok.
> af_irda: The caller needs to do something here, too. Dave?
Ok.
> Rusty.
Thanks a lot !
Jean
next prev parent reply other threads:[~2002-12-11 17:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-11 1:05 Jean Tourrilhes
2002-12-11 8:34 ` Rusty Russell
2002-12-11 17:40 ` Jeff Garzik
2002-12-11 22:41 ` Rusty Russell
2002-12-11 17:43 ` Jean Tourrilhes [this message]
2002-12-11 22:46 ` Rusty Russell
2002-12-12 0:50 ` Andrew Morton
2002-12-12 21:51 ` Benjamin Reed
2002-12-13 0:22 ` Jean Tourrilhes
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=20021211174305.GB11264@bougret.hpl.hp.com \
--to=jt@bougret.hpl.hp.com \
--cc=dahinds@users.sourceforge.net \
--cc=davem@vger.kernel.org \
--cc=jgarzik@mandrakesoft.com \
--cc=jt@hpl.hp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rusty@rustcorp.com.au \
/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
all inboxes | Powered by JetHome®