Re: 2.6.16-rc1-mm2

From: Neil Brown
Date: Mon Jan 23 2006 - 22:50:52 EST


On Saturday January 21, reuben-lkml@xxxxxxxx wrote:
> md: stopping all md devices.
> md: md1 switched to read-only mode.
> BUG: unable to handle kernel NULL pointer dereference<6>md: md2 switched to
> read-only mode.
> at virtual address 0000001c
> printing eip:
> b02a6951
> *pde = 00000000
> Oops: 0000 [#1]
> SMP
> last sysfs file: /devices/pci0000:00/0000:00:1f.3/i2c-0/0-002e/vrm
> Modules linked in: iptable_mangle iptable_nat ip_nat ip_conntrack nfnetlink
> iptable_filter ip_tables nfsd exportfs lockd sunrpc ipv6 ip_gre binfmt_misc
> serio_raw piix hw_random
> CPU: 0
> EIP: 0060:[<b02a6951>] Not tainted VLI
> EFLAGS: 00010002 (2.6.16-rc1-mm2 #1)
> EIP is at bitmap_daemon_work+0x144/0x391

Hmmmm.... yep. I see the problem. We shouldn't be tearing down the
bitmap when switching to read-only. Patch to follow.

Thanks,

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/