From owner-freebsd-stable@FreeBSD.ORG Fri Jun 20 15:08:51 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 212C77FB for ; Fri, 20 Jun 2014 15:08:51 +0000 (UTC) Received: from smtp1.computing.csbsju.edu (smtp1.computing.csbsju.edu [152.65.184.22]) by mx1.freebsd.org (Postfix) with ESMTP id A7AEF2AB2 for ; Fri, 20 Jun 2014 15:08:50 +0000 (UTC) X-AuditID: ac10425b-f79f66d000000e29-96-53a44af7f559 Received: from Mail-HTCAS1.ad.csbsju.edu (Unknown_Domain [172.16.66.43]) by smtp1.computing.csbsju.edu (Symantec Messaging Gateway) with SMTP id 30.3A.03625.7FA44A35; Fri, 20 Jun 2014 09:53:43 -0500 (CDT) Received: from nxv.csbsju.edu (172.16.66.48) by MAIL-HTCAS1.ad.csbsju.edu (172.16.66.43) with Microsoft SMTP Server id 14.3.195.1; Fri, 20 Jun 2014 09:53:43 -0500 Received: by nxv.csbsju.edu (Postfix, from userid 1401) id CC02E1A0D2A; Fri, 20 Jun 2014 09:53:42 -0500 (CDT) Date: Fri, 20 Jun 2014 09:53:42 -0500 From: Michael Gass To: Warren Block Subject: Re: New Xorg with vt, radeon, and 10-stable Message-ID: <20140620145342.GA11837@csbsju.edu> References: <20140618231418.GA15764@csbsju.edu> <20140619140226.GB11623@csbsju.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-12-10) X-Brightmail-Tracker: H4sIAAAAAAAAA11Tf0xTVxjltrU+KldeX6F8VlD2VllwCsLGxkQZmrmwRTezLlu26aCFZ3nQ 0trXorjEYFjGD51D5kBKJowSJZtRh4trWIhaJSJ2DGXTQQhZHX8IG3PS6aRLtr3Xx4+H/52c 891zv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gSH996HEup1bnszri/91e1XNtmDX1sk1Xbvkd4pNHt9bfwZfZ7Oq6y8fdPrLjSUfbvzBcvv5 dxI2rYT3N6ysqbK152c4UzPXPjxQO7mtfMnOl9qcPw3eGFyaz1I5F//Br7W7ryZX3Mr5QDn0 dnPyqaQX95fRCq7ImLZa7uCM/wMh+4N2mwUAAA== Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2014 15:08:51 -0000 On Thu, Jun 19, 2014 at 08:54:12AM -0600, Warren Block wrote: > On Thu, 19 Jun 2014, Michael Gass wrote: > > >>As far as I know, that will work with vt(4). However, you must > >>build a kernel with vt(4) instead of syscons(4). And it requires > >>9-STABLE, 10-STABLE, or newer. > > > >Thanks Warren. I will give it a try. > > There is a sample kernel config file in 9- and 10-stable called > "VT". It really just turns off the sc(4) and vga(4) modules and > enables vt(4) and vt_vga, which is easy to do in custom kernel > config files also. Hi Warren. Thanks for the response. This works well except for one problem. The kernel rebuild went fine and vt_vga worked during the boot process. Tried kldload radeonkms and that worked well also. So I put radeonkms_load="YES" in loader.conf and then the boot process crashes. There is no dmesg available, but I can see the following error messages on the screen. error: [drm:pid0:r600_init_microcode] *ERROR* r600_cp: Failed to load firmware "radeonkmsfw_RV610_pfp" error: [drm:pid0:r600_startup] *ERROR* Failed to load firmware! drmn0: error: disabling GPU acceleration error: [drm:pid0:r600_init] *ERROR* radeon: ucode required for R600+ drmn0: error: Fatal error during GPU init I used a rescue cd to change loader.conf and get the system working again. I do not understand what the probem is, since radeonkms will work with kldload. I can also switch back and forth from X to vt without problem now. My graphics card is AMD RV610 HD 2400 PRO/XT I'm running FreeBSD 10.0-stable on an amd64 machine. I built everything with the lines WITH_NEW_XORG=yes WITH_GALLIUM=yes in make.conf Any advice? Thanks, Mike