From owner-freebsd-current@FreeBSD.ORG Tue Feb 14 13:02:17 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E42B0106564A for ; Tue, 14 Feb 2012 13:02:17 +0000 (UTC) (envelope-from nyan@FreeBSD.org) Received: from sakura.ccs.furiru.org (sakura.ccs.furiru.org [IPv6:2001:2f0:104:8060::1]) by mx1.freebsd.org (Postfix) with ESMTP id 6D4418FC17 for ; Tue, 14 Feb 2012 13:02:17 +0000 (UTC) Received: from localhost (authenticated bits=0) by sakura.ccs.furiru.org (unknown) with ESMTP id q1ED2G89026451; Tue, 14 Feb 2012 22:02:16 +0900 (JST) (envelope-from nyan@FreeBSD.org) Date: Tue, 14 Feb 2012 22:02:15 +0900 (JST) Message-Id: <20120214.220215.242248466259195106.nyan@FreeBSD.org> To: break19@gmail.com From: TAKAHASHI Yoshihiro In-Reply-To: <4F393B95.7070203@gmail.com> References: <20120213.220645.343708041324869748.nyan@FreeBSD.org> <4F393B95.7070203@gmail.com> X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: loader is aborted with 'out of memory' X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 14 Feb 2012 13:02:18 -0000 In article <4F393B95.7070203@gmail.com> Chuck Burns writes: > On 2/13/2012 7:06 AM, TAKAHASHI Yoshihiro wrote: >> I got the following error of the current loader if I put the xxx_after >> line into loader.conf to wait a key after load the xxx module. >> >> --- >> Error: out of memory >> Module xxx >> Error executing read -p "Press Enter" >> Aborted! >> --- >> >> The loader.conf is: >> xxx_load="YES" >> xxx_after="read -p \"Press Enter\"" >> >> Does anyone know what is wrong? >> > Uhm, yea.. it's having trouble executing the command 'read -p "Press > Enter"' > > My guess is, it can't run that command "read". Perhaps it needs a full > path, or something? grasping at straws on the fix you want, but the > error message is pretty clear.. and without the _after line I'm > betting it would boot fine. What I'd like to do is making boot and mfsroot floppy images to install for pc98. So I want to fix this problem. If I tested the loader image on current with the forth scripts on 8.x, the _before and _after work fine. --- TAKAHASHI Yoshihiro