From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262181AbUBXGRn (ORCPT ); Tue, 24 Feb 2004 01:17:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262190AbUBXGRm (ORCPT ); Tue, 24 Feb 2004 01:17:42 -0500 Received: from fw.osdl.org ([65.172.181.6]:17888 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S262181AbUBXGRj (ORCPT ); Tue, 24 Feb 2004 01:17:39 -0500 Date: Mon, 23 Feb 2004 22:17:40 -0800 From: Andrew Morton To: Eric Kerin Cc: alexn@telia.com, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org Subject: Re: 2.6.3 oops at kobject_unregister, alsa & aic7xxx Message-Id: <20040223221740.5786b0b3.akpm@osdl.org> In-Reply-To: <1077602725.3172.19.camel@opiate> References: <1077546633.362.28.camel@boxen> <20040223160716.799195d0.akpm@osdl.org> <1077602725.3172.19.camel@opiate> 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 Eric Kerin wrote: > > On Mon, 2004-02-23 at 19:07, Andrew Morton wrote: > > Alexander Nyberg wrote: > > > > > > This happens at shutdown when alsa is to close down. I'm running debian > > > sid. NOTE: I recently removed my aic7xxx out of the motherboard, so the > > > driver obviously can't find it. But if I remove aic7xxx from the modules > > > list, this oops does _not_ happen. > > > > That's useful infomation. It indicates that the aic7xxx driver is screwing > > up the kobject lists. > > > > Just to confirm: are you saying that the aic7xxx driver is loaded at the > > tie of the oops, but there is no aic7xxx hardware present in the machine? > > > I stumbled up this in early January. I posted a patch to linux-scsi, > but it dosn't seem to be merged at this point. This problem will also > occur with the aic79xx driver. > > Here's the location of the original thread: > http://marc.theaimsgroup.com/?l=linux-scsi&m=107307695430108&w=2 > > I just tried the patch on 2.6.3, and it still applies cleanly. hm, I was looking at that code but it seemed OK. You said "left a stale entry in the pci_device list". Is that correct, or was the entry in the PCI driver list? The latter, surely? If so, why is that a problem? ahc_linux_pci_exit() takes it out again?