Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262858AbUKXVeh (ORCPT ); Wed, 24 Nov 2004 16:34:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261295AbUKXVdG (ORCPT ); Wed, 24 Nov 2004 16:33:06 -0500 Received: from e32.co.us.ibm.com ([32.97.110.130]:41658 "EHLO e32.co.us.ibm.com") by vger.kernel.org with ESMTP id S262778AbUKXVct (ORCPT ); Wed, 24 Nov 2004 16:32:49 -0500 Date: Wed, 24 Nov 2004 13:32:31 -0800 From: Greg KH To: Jens Axboe Cc: Maneesh Soni , "Christopher S. Aker" , linux-kernel@vger.kernel.org Subject: Re: 2.6.10-rc2-bk7 - kernel BUG at fs/sysfs/file.c:87! Message-ID: <20041124213231.GA3132@kroah.com> References: <002c01c4d25b$3e8b9b10$0201a8c0@hawk> <20041124204138.GA2543@in.ibm.com> <20041124211800.GQ13847@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041124211800.GQ13847@suse.de> User-Agent: Mutt/1.5.6i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1148 Lines: 27 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/