From owner-freebsd-current Sun May 13 23:24:40 2001 Delivered-To: freebsd-current@freebsd.org Received: from kalaid.f2f.com.ua (kalaid.f2f.com.ua [62.149.0.33]) by hub.freebsd.org (Postfix) with ESMTP id 0222337B424 for ; Sun, 13 May 2001 23:24:32 -0700 (PDT) (envelope-from sobomax@mail-in.net) Received: from Mail-In.Net (borey.f2f.com.ua [62.149.0.24]) by kalaid.f2f.com.ua (8.11.3/8.11.1) with ESMTP id f4E6QL028990; Mon, 14 May 2001 09:26:24 +0300 (EEST) (envelope-from sobomax@mail-in.net) Received: from notebook.vega.com (dialup10-18.iptelecom.net.ua [212.9.228.82]) by Mail-In.Net (8.11.3/8.H.Z) with ESMTP id f4E6Od035882; Mon, 14 May 2001 09:24:47 +0300 (EEST) Date: Mon, 14 May 2001 09:24:47 +0300 (EEST) Message-Id: <200105140624.f4E6Od035882@Mail-In.Net> To: jhay@icomtek.csir.co.za Cc: current@FreeBSD.ORG From: Maxim Sobolev Reply-To: sobomax@FreeBSD.ORG Subject: =?ISO-8859-1?Q?sysinstall_bootstrapping_issues_[Was:_-CURRENT_b0rked=3F]?= X-Mailer: Pygmy (v0.5.7) In-Reply-To: <200105131513.f4DFD2l91900@zibbi.icomtek.csir.co.za> Content-type: text/plain Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 13 May 2001 17:13:01 +0200 (SAT), John Hay wrote: > > > > = > > > > It seems that sysinstall(8) was not fully integrated into > > > > buildworld - it depends on content of /usr/share/syscons/keymaps, > > > > while it shouldn't. > > > > = > > > > I've just committed a patch that should fix this problem. > > = > > You should look a little earlier in the logs to where the damage was re= ally > > done: > > = > > rm -f keymap.tmp > > for map in be.iso br275.iso danish.iso finnish.iso fr.iso german.iso h= r.iso hu. > > iso2.101keys it.iso icelandic.iso jp.106 norwegian.iso pl_PL.ISO_8859-= 2 pt.iso = > > ru.koi8-r si.iso spanish.iso swedish.iso swissfrench.iso swissgerman.i= so ua.koi > > 8-u ua.koi8-u.shift.alt uk.iso us.dvorak us.iso us.pc-ctrl us.unix ; d= o env KE > > YMAP_PATH=3D/usr/src/usr.sbin/sysinstall/../../share/syscons/keymaps k= bdcontrol - > > L $map | sed -e '/^static accentmap_t/,$d' >> keymap.tmp ; done > > Segmentation fault - core dumped > > ... > > = > > It looks like kbdcontrol is not very happy. > = > Ok, here is a patch that fix the problem for me. The problem is that > a second call to mkfullname() will reuse the memory at the pointer that > it returns, so you have to preserve it before then. OOPS, sorry. I've overlooked it. Should be fixed now. Interesting that on my system it worked like a charm. 4.3 upgrade path is likely to be still broken , because kbdcontrol(8) in 4-STABLE doesn't honour KEYMAP_PATH environment variable. Perhaps kbdcontrol should be added into bootstrap tools to fully fix the problem. -Maxim -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message