From: "Randy Pierce" <randy.pierce@virtualstorageinc.com>
To: linux-kernel@vger.kernel.org
Subject: sbull example on 2.6.18 fc5 x86_64 has refcount problem
Date: Sat, 30 Dec 2006 23:30:04 -0700 (MST) [thread overview]
Message-ID: <47362.192.168.0.26.1167546604.squirrel@www.virtualstorageinc.com> (raw)
Sorry if I am being dense here. I have been playing with the driver
examples in LDD3 specifically the sbull block level driver example. On
2.6.17 it was running OK after two little fixes ...
comment out include of config.h
and
end_that_request_last(req);
needs to be
end_that_request_last(req,0);
...
On 2.6.18 I now get the wrong refcount after loading the module. Of course
you can't unload the module then because you get ERROR: Module sbull is in
use
cat'ing /proc/modules shows an initial refcount of 8 ??
>cat /proc/modules | grep sbull
sbull 18192 8 - Live 0xffffffff884a1000
dmesg doesn't show any errors, nor does /var/log/messages.
This is my version...
>uname -a
Linux vstore1 2.6.18-1.2257.fc5 #1 SMP Fri Dec 15 16:07:14 EST 2006 x86_64
x86_64 x86_64 GNU/Linux
I am running a dual core AMD 64 bit machine.
What did I miss here? I didn't see anything in the archives. Please CC me
directly if you can help me out randy@virtualstorageinc.com
I really appreciate it. Thank you very much.
randy
reply other threads:[~2006-12-31 6:52 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=47362.192.168.0.26.1167546604.squirrel@www.virtualstorageinc.com \
--to=randy.pierce@virtualstorageinc.com \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®