From owner-freebsd-current@FreeBSD.ORG Sat Oct 30 15:34:23 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C225A106564A for ; Sat, 30 Oct 2010 15:34:23 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5612A8FC17 for ; Sat, 30 Oct 2010 15:34:23 +0000 (UTC) Received: by wyb42 with SMTP id 42so4093103wyb.13 for ; Sat, 30 Oct 2010 08:34:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=LOCs1tx8KeilAO7n4eU2PS/Hw9d3tTP0waMYoeM+8uk=; b=omRnAaoqxhrwa7FPRxq/d7SfYIztf2Y/oN9nvLyzfLI6AXgIuvMS738qfxUEwmfndI vWf5yHoL3nZzY8gTDOeDBoCjl6JNplKvN64BHLwylNVpW2YTGGnRd/G4imrgYJFwBZQ7 CdoOpRq6Kajf3eb2g3EmWECdV8HzNmndu6xR0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=KNutKoL6THvjxGqfhV4HUxaMFqFaQut3Qcuhi2/xranW60/hFIY3BGvWa5Er8AvC9R fS0ZW2sz6pnkqqYaj/yvfYnACtj/Lxn7WTsW62jmKZkl74qbYC79m7Flie0sCWGZKhhy CVvBtffyrjA/wxySiOWwBP9roHMk3itAKBWIM= MIME-Version: 1.0 Received: by 10.216.0.210 with SMTP id 60mr630059web.44.1288452861972; Sat, 30 Oct 2010 08:34:21 -0700 (PDT) Received: by 10.216.50.140 with HTTP; Sat, 30 Oct 2010 08:34:21 -0700 (PDT) In-Reply-To: References: <4CCC31C1.5090602@icyb.net.ua> Date: Sat, 30 Oct 2010 15:34:21 +0000 Message-ID: From: Paul B Mahol To: Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 Cc: current@freebsd.org Subject: Re: panic: invalid PDPE on recend amd64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Oct 2010 15:34:23 -0000 On 10/30/10, Paul B Mahol wrote: > On 10/30/10, Andriy Gapon wrote: >> on 30/10/2010 17:43 Paul B Mahol said the following: >>> Hi, >>> >>> Booting amd64 kernel panic in pmap_demote_DMAP(): invalid PDPE >>> >>> This is on: >>> >>> Copyright (c) 1992-2010 The FreeBSD Project. >>> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 >>> The Regents of the University of California. All rights reserved. >>> FreeBSD is a registered trademark of The FreeBSD Foundation. >>> FreeBSD 9.0-CURRENT #1 r214542+ac89f9b: Sat Oct 30 09:40:45 UTC 2010 >>> root@:/usr/obj/usr/src/sys/kernel i386 >> ----------------------------------------^^^^ >> amd64 or i386? > > That is working i386 kernel, I can send bt of amd64 kernel as picture. >> >>> CPU: Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz (1662.54-MHz >>> 686-class CPU) >>> Origin = "GenuineIntel" Id = 0x6f2 Family = 6 Model = f Stepping = >>> 2 >>> >>> Features=0xbfebfbff >>> >>> Features2=0xe3bd >>> AMD Features=0x20100000 >>> AMD Features2=0x1 >>> TSC: P-state invariant >>> real memory = 2147483648 (2048 MB) >>> avail memory = 2087346176 (1990 MB) >>> ACPI APIC Table: >>> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs >>> FreeBSD/SMP: 1 package(s) x 2 core(s) >>> cpu0 (BSP): APIC ID: 0 >>> cpu1 (AP): APIC ID: 1 >>> ioapic0: Changing APIC ID to 1 >>> ioapic0 irqs 0-23 on motherboard >>> acpi0: on motherboard >>> acpi0: Power Button (fixed) >>> acpi0: reservation of 0, a0000 (3) failed >> >> It seems that the panic happens at the stage where you should be able to >> enter >> ddb and obtain a backtrace at the very least, after adding DDB option to >> your >> kernel. panic: pmap_demote_DMAP: Invalid PDPE cpuid=0 KDB: enter: panic: [ thread pid 0 tid .. Stopped at .. db> bt Tracing pid 0 .. kdb_enter() .. panic() .. pmap_demote_DMAP() .. amd64_mrinit() .. mem_modevent() .. module_register_init() .. mi_startup() .. If I remove mem module from loader.conf kernel boots fine. If I kldload mem after boot, panic happens.