From owner-freebsd-questions@FreeBSD.ORG Mon Feb 11 18:21:12 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 65AB1110 for ; Mon, 11 Feb 2013 18:21:12 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-wg0-f44.google.com (mail-wg0-f44.google.com [74.125.82.44]) by mx1.freebsd.org (Postfix) with ESMTP id E141C30D for ; Mon, 11 Feb 2013 18:21:11 +0000 (UTC) Received: by mail-wg0-f44.google.com with SMTP id dr12so4823100wgb.23 for ; Mon, 11 Feb 2013 10:21:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=IGwDM1gj846WAfkOIvYMJrznfNiiD9n08BQT3v2UGrI=; b=AjhK1J05jfGk2mJ25MD+Y0ukranJUDbXDLl2M/tKIsw7iIXrgf4JwMAqiVU2tp36tt /7cn/Jv2bh4eZyGpRRAv6y08zrsquuhS7eNR+FjGN5mVlLinRz8aWTx7y4R2aKa/nLZs phHCpuXLm4H+No0jAyWOF5D2LVutCBTskn6makOrTm1LsRr5ueAWqJj9H5UlVfMCQrxG Zq2KcdQc3mpCoWLiZxBNffqMJBt3hzdcwP7IAAHw9jMeJJPrDapRgG+pf/voPdgcQLpK wy0fDMRB7VI/rI/ooWC7sPhsgnIlTQ8sWEy8Z1+i5Z27aiicOCI2pj4y5aT1+lPWMMXE bvbw== X-Received: by 10.180.79.104 with SMTP id i8mr17870000wix.24.1360606864700; Mon, 11 Feb 2013 10:21:04 -0800 (PST) Received: from Melon.malikania.fr (177.33.91.91.rev.sfr.net. [91.91.33.177]) by mx.google.com with ESMTPS id e6sm34935957wiz.1.2013.02.11.10.21.03 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 11 Feb 2013 10:21:04 -0800 (PST) Message-ID: <51193665.3070507@gmail.com> Date: Mon, 11 Feb 2013 19:20:21 +0100 From: David Demelier User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130115 Thunderbird/17.0.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: /rescue/init wrong permissions References: <5118C2E5.8030005@gmail.com> In-Reply-To: <5118C2E5.8030005@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2013 18:21:12 -0000 On 11/02/2013 11:07, Joshua Isom wrote: > On 2/10/2013 3:22 PM, David Demelier wrote: >> Hello >> >> I've just cross compiled FreeBSD 9.1-RELEASE i386 for an embedded device. >> After some days and reboot, I just realized that the device does not boot >> anymore, so I've plugged a serial cable and saw a panic with error : >> >> exec /rescue/init: error 13 >> >> I checked the permissions and noticed that permissions are only set to >> read >> on this file : >> >> -r--r--r-- 1 root wheel 5576 10 Feb 2013 rescue/init >> >> On my laptop it's -r-xr-xr-x. I have installed it to my embedded device >> with standard targets such as make installworld and make distribution, >> which kind of steps set these permissions ? >> >> Cheers, >> > > Just a quick guess, the file system is mounted as noexec. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Okay it seems I've totally mangled the files, my /rescue/* file were plain C source file. I guess I've probably broke everything when I misuse the -d and -D options from mergemaster. Cheers,