Re: Bug at for-2.6.39/core

From: Jens Axboe
Date: Tue Mar 29 2011 - 05:50:25 EST


On 2011-03-29 11:47, Gui Jianfeng wrote:
> Hi Jens,
>
> I trigger an OOPS when testing, the following script can reproduce
> this bug on my box.
>
> #!/bin/sh
>
> mkdir /mnt/blkio
> mount -t cgroup -o blkio blkio /mnt/blkio/
> mkdir /mnt/blkio/test1 /mnt/blkio/test2
> echo noop > /sys/block/sdb/queue/scheduler
> dd iflag=direct if=/dev/sdb of=/dev/null bs=4k &
> echo $! > /mnt/blkio/test1/tasks
> dd iflag=direct if=/dev/sdb of=/dev/null bs=4k &
> echo $! > /mnt/blkio/test2/tasks
> sleep 3
> echo cfq > /sys/block/sdb/queue/scheduler
>
> ----
> eBUG: unable to handle kernel NULL pointer dereference at 0000000000000008
> IP: [<ffffffff812200e8>] cfq_completed_request+0x38/0x7f0

This is a known bug, update to Linus' current -git and it's fixed.

--
Jens Axboe

--
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/