在 CRAMFS 根文件系統中加入 yaffs2.ko 失敗
时间:2011-03-15
来源:互联网
我在板子啟動時加插 yaffs2.ko 失敗了 ... 下面是錯誤信息 :
复制代码
我的rcS :
复制代码
求有經驗的兄弟指教一下 ! 謝謝 !
- init started: BusyBox v1.11.2 (2011-02-24 11:21:32 HKT)
- starting pid 805, tty '/dev/console': '-/etc/init.d/rcS'
- #-----Start /etc/init.d/rcS
- mount: cannot read /proc/mounts: No such file or directory
- yaffs Mar 15 2011 11:24:33 Installing.
- ------------[ cut here ]------------
- WARNING: at fs/proc/generic.c:590 proc_register+0x118/0x16c()
- proc_dir_entry '/proc/yaffs' already registered
- Modules linked in: yaffs2(+)
- [<c0029480>] (unwind_backtrace+0x0/0xe0) from [<c003a6b8>] (warn_slowpath_common
- +0x48/0x60)
- [<c003a6b8>] (warn_slowpath_common+0x48/0x60) from [<c003a708>] (warn_slowpath_f
- mt+0x24/0x30)
- [<c003a708>] (warn_slowpath_fmt+0x24/0x30) from [<c00bd410>] (proc_register+0x11
- 8/0x16c)
- [<c00bd410>] (proc_register+0x118/0x16c) from [<c00bd578>] (create_proc_entry+0x
- 74/0x90)
- [<c00bd578>] (create_proc_entry+0x74/0x90) from [<bf01a040>] (init_yaffs_fs+0x40
- /0x140 [yaffs2])
- [<bf01a040>] (init_yaffs_fs+0x40/0x140 [yaffs2]) from [<c0023374>] (do_one_initc
- all+0x54/0x198)
- [<c0023374>] (do_one_initcall+0x54/0x198) from [<c005d784>] (sys_init_module+0xb
- c/0x1e8)
- [<c005d784>] (sys_init_module+0xbc/0x1e8) from [<c0023de0>] (ret_fast_syscall+0x
- 0/0x28)
- ---[ end trace 1e4af51e94ebed85 ]---
- ------------[ cut here ]------------
- WARNING: at fs/proc/generic.c:590 proc_register+0x118/0x16c()
- proc_dir_entry '/proc/yaffs_debug' already registered
- Modules linked in: yaffs2(+)
- [<c0029480>] (unwind_backtrace+0x0/0xe0) from [<c003a6b8>] (warn_slowpath_common
- +0x48/0x60)
- [<c003a6b8>] (warn_slowpath_common+0x48/0x60) from [<c003a708>] (warn_slowpath_f
- mt+0x24/0x30)
- [<c003a708>] (warn_slowpath_fmt+0x24/0x30) from [<c00bd410>] (proc_register+0x11
- 8/0x16c)
- [<c00bd410>] (proc_register+0x118/0x16c) from [<c00bd578>] (create_proc_entry+0x
- 74/0x90)
- [<c00bd578>] (create_proc_entry+0x74/0x90) from [<bf01a074>] (init_yaffs_fs+0x74
- /0x140 [yaffs2])
- [<bf01a074>] (init_yaffs_fs+0x74/0x140 [yaffs2]) from [<c0023374>] (do_one_initc
- all+0x54/0x198)
- [<c0023374>] (do_one_initcall+0x54/0x198) from [<c005d784>] (sys_init_module+0xb
- c/0x1e8)
- [<c005d784>] (sys_init_module+0xbc/0x1e8) from [<c0023de0>] (ret_fast_syscall+0x
- 0/0x28)
- ---[ end trace 1e4af51e94ebed86 ]---
- insmod: cannot insert '/home/yaffs2.ko': Device or resource busy
- UniFi SDIO Driver: v7.0 (build:212) Mar 10 2011 10:18:09
- CSR SME with WEXT support
- UniFi: Using native Linux MMC driver for SDIO.
- /etc/init.d/rcS: line 14: sbin/mount: not found
- /etc/init.d/rcS: line 16: sbin/mount: not found
- #!/bin/sh
-
- echo "#-----Start /etc/init.d/rcS "
- PATH=/sbin:/bin:/usr/sbin:/usr/bin
- runlevel=S
- prevlevel=N
- umask 022
- export PATH runlevel prevlevel
-
- /bin/mount -f -t cramfs -o remount,ro /dev/mtdblock/3
-
- /sbin/insmod -f /home/yaffs2.ko
- /sbin/insmod /home/unifi_sdio.ko
- sbin/mount -t yaffs2 /dev/mtdblock/4 /home
-
- sbin/mount -t proc none /proc
- echo "*****************************************"
- echo " Start AT91SAM9261 ... "
- echo " built date : 24-2-2011 "
- echo " Author : Steven Lo "
- echo "*****************************************"
-
- .//home/test/hello
作者: embedding 发布时间: 2011-03-15
頂 ...
作者: embedding 发布时间: 2011-03-17
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28