linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Helge Hafting <helgehaf@aitel.hist.no>
To: Neil Brown <neilb@cse.unsw.edu.au>
Cc: Andrew Morton <akpm@digeo.com>,
	linux-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: Re: 2.5.70-mm4 this helped but still no raid0
Date: Thu, 5 Jun 2003 17:24:20 +0200	[thread overview]
Message-ID: <20030605152420.GA951@hh.idb.hist.no> (raw)
In-Reply-To: <16094.41647.614418.452777@notabene.cse.unsw.edu.au>

On Thu, Jun 05, 2003 at 11:53:51AM +1000, Neil Brown wrote:
[...]
> grrr... I thought I had that right...
> 
> You need to remove the two calls to 'kfree' at the end of 
> create_strip_zones.
> 
I commented out the two kfree's, and the kernel managed to boot.
But the raid-0 array didn't work.  The boot scripts
tried to fsck it, but couldn't get a valid ext2 superblock.
(fsck -f under 2.5.69-mm8 showed no problems, the fs was clean.)

Then it was mount time.  Various partition and raid-1 based
fses mounted fine, but mounting the raid-0 on /usr/src killed the kernel:
 
unable to handle kernel NULL pointer deref at virtual address 00000014
PREEMPTSMP
EIP at raid0_make_request
process mount
bh_lru_install
generic_make_request
autoremove_wake_function
bio_alloc
submit_bio
__bread_slow_wq
__bread
ext2_fill_super
sb_set_blocksize
get_sb_bdev
alloc_vfsmnt
ext2_get_sb
ext2_fill_super
do_kern_mount
do_add_mount
do_mount
copy_mount_options
sys_mount
syscall_call


Looks like something else is wrong with raid-0.

> I have jsut sent some patches to Linus (and linux-raid@vger) which
> will update his tree to include this fix.
> 
Were there anything more than removal of the two kfrees?

Helge Hafting
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>

  reply	other threads:[~2003-06-05 15:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-04  6:18 2.5.70-mm4 Andrew Morton
2003-06-04  8:12 ` 2.5.70-mm4 RAID1 seems to work! Helge Hafting
2003-06-04 13:55 ` 2.5.70-mm4 Paul Larson
2003-06-04 15:33 ` 2.5.70-mm4 Paul Larson
2003-06-04 15:52 ` 2.5.70-mm4 Paul Larson
2003-06-04 18:00   ` 2.5.70-mm4 Felipe Alfaro Solana
2003-06-04 17:14 ` 2.5.70-mm4 Alexander Hoogerhuis
2003-06-04 21:12 ` 2.5.70-mm4 Helge Hafting
2003-06-05  1:53   ` 2.5.70-mm4 Neil Brown
2003-06-05 15:24     ` Helge Hafting [this message]
2003-06-04 21:33 ` 2.5.70-mm4 Rudmer van Dijk
2003-06-05  9:21   ` 2.5.70-mm4 Maciej Soltysiak

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=20030605152420.GA951@hh.idb.hist.no \
    --to=helgehaf@aitel.hist.no \
    --cc=akpm@digeo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=neilb@cse.unsw.edu.au \
    /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