From owner-freebsd-current@FreeBSD.ORG Fri Jul 3 02:08:59 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 E3701106564A; Fri, 3 Jul 2009 02:08:59 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-bw0-f214.google.com (mail-bw0-f214.google.com [209.85.218.214]) by mx1.freebsd.org (Postfix) with ESMTP id CF4738FC12; Fri, 3 Jul 2009 02:08:58 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: by bwz10 with SMTP id 10so4157bwz.43 for ; Thu, 02 Jul 2009 19:08:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:message-id:user-agent:mime-version:content-type; bh=5DvbnWtcraY91nedk3TyVMJCg6ltJdfiDQ/WgmYm53w=; b=lEvL/YZaYZsiyrdxfWIfsQEs/kutTxNa4T7yCTtkt2OitHcycgIFU7IYnLuw0dsmpk mcRgyT5m4jybnnum/YAwRRzS7MB7UodSrWtHJl21aCN8pvO5hP9k3GhJt+WW0fHFJ8cL x3BuRl2qTJfIq5MalCkAfF6g+CEviSxq8K78Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:message-id:user-agent :mime-version:content-type; b=Gsg3MnvBszOez5zIfL/YXZOjR99y33mDYLLSsJKW4fWP8OtB/VV8sqdDtOE90Yj/0M ye8c4GO4vRpfhWU5dCL4DPKyBsUHWUNM400DGbiv7EQ0G71O18hp0pd3dV4WqljBp20d aYR5R8YXTE+KxDLQYi1aLbzd3zAS7gNAvho3Q= Received: by 10.204.71.15 with SMTP id f15mr696670bkj.113.1246586937820; Thu, 02 Jul 2009 19:08:57 -0700 (PDT) Received: from localhost (95-24-83-95.broadband.corbina.ru [95.24.83.95]) by mx.google.com with ESMTPS id 21sm5411602fks.39.2009.07.02.19.08.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 02 Jul 2009 19:08:56 -0700 (PDT) From: Anonymous To: John Baldwin References: <20090628034654.bdb728c4.nork@FreeBSD.org> <4A47A681.3040100@iae.nl> <86bpo8b3y8.fsf@gmail.com> <1246220306.1759.43.camel@balrog.2hip.net> <4A4D3665.3060502@FreeBSD.org> Date: Fri, 03 Jul 2009 06:08:27 +0400 Message-ID: <86hbxujz6s.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Hans Ottevanger , Norikatsu Shigemura , Robert Noland , freebsd-current@freebsd.org Subject: Re: panic on acpi_cpu_c1() 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: Fri, 03 Jul 2009 02:09:00 -0000 John Baldwin writes: > Maxim Ignatenko wrote: >>> Fatal trap 30: reserved (unknown) fault while in kernel mode >>> cpuid = 3; apic id = 03 >>> instruction pointer = 0x20:0xffffffff804bce56 >>> stack pointer = 0x20:0xffffff8000039b60 >>> frame pointer = 0x20:0xffffff8000039b70 >>> code segment = base 0x0, limit 0xfffff, type 0x1b >>> = DPL 0, pres 1, long 1, def32 0, gran 1 >>> processor eflags = interrupt enabled, IOPL = 0 >>> current process = 11 (idle: cpu3) >>> [thread pid 11 tid 100003 ] >>> Stopped at acpi_cpu_c1+0x6: leave >>> db> bt >>> Tracing pid 11 tid 100003 td 0xffffff8001863720 >>> acpi_cpu_c1() at acpi_cpu_c1+0x6 >>> acpi_cpu_idle() at acpi_cpu_idle+0x20c >>> sched_idletd() at sched_idletd+0x123 >>> fork_exit() at fork_exit+0x117 >>> fork_trampoline() at fork_trampoline+0xe >> >> As for me, r194984 runs normally, but when I tried to boot with >> r194985 at second try it paniced with backtrace very similar to shown >> in first message, and at first try even earlier: in sched_ideltd and >> again on instruction that uses %ebp when ebp = 0. >> First time I stepped on this panic after updating to r195130: >> >> Trying to mount root from ufs:/dev/ufs/root >> >> >> Fatal trap 30; reserved (unknown) fault while in kernel mode >> cpuid = 1; apic id = 01 >> instruction ponter = 0x20:0xc09252c5 >> stack pointer = 0x28:0xc4ecec94 >> frame pointer = 0x28:0xc4ecec94 >> code segment = base 0x0, limit 0xfffff, type 0x1b >> = DPL 0, pres 1, def32 1, gran 1 >> processor eflags = interrupt enabled, IOPL = 0 >> current process = 11 (idle: cpu1) >> [thread pid 11 tid 100003] >> Stopped at 0xc09252c5 = acpi_cpu_c1+0x5: popl %ebp >> db> bt >> Tracing pid 11 tid 100003 td 0xc5176af0 >> acpi_cpu_c1(1,c4ececa8,1,0,c4ececc0,...) at 0xc09252c5 = acpi_cpu_c1+0x5 >> acpi_cpu_idle(c4ececd4,c093c0ab,0,c4ececf4,c066fdec,...) at 0xc04acf37 >> = acpi_cpu_idle+0x107 >> cpu_idle_acpi(0,c4ececf4,c066fdec,0,0,...) at 0xc093d5bb = cpu_idle_acpi+0x1b >> cpu_idle(0,0,c5176af0,c4ececf4,202,...) at 0xc093c0ab = cpu_idle+0x1b >> sched_idletd(0,c4ececd38,a4108400,2c0a0e,7022d00,...) at 0xc066fdec = >> sched_idletd+0x1c >> fork_exit(c066fdd0,0,c4eced38) at 0xc0623aa1 = fork_exit+0x91 >> fork_trampoline() at 0xc0930c80 = fork_tramoline+0x8 >> --- trap 0, eip = 0, esp = 0xc4ececd70, ebp = 0 --- >> >> >> P.S.: i386, dual-core, drm and radeon compiled as modules >> When I'm trying to boot w/o ACPI support all seems work fine, but >> system hangs just before starting kdm > > Please try http://www.FreeBSD.org/~jhb/patches/msi_assign.patch This fixes the panic for me. Loading drm module either at loader prompt or compiling it in both works with your patch.