From: "Jiri Slaby" <jirislaby@gmail.com>
To: "Wagner Ferenc" <wferi@niif.hu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: RocketPort Linux driver errors on module reload
Date: Tue, 16 Oct 2007 23:19:28 +0200 [thread overview]
Message-ID: <4af2d03a0710161419n3727dbfev10b1319599d30b49@mail.gmail.com> (raw)
In-Reply-To: <87myujsdpr.fsf@szonett.ki.iif.hu>
On 10/16/07, Wagner Ferenc <wferi@niif.hu> wrote:
> Jiri Slaby <jirislaby@gmail.com> writes:
>
> > Anyway the driver faces another problem with pci refcounting (it
> > doesn't increment the counter) and the device might be removed from
> > it any time the pci bus code decides.
>
> That doesn't sound too good... Do you mean the module could stop
> working any time, even if its devices are being used continuously?
Hmm, nobody holds the reference according to the current
implementation, so the pci layer doesn't know that anybody is working
with it.
> > Are you willing to test to-pci-probing patches (i.e. patches which
> > converts the driver to the model introduced in linux 2.4)?
>
> Well yes. We've got a copule of such cards, which raises some
> interest in a proper driver. Just send the patches with some
> instructions along, or point me to a git branch if you prefer.
Maybe the git with stand-alone module would be better...
> > If not, I'll only increment the counter on modprobe and decrement it
> > on rmmod, since it would be a safe (in the meaning of not changing
> > that much code) way of fixing the problem.
>
> And what are the drawbacks of this simple solution?
Nothing, but it's not the proper way -- just a safe fallback. But you
can still say no :).
regards,
--js
next prev parent reply other threads:[~2007-10-16 21:19 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-15 9:55 Ferenc Wagner
2007-10-15 11:25 ` Jiri Slaby
2007-10-15 12:57 ` Ferenc Wagner
2007-10-15 19:09 ` Jiri Slaby
2007-10-16 7:47 ` Wagner Ferenc
2007-10-16 21:19 ` Jiri Slaby [this message]
2007-10-18 21:53 ` Ferenc Wagner
2007-10-18 22:08 ` Jiri Slaby
2007-10-18 22:48 ` Ferenc Wagner
2007-10-17 17:06 Nick Thompson
2007-10-17 19:35 ` Jiri Slaby
2007-10-17 19:48 ` Nick Thompson
2007-10-18 22:08 ` Jiri Slaby
2007-10-18 23:02 ` Nick Thompson
2007-12-08 10:00 ` Jiri Slaby
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=4af2d03a0710161419n3727dbfev10b1319599d30b49@mail.gmail.com \
--to=jirislaby@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=wferi@niif.hu \
/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®