From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757388AbYDDAAb (ORCPT ); Thu, 3 Apr 2008 20:00:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751566AbYDDAAU (ORCPT ); Thu, 3 Apr 2008 20:00:20 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:48175 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750770AbYDDAAT (ORCPT ); Thu, 3 Apr 2008 20:00:19 -0400 Date: Thu, 3 Apr 2008 16:59:02 -0700 (PDT) From: Linus Torvalds To: "Rafael J. Wysocki" , Lubos Lunak , Jan Kara , Petr Cvek cc: Linux Kernel Mailing List , Adrian Bunk , Andrew Morton , Natalie Protasevich Subject: Re: 2.6.25-rc8-git2: Reported regressions from 2.6.24 In-Reply-To: Message-ID: References: User-Agent: Alpine 1.00 (LFD 882 2007-12-20) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 4 Apr 2008, Rafael J. Wysocki wrote: > > Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=10390 > Subject : Oops while reading /proc/ioports or /proc/iomem > Submitter : Jan Kara > Date : 2008-04-03 15:25 (1 days old) > References : http://lkml.org/lkml/2008/4/3/149 This sounds very much like some module registered IO ports/memory and was then unloaded without unregistering them. It's a bit hard to guess which module it is, though. The oops says "[last unloaded: parport]", so that's likely to be the area. So I *suspect* this patch might be relevant. Bug apparently introduced in f63fd7e299ee13da071ecfce2b90b58c5e1562b1 ("parport_pc: detection for SuperIO IT87XX POST") by Petr Cvek. Petr? Linus --- drivers/parport/parport_pc.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/parport/parport_pc.c b/drivers/parport/parport_pc.c index d76d37b..a858089 100644 --- a/drivers/parport/parport_pc.c +++ b/drivers/parport/parport_pc.c @@ -1568,9 +1568,8 @@ static void __devinit detect_and_report_it87(void) outb(r | 8, 0x2F); outb(0x02, 0x2E); /* Lock */ outb(0x02, 0x2F); - - release_region(0x2e, 1); } + release_region(0x2e, 1); } #endif /* CONFIG_PARPORT_PC_SUPERIO */