From: Chris Mason <mason@suse.com>
To: stimits@idcomm.com, kernel-list <linux-kernel@vger.kernel.org>
Subject: Re: 2.4.5 Oops at boot
Date: Wed, 30 May 2001 17:22:34 -0400 [thread overview]
Message-ID: <578120000.991257754@tiny> (raw)
In-Reply-To: <3B156024.8BD057B4@idcomm.com>
On Wednesday, May 30, 2001 03:03:32 PM -0600 "D. Stimits"
<stimits@idcomm.com> wrote:
[ snip ]
> RAMDISK: Compressed image found at block 0
> Freeing initrd memory: 249k freed
> VFS: Mounted root (ext2 filesystem).
> Red Hat nash version 3.0.10 starting
> VFS: Mounted root (ext2 filesystem) readonly.
> change_root: old root has d_count=2
> Trying to unmount old root ... <1>Unable to handle kernel NULL pointer
> dereference at virtual address 00000010
> printing eip:
Can't say for sure without the oops decoded through ksymoops, but this
looks like the oops in rd_ioctl fixed by 2.4.5-ac3 and higher. I think the
following patch (taken from ac3) will be sufficient:
-chris
--- linux.vanilla/fs/block_dev.c Sat May 26 16:53:17 2001
+++ linux.ac/fs/block_dev.c Mon May 28 16:10:59 2001
@@ -603,6 +602,7 @@
if (!bdev->bd_op->ioctl)
return -EINVAL;
inode_fake.i_rdev=rdev;
+ inode_fake.i_bdev=bdev;
init_waitqueue_head(&inode_fake.i_wait);
set_fs(KERNEL_DS);
res = bdev->bd_op->ioctl(&inode_fake, NULL, cmd, arg);
next prev parent reply other threads:[~2001-05-30 21:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-30 21:03 2.4.5 Oops at boot D. Stimits
2001-05-30 21:22 ` Chris Mason [this message]
2001-05-31 0:05 ` D. Stimits
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=578120000.991257754@tiny \
--to=mason@suse.com \
--cc=linux-kernel@vger.kernel.org \
--cc=stimits@idcomm.com \
/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