From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 27 21:08:15 2006 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3081516A423 for ; Mon, 27 Mar 2006 21:08:15 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id E878043D72 for ; Mon, 27 Mar 2006 21:08:07 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k2RL83jf063796; Mon, 27 Mar 2006 16:08:03 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: Oleg Sharoiko Date: Mon, 27 Mar 2006 16:07:07 -0500 User-Agent: KMail/1.9.1 References: <20060215102749.D58480@brain.cc.rsu.ru> <200603241718.49362.jhb@freebsd.org> <20060327234908.K831@wolf.os.rsu.ru> In-Reply-To: <20060327234908.K831@wolf.os.rsu.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603271607.09550.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1358/Mon Mar 27 11:12:27 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-3.8 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: freebsd-scsi@freebsd.org, Andrey Beresovsky Subject: Re: Boot hangs on ips0: resetting adapter, this may take up to 5 minutes X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Mar 2006 21:08:15 -0000 On Monday 27 March 2006 15:10, Oleg Sharoiko wrote: > > On Fri, 24 Mar 2006, John Baldwin wrote: > > JB>> I've found an interesting thread on netbsd mailing list. > JB>> http://mail-index.netbsd.org/port-amd64/2006/03/ > JB>> With subject "Re: Bug in x86 ioapic interrupt code for devices with shared > JB>> interrupts?". May this relate to my problems? > JB>Well, there is one possibly interesting patch for bge in there, (the > JB>one from the linux driver) but I'm not sure if it would really help or > JB>not. > > John, can it be possible that interrupts are incorrectly delivered to > bge_intr? Is it possible that these interrupts are generated by some > different device? Yes, if the interrupt for another device is mis-routed. That is, if another device is really sharing the IRQ with bge0, but we think it is using some other interrupt pin (because that's what the BIOS _told us_) then this would happen. I misspoke earlier because I thought kldloading bge brought on the storm rather than a disk access once bge was loaded. Which device is not getting interrupts and hanging? You said all your SCSI cards work fine with bge0 (IRQ16) is not in the kernel, yes? What if you disable just the devices on IRQ16 (bge and usb) do all of your various SCSI cards work fine in that case? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org