From owner-freebsd-current@FreeBSD.ORG Sat Jul 4 21:00:07 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 6E39F106564A; Sat, 4 Jul 2009 21:00:07 +0000 (UTC) (envelope-from gelraen.ua@gmail.com) Received: from mail-vw0-f199.google.com (mail-vw0-f199.google.com [209.85.212.199]) by mx1.freebsd.org (Postfix) with ESMTP id CA7EA8FC08; Sat, 4 Jul 2009 21:00:06 +0000 (UTC) (envelope-from gelraen.ua@gmail.com) Received: by vwj37 with SMTP id 37so267369vwj.3 for ; Sat, 04 Jul 2009 14:00:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=xU7/VmiD7xXR7PpOR1KodphboD3AvnoYJW6PizIP4Bw=; b=VQR65CF527H16woECFbtw/sf78Xo98bKPDXP438oEsG0MD7oFBUhPqycsWo3SlFXQ1 3Lte6oNjb6ITG6H0sanaTaHYtHFlBr4lYHLupqNI+yUId7tS+5OVXuCTrpHvlns4E+X/ fi2Tj1Mob3mFF1oKzITNvJZ2XCaAXv27kl+fI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=PoKA1jHYoT5EZuFxEi7zfldZdrsBoupHgIPqD5wxgYW/N/ufExVD+CVTWd1TQ3/2E4 kMtS6h6JFqSSD6WdvbF+9ZZaNSFxknbrlOrwHAXtv1+/dmzeVZu1ICpRcazRzYKkAyCO 1N3gScSlf9YX/DaXooMDEiDSRkAh5Joz3x9dQ= MIME-Version: 1.0 Received: by 10.220.90.199 with SMTP id j7mr6082383vcm.24.1246741206121; Sat, 04 Jul 2009 14:00:06 -0700 (PDT) In-Reply-To: <4A4D3665.3060502@FreeBSD.org> 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> From: Maxim Ignatenko Date: Sat, 4 Jul 2009 23:59:46 +0300 Message-ID: To: John Baldwin Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Anonymous , 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: Sat, 04 Jul 2009 21:00:07 -0000 2009/7/3 John Baldwin : > Maxim Ignatenko wrote: >>> >>> Fatal trap 30: reserved (unknown) fault while in kernel mode >>> cpuid =3D 3; apic id =3D 03 >>> instruction pointer =C2=A0 =C2=A0 =3D 0x20:0xffffffff804bce56 >>> stack pointer =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D 0x20:0xffffff80000= 39b60 >>> frame pointer =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D 0x20:0xffffff80000= 39b70 >>> code segment =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D base 0x0, lim= it 0xfffff, type 0x1b >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =3D DPL 0, pres 1, long 1, def32 0, gran 1 >>> processor eflags =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D interrupt enabled, IOPL= =3D 0 >>> current process =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D 11 (idle: cpu3) >>> [thread pid 11 tid 100003 ] >>> Stopped at =C2=A0 =C2=A0 =C2=A0acpi_cpu_c1+0x6: =C2=A0 =C2=A0 =C2=A0 = =C2=A0leave >>> 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 =3D 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 =3D 1; apic id =3D 01 >> instruction ponter =C2=A0 =C2=A0 =C2=A0=3D 0x20:0xc09252c5 >> stack pointer =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D 0x28:0xc4ecec94 >> frame pointer =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D 0x28:0xc4ecec94 >> code segment =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D base 0x0, limi= t 0xfffff, type 0x1b >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0=3D DPL 0, pres 1, def32 1, gran 1 >> processor eflags =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D interrupt enabled, IOPL = =3D 0 >> current process =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D 11 (idle: cpu1) >> [thread pid 11 tid 100003] >> Stopped at =C2=A0 =C2=A0 =C2=A00xc09252c5 =3D acpi_cpu_c1+0x5: =C2=A0 = =C2=A0popl =C2=A0 =C2=A0 %ebp >> db> bt >> Tracing pid 11 tid 100003 td 0xc5176af0 >> acpi_cpu_c1(1,c4ececa8,1,0,c4ececc0,...) at 0xc09252c5 =3D acpi_cpu_c1+0= x5 >> acpi_cpu_idle(c4ececd4,c093c0ab,0,c4ececf4,c066fdec,...) at 0xc04acf37 >> =3D acpi_cpu_idle+0x107 >> cpu_idle_acpi(0,c4ececf4,c066fdec,0,0,...) at 0xc093d5bb =3D >> cpu_idle_acpi+0x1b >> cpu_idle(0,0,c5176af0,c4ececf4,202,...) at 0xc093c0ab =3D cpu_idle+0x1b >> sched_idletd(0,c4ececd38,a4108400,2c0a0e,7022d00,...) at 0xc066fdec =3D >> sched_idletd+0x1c >> fork_exit(c066fdd0,0,c4eced38) at 0xc0623aa1 =3D fork_exit+0x91 >> fork_trampoline() at 0xc0930c80 =3D fork_tramoline+0x8 >> --- trap 0, eip =3D 0, esp =3D 0xc4ececd70, ebp =3D 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 > Seems to work fine, thanks!