All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lou Langholtz <ldl@aros.net>
To: jds <jds@soltis.cc>
Cc: linux-kernel@vger.kernel.org, akpm@digeo.com
Subject: Re: Kernel Panic in 2.5.73-mm1 OOps part.
Date: Tue, 24 Jun 2003 16:00:48 -0600	[thread overview]
Message-ID: <3EF8CA10.4030701@aros.net> (raw)
In-Reply-To: <3EF8C9A3.5020206@aros.net>

[-- Attachment #1: Type: text/plain, Size: 475 bytes --]

>
>
>> .. . .
>
> I'm *guestimating* that the following patch will fix this problem. Let 
> me know if you use it wether it makes this problem go away or not. 
> Note that to me at least, blk_init_queue() should be responsible for 
> initializing this memory not the driver. Either way, something has to 
> initialize request_queue.kobj.kset otherwise I think this is the 
> result when the kset field can be any value.
>
Woops... pressed send before doing the attachment...

[-- Attachment #2: patch-2.5.73-nbd --]
[-- Type: text/plain, Size: 305 bytes --]

--- drivers/block/nbd.c	2003-06-24 14:39:59.043718133 -0600
+++ drivers/block/nbd-new.c	2003-06-24 15:28:04.318158305 -0600
@@ -695,6 +695,7 @@
 			put_disk(disk);
 			goto out;
 		}
+		memset(disk->queue, 0, sizeof(struct request_queue));
 		blk_init_queue(disk->queue, do_nbd_request, &nbd_lock);
 	}
 

  reply	other threads:[~2003-06-24 21:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-24 19:31 Kernel Panic in 2.5.73-mm1 OOps part jds
2003-06-24 20:09 ` Andrew Morton
2003-06-24 20:15 ` Lou Langholtz
2003-06-24 21:27   ` jds
2003-06-24 21:58 ` Lou Langholtz
2003-06-24 22:00   ` Lou Langholtz [this message]
2003-06-24 23:21     ` jds

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=3EF8CA10.4030701@aros.net \
    --to=ldl@aros.net \
    --cc=akpm@digeo.com \
    --cc=jds@soltis.cc \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.