From owner-freebsd-amd64@FreeBSD.ORG Wed Jun 23 20:45:01 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9794916A4CE for ; Wed, 23 Jun 2004 20:45:01 +0000 (GMT) Received: from mail.broadpark.no (mail.broadpark.no [217.13.4.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21C3043D55 for ; Wed, 23 Jun 2004 20:45:01 +0000 (GMT) (envelope-from henrik.w.lund@broadpark.no) Received: from [10.0.0.3] (52.80-202-129.nextgentel.com [80.202.129.52]) by mail.broadpark.no (Postfix) with ESMTP id EF22A1AF8; Wed, 23 Jun 2004 22:45:13 +0200 (MEST) Message-ID: <40DA6A95.2070906@broadpark.no> Date: Wed, 23 Jun 2004 22:45:57 -0700 From: Henrik W Lund User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: nb, en-us, en MIME-Version: 1.0 To: Christer Solskogen References: <20040623165434.GA82815@tenderheart.carebears.net> In-Reply-To: <20040623165434.GA82815@tenderheart.carebears.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit cc: freebsd-amd64@freebsd.org Subject: Re: keymap and rc.conf X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2004 20:45:01 -0000 Christer Solskogen wrote: >Hi! > >I`m having a bit problem with my keysettings with FreeBSD AMD64. >Its seems like FreeBSD dont care about my settings in rc.conf. >I also have a machine running FreeBSD i386, with the same settings >in rc.conf, and it works on that arch. > >Just to be sure, I have included my rc.conf. (which is just like >the rc.conf on the i386) > ># This is really done in rc.conf --->>>>> >defaultrouter="192.168.0.1" >hostname="funshine.carebears.net" >ifconfig_rl0="inet 192.168.0.9 mtu 1492 netmask 255.255.255.0" >nfs_client_enable="YES" >sshd_enable="YES" >usbd_enable="YES" >sendmail_enable="NONE" >keymap="norwegian.iso" >keyrate="fast" >rpcbind_enable="YES" ># This is /not/ beeing done. >font8x8="iso-8x8" >font8x14="iso-8x14" >font8x16="iso-8x16" >allscreens_flags="80x50" >--- > >Even the "allscreens_flag" is not taken care of. >But here come the bug question! >If I run /stand/sysinstall, and selects my options; my keyboard >works with norwegian options and all. But it wont hold after >a reboot. > >Tips, anyone? > >(Running FreeBSD 5.2.1-RELEASE-p8 on amd64) > > > Greetings, fellow norwegian!! Er du på NOBUG-lista? Den er jammen stille, må jeg si. ;-) I'm having the exact same problem as you. I have the keymap setting in rc.conf, but the bootup process doesn't honor it at all. It does, in fact, not honor any setting that has to do with syscons, as keyrate, screenmap and such does not work either. I dug around, and it seems the /etc/rc.d/syscons script is skipped during startup, for some obscure reason. Running 5.2.1-RELEASE-p0 I am, and I have just cvsupped hoping that it'd be fixed. No such luck, I see. :-/ I wonder if this is an issue with other scripts in /etc/rc.d as well? Haven't tried too much, I admit. Anyways, on a per session basis, I find that kbdmap is ideal to use for setting the keymap. It's a lot faster that /stand/sysinstall, and doesn't add a line to /etc/rc.conf every time.