Messages in this thread | | | Date | Thu, 25 Nov 2004 07:58:36 +0100 | From | Jens Axboe <> | Subject | Re: 2.6.10-rc2-bk7 - kernel BUG at fs/sysfs/file.c:87! |
| |
On Wed, Nov 24 2004, Greg KH wrote: > 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? :)
It's pi with a lot of decimals :)
I know, it's a debug entry to be able to watch what is going on inside the scheduler. Everything doesn't fit nicely into a one-value-per-file system.
-- Jens Axboe
- 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/
| |