Re: 2.6.10-rc2-bk7 - kernel BUG at fs/sysfs/file.c:87!

From: Maneesh Soni
Date: Wed Nov 24 2004 - 15:46:58 EST


On Wed, Nov 24, 2004 at 07:26:43PM +0000, Christopher S. Aker wrote:
> Doing "cat /sys/block/sda/queue/iosched/show_status" produces the following BUG:
>
> ------------[ cut here ]------------
> kernel BUG at fs/sysfs/file.c:87!

I think you are using cfq io scheduler. show_status is from cfq_ioched. Looks
like return value freom cfq_status_show() is going beyond one page.
read/write buffer for sysfs text attribute files is limited to one page.

Maneesh


--
Maneesh Soni
Linux Technology Center,
IBM Austin
email: maneesh@xxxxxxxxxx
Phone: 1-512-838-1896 Fax:
T/L : 6781896
-
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/