嵌入式linux 文件系统加载的问题

vapl32 2009-03-22 09:04:06
以下是我的文件系统启动后的信息:
Mounted devfs on /dev

Freeing init memory: 112K

Reading data from NAND FLASH without ECC is not recommended


init started: BusyBox v1.9.2 (2009-01-22 09:35:41 CST)

starting pid 16, tty '': '/etc/init.d/rcS'
------------------monut all
----------------starting mdev.......
/etc/init.d/rcS: line 6: cannot create /proc/sys/kernel/hotplug: nonexistent directory
**********************************
linux fs for bapl 2008 11 26
****************************8

starting pid 19, tty '': '/bin/login'
(none) login:

Login timed out a
process '-/bin/login' (pid 19) exited. Scheduling it for restart.

starting pid 21, tty '': '/bin/login'
(none) login: root
Password:
login[21]: root login on 'console'


Processing /etc/profile... Set search library path in /etc/profile
set user path in /etc/profile
set PS1 in /etc/profile
Done

[05;32m[root@~]#[00;34m]ls
[05;32m[root@~]#[00;34m]ping 192.168.0.100
Reading data from NAND FLASH without ECC is not recommended

PING 192.168.0.100 (192.168.0.100): 56 data bytes
ping: sendto: Network is unreachable
[05;32m[root@~]#[00;34m]ifconfig
[05;32m[root@~]#[00;34m]ls
[05;32m[root@~]#[00;34m]mkdir
BusyBox v1.9.2 (2009-01-22 09:35:41 CST) multi-call binary

Usage: mkdir [OPTION] DIRECTORY...

Create the DIRECTORY(ies) if they do not already exist

我想问一下,为什么加载后使用命令时看不到信息呢?例如ls,mkdir命令时没有任何信息,我的文件系统有问题吗??
...全文
302 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
vapl32 2009-03-26
  • 打赏
  • 举报
回复
传给kernel启动参数(root=/dev/mtdblock2)时,kernel如何知道mtdblock2是什么设备?(文件系统还没有加载呢)
hefuhua 2009-03-25
  • 打赏
  • 举报
回复
ls -al
看看有文件名或者一个点

mkdir abc
没有提示就是正确的

ls abc
看看建立成功了没有
vapl32 2009-03-25
  • 打赏
  • 举报
回复
我用的是优龙fs2410提供的代码,加载进去也是这种现象,
我想问一下,如果正常的话,应该是什么样的效果呢????
hefuhua 2009-03-23
  • 打赏
  • 举报
回复
文件系统在nand flash上,可能坏了,重新烧下文件系统

4,441

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 内核源代码研究区
社区管理员
  • 内核源代码研究区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧