Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261373AbVAGRlL (ORCPT ); Fri, 7 Jan 2005 12:41:11 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261369AbVAGRky (ORCPT ); Fri, 7 Jan 2005 12:40:54 -0500 Received: from 168.imtp.Ilyichevsk.Odessa.UA ([195.66.192.168]:11535 "HELO port.imtp.ilyichevsk.odessa.ua") by vger.kernel.org with SMTP id S261367AbVAGRhP (ORCPT ); Fri, 7 Jan 2005 12:37:15 -0500 From: Denis Vlasenko To: Lukasz Kosewski , Andrew Morton Subject: Re: SCSI aic7xxx driver: Initialization Failure over a kdump reboot Date: Fri, 7 Jan 2005 19:36:25 +0200 User-Agent: KMail/1.5.4 Cc: Arjan van de Ven , vgoyal@in.ibm.com, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org References: <1105014959.2688.296.camel@2fwv946.in.ibm.com> <20050106195043.4b77c63e.akpm@osdl.org> <41DE15C7.6030102@nit.ca> In-Reply-To: <41DE15C7.6030102@nit.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200501071936.25993.vda@port.imtp.ilyichevsk.odessa.ua> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1301 Lines: 36 On Friday 07 January 2005 06:53, Lukasz Kosewski wrote: > Andrew Morton wrote: > >> looks like the following is happening: > >> the controller wants to send an irq (probably from previous life) > >> then suddenly the driver gets loaded > >> * which registers an irq handler > >> * which does pci_enable_device() > >> and .. the irq goes through. > >> the irq handler just is not yet expecting this irq, so > >> returns "uh dunno not mine" > >> the kernel then decides to disable the irq on the apic level > >> and then the driver DOES need an irq during init > >> ... which never happens. > >> > > > > > > yes, that's exactly what e100 was doing on my laptop last month. Fixed > > that by arranging for the NIC to be reset before the call to > > pci_set_master(). > > I noticed the exact same thing with a usb-uhci hub on a VIA MicroATX > board a month back. I rewrote the init sequence of the driver so that > it resets all of the hubs in the system first, and THEN registers their > interrupts. "Me too". prism54 had similar bug long ago. -- vda - 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/