This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problems with using Windows NFS on PC laptop as Linux root FS


> Hello,
> 
> I am having problems with using Windows NFS on my laptop as Linux root FS
> (File System). 
> 
> Has anyone successfully used such approach ?
> 
I am getting broken hardlinks and "permission denied" while copying under
cygwin Unix/Linux type "fadsroot" files from Arabella CD-ROM (supplied with
the PQ2FADS-VR board with MPC8275 - PPC arch ).

I was advised that: "fadsroot must be copied exactly, any error
message probably is a result of the above mentioned incompatibilities  and
the resulting FS would be broken."

Currently (having broken links and may be having other problems associated
with using Windows NFS on PC  laptop as Linux root FS) my board fails at the
end of the U-boot:

**************
.....
Kernel command line:
 root /dev/nfs rw nfsroot=192.168.1.100:/home/apovolot/fadsroot

.....
.....
Looking up port of RPC 100003/2 on 192.168.1.100
Looking up port of RPC 100005/1 on 192.168.1.100
VFS: Mounted root (nfs filesystem).
Freeing unused kernel memory: 272k init
Warning: unable to open an initial console.
Kernel panic: No init found.  Try passing init= option to kernel.
 <0>Rebooting in 180 seconds..
*************
=> printenv
bootdelay=5
bootcmd=bootm 200000
ipaddr=192.168.1.103
serverip=192.168.1.100
ethaddr=08:00:17:00:00:03
baudrate=19200
stdin=serial
stdout=serial
stderr=serial
bootargs=root /dev/nfs rw nfsroot=192.168.1.100:/home/apovolot/fadsroot


What would be the recommended course of actions ?
Should I manually create softlink instead of each broken hardlink ?
What is the solution for "permission denied" files ?

*****************************
apovolot@USPITLAD104868 /cygdrive/e/fadsroot
$ pwd
/cygdrive/e/fadsroot
$ cp -r * /cygdrive/d/Profiles/apovolot/fadsroot
cp: cannot create regular file
`/cygdrive/d/Profiles/apovolot/fadsroot/lib/iptab
les/libip6t_hl.so': Permission denied
cp: cannot create regular file
`/cygdrive/d/Profiles/apovolot/fadsroot/lib/iptab
les/libip6t_mark.so': Permission denied
cp: cannot create regular file
`/cygdrive/d/Profiles/apovolot/fadsroot/lib/iptab
les/libipt_connmark.so': Permission denied
cp: cannot create regular file
`/cygdrive/d/Profiles/apovolot/fadsroot/lib/iptab
les/libipt_dscp.so': Permission denied
cp: cannot create regular file
`/cygdrive/d/Profiles/apovolot/fadsroot/lib/iptab
les/libipt_ecn.so': Permission denied
cp: cannot create regular file
`/cygdrive/d/Profiles/apovolot/fadsroot/lib/iptab
les/libipt_mark.so': Permission denied
cp: cannot create regular file
`/cygdrive/d/Profiles/apovolot/fadsroot/lib/iptab
les/libipt_pool.so': Permission denied
cp: cannot create regular file
`/cygdrive/d/Profiles/apovolot/fadsroot/lib/iptab
les/libipt_tcpmss.so': Permission denied
cp: cannot create regular file
`/cygdrive/d/Profiles/apovolot/fadsroot/lib/iptab
les/libipt_tos.so': Permission denied
cp: cannot create regular file
`/cygdrive/d/Profiles/apovolot/fadsroot/lib/iptab
les/libipt_ttl.so': Permission denied
cp: will not create hard link
`/cygdrive/d/Profiles/apovolot/fadsroot/usr/lib/pe
rl/5.8.2/sys' to directory
`/cygdrive/d/Profiles/apovolot/fadsroot/usr/lib/perl/
5.8.2/Sys'
cp: cannot create regular file
`/cygdrive/d/Profiles/apovolot/fadsroot/usr/share
/man/man3/Locale::gettext.3pm.gz': Invalid argument
cp: cannot create regular file
`/cygdrive/d/Profiles/apovolot/fadsroot/usr/share
/man/man3/Text::CharWidth.3pm.gz': Invalid argument
cp: cannot create regular file
`/cygdrive/d/Profiles/apovolot/fadsroot/usr/share
/man/man3/Text::Iconv.3pm.gz': Invalid argument
cp: cannot create regular file
`/cygdrive/d/Profiles/apovolot/fadsroot/usr/share
/man/man3/Text::WrapI18N.3pm.gz': Invalid argument
cp: will not create hard link
`/cygdrive/d/Profiles/apovolot/fadsroot/usr/share/
perl/5.8.2/pod' to directory
`/cygdrive/d/Profiles/apovolot/fadsroot/usr/share/p
erl/5.8.2/Pod'
cp: will not create hard link
`/cygdrive/d/Profiles/apovolot/fadsroot/usr/share/
terminfo/a' to directory
`/cygdrive/d/Profiles/apovolot/fadsroot/usr/share/termi
nfo/A'
cp: will not create hard link
`/cygdrive/d/Profiles/apovolot/fadsroot/usr/share/
terminfo/e' to directory
`/cygdrive/d/Profiles/apovolot/fadsroot/usr/share/termi
nfo/E'
cp: will not create hard link
`/cygdrive/d/Profiles/apovolot/fadsroot/usr/share/
terminfo/l' to directory
`/cygdrive/d/Profiles/apovolot/fadsroot/usr/share/termi
nfo/L'
cp: will not create hard link
`/cygdrive/d/Profiles/apovolot/fadsroot/usr/share/
terminfo/m' to directory
`/cygdrive/d/Profiles/apovolot/fadsroot/usr/share/termi
nfo/M'
cp: will not create hard link
`/cygdrive/d/Profiles/apovolot/fadsroot/usr/share/
terminfo/n' to directory
`/cygdrive/d/Profiles/apovolot/fadsroot/usr/share/termi
nfo/N'
cp: will not create hard link
`/cygdrive/d/Profiles/apovolot/fadsroot/usr/share/
terminfo/p' to directory
`/cygdrive/d/Profiles/apovolot/fadsroot/usr/share/termi
nfo/P'
cp: will not create hard link
`/cygdrive/d/Profiles/apovolot/fadsroot/usr/share/
terminfo/q' to directory
`/cygdrive/d/Profiles/apovolot/fadsroot/usr/share/termi
nfo/Q'
cp: will not create hard link
`/cygdrive/d/Profiles/apovolot/fadsroot/usr/share/
terminfo/x' to directory
`/cygdrive/d/Profiles/apovolot/fadsroot/usr/share/termi
nfo/X'
***************
I also tried "read only" nfs mounting from Arabella's CD-ROM itself (by
modifying 'bootargs" in U-boot environment):

bootargs=root /dev/nfs ro nfsroot=192.168.1.100:/E/fadsroot

In this case booting hangs ...
...
Kernel command line: root /dev/nfs ro nfsroot=192.168.1.100:/E/fadsroot
...
     bootserver=255.255.255.255, rootserver=192.168.1.100, rootpath=
Looking up port of RPC 100003/2 on 192.168.1.100
Looking up port of RPC 100005/1 on 192.168.1.100
VFS: Mounted root (nfs filesystem) readonly.
Freeing unused kernel memory: 272k init
Warning: unable to open an initial console.
********  hangs ******




------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]