IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Réseau Discussion :

Montage NFS sur Linux


Sujet :

Réseau

  1. #1
    Futur Membre du Club
    Profil pro
    Inscrit en
    Mars 2009
    Messages
    10
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mars 2009
    Messages : 10
    Points : 7
    Points
    7
    Par défaut Montage NFS sur Linux
    Bonjour,

    Je dois installer une carte ep8555 (powerquicc) avec un noyau Linux dessus.
    Tout se passe bien jusqu'au moment où je dois utiliser NFS pour mettre des repertoires dessus.
    Je me connecte avec Uboot sur Linux à la carte et je tape ces commandes pour obtenir le noyau linux avec NFS:
    > tftpboot 0x300000 zImage.gz
    > bootm 0x300000

    voici ce qu'il me dit :
    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
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
       1. ep=> bootm 0x300000
       2. ## Booting image at 00300000 ...
       3.    Image Name:   Linux-2.6.15-rc3
       4.    Image Type:   PowerPC Linux Kernel Image (gzip compressed)
       5.    Data Size:    1110748 Bytes =  1.1 MB
       6.    Load Address: 00000000
       7.    Entry Point:  00000000
       8.    Verifying Checksum ... OK
       9.    Uncompressing Kernel Image ... OK
      10. Memory CAM mapping: CAM0=64Mb, CAM1=64Mb, CAM2=0Mb residual: 0Mb
      11. Linux version 2.6.15-rc3 (ep8555m@bouvet) (gcc version 4.0.0 (DENX ELDK 4.0 4.0.0)) #2 Tue Apr 28 16:05:25 CEST 2009
      12. Built 1 zonelists
      13. Kernel command line: console=ttyCPM0,115200=root=/dev/nfs=rw=ip=192.168.9.20:::255.255.255.0::eth0=nfsroot=192.168.9.1:/opt/embedded/tools/ppc_85xx
      14. OpenPIC Version 1.2 (1 CPUs and 60 IRQ sources) at fcf7d000
      15. PID hash table entries: 1024 (order: 10, 16384 bytes)
      16. Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
      17. Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
      18. Memory: 127232k available (1936k kernel code, 492k data, 124k init, 0k highmem)
      19. Mount-cache hash table entries: 512
      20. NET: Registered protocol family 16
      21. PCI: Probing PCI hardware
      22. usbcore: registered new driver usbfs
      23. usbcore: registered new driver hub
      24. Generic PHY: Registered new driver
      25. SCSI subsystem initialized
      26. Initializing Cryptographic API
      27. io scheduler noop registered
      28. io scheduler anticipatory registered
      29. io scheduler deadline registered
      30. io scheduler cfq registered
      31. usbmon: debugfs is not available
      32. Initializing USB Mass Storage driver...
      33. usbcore: registered new driver usb-storage
      34. USB Mass Storage support registered.
      35. usbcore: registered new driver usbhid
      36. drivers/usb/input/hid-core.c: v2.6:USB HID core driver
      37. Generic RTC Driver v1.07
      38. Serial: CPM driver $Revision: 0.01 $
      39. ttyCPM0 at MMIO 0xfdfd1a00 (irq = 40) is a CPM UART
      40. RAMDISK driver initialized: 16 RAM disks of 32768K size 1024 blocksize
      41. loop: loaded (max 8 devices)
      42. Ethernet Channel Bonding Driver: v2.6.5 (November 4, 2005)
      43. bonding: Warning: either miimon or arp_interval and arp_ip_target module parameters must be specified, otherwise bonding will not detect link failures! see bonding.txt for details.
      44. Gianfar MII Bus: probed
      45. eth0: Gianfar Ethernet Controller Version 1.2, 00:10:ec:00:d3:e1
      46. eth0: Running with NAPI enabled
      47. eth0: 256/256 RX/TX BD ring size
      48. eth1: Gianfar Ethernet Controller Version 1.2, 00:10:ec:80:d3:e1
      49. eth1: Running with NAPI enabled
      50. eth1: 256/256 RX/TX BD ring size
      51. i2c /dev entries driver
      52. NET: Registered protocol family 2
      53. IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
      54. TCP established hash table entries: 8192 (order: 3, 32768 bytes)
      55. TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
      56. TCP: Hash tables configured (established 8192 bind 8192)
      57. TCP reno registered
      58. TCP bic registered
      59. NET: Registered protocol family 1
      60. NET: Registered protocol family 17
      61. Root-NFS: No NFS server available, giving up.
      62. VFS: Unable to mount root fs via NFS, trying floppy.
      63. VFS: Cannot open root device "<NULL>" or unknown-block(2,0)
      64. Please append a correct "root=" boot option
      65. Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
      66. <0>Rebooting in 180 seconds..�
    Mon fichier fstab sur la machine qui sert à booter la carte :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
       1. /etc/fstab :
       2.
       3. /dev/VolGroup00/LogVol00 /                       ext3    defaults        1 1
       4. LABEL=/boot             /boot                   ext3    defaults        1 2
       5. tmpfs                   /dev/shm                tmpfs   defaults        0 0
       6. devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
       7. sysfs                   /sys                    sysfs   defaults        0 0
       8. proc                    /proc                   proc    defaults        0 0
       9. /dev/VolGroup00/LogVol01 swap                    swap    defaults        0 0
      10. 192.168.9.3:/home/svn/DEV/aintercom_sharing /media/aintercom_partage nfs user,noauto
    et enfin la configuration de ma carte sur Uboot (printenv) :

    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
    23
    24
    25
       1. ep=> printenv
       2. bootdelay=10
       3. baudrate=115200
       4. loads_echo=1
       5. rootpath=/nfsroot
       6. bootfile=your.uImage
       7. loadaddr=200000
       8. ethaddr=00:10:ec:00:d3:e1
       9. eth1addr=00:10:ec:80:d3:e1
      10. myb=tftpboot 0x300000 rImage.gz;bootm
      11. hostname=belle_ile
      12. ethact=TSEC0
      13. mybb=tftpboot 0x300000 zImage.gz
      14. filesize=109a6b
      15. fileaddr=300000
      16. gatewayip=192.168.9.7
      17. netmask=255.255.255.0
      18. bootargs=console=ttyCPM0,115200=root=/dev/nfs=rw=ip=192.168.9.20:::255.255.255.0::eth0=nfsroot=192.168.9.1:/opt/embedded/tools/ppc_85xx
      19. serverip=192.168.9.7
      20. ipaddr=192.168.9.20
      21. stdin=serial
      22. stdout=serial
      23. stderr=serial
      24.
      25. Environment size: 547/8188 bytes

  2. #2
    Modérateur
    Avatar de ggnore
    Profil pro
    Inscrit en
    Juillet 2004
    Messages
    2 472
    Détails du profil
    Informations personnelles :
    Âge : 45
    Localisation : France

    Informations forums :
    Inscription : Juillet 2004
    Messages : 2 472
    Points : 4 029
    Points
    4 029
    Par défaut
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
      62. VFS: Unable to mount root fs via NFS, trying floppy.
      63. VFS: Cannot open root device "<NULL>" or unknown-block(2,0)
      64. Please append a correct "root=" boot option
      65. Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
    Il ne manquerait pas une partition importante dans ton fstab ?
    Toutes les vertus des hommes se perdent dans l’intérêt comme les fleuves se perdent dans la mer.
    N'oubliez pas de consulter les FAQ Linux et les cours et tutoriels Linux

  3. #3
    Futur Membre du Club
    Profil pro
    Inscrit en
    Mars 2009
    Messages
    10
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mars 2009
    Messages : 10
    Points : 7
    Points
    7
    Par défaut
    Je ne sais vraiment pas, désolé.
    Le client c'est une carte à noyau Linux (EP8555m) , c'est juste un noyau à base Linux, donc rien installé.

  4. #4
    Futur Membre du Club
    Profil pro
    Inscrit en
    Mars 2009
    Messages
    10
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mars 2009
    Messages : 10
    Points : 7
    Points
    7
    Par défaut
    Résolu :

    Mauvaise Syntax du bootargs

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Probleme d'utilisation de la commande glob sur un montage NFS
    Par hfrass dans le forum Programmation et administration système
    Réponses: 9
    Dernier message: 10/06/2015, 14h29
  2. [Windows][Solaris]droits d'accès NTFS sur un montage NFS
    Par thebeb dans le forum Sécurité
    Réponses: 3
    Dernier message: 25/04/2007, 08h11
  3. quel sgbd sur linux??
    Par fabfab1 dans le forum Décisions SGBD
    Réponses: 6
    Dernier message: 27/11/2004, 18h38
  4. lancer OEM via le browser (10g sur linux)
    Par learn dans le forum Entreprise Manager
    Réponses: 6
    Dernier message: 20/09/2004, 17h04
  5. [analyse de syntaxe] pour C et C++ sur Linux
    Par Madmac dans le forum Autres éditeurs
    Réponses: 4
    Dernier message: 10/07/2004, 06h37

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo