From owner-freebsd-scsi@FreeBSD.ORG Tue Mar 7 19:22:19 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 9795016A420 for ; Tue, 7 Mar 2006 19:22:19 +0000 (GMT) (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 0261B43D53 for ; Tue, 7 Mar 2006 19:22:18 +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 k27JM3bJ029291; Tue, 7 Mar 2006 14:22:11 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: Oleg Sharoiko Date: Tue, 7 Mar 2006 13:43:20 -0500 User-Agent: KMail/1.9.1 References: <20060215102749.D58480@brain.cc.rsu.ru> <200603031112.45211.jhb@freebsd.org> <20060304224419.N1270@wolf.os.rsu.ru> In-Reply-To: <20060304224419.N1270@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: <200603071343.23672.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1317/Tue Mar 7 01:06:47 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=4.2 tests=ALL_TRUSTED,AWL 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: Tue, 07 Mar 2006 19:22:19 -0000 On Saturday 04 March 2006 15:07, Oleg Sharoiko wrote: > > On Fri, 3 Mar 2006, John Baldwin wrote: > > JB>This is good. Btw, the patch should apply cleanly to 6.x from yesterday. > > Well, I forgot to mention that in all combinations I've only checked 6.x > I've also tried 7.x and it also works but I've checked only one kernel > and I don't remember was it UP or SMP kernel. Ok, so i386 works fine. (Patch was just committed to RELENG_6). > With apic system hangs at 'lo0: bpf attached' just like I've mentioned in > my previouse letter. But with apic disabled I got this: > > ips0: mem > 0xd0300000-0xd0300fff,0xd4000000-0xd7ffffff irq 11 at device 1.0 on pci3 > ips0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xd0300000 > ips0: irq allocation failed > panic: Assertion mtx_unowned(m) failed at > /usr/src-HEAD-20060228-223000UTC/sys/kern/kern_mutex.c:885 > cpuid = 0 > KDB: enter: panic > [thread pid 0 tid 0 ] > Stopped at kdb_enter+0x31: leave > db> > > Boot logs are available: > http://rsu.ru/~os/ips/boot.amd64.no_apic.HEAD-20060228-223000UTC.txt > http://rsu.ru/~os/ips/boot.amd64.apic.HEAD-20060228-223000UTC.txt > > Can I do anything else to help investigating this issue? Your no apic case doesn't have ACPI in the kernel, and as such the kernel doesn't succeed in routing interrupts at all. You really should have ACPI on for amd64 in both cases. Do you have a dmesg from an i386 kernel with APIC that I can compare with the amd64 dmesg with APIC? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org