大家好,我在自己制作的根文件系统上添加boa相关的配置,boa的移植参考网上的资料,这方面的移植资料都差不多,我觉得不容易出错,并且仔细检查了很多遍没发现问题。由于不是用友善的平台,从内核和根文件系统、网卡是自己移植/配置的,网卡移植后ping正常不会丢包,在根文件系统里面参考网上的资料配置了网络设置,比如DNS、网关之类的,把这些配置和boa移植后的文件都放入根文件系统后启动开发板,出现如下信息:
1、
。。。
Freeing init memory: 124K
----------munt all----------------
network interface
Jan 1 00:00:09 MrFeng syslog.info syslogd started: BusyBox v1.13.3
start net_set
Try to bring eth0 interface up ...
ifconfig eth0 hw ether 10:23:45:67:89:ab
dm9000 dm9000.0: WARNING: no IRQ resource flags set.
eth0: link up, 10Mbps, half-duplex, lpa 0x0021
ifconfig eth0 192.168.1.230 netmask 255.255.255.0 up
add default gw 192.168.1.1
Done
start httpd
[01/Jan/1970:00:00:10 +0000] boa: server version Boa/0.94.13
[01/Jan/1970:00:00:10 +0000] boa: server built Aug 13 2009 at 20:43:08.
[01/Jan/1970:00:00:10 +0000] boa: starting server pid=839, port 80
****************Studying ARM*********************
Kernel version:linux-2.6.29.1
Student:Feng dong rui
Date:2009.07.15
**************************************************
Please press Enter to activate this console.
Jan 1 00:00:52 MrFeng daemon.info init: starting pid 840, tty '': '-/bin/sh'
[rootMrFeng]#
在按Enter键进入终端时出现的那个“Jan 1 00:00:52 MrFeng daemon.info init: starting pid 840, tty '': '-/bin/sh'”不知道是什么错误,会不会是这里是移植boa不能打开网页的原因?
我又重启开发板,又得到如下的启动信息,这是我多次启动后观察到的。
2、
Freeing init memory: 124K
----------munt all----------------
mkdir: cannot create directory '/dev/pts': File exists
network interface
start net_set
Try to bring eth0 interface up ...
ifconfig eth0 hw ether 10:23:45:67:89:ab
dm9000 dm9000.0: WARNING: no IRQ resource flags set.
eth0: link up, 10Mbps, half-duplex, lpa 0x0021
ifconfig eth0 192.168.1.230 netmask 255.255.255.0 up
add default gw 192.168.1.1
Done
start httpd
gethostbyname:: Success
****************Studying ARM*********************
Kernel version:linux-2.6.29.1
Student:Feng dong rui
Date:2009.07.15
**************************************************
Please press Enter to activate this console.
[rootMrFeng]#
这里启动信息1的“gethostbyname:: Success”和启动信息2中的“[01/Jan/1970:00:00:10 +0000] boa: server version Boa/0.94.13
[01/Jan/1970:00:00:10 +0000] boa: server built Aug 13 2009 at 20:43:08.
[01/Jan/1970:00:00:10 +0000] boa: starting server pid=839, port 80
”不同,不知道这里是什么造成的?
这是我boa移植后所出现的问题,恳请指点迷津。先谢了!