Bonjour,
j'aimerai faire fonctionner mon pc comme etant un serveur nsf et executer un code sur un decodeur en mode nfs.mais je n'ai pas trouvé le problème.
actuellement je suis sous ubuntu 10.04 et voici l'erreur que j'ai trouvé:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 IP-Config: Complete: device=eth0, addr=190.99.29.171, mask=255.255.0.0, gw=190.99.53.103, host=STB, domain=, nis-domain=(none), bootserver=190.99.4.69, rootserver=190.99.4.69, rootpath= Looking up port of RPC 100003/2 on 190.99.4.69 PHY: 0:00 - Link is Up - 100/Full Looking up port of RPC 100005/1 on 190.99.4.69 Root-NFS: Server returned error -13 while mounting 190.99.4.69 :/home/stoner2008/target VFS: Unable to mount root fs via NFS, trying floppy. VFS: Cannot open root device "nfs" or unknown-block(2,0) Please append a correct "root=" boot option; here are the available partitions: 1f00 1280 mtdblock0 (driver?) 1f01 256 mtdblock1 (driver?) 1f02 4096 mtdblock2 (driver?) 1f03 2048 mtdblock3 (driver?) 1f04 24320 mtdblock4 (driver?) 1f05 26368 mtdblock5 (driver?) 1f06 128 mtdblock6 (driver?) 1f07 128 mtdblock7 (driver?) 1f08 128 mtdblock8 (driver?) 1f09 32768 mtdblock9 (driver?) Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
coici le contenu respectivement de mon stprob.env, .env et de fciheir /etc/exports
.env
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 FILEST20= FILEST40=/home/stoner2008/kernelsTLF.DSI83/BUILD/vmlinux PROBE=10.206.212.19 //adresse sonde MSGLEVEL=none LINKTIMEOUT=10 LINKSPEED=10MHz BREAKPOINT= MODULESEARCHPATH=/home/stoner2008/target/lib/modules TARGETPATH=/home/stoner2008/target CONSOLE=console=ttyAS0,115200 mtdparts=Onboard_Flash bigphysarea=900 mem=90M rw root=/dev/nfs ip=190.99.4.70:190.99.4.69:190.99.0.141:255.255.0.0 NFS_SERVER=190.99.4.69 NFS_PATH=/home/stoner2008/target TARGET=190.99.4.70 GATEWAY=190.99.0.141 NETMASK=255.255.0.0 USER=STB NET_INTERFACE= AUTOCONF=off TARGETPACK=yes
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 TARGET_IP=10.206.212.19 NFS_SERVER_IP=190.99.4.69 GATEWAY_IP=190.99.0.141 NETMASK=255.255.0.0
/etc/exports
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11 # /etc/exports: the access control list for filesystems which may be exported # to NFS clients. See exports(5). # # Example for NFSv2 and NFSv3: # /srv/homes hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check) # # Example for NFSv4: # /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check) # /srv/nfs4/homes gss/krb5i(rw,sync,no_subtree_check) /home/stoner2008/target *(rw,insecure,no_root_squash,no_subtree_check,sync)
svp si quelqu'un a déjà connu ce problème, je lui serai reconnaissant s'il puisse m'aider
Partager