From owner-freebsd-current@FreeBSD.ORG Fri Aug 6 07:20:54 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 7371D16A4CF; Fri, 6 Aug 2004 07:20:54 +0000 (GMT) Received: from erg.verweg.com (erg.verweg.com [217.77.141.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9417B43D64; Fri, 6 Aug 2004 07:20:53 +0000 (GMT) (envelope-from stephanb@whacky.net) Received: from [192.168.1.104] (152.14.static.dsl.luna.net [217.77.152.14]) (authenticated bits=0) by erg.verweg.com (8.12.11/8.12.11) with ESMTP id i767KTor056725 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 6 Aug 2004 09:20:29 +0200 (CEST) (envelope-from stephanb@whacky.net) X-Authentication-Warning: erg.verweg.com: Host 152.14.static.dsl.luna.net [217.77.152.14] claimed to be [192.168.1.104] Message-ID: <41133137.3020102@whacky.net> Date: Fri, 06 Aug 2004 09:20:23 +0200 From: Stephan van Beerschoten User-Agent: Mozilla Thunderbird 0.7.2 (X11/20040725) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ying-Chieh Liao References: <20040804235929.GB740@myrddin.originative.co.uk> <20040805144206.GA71924@cell.sick.ru> <20040806015800.GA35894@freebsd.csie.nctu.edu.tw> In-Reply-To: <20040806015800.GA35894@freebsd.csie.nctu.edu.tw> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=-3.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on erg.verweg.com cc: Gleb Smirnoff cc: current@freebsd.org cc: Paul Richards Subject: Re: /dev/vga 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: Fri, 06 Aug 2004 07:20:54 -0000 Ying-Chieh Liao wrote: >On 四, 8 05, 2004 at 18:42:06 +0400, Gleb Smirnoff wrote: > > >>On Thu, Aug 05, 2004 at 12:59:30AM +0100, Paul Richards wrote: >>P> I can't start X anymore it complains about being unable to mmap >>P> /dev/vga. >>I have /dev/io and /dev/mem disappered in today's CURRENT :) >> >> > >me too >add "device io" in kernel config helps me create /dev/io >add "link ttyv0 vga" helps me create /dev/vga >but I still dont have /dev/mem >and X.org complains about "cannot mmap /dev/vga" > > Are you really surprised linking ttyv0 to vga doesn't work? #kldload mem #kldload io With both of these modules, my X.org will start up without any complains. /dev/vga and /dev/mem are BOTH created through the mem module, how odly it may seem. What I would like to know is WHY these were modularized. I am happy the /dev/null module was reverted. To me that seemed like the most rediculous thing to do anyway as every UNIX system needs it. Therefore everyone would have needed to load the module by hand. What benefit would that give ? It seems to add more difficulty then it adds in functionality. Also, now I have to figure out a way to load these modules per default. btw, you can of course put 'device mem' and 'device io' in your kernel config, but I won't want to. /Stephan