Nvramm Posté(e) le 2 janvier 2007 Partager Posté(e) le 2 janvier 2007 Salut les amis, j ai un probleme avec nfs-server(sous debian etch): J aimerais monter un dossier nfs pour que celui ci soit la partiton root de mon serveur.Or cela ne fonctionne pas >>bootp()vmlinux console=ttyS0 rw single root=/dev/nfs nfsroot=192.168.0.51:/home/fabien/chroot ip=192.168.0.52:192.168.0.51 Setting $netaddr to 192.168.0.52 (from server ) Obtaining vmlinux from server 3633285+171911 entry: 0x80940000 Found SNI brdtype 08 name RM300-Cxx SNI IDProm dump (first 128byte): 0000 b5 00 00 00 00 00 35 ff 09 06 00 08 00 00 00 00 0010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0020 00 00 36 33 32 35 37 00 04 08 00 34 33 36 34 30 0030 ff ff ff ff 00 00 00 00 00 c0 00 00 00 00 00 00 0040 53 53 59 36 37 30 31 31 33 36 00 00 00 00 00 00 0050 35 32 39 37 31 2e 30 30 2e 32 2e 31 35 00 00 00 0060 35 35 39 39 31 2e 30 30 2e 30 2e 31 35 00 00 00 0070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0080 00 00 00 00 00 00 00 00 00 00 00 30 30 30 30 30 0090 30 30 30 36 42 30 30 31 36 33 32 35 37 30 30 30 00a0 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 00 00b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 IDProm memsize: 64 MByte prom_get_mem_conf memory configuration: Bank0: 04000000 @ 00000000 Linux version 2.6.20-rc2 (root@debian) (gcc version 4.1.1 ()) #0 Tue Jan 2 18:27CPU revision is: 00000460 FPU revision is: 00000500 RM300 PCI, board revision C, ASIC PCI Rev 1.0. Second level cache is deactived. Determined physical RAM map: memory: 04000000 @ 00000000 (usable) Built 1 zonelists. Total pages: 16256 Kernel command line: console=ttyS0 rw single root=/dev/nfs nfsroot=192.168.0.511Primary instruction cache 16kB, physically tagged, direct mapped, linesize 16 b.Primary data cache 16kB, direct mapped, linesize 16 bytes. Unified secondary cache 1024kB direct mapped, linesize 64 bytes. Synthesized TLB refill handler (21 instructions). Synthesized TLB load handler fastpath (33 instructions). Synthesized TLB store handler fastpath (33 instructions). Synthesized TLB modify handler fastpath (32 instructions). PID hash table entries: 256 (order: 8, 1024 bytes) Calibrating system timer... 398000 [199.0000 MHz CPU] Using 99.500 MHz high precision timer. Console: colour dummy device 80x25 Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Memory: 55052k/65536k available (2633k kernel code, 10464k reserved, 692k data,)Calibrating delay loop... 99.07 BogoMIPS (lpj=198144) Mount-cache hash table entries: 512 NET: Registered protocol family 16 EISA bus registered PCI: Bridge: 0000:00:02.0 IO window: 1000-1fff MEM window: 00800000-02ffffff PREFETCH window: disabled. NET: Registered protocol family 2 IP route cache hash table entries: 512 (order: -1, 2048 bytes) TCP established hash table entries: 2048 (order: 1, 8192 bytes) TCP bind hash table entries: 1024 (order: 0, 4096 bytes) TCP: Hash tables configured (established 2048 bind 1024) TCP reno registered io scheduler noop registered io scheduler anticipatory registered (default) io scheduler deadline registered io scheduler cfq registered RAM (512 kB) at 0xx11000000, Cirrus Logic chipset on PCI bus cirrusfb: Driver for Cirrus Logic based graphic boards, v2.0-pre2 Console: switching to colour frame buffer device 80x60 Generic RTC Driver v1.07 Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled serial8250.0: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A serial8250.0: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A pcnet32.c:v1.33 27.Jun.2006 tsbogend@alpha.franken.de pcnet32: PCnet/PCI II 79C970A at 0x1000, 08 00 06 09 ff 35 assigned IRQ 22. eth0: registered as PCnet/PCI II 79C970A pcnet32: 1 cards_found. serio: i8042 KBD port at 0x60,0x64 irq 1 serio: i8042 AUX port at 0x60,0x64 irq 12 mice: PS/2 mouse device common for all mice input: AT Raw Set 2 keyboard as /class/input/input0 atkbd.c: keyboard reset failed on isa0060/serio1 EISA: Probing bus 0 at 0000:00:00.0 EISA: Cannot allocate resource for mainboard pci_eisa : Could not register EISA root pci_eisa: probe of 0000:00:00.0 failed with error -1 TCP cubic registered NET: Registered protocol family 1 NET: Registered protocol family 17 Time: MIPS clocksource has been installed. eth0: link up IP-Config: Guessing netmask 255.255.255.0 IP-Config: Complete: device=eth0, addr=192.168.0.52, mask=255.255.255.0, gw=255.255.255.255, host=192.168.0.52, domain=, nis-domain=(none), bootserver=192.168.0.51, rootserver=192.168.0.51, rootpath= Looking up port of RPC 100003/2 on 192.168.0.51 portmap: server 192.168.0.51 not responding, timed out Root-NFS: Unable to get nfsd port number from server, using default Looking up port of RPC 100005/1 on 192.168.0.51 NETDEV WATCHDOG: eth0: transmit timed out eth0: transmit timed out, status 0073, resetting. portmap: server 192.168.0.51 not responding, timed out Root-NFS: Unable to get mountd port number from server, using default mount: server 192.168.0.51 not responding, timed out Root-NFS: Server returned error -5 while mounting /home/fabien/chroot 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 Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0) Portmap a l air de fonctioner pourtant debian:/home/fabien/rmbig-export-20061230# rpcinfo -p program no_version protocole no_port 100000 2 tcp 111 portmapper 100000 2 udp 111 portmapper 100024 1 udp 1027 status 100024 1 tcp 2336 status 100003 2 udp 2049 nfs 100003 3 udp 2049 nfs 100003 4 udp 2049 nfs 100003 2 tcp 2049 nfs 100003 3 tcp 2049 nfs 100003 4 tcp 2049 nfs 100021 1 udp 1039 nlockmgr 100021 3 udp 1039 nlockmgr 100021 4 udp 1039 nlockmgr 100021 1 tcp 3905 nlockmgr 100021 3 tcp 3905 nlockmgr 100021 4 tcp 3905 nlockmgr 100005 1 udp 874 mountd 100005 1 tcp 877 mountd 100005 2 udp 874 mountd 100005 2 tcp 877 mountd 100005 3 udp 874 mountd 100005 3 tcp 877 mountd Voici mes fichiers de configs mon dhcpd.conf: ddns-update-style none; ddns-updates off; deny client-updates; one-lease-per-client false; allow bootp; option T150 code 150 = string; authoritative; host rm { option root-path "/home/fabien/chroot"; hardware ethernet 8:0:6:9:ff:35; fixed-address 192.168.0.52; filename "/home/fabien/vmlinux"; } subnet 192.168.0.0 netmask 255.255.255.0 { interface eth0; } mon /etc/exports /home/fabien/chroot 192.168.0.52(sync,no_subtree_check,no_root_squash,rw) et mon /etc/hosts.allow (dangereux mais comme sa buggue,voila quoi) portmap:ALL tftpd:ALL in.tftpd:ALL lockd:ALL mountd:ALL rquotad:ALL statd:ALL Voila si vous avez des idées sur mon probleme merci Ps: pas de reponse du type, pourquoi tu utilises pas un cd d install ici sa ne fonctionera pas,il n en existe pas encore (peut etre bientot) c'est un serveur mips,ceux du tchat me comprendrons lol Lien vers le commentaire Partager sur d’autres sites More sharing options...
Messages recommandés
Archivé
Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.