From: Christoph Hellwig <hch@infradead.org>
To: Paul Wagland <paul@kungfoocoder.org>
Cc: Linux SCSI mailing list <linux-scsi@vger.kernel.org>
Subject: Re: megaraid /proc under kernel 2.6.2
Date: Mon, 16 Feb 2004 09:59:01 +0000 [thread overview]
Message-ID: <20040216095901.A13715@infradead.org> (raw)
In-Reply-To: <1076884890.2943.265.camel@morsel.kungfoocoder.org>; from paul@kungfoocoder.org on Sun, Feb 15, 2004 at 11:41:31PM +0100
On Sun, Feb 15, 2004 at 11:41:31PM +0100, Paul Wagland wrote:
> partitions in use, one which is used for swap, one for /boot and one for
> a device mapper PV, even though my system is running, and using all
> three devices, the usage count on the megaraid driver is still 0, and I
> can rmmod the module, although doing so brings up:
>
> tidbit kernel: journal-601, buffer write failed
>
> which is, I assume, reiserfs bitching about the fact that it's backing
> device has just totally disappeared, and as soon as I try to do anything
> that wants read access to the disk, that program will freeze, but that
> is only to be expected. What is not expected is that I can remove a
> device that is in use...
>
> Does anyone know what is going on? I am investigating further, but I
> thought that I would throw this out so that people might be able to tell
> me where to look...
megaraid doesn't set the moduler owner for the host_template. Fix is below.
I don't have the lsightest idea about the procfs issue, though (and no
megaraid card neraby to test)
===== drivers/scsi/megaraid.c 1.59 vs edited =====
--- 1.59/drivers/scsi/megaraid.c Fri Jan 23 06:37:03 2004
+++ edited/drivers/scsi/megaraid.c Sun Feb 15 00:52:51 2004
@@ -4614,6 +4614,7 @@
}
static struct scsi_host_template megaraid_template = {
+ .module = THIS_MODULE,
.name = "MegaRAID",
.proc_name = "megaraid",
.info = megaraid_info,
next prev parent reply other threads:[~2004-02-16 9:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-15 22:41 megaraid /proc under kernel 2.6.2 Paul Wagland
2004-02-16 0:18 ` Paul Wagland
2004-02-16 23:04 ` *solved* " Paul Wagland
2004-02-17 16:57 ` Matthew Wilcox
2004-02-17 17:36 ` Paul Wagland
2004-02-16 1:56 ` Jeff Garzik
2004-02-16 8:33 ` Paul Wagland
2004-02-16 9:59 ` Christoph Hellwig [this message]
2004-02-16 21:03 ` Paul Wagland
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=20040216095901.A13715@infradead.org \
--to=hch@infradead.org \
--cc=linux-scsi@vger.kernel.org \
--cc=paul@kungfoocoder.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