From owner-freebsd-current@FreeBSD.ORG Thu Jun 30 18:47:15 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5195C16A41C for ; Thu, 30 Jun 2005 18:47:15 +0000 (GMT) (envelope-from thierry@herbelot.com) Received: from postfix4-2.free.fr (postfix4-2.free.fr [213.228.0.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2CD043D48 for ; Thu, 30 Jun 2005 18:47:14 +0000 (GMT) (envelope-from thierry@herbelot.com) Received: from herbelot.dyndns.org (bne75-4-82-227-159-103.fbx.proxad.net [82.227.159.103]) by postfix4-2.free.fr (Postfix) with ESMTP id 0B21F3204B0 for ; Thu, 30 Jun 2005 20:47:13 +0200 (CEST) Received: from diversion.herbelot.nom (diversion.herbelot.nom [192.168.2.6]) by herbelot.dyndns.org (8.13.3/8.13.3) with ESMTP id j5UIlAIR001719 for ; Thu, 30 Jun 2005 20:47:12 +0200 (CEST) From: Thierry Herbelot To: current@freebsd.org Date: Thu, 30 Jun 2005 20:47:07 +0200 User-Agent: KMail/1.8.1 X-Warning: Windows can lose your files X-Op-Sys: Le FriBi de la mort qui tue X-Org: TfH&Co X-MailScanner: Found to be clean MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506302047.08984.thierry@herbelot.com> Cc: Subject: IPI-related panic on an SMP machine X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: thierry@herbelot.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jun 2005 18:47:15 -0000 Hello, When I installed my latest world, I have had a panic (see following log) The machine was running single-user with a GENERIC kernel : FreeBSD 6.0-CURRENT #702: Thu Jun 30 11:21:34 CEST 2005 XXX@YYY:/usr/obj_ini/usr/src/sys/GENERIC What is disappointing is that I could not repeat the panic : I have installed the world, while in single-user mode with the same "panicky" kernel, first on a standard partition (/dev/ad9s2d), then on /usr which is a geom_mirror partition (/dev/mirror/gm0s1f), and in both cases, the install went to its correct end. I could not save a memory dump as I was in single-user mode and the dump device was not set (is it possible to set the dumpdev from the ddb prompt ?) Cheers TfH PS : the machine is an ABIT BP6, running a straight GENERIC kernel PS2 : the sources have been synced around june 29 at 20h GMT PS2 : panic log [make installworld in single-user mode] .... install -s -o root -g wheel -m 555 mount_portalfs /usr/sbin panic: APIC: Previous IPI is stuck cpuid = 1 KDB: enter: panic [thread pid 16777 tid 100095 ] Stopped at kdb_enter+0x2b: nop db> ecing pid 16777 tid 100095 td 0xc1878d80 kdb_enter(c084eb14) at kdb_enter+0x2b panic(c0872758,1,bfbfe000,cc921a50,c07e078d) at panic+0x127 lapic_ipi_vectored(f4,fffffffd,cc921a60,c07e0485,f4) at lapic_ipi_vectored+0x93 ipi_all_but_self(f4) at ipi_all_but_self+0xd smp_tlb_shootdown(f4,bfbfe000,0) at smp_tlb_shootdown+0x49 smp_invlpg(bfbfe000) at smp_invlpg+0x1b pmap_invalidate_page(c186e8f4,bfbfe000) at pmap_invalidate_page+0x6c pmap_enter(c186e8f4,bfbfe000,c1114c80,7,0,c1c9f294,0,c086971a,37e) at pmap_enter+0x276 vm_fault(c186e834,bfbfe000,2,8,c1878d80) at vm_fault+0x10b8 trap_pfault(cc921c18,0,bfbfe900) at trap_pfault+0xee trap(c1510008,c1870028,cc920028,bfbfe900,cc921c74) at trap+0x33d calltrap() at calltrap+0x5 --- trap 0xc, eip = 0xc07e608c, esp = 0xcc921c58, ebp = 0xcc921cdc --- slow_copyout(c1878d80,cc921d04,2,4,296) at slow_copyout+0x4 syscall(3b,3b,3b,0,2) at syscall+0x22f Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (189, FreeBSD ELF32, fstat), eip = 0x804a6a7, esp = 0xbfbfdccc, ebp = 0xbfbfea38 --- db>