public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Paul Wagland <paul@kungfoocoder.org>
To: Christoph Hellwig <hch@infradead.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 22:03:03 +0100	[thread overview]
Message-ID: <1076965383.2263.5.camel@morsel.kungfoocoder.org> (raw)
In-Reply-To: <20040216095901.A13715@infradead.org>

On Mon, 2004-02-16 at 10:59, Christoph Hellwig wrote:
> 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:

> megaraid doesn't set the moduler owner for the host_template.  Fix is below.

This patch does indeed fix the problem, thank you!

> ===== 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,
> -


> I don't have the lsightest idea about the procfs issue, though (and no
> megaraid card neraby to test)

I still have no idea what is happening here, but it is tax time so I
don't really have the time to look tonight ;-) I will try to look
further at it tomorrow...

Cheers,
Paul


      reply	other threads:[~2004-02-16 21:03 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
2004-02-16 21:03   ` Paul Wagland [this message]

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=1076965383.2263.5.camel@morsel.kungfoocoder.org \
    --to=paul@kungfoocoder.org \
    --cc=hch@infradead.org \
    --cc=linux-scsi@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