[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2.5.70-mm4 this helped but still no raid0



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>