Home > OS >  A new version of the kernel can not mount NFS, please give directions
A new version of the kernel can not mount NFS, please give directions

Time:10-13

This problem bothering me for a long time, I am very sad
I use debian9.4.9 server, development board kernel is 4.19
The server can normal mount -t NFS mount, u - can't over NFS command to download the kernel boot,
And there is also a development board mount server logs inside request, but no response
 
Dec 7 15:31:47 Debian9 RPC. Mountd [61537] : authenticated the mount request from 192.168.2.3:913 for/home/Linux/NFS/rootfs (/home/Linux/NFS)
Dec 7 15:31:52 Debian9 RPC. Mountd [61537] : authenticated the mount request from 192.168.2.3:798 for/home/Linux/NFS/rootfs (/home/Linux/NFS)
Dec 7 15:32:02 Debian9 RPC. Mountd [61537] : authenticated the mount request from 192.168.2.3:805 for/home/Linux/NFS/rootfs (/home/Linux/NFS)
Dec 7 15:32:22 Debian9 RPC. Mountd [61537] : authenticated the mount request from 192.168.2.3:904 for/home/Linux/NFS/rootfs (/home/Linux/NFS)
Dec 7 15:32:52 Debian9 RPC. Mountd [61537] : authenticated the mount request from 192.168.2.3:719 for/home/Linux/NFS/rootfs (/home/Linux/NFS)
Dec 7 15:33:22 Debian9 RPC. Mountd [61537] : authenticated the mount request from 192.168.2.3:909 for/home/Linux/NFS/rootfs (/home/Linux/NFS)

Kernel configuration

Mainly is the kernel cannot mount nfsroot, has always been the error
 
IP - Config: Guessing netmask 255.255.255.0
IP - Config: Complete:
Device=eth0, hwaddr=00:6 0-6 e: 33:44:55, ipaddr=192.168.2.3, mask=255.255.255.0, gw=255.255.255.255
The host=192.168.2.3, domain=, the nis domain=(none)
Bootserver=255.255.255.255, rootserver=192.168.2.2, rootpath=
With ALSA device list:
No soundcards found.
VFS: Unable to mount the root fs via NFS, trying floppy.
VFS: always open a root device "NFS or unknown - block (2, 0) : error - 6
Both Please append a correct "root=" boot option. Here are the available partitions:
0100 65536 ram0
(a driver?
0101 65536 ram1
(a driver?
0102 65536 ram2
(a driver?
0103 65536 ram3
(a driver?
0104 65536 ram4
(a driver?
0105 65536 ram5
(a driver?
0106 65536 ram6
(a driver?
0107 65536 ram7
(a driver?
0108 65536 ram8
(a driver?
0109 65536 ram9
(a driver?
010 a, 65536 ram10
(a driver?
010 b 65536 ram11
(a driver?
010 c 65536 ram12
(a driver?
010 d, 65536 ram13
(a driver?
010 e 65536 ram14
(a driver?
010 f 65536 ram15
(a driver?
1 f00 256 mtdblock0
(a driver?
1 f01 128 mtdblock1
(a driver?
1 f02 128 mtdblock2
(a driver?
1 4096 f03 mtdblock3
(a driver?
1 f04 257536 mtdblock4
(a driver?
Kernel panic - not syncing: VFS: Unable to mount the root fs on unknown - block (2, 0)
CPU: 0 PID: 1 Comm: swapper Not tainted 4.19.0 -rc3 # 6
The Hardware name: SMDK2440
[& lt; c0010654 & gt;] (unwind_backtrace) from [& lt; c000dc18 & gt;] (show_stack + 0 x10/0 x18)
[& lt; c000dc18 & gt;] (show_stack) from [& lt; c051f4dc & gt;] (dump_stack + 0 x18/0 x24)
[& lt; c051f4dc & gt;] (dump_stack) from [& lt; c0019bc4 & gt;] (panic + 0 xc0/0 x25c)
[& lt; c0019bc4 & gt;] (panic) from [& lt; c067c214 & gt;] (mount_block_root + 0 x1b4/0 x2ac)
[& lt; c067c214 & gt;] (mount_block_root) from [& lt; c067c570 & gt;] (mount_root + 0 x114/0 x158)
[& lt; c067c570 & gt;] (mount_root) from [& lt; c067c70c & gt;] (prepare_namespace + 0 x158/0 x1b0)
[& lt; c067c70c & gt;] (prepare_namespace) from [& lt; c067be60 & gt;] (kernel_init_freeable + 0 x180/0 x1cc)
[& lt; c067be60 & gt;] (kernel_init_freeable) from [& lt; c05343e8 & gt;] (kernel_init + 0 by 8/0 xf8)
[& lt; c05343e8 & gt;] (kernel_init) from [& lt; c00090e0 & gt;] (ret_from_fork + 0 x14/0 x34)
Xc3833fb0 Exception stack (0 to 0 xc3833ff8)
3 fa0:00000000, 00000000, 00000000, 00000000
3 fc0:00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3 fe0:00000000 00000000 00000000 00000000 00000013 00000000
- [end Kernel panic - not syncing: VFS: Unable to mount the root fs on unknown - block (2, 0)] -- -- --
The random: CRNG init done


CodePudding user response:

There is no a debian, helpless

CodePudding user response:

Both Please append a correct "root=" boot option. Here are the available partitions:

CodePudding user response:

The server side see if permissions set

CodePudding user response:

http://blog.sina.com.cn/s/blog_5ed5a1f40100f3qq.html


Is mentioned here eabi, try the same

CodePudding user response:

Server side see if permissions set server side see if permissions set

CodePudding user response:

Download
C C how make

CodePudding user response:

You can use it, 6666

CodePudding user response:

Look not to understand, is too complex
  • Related