From owner-freebsd-current@FreeBSD.ORG Sat Feb 21 16:08:44 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 383621065670; Sat, 21 Feb 2009 16:08:44 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.terabit.net.ua (mail.terabit.net.ua [195.137.202.147]) by mx1.freebsd.org (Postfix) with ESMTP id CFC008FC08; Sat, 21 Feb 2009 16:08:43 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from skuns.zoral.com.ua ([91.193.166.194] helo=mail.zoral.com.ua) by mail.terabit.net.ua with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1LauPB-000PWN-QE; Sat, 21 Feb 2009 18:08:41 +0200 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id n1LG8dKM056246 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 21 Feb 2009 18:08:39 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3) with ESMTP id n1LG8cYo044713; Sat, 21 Feb 2009 18:08:38 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3/Submit) id n1LG8cir044712; Sat, 21 Feb 2009 18:08:38 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 21 Feb 2009 18:08:38 +0200 From: Kostik Belousov To: Alexander Motin Message-ID: <20090221160838.GB41617@deviant.kiev.zoral.com.ua> References: <49A00130.9070105@FreeBSD.org> <49A02152.8050209@gmx.de> <49A023C6.5070401@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JyUo+2rKuw1VKSUr" Content-Disposition: inline In-Reply-To: <49A023C6.5070401@FreeBSD.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua X-Virus-Scanned: mail.terabit.net.ua 1LauPB-000PWN-QE ae46656ab6a4dff81efaf80f51b1a898 X-Terabit: YES Cc: Christoph Mallon , FreeBSD-Current Subject: Re: Fatal trap 30: reserved (unknown) fault 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, 21 Feb 2009 16:08:44 -0000 --JyUo+2rKuw1VKSUr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 21, 2009 at 05:54:46PM +0200, Alexander Motin wrote: > Christoph Mallon wrote: > >Alexander Motin schrieb: > >>About month ago after one of my amd64 8-CURRENT upgrade I have started= =20 > >>to see crashes with very strange message: > >>Fatal trap 30: reserved (unknown) fault while in kernel mode > >> > >>Crash usually happens during some driver loading or unloading, for=20 > >>example, snd_hda, which always worked fine before, or during ata=20 > >>channel detach/attach which also causes device destruction/creation.=20 > >>Backtrace of this state shows nothing interesting, for example idling= =20 > >>in acpi_cpu_c1() or just DELAY(). > >> > >>Does anybody knows, for whom is this fault "reserved" and what does it= =20 > >>mean? > > > >Intel: > > 20-31 -- Intel reserved. Do not use. > > > >This exception really should not happen. Maybe int 0x30 is executed, but= =20 > >this should not be the case either. >=20 > I have hit somewhere on web that traps may share vectors with interrupts= =20 > and this may cause problems. Can't it be some mishandled IRQ? What will= =20 > happen if some IRQ arrive after driver detach? How it will be handled? 30 is not CPU trap number, this is a freebsd trap number; see i386/include/trap.h. Actually, this is a crack from r187880. Trap 30 is reported when interrupt is delivered for a vector that has no (non-default) handler installed. Read apic_disable_vector() that sets irq handler for unhandled vector to rsvd. --JyUo+2rKuw1VKSUr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkmgJwYACgkQC3+MBN1Mb4hMjwCg82qlHKbNrjxkASw2bfm8ZUFH dRoAnjapQR9YvcZjInpdKxO8bj7wt3EI =4lZc -----END PGP SIGNATURE----- --JyUo+2rKuw1VKSUr--