Re: /rescue/init wrong permissions

2013-02-11 Thread David Demelier
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-unsubscr...@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,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


/rescue/init wrong permissions

2013-02-10 Thread David Demelier
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,

-- 
Demelier David
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org