Messages in this thread | | | Date | Wed, 24 Nov 2004 13:32:31 -0800 | From | Greg KH <> | Subject | Re: 2.6.10-rc2-bk7 - kernel BUG at fs/sysfs/file.c:87! |
| |
On Wed, Nov 24, 2004 at 10:18:00PM +0100, Jens Axboe wrote: > On Wed, Nov 24 2004, Maneesh Soni wrote: > > 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. > > Yeah, with many processes that is easy to hit. I dunno how to fix it > yet, is it possible to combine sysfs with the seq stuff? The file should > just be deleted, though.
sysfs files should have only 1 value per file. You really have a single value that is bigger than a page size? :)
thanks,
greg k-h - 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/
| |