From owner-freebsd-current@FreeBSD.ORG Thu May 21 12:57:06 2009 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 302F81065673 for ; Thu, 21 May 2009 12:57:06 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id D8FB28FC08 for ; Thu, 21 May 2009 12:57:05 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Subject:Message-ID:Reply-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender; b=SqXJ2v9DoQwSZDdvYbcgxKBqS9sH6t54BIWIxAtcBS1bVD2qBj2DEudwUvTQhroCz+5Bh/wlYlwHZwP2fNFl0oolkChsWGJTeP71LJtkllGuiMH/avwCVEe+s7XpmqrtaKy7hEskLfGkA23L4/MoxiI58Cno+iCzoX5ie5JkKrg=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1M77pX-000JyG-RP; Thu, 21 May 2009 16:57:03 +0400 Date: Thu, 21 May 2009 16:57:01 +0400 From: Eygene Ryabinkin To: Timothy Mukaibo Message-ID: References: <49159824-57EB-4628-9F1C-CE9243465D02@mukaibo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49159824-57EB-4628-9F1C-CE9243465D02@mukaibo.com> Sender: rea-fbsd@codelabs.ru Cc: freebsd-current@freebsd.org Subject: Re: ACPI Panic on Current, AMD64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rea-fbsd@codelabs.ru List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2009 12:57:06 -0000 Timothy, good day. Thu, May 21, 2009 at 09:21:27PM +1000, Timothy Mukaibo wrote: > I've tried to boot 2009-05-20 AMD64 current, but it crashes out. I > can't produce a full dmesg as the screen scrolls too quickly for me > type, and I don't have a serial console. If there's any other way to > capture the full dmesg, please let me know. This is as much as I can > see: > > 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 2 > ioapic0 irqs 0-23 on motherboard > kbd1 at kbdmux0 > acpi0: on motherboard > acpi0: [ITHREAD] > acpi0: Power Button (fixed) > acpi0: reservation of 0, a000 (3) failed > acpi0: reservation of 100000, bfdf0000 (3) failed > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 > acip_button0: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > panic: Assertion link->l_prs_template.Type == ACPI_RESOURCE_TYPE_IRQ > failed at /usr/src/sys/dev/acpica/acpi_pci_link.c:744 > cpuid = 0 > KDB: enter: panic > [thread pid 0 tid 100000 ] > Stopped at kdb_enter+0x3d: movq $0,0x677da0(%rip) > db> I like to be wrong, but since at the time of the panic your disk subsystem isn't yet initialized, you can't make crashdump. The best way it still to get serial console working. The first thing that you can try is to type 'bt' (without quotes) at the 'db>' prompt and present the backtrace. The second thing to try if you can compile your own kernel (you can do in on the 7.x partition, just compile kernel for 8-CURRENT, set it to boot with nextboot(8) and try to load the kernel) -- you can try to add the following simple patch to see what device provokes assertion: ----- --- sys/dev/acpica/acpi_pci_link.c.orig 2009-05-21 16:43:49.000000000 +0400 +++ sys/dev/acpica/acpi_pci_link.c 2009-05-21 16:54:59.000000000 +0400 @@ -740,6 +740,8 @@ resptr = NULL; break; case ACPI_RESOURCE_TYPE_IRQ: + acpi_pci_link_dump(sc, 1, "MPASS"); + printf("link type is %d\n", link->l_prs_template.Type); MPASS(i < sc->pl_num_links); MPASS(link->l_prs_template.Type == ACPI_RESOURCE_TYPE_IRQ); newres = link->l_prs_template; ----- And, perhaps, the output from 'acpidump -dt' will be interesting. -- Eygene _ ___ _.--. # \`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard / ' ` , __.--' # to read the on-line manual )/' _/ \ `-_, / # while single-stepping the kernel. `-'" `"\_ ,_.-;_.-\_ ', fsc/as # _.-'_./ {_.' ; / # -- FreeBSD Developers handbook {_.-``-' {_/ #