From owner-freebsd-current@FreeBSD.ORG Thu Nov 10 08:30:05 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 960A8106566B for ; Thu, 10 Nov 2011 08:30:05 +0000 (UTC) (envelope-from se@freebsd.org) Received: from nm17-vm0.bullet.mail.sp2.yahoo.com (nm17-vm0.bullet.mail.sp2.yahoo.com [98.139.91.212]) by mx1.freebsd.org (Postfix) with SMTP id 58C178FC18 for ; Thu, 10 Nov 2011 08:30:05 +0000 (UTC) Received: from [98.139.91.70] by nm17.bullet.mail.sp2.yahoo.com with NNFMP; 10 Nov 2011 08:16:31 -0000 Received: from [98.136.185.28] by tm10.bullet.mail.sp2.yahoo.com with NNFMP; 10 Nov 2011 08:16:31 -0000 Received: from [127.0.0.1] by smtp109.mail.gq1.yahoo.com with NNFMP; 10 Nov 2011 08:16:31 -0000 X-Yahoo-Newman-Id: 520237.13185.bm@smtp109.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: nl93w3EVM1mTX_iKzxl.0DKS4IBM8K_Kq51wzBwyfDXdRg8 kbm0.osIGIEc_udUDcKuot4MYFV_uhuBfjVM8F29gaymBAWwgagzdVLh7uqo iJDXYQ6SOKwQmX.yNg3x3FnH1_xMN0OoPIxEUzA1AP85Sve3AItHCo6JBXeU Amg6TfYHEE4ltZ2hYs7TFslkOn_VUN5lvL7pj6lBTY7UABdi.MVf2jtY09t5 1x5TRgThgN2ca4iJaYoetofC9Xyesd._DX47884a9wG1oQG7aDfV.jj5qNMI .I4s8ZNzhJZQKUwAYOQ3BPnBB34zir4fn3wsOSe4ksUTmTnb_yyjKWeyd8Hp 6CujvSQB7aw.HFIjoEXZdkzNe2jd3DuswdxVTzFnhUk9sCAUrqY8UNhlli1b 31z4icCg4dx2Pv9Y- X-Yahoo-SMTP: iDf2N9.swBDAhYEh7VHfpgq0lnq. Received: from [192.168.119.20] (se@81.173.153.182 with plain) by smtp109.mail.gq1.yahoo.com with SMTP; 10 Nov 2011 00:16:31 -0800 PST Message-ID: <4EBB885E.9060908@freebsd.org> Date: Thu, 10 Nov 2011 09:16:30 +0100 From: Stefan Esser User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: FreeBSD Current Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: [amd64] Reproducible cold boot failure (reboot succeeds) in -CURRENT 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: Thu, 10 Nov 2011 08:30:05 -0000 For a few weeks I have been suffering from a problem that requires manual intervention to get my home workstation boot -CURRENT. The kernel panics at varying places and with different panic messages, e.g. (hand transcribed since kernel dumps don't work at that stage): privileged instruction fault while in kernel mode kmem_alloc_nofault +0x37 kmem_init +0x9e vm_kmem_init +0x39 mi_startup +0x77 btext +0x2c On another cold boot attempt: kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode elf_relocinternal +0xa8 link_elf_reloc_local +0x2fe link_elf_link_preload +0x69d linker_preload +0x101 mi_startup +0x77 btext +0x2c In all the cases observed, the system starts without any problems on second attempt (pressing RESET or the reboot command in the debugger). The system is working reliably, once booted. This started a few weeks back (after the switch-over to 10-CURRENT, IIRC), and I did not bother to report it at the time, since I thought it was caused by a temporary instability in the code base. The system is an i2600K on ASUS P8H67-M EVO with 8GB of RAM and an amd64 kernel booting from ZFS (gptzfsboot). The kernel is a stripped down GENERIC plus IPFW and ath (but I doubt that the configuration is causing this, since the failure happens before any devices are probed and the identically configured kernels used to cold boot just fine for half a year). Any hint how to further diagnose this case is welcome (but my spare time is very limited and I cannot easily bisect to find a revision that boots, for example). I can produce further debug output on demand, but I do not have a serial or firewire console setup for debugging. Is anybody else affected by this boot problem? Regards, STefan