Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262501AbTIPV6y (ORCPT ); Tue, 16 Sep 2003 17:58:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262505AbTIPV6y (ORCPT ); Tue, 16 Sep 2003 17:58:54 -0400 Received: from fw.osdl.org ([65.172.181.6]:21168 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S262501AbTIPV6x (ORCPT ); Tue, 16 Sep 2003 17:58:53 -0400 Date: Tue, 16 Sep 2003 14:40:12 -0700 From: Andrew Morton To: Mike Fedyk Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, oliver@neukum.org Subject: Re: OOps in HFS was: 2.6.0-test4-mm3 Message-Id: <20030916144012.0ab9b009.akpm@osdl.org> In-Reply-To: <20030916214105.GA3490@matchmail.com> References: <20030828235649.61074690.akpm@osdl.org> <20030916214105.GA3490@matchmail.com> X-Mailer: Sylpheed version 0.9.4 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1824 Lines: 34 Mike Fedyk wrote: > > Just reading a hfs floppy... It's not an oops - it's a warning. > Sep 15 10:10:49 mis-mike-wstn kernel: inserting floppy driver for 2.6.0-test4-mm3-1-mdfail > Sep 15 10:10:49 mis-mike-wstn kernel: Floppy drive(s): fd0 is 1.44M > Sep 15 10:10:49 mis-mike-wstn kernel: FDC 0 is a post-1991 82077 > Sep 15 10:10:49 mis-mike-wstn kernel: PM: Adding info for platform:floppy0 > Sep 15 10:11:14 mis-mike-wstn kernel: Debug: sleeping function called from invalid context at mm/slab.c:1833 > Sep 15 10:11:14 mis-mike-wstn kernel: Call Trace: > Sep 15 10:11:14 mis-mike-wstn kernel: [__might_sleep+99/104] __might_sleep+0x63/0x68 > Sep 15 10:11:15 mis-mike-wstn kernel: [kmem_cache_alloc+37/324] kmem_cache_alloc+0x25/0x144 > Sep 15 10:11:15 mis-mike-wstn kernel: [_end+340461616/1068932160] grow_entries+0x24/0xa0 [hfs] > Sep 15 10:11:15 mis-mike-wstn kernel: [_end+340462938/1068932160] get_new_entry+0x1e/0x460 [hfs] get_entry() does disk I/O under spin_lock(&entry_lock). Deadlock country. A simple fix would be to convert entry_lock into a semaphore. > Sep 15 10:21:11 mis-mike-wstn kernel: hfs_cat_put: trying to free free entry: c261451c > Sep 15 10:21:11 mis-mike-wstn kernel: hfs_cat_put: trying to free free entry: cc08f104 > Sep 15 10:21:11 mis-mike-wstn kernel: hfs_cat_put: trying to free free entry: c7997ccc > Sep 15 10:21:11 mis-mike-wstn kernel: hfs_cat_put: trying to free free entry: c6cb9728 Well that's not very good. Can you make an image of that floppy available for download? Does 2.4's HFS driver work OK? - 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/