[ELDK] rootfs permissions
Lee, Henry
Henry.Lee at andrew.com
Fri Mar 12 21:15:00 CET 2010
I am trying to mount the ELDK 4.2 ppc_6xx root file system in 2.6.32.8 kernel.
I have run ELDK_MAKEDEV and ELDK_FIXOWNER.
My boot arguments are:
#define CONFIG_BOOTARGS "console=ttyCPM0,115200 root=/dev/nfs rw noinitrd nfsroot=192.168.3.1:/opt/eldk/ppc_6xx ip=192.168.3.2:192.168.3.1:192.168.3.0:255.255.255.0:255.255.255.2::off"
What is causing the permission errors below?
Thanks,
Henry
-----
VFS: Mounted root (nfs filesystem) on device 0:11.
Freeing unused kernel memory: 132k init
INIT: version 2.86 booting
/etc/rc.d/rc.sysinit: line 18: /etc/sysconfig/network: Permission denied
Welcome to DENX Embedded Linux Environment
Press 'I' to enter interactive startup.
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.
Setting clock : Thu Jan 1 01:00:06 CET 1970 [ OK ]
Building the cache /sbin/ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
[FAILED]
/etc/rc.d/rc.sysinit: line 381: /etc/fstab: Permission denied
/etc/rc.d/rc.sysinit: line 382: /etc/fstab: Permission denied
/etc/rc.d/rc.sysinit: line 383: /etc/fstab: Permission denied
Setting hostname 255: [ OK ]
can't create lock file /etc/mtab~769: Permission denied (use -n flag to override)
Mounting local filesystems: can't create lock file /etc/mtab~774: Permission denied (use -n flag to override)
[FAILED]
touch: cannot touch `/var/lib/random-seed': Permission denied
chmod: cannot access `/var/lib/random-seed': No such file or directory
rm: cannot remove `/var/lock/lvm/*': Permission denied
rm: cannot remove `/var/run/mdadm/*': Permission denied
rm: cannot remove `/var/run/named/*': Permission denied
/etc/rc.d/rc.sysinit: line 860: /var/run/utmp: Permission denied
touch: cannot touch `/var/log/wtmp': Permission denied
chgrp: cannot access `/var/run/utmp': No such file or directory
chgrp: cannot access `/var/log/wtmp': No such file or directory
chmod: cannot access `/var/run/utmp': No such file or directory
chmod: cannot access `/var/log/wtmp': No such file or directory
chown: changing ownership of `/tmp/.ICE-unix': Operation not permitted
Enabling /etc/fstab swaps: swapon: cannot open /etc/fstab: No such file or directory
[FAILED]
/etc/rc.d/rc.sysinit: line 930: /var/log/dmesg: Permission denied
touch: cannot touch `/var/run/getkey_done': Permission denied
INIT: Entering runlevel: 3
Starting system logger: [FAILED]
Starting kernel logger: [ OK ]
touch: cannot touch `/var/lock/subsys/local': Permission denied
More information about the eldk
mailing list