OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 7303|回复: 4

imx6ull跟文件系统移植启动提示Unable to mount root fs via NFS, trying floppy.

[复制链接]

5

主题

22

帖子

0

精华

初级会员

Rank: 2

积分
124
金钱
124
注册时间
2019-10-14
在线时间
24 小时
发表于 2021-1-10 16:05:18 | 显示全部楼层 |阅读模式
10金钱
本帖最后由 超级无敌磊果果 于 2021-1-10 16:23 编辑

跟着左神配置根文件系统,配置完成之后进行测试发现启动失败,开发环境Ubuntu18.04.5
  1. FEC1 Waiting for PHY auto negotiation to complete.... done
  2. Using FEC1 device
  3. TFTP from server 192.168.1.130; our IP address is 192.168.0.58; sending through gateway 192.168.0.1
  4. Filename 'zImage'.
  5. Load address: 0x80800000
  6. Loading: ###### ICMP Host Redirect to 192.168.1.130 ###########################################################
  7.          #################################################################
  8.          #################################################################
  9.          #################################################################
  10.          #################################################################
  11.          ########################################################
  12.          2.4 MiB/s
  13. done
  14. Bytes transferred = 5582648 (552f38 hex)
  15. Using FEC1 device
  16. TFTP from server 192.168.1.130; our IP address is 192.168.0.58; sending through gateway 192.168.0.1
  17. Filename 'imx6ull-alientek-emmc.dtb'.
  18. Load address: 0x83000000
  19. Loading: ###
  20.          1.2 MiB/s
  21. done
  22. Bytes transferred = 36181 (8d55 hex)
  23. Kernel image [url=home.php?mod=space&uid=95564]@[/url] 0x80800000 [ 0x000000 - 0x552f38 ]
  24. ## Flattened Device Tree blob at 83000000
  25.    Booting using the fdt blob at 0x83000000
  26.    Using Device Tree in place at 83000000, end 8300bd54

  27. Starting kernel ...

  28. Booting Linux on physical CPU 0x0
  29. Linux version 4.1.15 (wl@wl-virtual-machine) (gcc version 4.9.4 (Linaro GCC 4.9-2017.01) ) #6 SMP PREEMPT Tue Dec 22 22:11:44 CST 2020
  30. CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
  31. CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
  32. Machine model: Freescale i.MX6 ULL 14x14 EVK Board
  33. Reserved memory: created CMA memory pool at 0x8c000000, size 320 MiB
  34. Reserved memory: initialized node linux,cma, compatible id shared-dma-pool
  35. Memory policy: Data cache writealloc
  36. PERCPU: Embedded 12 pages/cpu @8bb32000 s16768 r8192 d24192 u49152
  37. Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
  38. Kernel command line: console=ttymxc0,115200 rw root=/dev/nfs nfsroot=192.168.1.130:/home/wl/linux/nfs/rootfs,v3 ip=192.168.0.58:192.168.1.130:192.168.1.1:255.255.255.0::eth0:off
  39. PID hash table entries: 2048 (order: 1, 8192 bytes)
  40. Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
  41. Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
  42. Memory: 180852K/524288K available (6883K kernel code, 322K rwdata, 2356K rodata, 400K init, 424K bss, 15756K reserved, 327680K cma-reserved, 0K highmem)
  43. Virtual kernel memory layout:
  44.     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
  45.     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
  46.     vmalloc : 0xa0800000 - 0xff000000   (1512 MB)
  47.     lowmem  : 0x80000000 - 0xa0000000   ( 512 MB)
  48.     pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
  49.     modules : 0x7f000000 - 0x7fe00000   (  14 MB)
  50.       .text : 0x80008000 - 0x8090df24   (9240 kB)
  51.       .init : 0x8090e000 - 0x80972000   ( 400 kB)
  52.       .data : 0x80972000 - 0x809c2b40   ( 323 kB)
  53.        .bss : 0x809c5000 - 0x80a2f2f0   ( 425 kB)
  54. SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  55. Preemptible hierarchical RCU implementation.
  56.         Additional per-CPU info printed with stalls.
  57.         RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
  58. RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
  59. NR_IRQS:16 nr_irqs:16 16
  60. mxc_clocksource_init 3000000
  61. Switching to timer-based delay loop, resolution 333ns
  62. sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
  63. clocksource mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
  64. Console: colour dummy device 80x30
  65. Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
  66. pid_max: default: 32768 minimum: 301
  67. Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
  68. Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
  69. CPU: Testing write buffer coherency: ok
  70. /cpus/cpu@0 missing clock-frequency property
  71. CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
  72. Setting up static identity map for 0x80008280 - 0x800082f0
  73. Brought up 1 CPUs
  74. SMP: Total of 1 processors activated (6.00 BogoMIPS).
  75. CPU: All CPU(s) started in SVC mode.
  76. devtmpfs: initialized
  77. device-tree: Duplicate name in lcdif@021c8000, renamed to "display#1"
  78. VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
  79. clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
  80. pinctrl core: initialized pinctrl subsystem
  81. NET: Registered protocol family 16
  82. DMA: preallocated 256 KiB pool for atomic coherent allocations
  83. cpuidle: using governor ladder
  84. cpuidle: using governor menu
  85. hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
  86. hw-breakpoint: maximum watchpoint size is 8 bytes.
  87. imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
  88. imx6ul-pinctrl 2290000.iomuxc-snvs: initialized IMX pinctrl driver
  89. mxs-dma 1804000.dma-apbh: initialized
  90. SCSI subsystem initialized
  91. usbcore: registered new interface driver usbfs
  92. usbcore: registered new interface driver hub
  93. usbcore: registered new device driver usb
  94. i2c i2c-0: IMX I2C adapter registered
  95. i2c i2c-0: can't use DMA
  96. i2c i2c-1: IMX I2C adapter registered
  97. i2c i2c-1: can't use DMA
  98. Linux video capture interface: v2.00
  99. pps_core: LinuxPPS API ver. 1 registered
  100. pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
  101. PTP clock support registered
  102. Advanced Linux Sound Architecture Driver Initialized.
  103. Switched to clocksource mxc_timer1
  104. NET: Registered protocol family 2
  105. TCP established hash table entries: 4096 (order: 2, 16384 bytes)
  106. TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
  107. TCP: Hash tables configured (established 4096 bind 4096)
  108. UDP hash table entries: 256 (order: 1, 8192 bytes)
  109. UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
  110. NET: Registered protocol family 1
  111. RPC: Registered named UNIX socket transport module.
  112. RPC: Registered udp transport module.
  113. RPC: Registered tcp transport module.
  114. RPC: Registered tcp NFSv4.1 backchannel transport module.
  115. imx rpmsg driver is registered.
  116. Bus freq driver module loaded
  117. futex hash table entries: 256 (order: 2, 16384 bytes)
  118. VFS: Disk quotas dquot_6.6.0
  119. VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
  120. NFS: Registering the id_resolver key type
  121. Key type id_resolver registered
  122. Key type id_legacy registered
  123. jffs2: version 2.2. (NAND) &#169; 2001-2006 Red Hat, Inc.
  124. fuse init (API version 7.23)
  125. io scheduler noop registered
  126. io scheduler deadline registered
  127. io scheduler cfq registered (default)
  128. imx-weim 21b8000.weim: Driver registered.
  129. backlight supply power not found, using dummy regulator
  130. 21c8000.lcdif supply lcd not found, using dummy regulator
  131. mxsfb 21c8000.lcdif: failed to find mxc display driver
  132. Console: switching to colour frame buffer device 60x34
  133. mxsfb 21c8000.lcdif: initialized
  134. imx-sdma 20ec000.sdma: no event needs to be remapped
  135. imx-sdma 20ec000.sdma: loaded firmware 3.3
  136. imx-sdma 20ec000.sdma: initialized
  137. 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 18, base_baud = 5000000) is a IMX
  138. console [ttymxc0] enabled
  139. 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 235, base_baud = 5000000) is a IMX
  140. imx sema4 driver is registered.
  141. [drm] Initialized drm 1.1.0 20060810
  142. [drm] Initialized vivante 1.0.0 20120216 on minor 0
  143. brd: module loaded
  144. loop: module loaded
  145. fsl-quadspi 21e0000.qspi: unrecognized JEDEC id bytes: ff, ff, ff
  146. fsl-quadspi 21e0000.qspi: Freescale QuadSPI probe failed
  147. 20b4000.ethernet supply phy not found, using dummy regulator
  148. pps pps0: new PPS source ptp0
  149. libphy: fec_enet_mii_bus: probed
  150. fec 20b4000.ethernet eth0: registered PHC device 0
  151. 2188000.ethernet supply phy not found, using dummy regulator
  152. pps pps1: new PPS source ptp1
  153. fec 2188000.ethernet eth1: registered PHC device 1
  154. ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  155. ehci-mxc: Freescale On-Chip EHCI Host driver
  156. usbcore: registered new interface driver usb-storage
  157. 2184800.usbmisc supply vbus-wakeup not found, using dummy regulator
  158. 2184000.usb supply vbus not found, using dummy regulator
  159. 2184200.usb supply vbus not found, using dummy regulator
  160. ci_hdrc ci_hdrc.1: EHCI Host Controller
  161. ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
  162. ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
  163. hub 1-0:1.0: USB hub found
  164. hub 1-0:1.0: 1 port detected
  165. Mass Storage Function, version: 2009/09/11
  166. LUN: removable file: (no medium)
  167. no file given for LUN0
  168. g_mass_storage ci_hdrc.0: failed to start g_mass_storage: -22
  169. mousedev: PS/2 mouse device common for all mice
  170. input: 20cc000.snvs:snvs-powerkey as /devices/platform/soc/2000000.aips-bus/20cc000.snvs/20cc000.snvs:snvs-powerkey/input/input0
  171. input: iMX6UL TouchScreen Controller as /devices/platform/soc/2000000.aips-bus/2040000.tsc/input/input1
  172. snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc0
  173. i2c /dev entries driver
  174. IR NEC protocol handler initialized
  175. IR RC5(x/sz) protocol handler initialized
  176. IR RC6 protocol handler initialized
  177. IR JVC protocol handler initialized
  178. IR Sony protocol handler initialized
  179. IR SANYO protocol handler initialized
  180. IR Sharp protocol handler initialized
  181. IR MCE Keyboard/mouse protocol handler initialized
  182. IR XMP protocol handler initialized
  183. pxp-v4l2 pxp_v4l2: initialized
  184. imx2-wdt 20bc000.wdog: use WDOG_B to reboot.
  185. imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
  186. sdhci: Secure Digital Host Controller Interface driver
  187. sdhci: Copyright(c) Pierre Ossman
  188. sdhci-pltfm: SDHCI platform and OF driver helper
  189. /soc/aips-bus@02100000/usdhc@02190000: voltage-ranges unspecified
  190. sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO
  191. sdhci-esdhc-imx 2190000.usdhc: No vqmmc regulator found
  192. mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
  193. /soc/aips-bus@02100000/usdhc@02194000: voltage-ranges unspecified
  194. sdhci-esdhc-imx 2194000.usdhc: No vmmc regulator found
  195. sdhci-esdhc-imx 2194000.usdhc: No vqmmc regulator found
  196. mmc0: host does not support reading read-only switch, assuming write-enable
  197. mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
  198. usbcore: registered new interface driver usbhid
  199. usbhid: USB HID core driver
  200. mmc0: new high speed SDHC card at address 21f3
  201. mmcblk0: mmc0:21f3 APPSD 7.61 GiB
  202. mmcblk0: p1
  203. usb 1-1: new high-speed USB device number 2 using ci_hdrc
  204. NET: Registered protocol family 10
  205. sit: IPv6 over IPv4 tunneling driver
  206. NET: Registered protocol family 17
  207. Key type dns_resolver registered
  208. Registering SWP/SWPB emulation handler
  209. snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 00:39:23 UTC (2363)
  210. fec 20b4000.ethernet eth0: Freescale FEC PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=20b4000.ethernet:01, irq=-1)
  211. IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
  212. hub 1-1:1.0: USB hub found
  213. hub 1-1:1.0: 4 ports detected
  214. mmc1: MAN_BKOPS_EN bit is not set
  215. mmc1: new HS200 MMC card at address 0001
  216. mmcblk1: mmc1:0001 8GTF4R 7.28 GiB
  217. mmcblk1boot0: mmc1:0001 8GTF4R partition 1 4.00 MiB
  218. mmcblk1boot1: mmc1:0001 8GTF4R partition 2 4.00 MiB
  219. mmcblk1rpmb: mmc1:0001 8GTF4R partition 3 512 KiB
  220. mmcblk1: p1 p2
  221. fec 20b4000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
  222. IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
  223. IP-Config: Gateway not on directly connected network
  224. can-3v3: disabling
  225. ALSA device list:
  226.   No soundcards found.
  227. VFS: Unable to mount root fs via NFS, trying floppy.
  228. VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6
  229. Please append a correct "root=" boot option; here are the available partitions:
  230. 0100           65536 ram0  (driver?)
  231. 0101           65536 ram1  (driver?)
  232. 0102           65536 ram2  (driver?)
  233. 0103           65536 ram3  (driver?)
  234. 0104           65536 ram4  (driver?)
  235. 0105           65536 ram5  (driver?)
  236. 0106           65536 ram6  (driver?)
  237. 0107           65536 ram7  (driver?)
  238. 0108           65536 ram8  (driver?)
  239. 0109           65536 ram9  (driver?)
  240. 010a           65536 ram10  (driver?)
  241. 010b           65536 ram11  (driver?)
  242. 010c           65536 ram12  (driver?)
  243. 010d           65536 ram13  (driver?)
  244. 010e           65536 ram14  (driver?)
  245. 010f           65536 ram15  (driver?)
  246. b300         7987200 mmcblk0  driver: mmcblk
  247.   b301         7983104 mmcblk0p1 00000000-01
  248. b310         7634944 mmcblk1  driver: mmcblk
  249.   b311          131072 mmcblk1p1 b211d4a6-01
  250.   b312         7493632 mmcblk1p2 b211d4a6-02
  251. b340             512 mmcblk1rpmb  (driver?)
  252. b330            4096 mmcblk1boot1  (driver?)
  253. b320            4096 mmcblk1boot0  (driver?)
  254. Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
  255. ---[ end Kernel panic - not syncing: VFS: Unabl
复制代码
现象是:启动之后在
ALSA device list:
No soundcards found.

卡了一两分钟分钟,然后就弹出
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6
Please append a correct "root=" boot option; here are the available partitions:
0100 65536 ram0 (driver?)
0101 65536 ram1 (driver?)
0102 65536 ram2 (driver?)
0103 65536 ram3 (driver?)
0104 65536 ram4 (driver?)
0105 65536 ram5 (driver?)
0106 65536 ram6 (driver?)
0107 65536 ram7 (driver?)
0108 65536 ram8 (driver?)
0109 65536 ram9 (driver?)
010a 65536 ram10 (driver?)
010b 65536 ram11 (driver?)
010c 65536 ram12 (driver?)
010d 65536 ram13 (driver?)
010e 65536 ram14 (driver?)
010f 65536 ram15 (driver?)
b300 7987200 mmcblk0 driver: mmcblk
b301 7983104 mmcblk0p1 00000000-01
b310 7634944 mmcblk1 driver: mmcblk
b311 131072 mmcblk1p1 b211d4a6-01
b312 7493632 mmcblk1p2 b211d4a6-02
b340 512 mmcblk1rpmb (driver?)
b330 4096 mmcblk1boot1 (driver?)
b320 4096 mmcblk1boot0 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
---[ end Kernel panic - not syncing: VFS: Unabl


在网上查了说是ubuntu18.04的nfs不兼容导致,尝试过修改ubuntu的nfs配置:
sudo vi /etc/default/nfs-kernel-server

然后sudo /etc/init.d/nfs-kernel-server restart
发现还是不可以

然后尝试修改bootargs里面加上v3
bootargs=console=ttymxc0,115200 rw root=/dev/nfs nfsroot=192.168.1.130:/home/wl/linux/nfs/rootfs,v3 ip=192.168.0.58:192.168.1.130:192.168.1.1:255.255.255.0::eth0ff
发现还是不可以

配置信息如下:
  1. baudrate=115200
  2. board_name=EVK
  3. board_rev=14X14
  4. boot_fdt=try
  5. bootargs=console=ttymxc0,115200 rw root=/dev/nfs nfsroot=192.168.1.130:/home/wl/linux/nfs/rootfs,v3 ip=192.168.0.58:192.168.1.130:192.168.1.1:255.255.255.0::eth0:off
  6. bootcmd=tftp 80800000 zImage;tftp 83000000 imx6ull-alientek-emmc.dtb;bootz 80800000 - 83000000;
  7. bootcmd_mfg=run mfgtool_args;bootz ${loadaddr} ${initrd_addr} ${fdt_addr};
  8. bootdelay=5
  9. bootscript=echo Running bootscript from mmc ...; source
  10. console=ttymxc0
  11. dnsip=114.114.114.114
  12. ethact=FEC1
  13. ethaddr=00:04:9f:04:d2:35
  14. ethprime=FEC
  15. fdt_addr=0x83000000
  16. fdt_file=undefined
  17. fdt_high=0xffffffff
  18. findfdt=if test $fdt_file = undefined; then if test $board_name = EVK && test $board_rev = 9X9; then setenv fdt_file imx6ull-9x9-evk.dtb; fi; if test $board_name = EVK && test $board_rev = 14X14; then setenv fdt_file imx6ull-14x14-evk.dtb; fi; if test $fdt_file = undefined; then echo WARNING: Could not determine dtb to use; fi; fi;
  19. gatewayip=192.168.0.1
  20. image=zImage
  21. initrd_addr=0x83800000
  22. initrd_high=0xffffffff
  23. ip_dyn=yes
  24. ipaddr=192.168.0.58
  25. loadaddr=0x80800000
  26. loadbootscript=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};
  27. loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}
  28. loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}
  29. mfgtool_args=setenv bootargs console=${console},${baudrate} rdinit=/linuxrc g_mass_storage.stall=0 g_mass_storage.removable=1 g_mass_storage.file=/fat g_mass_storage.ro=1 g_mass_storage.idVendor=0x066F g_mass_storage.idProduct=0x37FF g_mass_storage.iSerialNumber="" clk_ignore_unused
  30. mmcargs=setenv bootargs console=${console},${baudrate} root=${mmcroot}
  31. mmcautodetect=yes
  32. mmcboot=echo Booting from mmc ...; run mmcargs; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi;
  33. mmcdev=0
  34. mmcpart=1
  35. mmcroot=/dev/mmcblk0p2 rootwait rw
  36. netargs=setenv bootargs console=${console},${baudrate} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp
  37. netboot=echo Booting from net ...; run netargs; if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; ${get_cmd} ${image}; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if ${get_cmd} ${fdt_addr} ${fdt_file}; then bootz ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi;
  38. netmask=255.255.255.0
  39. panel=TFT7016
  40. script=boot.scr
  41. serverip=192.168.1.130

  42. Environment size: 2633/8188 bytes
复制代码
忘大神指点

tftpboot.zip (5.13 MB, 下载次数: 0)

最佳答案

查看完整内容[请看2#楼]

问题解决了,发现nfs挂载不上是因为ip地址的问题,以前网段是192.168.0.0的,后来网络修过一次之后变成192.168.1.1的了,但是开发板上的192.168.0.0网段内的还能使用,就没修改,到今天NFS挂载就出问题了
正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

5

主题

22

帖子

0

精华

初级会员

Rank: 2

积分
124
金钱
124
注册时间
2019-10-14
在线时间
24 小时
 楼主| 发表于 2021-1-10 16:05:19 | 显示全部楼层
问题解决了,发现nfs挂载不上是因为ip地址的问题,以前网段是192.168.0.0的,后来网络修过一次之后变成192.168.1.1的了,但是开发板上的192.168.0.0网段内的还能使用,就没修改,到今天NFS挂载就出问题了
回复

使用道具 举报

7

主题

76

帖子

0

精华

中级会员

Rank: 3Rank: 3

积分
244
金钱
244
注册时间
2016-4-11
在线时间
54 小时
发表于 2021-3-1 10:04:45 | 显示全部楼层
和你问题一样,找了好几周了,愁死了
回复

使用道具 举报

7

主题

23

帖子

0

精华

初级会员

Rank: 2

积分
105
金钱
105
注册时间
2020-10-19
在线时间
17 小时
发表于 2021-11-5 10:12:47 | 显示全部楼层
超级无敌磊果果 发表于 2021-1-10 16:05
问题解决了,发现nfs挂载不上是因为ip地址的问题,以前网段是192.168.0.0的,后来网络修过一次之后变成192. ...

ip地址的问题就有些迷惑了,因为内核是可以下载的,但是nfs挂不上,我也是这个问题,上次遇到了莫名其妙好了,现在又不行了
回复

使用道具 举报

1

主题

5

帖子

0

精华

新手上路

积分
34
金钱
34
注册时间
2023-5-6
在线时间
7 小时
发表于 2023-11-7 16:17:39 | 显示全部楼层
超级无敌磊果果 发表于 2021-1-10 16:05
问题解决了,发现nfs挂载不上是因为ip地址的问题,以前网段是192.168.0.0的,后来网络修过一次之后变成192. ...

'console=ttymxc0,115200 root=/dev/nfs nfsroot=192.168.5.11:home/book/Linux/rootfs, v3 proto=tcp rw ip=192.168.5.9:192.168.5.11:192.168.5.1:255.255.255.0::eth0ff'
我的都是同一个网段没有解决
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2024-11-22 11:41

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表