From owner-freebsd-stable@FreeBSD.ORG Fri Jun 20 15:50:42 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 46907DA3 for ; Fri, 20 Jun 2014 15:50:42 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CB93F2E98 for ; Fri, 20 Jun 2014 15:50:41 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id s5KFoWuR068697 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 20 Jun 2014 09:50:32 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id s5KFoWJv068694; Fri, 20 Jun 2014 09:50:32 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 20 Jun 2014 09:50:32 -0600 (MDT) From: Warren Block To: Michael Gass Subject: Re: New Xorg with vt, radeon, and 10-stable In-Reply-To: <20140620145342.GA11837@csbsju.edu> Message-ID: References: <20140618231418.GA15764@csbsju.edu> <20140619140226.GB11623@csbsju.edu> <20140620145342.GA11837@csbsju.edu> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Fri, 20 Jun 2014 09:50:32 -0600 (MDT) 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:50:42 -0000 On Fri, 20 Jun 2014, Michael Gass wrote: > 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? Last I heard, manually loading the kernel module was problematic in this way. Don't explicitly load it in loader.conf, let X and vt handle it.