From owner-freebsd-current@FreeBSD.ORG Mon May 6 06:12:28 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2FE4D804 for ; Mon, 6 May 2013 06:12:28 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id E93751CD for ; Mon, 6 May 2013 06:12:27 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.80.1) with esmtp (envelope-from ) id <1UZEep-001r5M-Gl>; Mon, 06 May 2013 08:12:19 +0200 Received: from g226177200.adsl.alicedsl.de ([92.226.177.200] helo=[192.168.0.128]) by inpost2.zedat.fu-berlin.de (Exim 4.80.1) with esmtpsa (envelope-from ) id <1UZEep-001io7-C7>; Mon, 06 May 2013 08:12:19 +0200 Subject: Re: kernel panic with _autoload_ nvidia driver From: "O. Hartmann" To: devel@stasyan.com In-Reply-To: <20130505100100.62750v3fqplti0t8@webmail01.providersolutions.ru> References: <20130505100100.62750v3fqplti0t8@webmail01.providersolutions.ru> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-u7/BXyoBW1Xpbb05xfMq" Date: Mon, 06 May 2013 08:12:18 +0200 Message-ID: <1367820738.1648.7.camel@thor.walstatt.dyndns.org> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port X-Originating-IP: 92.226.177.200 Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Mon, 06 May 2013 06:12:28 -0000 --=-u7/BXyoBW1Xpbb05xfMq Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Sun, 2013-05-05 at 10:01 +0400, devel@stasyan.com wrote: > Hello ! >=20 > This problems appears about 4-6 months ago after updating of -CURRENT = host. > Unable to boot host with nvidia_load=3D"YES" in loader.conf because panic= . > But when nvidia driver loads manually via kldload, everything OK. > Nvidia driver version is 310.44 at this moment, but problem was and on = =20 > earlier version too. >=20 [...] This problem is present much longer than 4 - 5 months and it is bugging me now for a while more frequently since FreeBSD uses CLANG, but it isn't only related to CLANG since I have had those problems even before with the legacy gcc (4.2). The crash occurs only when loading the nvidia.ko at a very early stage, as it is done with the loader.conf. i do not know exactly at which stage is crashed in my case, but it is always a gambling. You can easily circumvent this by loading the nvidia.ko kernel module at a very late stage via /etc/rc.conf.local with the entry: kld_list=3D"nvidia" In my case, it is the only way to have the nvidia module loaded save and sound and it works for me since a couple of time for now. Regards, Oliver --=-u7/BXyoBW1Xpbb05xfMq Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (FreeBSD) iQEcBAABAgAGBQJRh0m9AAoJEOgBcD7A/5N82PQH/29JmREq+j1A6RTVP/WRQ2Te EIn/O8Wwq2xrLBUUby+uSNx0y/E0PJadG3cJrOuqb6SH0c0hwcQTkiL2WqIL67a7 OE4YBmsRlqPjxuqzgKYOD0AdecwgKdENh8kHQgPfHLomxRkn25KgcQM7qpBl8xm6 sclB0aodX0eUCx+SaGe4p2p+GD3a/zcSdqBonaOm6HONSSCOVpiqd/6nIV1SPR1A YHZnPRaio2eYdBocADqVFMDfmXirOHw9pvErF9nhf1jIYxdUHvzSfku3tdrhlr1C Hss5idNIC6Uvu3JGdpBDhfZrfO3HozphIIsbgmuSRhj5TwfyAnnBpjSA+55jvVs= =Kta7 -----END PGP SIGNATURE----- --=-u7/BXyoBW1Xpbb05xfMq--