luy3728000 发表于 2011-2-5 00:34:45

NFS挂载出现问题,深夜求解

安装手册上4-3-2来做,确定防火墙,杀毒软件已关,网络连接,硬件网线连接没问题,重新启动出现一下信息
Starting kernel ...
Uncompressing Linux............................................................................................................................................................... done, booting the kernel.
Linux version 2.6.28.6 (root@jkeqiang-desktop) (gcc version 4.2.2) #232 Wed Jan 19 17:37:51 CST 2011
CPU: ARMv6-compatible processor revision 6 (ARMv7), cr=00c5387f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: SMDK6410
Memory policy: ECC disabled, Data cache writeback
CPU S3C6410 (id 0x36410101)
S3C24XX Clocks, (c) 2004 Simtec Electronics
S3C64XX: PLL settings, A=532000000, M=532000000, E=24000000
S3C64XX: HCLKx2=266000000, HCLK=133000000, PCLK=66500000
div1: 00000555
mout_apll: source is fout_apll (1), rate is 532000000
mout_epll: source is fout_epll (1), rate is 24000000
mout_mpll: source is mpll (1), rate is 532000000
mmc_bus: source is dout_mpll (1), rate is 44333333
mmc_bus: source is dout_mpll (1), rate is 44333333
mmc_bus: source is dout_mpll (1), rate is 44333333
usb-host-bus: source is mout_epll (0), rate is 24000000
uclk1: source is dout_mpll (1), rate is 66500000
spi-bus: source is mout_epll (0), rate is 24000000
spi-bus: source is mout_epll (0), rate is 24000000
audio-bus0: source is mout_epll (0), rate is 24000000
audio-bus1: source is mout_epll (0), rate is 24000000
audio-bus2: source is mout_epll (0), rate is 24000000
irda-bus: source is mout_epll (0), rate is 24000000
s3c64xx: 15728640 bytes SDRAM reserved for fimc at 0x5073b000
s3c64xx: 8388608 bytes SDRAM reserved for pp at 0x5163b000
s3c64xx: 8388608 bytes SDRAM reserved for tv at 0x51e3b000
s3c64xx: 6291456 bytes SDRAM reserved for mfc at 0x5263b000
s3c64xx: 8388608 bytes SDRAM reserved for jpeg at 0x52c3b000
s3c64xx: 8388608 bytes SDRAM reserved for cmm at 0x5343b000
Built 1 zonelists in Zone order, mobility grouping on.Total pages: 65024
Kernel command line: root=/dev/nfs nfsroot=192.168.1.128:/forlinx/root ip=192.168.1.20:192.168.1.128:192.168.1.1:255.255.255.0:www.witech.com.cn:eth0:off console=ttySAC0,115200
PID hash table entries: 1024 (order: 10, 4096 bytes)
Console: colour dummy device 80x30
s3c24xx_serial_init_ports: initialising ports=4...
console enabled
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB = 256MB total
Memory: 200064KB available (4600K code, 527K data, 148K init)
SLUB: Genslabs=12, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop... 530.84 BogoMIPS (lpj=1327104)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 316 bytes
NET: Registered protocol family 16
S3C6410: Initialising architecture
S3C DMA-pl080 Controller Driver, (c) 2006-2007 Samsung Electronics
Total 32 DMA channels will be initialized.
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: US
        (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
        (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
        (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
cfg80211: Calling CRDA for country: US
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (double precision)
yaffs Jan 19 2011 17:35:30 Installing.
msgmni has been set to 391
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
S3C_LCD clock got enabled :: 133.000 Mhz
LCD TYPE :: LTE480WV will be initialized
Window - FB1: map_video_memory: clear ff000000:0007f800
            FB1: map_video_memory: dma=5f180000 cpu=ff000000 size=0007f800
Window - FB2: map_video_memory: clear ff03fc00:0003fc00
            FB2: map_video_memory: dma=5f1bfc00 cpu=ff03fc00 size=0003fc00
logo_lines 0, vc->vc_bottom 34
fbcon_init: disable boot-logo (boot-logo bigger than screen).
Console: switching to colour frame buffer device 60x34
fb0: s3cfb frame buffer device
Window - FB1: map_video_memory: clear ff080000:0007f800
            FB1: map_video_memory: dma=5f200000 cpu=ff080000 size=0007f800
Window - FB2: map_video_memory: clear ff0bfc00:0003fc00
            FB2: map_video_memory: dma=5f23fc00 cpu=ff0bfc00 size=0003fc00
fb1: s3cfb frame buffer device
Window - FB1: map_video_memory: clear ff100000:0003fc00
            FB1: map_video_memory: dma=5f140000 cpu=ff100000 size=0003fc00
fb2: s3cfb frame buffer device
Window - FB1: map_video_memory: clear ff140000:0003fc00
            FB1: map_video_memory: dma=5f280000 cpu=ff140000 size=0003fc00
fb3: s3cfb frame buffer device
enter s3c6410_leds_init
leds initialized
s3c6400-uart.0: s3c2410_serial0 at MMIO 0x7f005000 (irq = 16) is a S3C6400/10
s3c6400-uart.1: s3c2410_serial1 at MMIO 0x7f005400 (irq = 20) is a S3C6400/10
s3c6400-uart.2: s3c2410_serial2 at MMIO 0x7f005800 (irq = 24) is a S3C6400/10
s3c6400-uart.3: s3c2410_serial3 at MMIO 0x7f005c00 (irq = 28) is a S3C6400/10
brd: module loaded
loop: module loaded
PPP generic driver version 2.4.2
dm9000 Ethernet Driver
eth2090025615: con201 Invalid ethernet MAC address. using default config,Please set using ifconfig
eth0: dm9000 at f7b00300,f7b00304 IRQ 108 MAC: 00:e0:4a:bc:15:e7
usbcore: registered new interface driver asix
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver net1080
usbcore: registered new interface driver rndis_host
usbcore: registered new interface driver cdc_subset
usbcore: registered new interface driver zaurus
usbcore: registered new interface driver zd1211rw
usbcore: registered new interface driver rndis_wlan
usbcore: registered new interface driver zd1201
libertas_sdio: Libertas SDIO driver
libertas_sdio: Copyright Pierre Ossman
usbcore: registered new interface driver lbtf_usb
Linux video capture interface: v2.00
s3c-fimc: controller 0 registered successfully
s3c-fimc: controller 1 registered successfully
printk ov965x_init
s3c-fimc: info ov965x_init
S3C6400 MFC Driver, (c) 2007 Samsung Electronics
S3C6400 MFC Driver, (c) 2007 Samsung Electronics
S3C PostProcessor Driver v3.12, (c) 2009 Samsung Electronics
S3C6410 TV encoder Driver, (c) 2008 Samsung Electronics
S3C6410 TV encoder Driver init OK.
S3C6410 TV scaler Driver, (c) 2008 Samsung Electronics
S3C6410 TV scaler Driver init OK.
S3C Rotator Driver, (c) 2008 Samsung Electronics
s3c_rotator_probe called
s3c_rotator_probe success
S3C JPEG Driver, (c) 2007 Samsung Electronics
s3c_g2d_probe called
s3c_g2d_probe Success
S3C G2D Init : Done
S3C G3D Driver, (c) 2007-2009 Samsung Electronics
s3c_g3d version : 0x1050000
S3C G3D Init : Done
S3C CMM Driver, (c) 2008 Samsung Electronics
Driver 'sd' needs updating - please use bus_type methods
S3C NAND Driver, (c) 2008 Samsung Electronics
select s3c_nand_oob_mlc_128
S3C NAND Driver is using hardware ECC.
NAND device: Manufacturer ID: 0xec, Chip ID: 0xd5 (Samsung NAND 2GiB 3,3V 8-bit)
Creating 4 MTD partitions on "NAND 2GiB 3,3V 8-bit":
0x00000000-0x00040000 : "Bootloader"
0x00040000-0x00400000 : "Kernel"
0x00400000-0x05400000 : "Rootfs"
0x05400000-0x80000000 : "File System"
Samsung SoC SPI Driver loaded for SPI-0
        Max,Min-Speed Hz
        Irq=80        IOmem=        DMA=
Samsung SoC SPI Driver loaded for SPI-1
        Max,Min-Speed Hz
        Irq=81        IOmem=        DMA=
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 79, io mem 0x74300000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
s3c-udc : S3C HS USB OTG Device Driver, (c) 2008-2009 Samsung Electronics
s3c-udc : version 15 March 2009 (DMA Mode)
mice: PS/2 mouse device common for all mice
gpio keys driver.
input: gpio-keys as /class/input/input0
S3C Touchscreen driver, (c) 2008 Samsung Electronics
S3C TouchScreen got loaded successfully : 12 bits
input: S3C TouchScreen as /class/input/input1
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2410_rtc: tick irq 34, alarm irq 92
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
i2c /dev entries driver
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 377 KHz
ov965x_attach_adapter.
s3c_fimc_register_camera,cam->id=0
parent clock for camera: 266.000 MHz, divisor: 11
RESET CAM.Reset and init reg!1cam->client=0
Reset and init reg!1
Reset and init reg!3
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman

luy3728000 发表于 2011-2-5 00:35:46

s3c-sdhci s3c-sdhci.0: clock source 0: hsmmc (133000000 Hz)
s3c-sdhci s3c-sdhci.0: clock source 1: hsmmc (133000000 Hz)
s3c-sdhci s3c-sdhci.0: clock source 2: mmc_bus (44333333 Hz)
mmc0: SDHCI controller on samsung-hsmmc using ADMA
sdhci: card inserted.
s3c-sdhci s3c-sdhci.1: clock source 0: hsmmc (133000000 Hz)
s3c-sdhci s3c-sdhci.1: clock source 1: hsmmc (133000000 Hz)
s3c-sdhci s3c-sdhci.1: clock source 2: mmc_bus (44333333 Hz)
mmc1: SDHCI controller on samsung-hsmmc using ADMA
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.18rc3.
ASoC version 0.13.2
WM9713/WM9714 SoC Audio Codec 0.15
playback: 1, capture : 1
asoc: AC97 HiFi <-> s3c64xx-ac97 mapping ok
Open speaker volume.
ALSA device list:
#0: SMDK6400 (WM9713)
TCP cubic registered
can: controller area network core (rev 20081130 abi 8)
NET: Registered protocol family 29
can: raw protocol (rev 20081130)
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
s3c2410-rtc s3c2410-rtc: setting system clock to 2000-10-22 23:05:03 UTC (972255903)
eth0: link down
IP-Config: Complete:
   device=eth0, addr=192.168.1.20, mask=255.255.255.0, gw=192.168.1.1,
   host=www, domain=, nis-domain=witech.com.cn,
   bootserver=192.168.1.128, rootserver=192.168.1.128, rootpath=
Looking up port of RPC 100003/2 on 192.168.1.128
eth0: link up, 100Mbps, full-duplex, lpa 0xC1E1
usb 1-2: new full speed USB device using s3c2410-ohci and address 2
usb 1-2: device descriptor read/64, error -62
usb 1-2: device descriptor read/64, error -62
usb 1-2: new full speed USB device using s3c2410-ohci and address 3
usb 1-2: device descriptor read/64, error -62
usb 1-2: device descriptor read/64, error -62
usb 1-2: new full speed USB device using s3c2410-ohci and address 4
usb 1-2: device not accepting address 4, error -62
usb 1-2: new full speed USB device using s3c2410-ohci and address 5
usb 1-2: device not accepting address 5, error -62
hub 1-0:1.0: unable to enumerate USB device on port 2
rpcbind: server 192.168.1.128 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.1.128
rpcbind: server 192.168.1.128 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
Root-NFS: Server returned error -5 while mounting /forlinx/root
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             256 mtdblock0 (driver?)
1f01            3840 mtdblock1 (driver?)
1f02         81920 mtdblock2 (driver?)
1f03         2011136 mtdblock3 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
eth0: link down---------------------(在这里就停住了)

飞凌-alexlee 发表于 2011-2-5 09:20:46

device=eth0, addr=192.168.1.20, mask=255.255.255.0, gw=192.168.1.1,
   host=www, domain=, nis-domain=witech.com.cn,
   bootserver=192.168.1.128, rootserver=192.168.1.128,


看看这个,你的ip地址输对了吗?

luy3728000 发表于 2011-2-5 10:54:20

对了。开发板是192.168.1.20   ubuntu 上是192.168.1.128

luy3728000 发表于 2011-2-5 11:00:04

nfs-kernel-server 这个已经安装, restart 时显示
* Stopping NFS kernel daemon                                                [ OK ]
* Unexporting directories for NFS kernel daemon...                        [ OK ]
* Exporting directories for NFS kernel daemon...                            [ OK ]
* Starting NFS kernel daemon         
但是 ,我输入 service nfs status
提示,nfs: unrecognized service “不可识别到服务”?请问这么会这样?

飞凌-alexlee 发表于 2011-2-6 09:08:34

你能ping通虚拟机吗?

luy3728000 发表于 2011-2-6 17:49:16

回复 6# 飞凌-alexlee
我在u-boot命令提示符下
SMDK6410# ping 192.168.1.128
提示
CS8900 Ethernet chip not fount?!
ping failde; host 192.168.1.128 is not alive

在虚拟机上ping开发板也ping不同通

luy3728000 发表于 2011-2-6 17:50:01

回复 6# 飞凌-alexlee
怎么是CS8900 不是DM9000的吗?

飞凌-alexlee 发表于 2011-2-6 22:00:10

不能再uboot下使用ping

你用你pc的windows,ping linux~~

luy3728000 发表于 2011-2-6 22:28:50

也平ping不通阿

luy3728000 发表于 2011-2-7 00:05:24

我把虚拟机换成 从 NAT 换到 host0-only方式时,可以从XP ping通虚拟机的ubuntu ,但是挂载时还是出现
eth0: link down
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Gateway not on directly connected network.
Looking up port of RPC 100003/2 on 192.168.22.128
eth0: link up, 100Mbps, full-duplex, lpa 0xC1E1
rpcbind: server 192.168.22.128 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.22.128
rpcbind: server 192.168.22.128 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
Root-NFS: Server returned error -5 while mounting /forlinx/root
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             256 mtdblock0 (driver?)
1f01            3840 mtdblock1 (driver?)
1f02         81920 mtdblock2 (driver?)
1f03         2011136 mtdblock3 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
eth0: link down

luy3728000 发表于 2011-2-7 00:06:01

纠结啊!!搞了两三天这个了

飞凌-alexlee 发表于 2011-2-7 22:48:05

你选择桥接模式~~

luy3728000 发表于 2011-2-10 12:57:02

桥接模式也试过,几种方式都试过了,问题还是一样啊。

xxiiaaon 发表于 2011-2-14 00:06:51

飞凌-alexlee 发表于 2011-2-14 08:11:47

你重新下载最新的内核跟uboot

glorin 发表于 2011-3-27 21:51:03

飞凌-fatfish 发表于 2011-3-28 09:03:21

如果楼上有什么问题,最好是开贴详述
页: [1]
查看完整版本: NFS挂载出现问题,深夜求解