From owner-freebsd-stable@FreeBSD.ORG Tue Feb 14 08:10:59 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A42B4106564A; Tue, 14 Feb 2012 08:10:59 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 32C648FC14; Tue, 14 Feb 2012 08:10:58 +0000 (UTC) Received: from outgoing.leidinger.net (p4FC4218C.dip.t-dialin.net [79.196.33.140]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id B55808448CD; Tue, 14 Feb 2012 09:10:44 +0100 (CET) Received: from webmail.leidinger.net (webmail.Leidinger.net [IPv6:fd73:10c7:2053:1::3:102]) by outgoing.leidinger.net (Postfix) with ESMTPS id E2D1E2FDD; Tue, 14 Feb 2012 09:10:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leidinger.net; s=outgoing-alex; t=1329207042; bh=r2Rj77zamOYbteSQ848/66GKuI/OEzv2OVpv6f71/0A=; h=Date:Message-ID:From:To:Cc:Subject:References:In-Reply-To: Content-Type:MIME-Version; b=VeeUIck29fps995DUSYtXbb4FR7ZCz5YN4yNeeFLew/Ml+UPQTBHbOOimOSBhrtE/ jL60nT2i4jbMC2UGCSTtRtucSJK+pHgE7WXWATREOP5w4vxgCT487NCD/nmtV8TZZZ S9aDifyA/wgr/sxSsnln6nVnfkYImvSk+UlL2feM4zZe4rP2ELTvp96KcLokcZrPVJ TSe5DXFxFIGR3duNEFK0+8qKIPbuyyXYsYz28YkpwQc0FLBMg/YOM5n0XdeJZuTaDM kN4JO8R41i1rv6Emo+5NT03QnVYkUlVC2pYz5hkeZefpAfvtclkSET30UMqPkUzBu6 XZpKMQUTFkWvg== Received: (from www@localhost) by webmail.leidinger.net (8.14.5/8.14.4/Submit) id q1E8Ae5h005161; Tue, 14 Feb 2012 09:10:40 +0100 (CET) (envelope-from Alexander@Leidinger.net) X-Authentication-Warning: webmail.leidinger.net: www set sender to Alexander@Leidinger.net using -f Received: from 85.94.224.19 ([85.94.224.19]) by webmail.leidinger.net (Horde Framework) with HTTP; Tue, 14 Feb 2012 09:10:40 +0100 Date: Tue, 14 Feb 2012 09:10:40 +0100 Message-ID: <20120214091040.Horde.Lwy6S5jmRSRPOhcAha9RNLA@webmail.leidinger.net> From: Alexander Leidinger To: Volodymyr Kostyrko References: <20120210145604.Horde.ewjpSpjmRSRPNSH0YRHxgAk@webmail.leidinger.net> <20120211124041.GF32360@graf.pompo.net> <20120211183308.00007579@unknown> <4f379cde.l6lDd9rduQzDU/xx%perryh@pluto.rain.com> <20120212120633.0000302d@unknown> <4f38e34a.lZtNaNETBImp/XiD%perryh@pluto.rain.com> <20120213120514.Horde.LMNbOJjmRSRPOO5qpDYJzWA@webmail.leidinger.net> <4F392FE1.5070901@gmail.com> In-Reply-To: <4F392FE1.5070901@gmail.com> User-Agent: Internet Messaging Program (IMP) H4 (5.0.18) Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: B55808448CD.A2436 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-0.698, required 6, autolearn=disabled, AWL -0.67, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, TW_ZF 0.08, T_RP_MATCHES_RCVD -0.01) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1329811845.66728@gIzJEP6ypPwluGqq48ActA X-EBL-Spam-Status: No Cc: thierry@freebsd.org, stable@freebsd.org, perryh@pluto.rain.com Subject: Re: Reducing the need to compile a custom kernel X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Feb 2012 08:10:59 -0000 Quoting Volodymyr Kostyrko (from Mon, 13 Feb 2012 17:44:33 +0200): > Alexander Leidinger wrote: >> Feasible: depend upon your definition of "feasible". You would have to >> add all keymaps statically into the kernel. No idea which parts exactly >> we talk about, but: >> ---snip--- >> % du -h /usr/share/syscons/ >> 40k /usr/share/syscons/scrnmaps >> 570k /usr/share/syscons/fonts >> 1.1M /usr/share/syscons/keymaps >> 1.8M /usr/share/syscons/ >> ---snip--- >> >> I wouldn't mind for 40k, but 1.8M looks more like the value to calculate >> with. Anyway, this is out of the scope of the original question. > > Correct me if I'm wrong but zfs already fetches plain file > /boot/zfs/zpool.cache on load. Can't this be: > > 1. Postponed to later processing. > 2. After filesystems are mounted the keymap is loaded. This is already the case. you can set the keymap in rc.conf. > Or even: > > 1. Put all viable files on the / partition. > 2. Select and load correct one before kernel is fired. This is not the same as compiling it in the kernel. Think about a problem where parts of your FS are corrupt / damaged / overwritten with nonsense. Yes you can minimize the problem by loading it more early, but having it in the kernel removes the keyboard problem completely. Bye, Alexander. -- A lost ounce of gold may be found, a lost moment of time never. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137