天嵌 ARM开发社区

 找回密码
 注册
查看: 3700|回复: 8

NFS文件系统 出错,关于Domain

[复制链接]
Berton 发表于 2009-11-3 21:10:03 | 显示全部楼层 |阅读模式
打印信息如下
console=ttySAC0 root=/dev/nfs nfsroot=192.168.0.210:/opt/EmbedSky/fileSystem ip=192.168.0.6:192.168.0.210:192.168.0.6:255.255.255.0:SKY2440.embedsky.net:eth0:off



##### EmbedSky u-boot for TQ2440  #####
Press Space key to Download Mode !
Booting Linux ...
Copy linux kernel from 0x001f0000 to 0x30008000, size = 0x00200000 ... Copy Kernel to SDRAM done,NOW, Booting Linux......
Uncompressing Linux..................................................................................................................... done, booting the kernel.
Linux version 2.6.25.8 (root@localhost.localdomain) (gcc version 3.4.5) #21 Tue Nov 3 19:43:31 HKT 2009
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
Machine: SMDK2440
ATAG_INITRD is deprecated; please update your bootloader.
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C244X: core 400.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz
S3C24XX Clocks, (c) 2004 Simtec Electronics
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttySAC0 root=/dev/nfs nfsroot=192.168.0.210:/opt/EmbedSky/fileSystem ip=192.168.0.6:192.168.0.210:192.168.0.6:255.255.255.0:SKY2440.embedf
irq: clearing pending ext status 00080000
irq: clearing subpending status 00000002
PID hash table entries: 256 (order: 8, 1024 bytes)
timer tcon=00500000, tcnt a2c1, tcfg 00000200,00000000, usec 00001eb8
Console: colour dummy device 80x30
console [ttySAC0] enabled
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 61056KB available (3320K code, 299K data, 200K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 152 bytes
NET: Registered protocol family 16
S3C2410 Power Management, (c) 2004 Simtec Electronics
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
DMA channel 0 at c4800000, irq 33
DMA channel 1 at c4800040, irq 34
DMA channel 2 at c4800080, irq 35
DMA channel 3 at c48000c0, irq 36
S3C244X: Clock Support, DVS off
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
fuse init (API version 7.9)
yaffs Oct 29 2009 11:01:09 Installing.
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Console: switching to colour frame buffer device 40x30
fb0: s3c2410fb frame buffer device
lp: driver loaded but no devices found
ppdev: user-space parallel port driver
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
s3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
brd: module loaded
loop: module loaded
PPP generic driver version 2.4.2
SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
CSLIP: code copyright 1989 Regents of the University of California.
dm9000 Ethernet Driver
Now use the default MAC address: 10:23:45:67:89:ab
eth0: dm9000 at c485e000,c4860004 IRQ 51 MAC: 10:23:45:67:89:ab
Uniform Multi-Platform E-IDE driver
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2440-nand s3c2440-nand: Tacls=2, 20ns Twrph0=3 30ns, Twrph1=2 20ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00040000 : "TQ2440_uboot"
0x0004c000-0x0024c000 : "TQ2440_kernel"
0x0024c000-0x03ffc000 : "TQ2440_yaffs2"
usbmon: debugfs is not available
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
mice: PS/2 mouse device common for all mice
EmbedSky TouchScreen successfully loaded
input: EmbedSky TouchScreen as /class/input/input0
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 390 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: starting watchdog timer
s3c2410-wdt s3c2410-wdt: watchdog active, reset abled, irq enabled
Trying to set irq type for IRQ-1
s3c2440-sdi s3c2410-sdi: failed to request card detect interrupt.
s3c2440-sdi: probe of s3c2410-sdi failed with error -2
TCP cubic registered
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
s3c2410-rtc s3c2410-rtc: setting system clock to 2009-01-02 18:10:46 UTC (1230919846)
eth0: link down
IP-Config: Complete:
     device=eth0, addr=192.168.0.6, mask=255.255.255.0, gw=192.168.0.6,
     host=SKY2440, domain=, nis-domain=embedsky.net,
     bootserver=192.168.0.210, rootserver=192.168.0.210, rootpath=
Looking up port of RPC 100003/2 on 192.168.0.210

对这几行有点疑惑:
   host=SKY2440, domain=, nis-domain=embedsky.net,
亚瑟王 发表于 2009-11-12 19:17:38 | 显示全部楼层
建议你将NFS文件系统的中的“etc/init.d/rcS”文件中的net_set &改为;net_set &,就行了。
kevinwei 发表于 2012-4-12 11:48:57 | 显示全部楼层
本帖最后由 kevinwei 于 2012-4-12 12:01 编辑
亚瑟王 发表于 2012-4-10 18:36
亲。SKY2440和TQ2440可以使用相同资料的。这部分也是一样的修改方法。

恩 我知道 但是我在Hostname文件下修改为自己的,启动信息打印还是SKY2440,控制台是[root@SKY2440 /]# ,而不是我设置的 。。
kevinwei 发表于 2012-4-12 12:00:24 | 显示全部楼层
本帖最后由 kevinwei 于 2012-4-12 12:00 编辑
亚瑟王 发表于 2012-4-10 18:36
亲。SKY2440和TQ2440可以使用相同资料的。这部分也是一样的修改方法。

这是串口打印的,我用nfs启动的:
IP-Config: Complete:
     device=eth0, addr=192.168.1.6, mask=255.255.255.0, gw=192.168.1.6,
     host=SKY2440, domain=, nis-domain=embedsky.net,
     bootserver=192.168.1.101, rootserver=192.168.1.101, rootpath=。。
kevinwei 发表于 2012-4-10 12:45:51 | 显示全部楼层
亚瑟王 发表于 2009-11-12 19:17
建议你将NFS文件系统的中的“etc/init.d/rcS”文件中的net_set &改为;net_set &,就行了。

亚瑟王,你好 那SKY2440该怎么改?我想改为其他的呢 我在hostname里修改了,但是还是SKY2440。是不是uboot传过来就这样的?因为我没有移植uboot,直接用tq自带的 谢谢
亚瑟王 发表于 2012-4-10 18:36:53 | 显示全部楼层
kevinwei 发表于 2012-4-10 12:45
亚瑟王,你好 那SKY2440该怎么改?我想改为其他的呢 我在hostname里修改了,但是还是SKY2440。是不是uboo ...

亲。SKY2440和TQ2440可以使用相同资料的。这部分也是一样的修改方法。
亚瑟王 发表于 2012-4-12 21:26:33 | 显示全部楼层
kevinwei 发表于 2012-4-12 12:00
这是串口打印的,我用nfs启动的:
IP-Config: Complete:
     device=eth0, addr=192.168.1.6, mask=25 ...

亲,你用天嵌科技光盘里面的文件系统测试一下呢。
kevinwei 发表于 2012-4-13 17:56:03 | 显示全部楼层
亚瑟王 发表于 2012-4-12 21:26
亲,你用天嵌科技光盘里面的文件系统测试一下呢。

tq的文件系统?我想那样肯定会打印出这些数据的,没有什么效果。我的意思是这些信息是在哪设置的?我只要修改那里不就行了吗
亚瑟王 发表于 2012-4-18 17:36:56 | 显示全部楼层
kevinwei 发表于 2012-4-13 17:56
tq的文件系统?我想那样肯定会打印出这些数据的,没有什么效果。我的意思是这些信息是在哪设置的?我只要 ...

SKY2440那个信息就是文件系统里面的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-4-28 15:24 , Processed in 1.062500 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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