From owner-freebsd-current@FreeBSD.ORG Mon Aug 15 21:09:41 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 0BE3216A41F for ; Mon, 15 Aug 2005 21:09:41 +0000 (GMT) (envelope-from jpeg@thilelli.net) Received: from smtp.thilelli.net (smtp.thilelli.net [213.41.129.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51BF843D49 for ; Mon, 15 Aug 2005 21:09:40 +0000 (GMT) (envelope-from jpeg@thilelli.net) Received: from localhost (localhost [127.0.0.1]) by bento.thilelli.net (Postfix) with ESMTP id 643605C98; Mon, 15 Aug 2005 23:09:39 +0200 (CEST) Received: from bento.thilelli.net ([127.0.0.1]) by localhost (bento.thilelli.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11334-02-3; Mon, 15 Aug 2005 23:09:33 +0200 (CEST) Received: from webmail.thilelli.net (localhost [127.0.0.1]) by bento.thilelli.net (Postfix) with ESMTP id 2E6765C96; Mon, 15 Aug 2005 23:09:33 +0200 (CEST) Received: from 192.168.1.20 (SquirrelMail authenticated user jgabel) by webmail.thilelli.net with HTTP; Mon, 15 Aug 2005 23:09:33 +0200 (CEST) Message-ID: <61493.192.168.1.20.1124140173.squirrel@webmail.thilelli.net> In-Reply-To: <52448.192.168.1.20.1124138928.squirrel@webmail.thilelli.net> References: <60366.192.168.1.20.1123951488.squirrel@webmail.thilelli.net> <58808.192.168.1.20.1124118739.squirrel@webmail.thilelli.net> <52448.192.168.1.20.1124138928.squirrel@webmail.thilelli.net> Date: Mon, 15 Aug 2005 23:09:33 +0200 (CEST) From: "Julien Gabel" To: current@freebsd.org User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: amavisd-new at thilelli.net Cc: bzeeb-lists@lists.zabbadoz.net Subject: Re: Fresh install of BETA2: console error about a LOR... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jpeg@thilelli.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2005 21:09:41 -0000 >>>> During the configuration phase, just after installing 6.0-BETA2 on a >>>> notebook, i got the following message on the console: >>>> >>>> lock order reversal >>>> 1st 0xc097b240 UMA lock (UMA lock) @ /usr/src/sys/vm/uma_core.c:1494 >>>> 2nd 0xc1060144 system map (system map) @ >>>> /usr/src/sys/vm/vm_kern.c:295 >>> looks pretty much like >>> http://sources.zabbadoz.net/freebsd/lor.html#110 >> As reported by Thierry Herbelot, the #109 appears on a UP and SMP >> system, but the #110 seems to be SMP only (at least is only reproduced >> on a HTT system with SMP kernel). >> >> When i got the second LOR, it was followed by a panic and a crash >> (three >> times on four). It was during 'make buildworld' each time, with this >> message: >> >> Memory modified after free 0xc2af2500(256) val=deadc0df @ 0xc2af2508 >> panic: receive: m == 0 so->so_rcv.sb_cc == 4294967295 >> cpuid = 0 >> KDB: enter: panic >> [thread pid 3908 tid 100152 ] >> Stopped at kdb_enter+0x30: leave >> db> >> >> I didn't have a crash dump yet, since it was during a post-installation >> phase. I am currently running an UP kernel to avoid problem, but can >> switch to a SMP one if somebody is interested. > in case you get it a gain please type > db> where > so we'll know the code path where this happens. That might help or not. Ok. Recompile a kernel with SMP support, then rerun the buildworld test. The system crashed in the middle of the run, "as expected". Here it is: panic: receive: m == 0 so->so_rcv.sb_cc == 4294967295 [...] db> where db> Tracing pid 38892 tid 100125 kdb_enter panic soreceive fifo_read_f dofileread kern_read_v read syscall Xint0x80_syscall -- syscall Note: pid 38892 is a 'make' process. Because i haven't a serial console on the notebook, i can't have the complete message (without typing it by hand). I noted the beginning of each line; if all the content of each line is needed i will try to get a cable to get a serial console (tomorrow maybe) to be able to copy and paste the result here. I get a crash dump this time, but after uncompressing the dump under /var/crash, i get the following error: # cd /usr/obj/usr/src/sys/BOBOCHE # kgdb kernel.debug /var/crash/vmcore.3 kgdb: cannot read IdlePTD Because i am not a developer, i don't really know what do next. Here is the content of info.3: # cat info.3 Dump header from device /dev/ad0s1b Architecture: i386 Architecture Version: 33554432 Dump Length: 1071185920B (1021 MB) Blocksize: 512 Dumptime: Mon Aug 15 22:09:54 2005 Hostname: boboche.thilelli.net Magic: FreeBSD Kernel Dump Version String: FreeBSD 6.0-BETA2 #0: Mon Aug 15 21:04:09 CEST 2005 root@boboche.thilelli.net:/usr/obj/usr/src/sys/BOBOCHE Panic String: receive: m == 0 so->so_rcv.sb_cc == 4294967295 Dump Parity: 3704850192 Bounds: 3 Dump Status: good What to do/try next? -- -jpeg.