From owner-freebsd-ppc@FreeBSD.ORG Sun Jan 13 17:07:04 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4E3816A419 for ; Sun, 13 Jan 2008 17:07:04 +0000 (UTC) (envelope-from ross@grinz.com) Received: from mail.boomhaus.com (emerson.grinz.com [64.219.233.251]) by mx1.freebsd.org (Postfix) with ESMTP id A1B2513C44B for ; Sun, 13 Jan 2008 17:07:04 +0000 (UTC) (envelope-from ross@grinz.com) Received: from localhost (localhost.grinz.com [127.0.0.1]) by localhost.boomhaus.com (Postfix) with ESMTP id 3869D189 for ; Sun, 13 Jan 2008 08:09:17 -0600 (CST) X-Virus-Scanned: amavisd-new at emerson.grinz.com Received: from mail.boomhaus.com ([127.0.0.1]) by localhost (emerson.grinz.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id BWqL3RahXJxI for ; Sun, 13 Jan 2008 08:09:16 -0600 (CST) Received: from grinzport.grinz.com (localhost.grinz.com [127.0.0.1]) by mail.boomhaus.com (Postfix) with ESMTP id B58A9CA for ; Sun, 13 Jan 2008 08:09:16 -0600 (CST) Received: from 74.170.92.99 (SquirrelMail authenticated user ross.emerson.grinz.com) by grinzport.grinz.com with HTTP; Sun, 13 Jan 2008 08:09:16 -0600 (CST) Message-ID: <50504.74.170.92.99.1200233356.squirrel@grinzport.grinz.com> Date: Sun, 13 Jan 2008 08:09:16 -0600 (CST) From: "Ross Gohlke" To: freebsd-ppc@freebsd.org User-Agent: SquirrelMail/1.4.8 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal References: <50155.74.170.92.99.1200190076.squirrel@grinzport.grinz.com> <20080113122149.06395c51.torfinn.ingolfsen@broadpark.no> In-Reply-To: <20080113122149.06395c51.torfinn.ingolfsen@broadpark.no> Subject: Re: Xorg can't find my graphics card X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ross@grinz.com List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jan 2008 17:07:04 -0000 > BTW, in case you dont know 'pciconf -lv | grep -B 4 VGA' will report what kind of video card you have. I didn't know that trick! Here are the results for the curious: # pciconf -lv | grep -B 4 VGA vgapci0@pci0:0:16:0: class=0x030000 card=0xa5b80208 chip=0x011010de rev=0xa1 hdr=0x00 vendor = 'Nvidia Corp' device = 'NV11 GeForce2 MX / MX 400' class = display subclass = VGA >> (WW) xf86EnableIO 5 >> (II) xf86EnableIO: ffffffff >> (WW) Can't map IO space! > > Aha, Here is a clue. > Try 'sysctl hw.ofwfb.relax_mmap=1' before you use X, Xorg or startx. All that from an earlier thread[1] on this mailing list. > > References: > 1) > http://groups.google.com/group/lucky.freebsd.ppc/browse_thread/thread/f0c48b804f6e4026/3b894d8be1fe7a35?lnk=st&q=xorg-server+1.4_2%2C1+fails+on+RELENG_7#3b894d8be1fe7a35 I did search the archives, but not hard enough I guess. # sysctl hw.ofwfb.relax_mmap=1 hw.ofwfb.relax_mmap: 0 -> 1 This did fix my installation, I can't believe it! I returned to the FreeBSD documentation and completed the steps, resulting in a final /usr/local/etc/xorg.conf. I did find out that you cannot have ANY xorg.conf file (regardless of actual name) in /etc or /usr/local/etc when you first run #X -configure I also learned that if #startx doesn't run, you should troubleshoot that before running #X or #xorgconfig. I may have more questions, but for now I'm giddy! Thanks for the friendly help! Ross