From owner-freebsd-current@FreeBSD.ORG Sat Aug 14 00:19:43 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9258B16A4D2 for ; Sat, 14 Aug 2004 00:19:43 +0000 (GMT) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46DB843D3F for ; Sat, 14 Aug 2004 00:19:43 +0000 (GMT) (envelope-from eta@lclark.edu) Received: from [192.168.0.103] (c-24-21-18-195.client.comcast.net[24.21.18.195]) by comcast.net (sccrmhc11) with SMTP id <20040814001942011004qkrke>; Sat, 14 Aug 2004 00:19:42 +0000 From: Eric Anholt To: "Michael W. Oliver" In-Reply-To: <20040814000620.GB75428@gargantuan.com> References: <1092434090.21417.2.camel@shumai.marcuscom.com> <20040813220108.802DB16A4CF@hub.freebsd.org> <20040813225046.GA71613@xor.obsecurity.org> <20040814000620.GB75428@gargantuan.com> Content-Type: text/plain Message-Id: <1092442780.1072.116.camel@leguin> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Fri, 13 Aug 2004 17:19:40 -0700 Content-Transfer-Encoding: 7bit cc: current@freebsd.org cc: Kris Kennaway Subject: Re: /dev/vga dissappeared? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 14 Aug 2004 00:19:43 -0000 On Fri, 2004-08-13 at 17:06, Michael W. Oliver wrote: > On 2004-08-13T15:50:46-0700, Kris Kennaway wrote: > > On Fri, Aug 13, 2004 at 10:01:08PM +0000, Julian Elischer wrote: > > > I think kkldload mem is the answer... > > > I borowed a passing laptop and looked in teh archives.. > > > > > > how come UPDATING doesn't mention this... > > > > > > it mentions mem but it should mention vga too. > > > > s/vga/io/? The previous respondent mentioned that the /dev/vga error > > from X is bogus. > > At first, I didn't have 'io' or 'mem' in my kernel config file, and xorg > complained about missing /dev/io. So, not knowing that I needed 'mem', > too, I added 'io' to my kernel config file and rebuilt/installed. After > reboot, xorg then complained about missing /dev/vga. This stumped me, > so I went to cvsweb and compared the GENERIC that my customer kernel was > based on versus the latest GENERIC to see what "GENERIC" stuff I was > missing. The only thing that was missing was 'mem'. So, I added mem, > did the dance again, and now xorg works like a champ. > > FYI, even with 'io' and 'mem' in my kernel, there is still no /dev/vga, > but xorg doesn't seem to mind anymore. I haven't gone through the code, but I'm assuming that /dev/vga on something (linux?) provides the capabilities that the normal /dev/io did, and it was trying to use that as a fallback. The error, rather than saying "your /dev/io or /dev/vga are missing" only reported the last one. -- Eric Anholt eta@lclark.edu http://people.freebsd.org/~anholt/ anholt@FreeBSD.org