Re: 2.5.70-mm4 this helped but still no raid0

From: Helge Hafting (helgehaf@aitel.hist.no)
Date: Thu Jun 05 2003 - 10:24:20 EST


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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jun 07 2003 - 22:00:27 EST