求助:linux-2.6.36.2内核能启动但QT文件提示不存在
本人菜鸟,UBOOT和Cramfs都是使用光盘中提供的Demo文件,内核linux-2.6.36.2是自己在源码网站修改编译的(使用Demo的zImage是没问题的),下载到OK6410后现在出现这样的情况:devtmpfs: mounted
Freeing init memory: 164K
/etc/rc.d/init.d/netd: line 16: /usr/sbin/inetd: not found
mkdir: cannot create directory '/mnt/disk': File exists
mount: mounting /dev/mtdblock3 on /mnt/disk failed: No such device
Try to bring eth0 interface up......eth0: link down
Done
Starting Qtopia2, please waiting...
Please press Enter to activate this console. mouse...
mkdir: cannot create directory '/mnt/disk/QtopiaHome': Read-only file system
mkdir: cannot create directory '/mnt/disk/QtopiaHome/': Read-only file system
cp: cannot create '/mnt/disk/QtopiaHome/Settings/Trolltech/qpe.conf': No such file or directory
mkdir: cannot create directory '/mnt/disk/QtopiaHome/': Read-only file system
ln: /mnt/disk/QtopiaHome/Documents: No such file or directory
ln: /mnt/disk/QtopiaHome/Documents: No such file or directory
ln: /mnt/disk/QtopiaHome/Documents: No such file or directory
ls
# ls
bin etc linuxrcopt root sdcard tmp usr
dev lib mnt proc sbin sys udisk var
#
内核启动了,但是QT却不能正常工作 !!! 不知道问题出在什么地方?
但是我使用NFS挂载却能正常启动,开机打印如下:
Registering the dns_resolver key type
s3c-rtc s3c64xx-rtc: setting system clock to 2011-11-21 09:03:17 UTC (1321866197)
eth0: link down
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
IP-Config: Complete:
device=eth0, addr=192.168.0.232, mask=255.255.0.0, gw=192.168.1.2,
host=witech, domain=, nis-domain=com.cn,
bootserver=192.168.0.100, rootserver=192.168.0.100, rootpath=
Looking up port of RPC 100003/2 on 192.168.0.100
Looking up port of RPC 100005/1 on 192.168.0.100
VFS: Mounted root (nfs filesystem) on device 0:14.
devtmpfs: mounted
Freeing init memory: 164K
*************************************
http://www.witech.com.cn
*************************************
mkdir: cannot create directory '/mnt/disk': File exists
yaffs: dev is 32505859 name is "mtdblock3" rw
yaffs: passed flags ""
Try to bring eth0 interface up......NFS root ...Done
Starting Qtopia, please waiting...
Please press Enter to activate this console. touch...
\# \qtopia
touch...
ls
ls
^C
# ls //DNW显示的乱码
[0;0mFORLINX_6410_yaffs2_v1.0.tgz[0m[1;34mopt[0m
[0;0mMY6410_yaffs2_v1.0.tgz[0m [1;34mproc[0m
[0;0m_new.[0m [1;34mroot[0m
[1;34mbin[0m [1;34msbin[0m
[1;34mdev[0m [1;34msdcard[0m
[1;34metc[0m [1;34msys[0m
[1;34mhome[0m [1;34mtest[0m
[1;34mlib[0m [1;34mtmp[0m
[1;36mlinuxrc[0m [1;34musr[0m
[1;34mmnt[0m [1;34mvar[0m
#
请问各位大侠和版主,我前面直接启动根文件系统不正常的原因可能在哪里? 换超级终端即可 我的重点不是说DNW显示, 我想问问能NFS挂在启动系统,却不能直接启动光盘提供的Cramfs根文件系统,是不是意味我要重新制作根文件系统? 使用我们论坛里面提供的LINUX3.0系统,把cramfs换成yaffs2文件系统,或者给309700835@qq.com发申请,申请一键烧写yaffs2系统,一键烧写yaffs2我们已经研发完成,暂未放到官方网站上提供下载。 可是我将内核打上yaffs2文件系统的补丁后(只是在之前基础上支持yaffs2文件系统),同样是烧入之前环境下的开发板中(还是之前的cramfs根文件系统、内核也是支持cramfs的)却出现这样的错误,进不去内核:
支持yaffs2的配置(沿用光盘中的源码的配置)
<*> YAFFS2 file system support
<*> 512 byte / page devices
<*> 2048 byte (or larger) / page devices
<*> Autoselect yaffs2 format
<*> Disable lazy loading
<*>Enable yaffs2 xattr support
出现的报错:
VFS: Mounted root (cramfs filesystem) readonly on device 31:2.
devtmpfs: mounted
Freeing init memory: 168K
/etc/rc.d/init.d/netd: line 16: /usr/sbin/inetd: not found
mkdir: cannot create directory '/mnt/disk': File exists
yaffs: dev is 32505859 name is "mtdblock3" rw
yaffs: passed flags ""
Try to bring eth0 interface up......eth0: link down
Done
Starting Qtopia2, please waiting...
Please press Enter to activate this console. mouse...
Unable to handle kernel paging request at virtual address 87de1bb0
pgd = c7bec000
*pgd=00000000
Internal error: Oops: 805 [#1]
last sysfs file: /sys/class/graphics/fb0/virtual_size
Modules linked in:
CPU: 0 Not tainted(2.6.36.2 #22)
PC is at s3c_nand_write_page_8bit+0xc0/0xf8
LR is at 0x52
pc : [<c0261ba0>] lr : [<00000052>] psr: 20000013
sp : c7bff9f8ip : 000000fffp : c7bffa24
r10: c793a000r9 : c070f140r8 : 00000000
r7 : 00000068r6 : c7920180r5 : c7920000r4 : 00000052
r3 : c070f284r2 : 00000008r1 : c793b200r0 : c04a69b0
Flags: nzCvIRQs onFIQs onMode SVC_32ISA ARMSegment user
Control: 00c5387dTable: 57bec008DAC: 00000015
Process mkdir (pid: 94, stack limit = 0xc7bfe268)
Stack: (0xc7bff9f8 to 0xc7c00000)
f9e0: 00000000 c7920180
fa00: c7920000 c7afa000 00008600 c7920000 00001000 c7920180 c7bffa4c c7bffa28
fa20: c025ba70 c0261aec 00000014 c7bffb1c 00000014 c7bffb1c 00001000 c7afa000
fa40: c7bffab4 c7bffa50 c025cad8 c025ba2c 00000000 00000000 00000000 00000000
fa60: fffff000 ffffffff 00000000 00008600 00008600 0000007f 00000008 00000014
fa80: c7bffb50 c7afa000 00000000 c7bffb1c c7920000 08600000 00000000 c7bffb3c
faa0: 0000001c c792d600 c7bffadc c7bffab8 c025ccc8 c025c89c c7bffb1c 00000000
fac0: 07e00000 00000000 00800000 00000000 c7bffb04 c7bffae0 c0256194 c025cc5c
fae0: c7bffb1c c7bffaf0 c0256108 c7bffc9c 00001000 c7afa000 c7bffb84 c7bffb08
fb00: c01addf8 c0256114 c7bffb1c c7b88078 c7bffba4 00000800 00000880 00000001
fb20: 00001000 00000000 0000001c c7afb000 00000000 c7afa000 c7bffb3c 00001011
fb40: 30000101 80000001 00000000 00000029 00000003 fffffffc 00000000 c7af9000
fb60: c7bffc9c 00000800 c7afa000 00000001 00000000 00000011 c7bffba4 c7bffb88
fb80: c01ac898 c01add20 c7b88080 00000080 c7af9000 00000880 c7bffc2c c7bffba8
fba0: c01a6d4c c01ac824 00000000 00000000 c7bffc9c c7afa000 c0709688 0000001a
fbc0: 00000014 0000000e 00000007 00000001 00007b6e 60000013 c7918000 c7bffd5c
fbe0: 2d4cae00 00000000 00000000 00000000 c7bffc74 00000008 ffffffe0 00000020
fc00: 00000001 00000000 00000003 c7afa000 c7b641f0 00000000 c7af9000 00000001
fc20: c7bffe14 c7bffc30 c01a88fc c01a6bc0 00000041 c7918030 c06f1568 c7bffce4
fc40: ffffffff 00000000 c74d7558 00000000 00000000 000200da 00000000 000200da
fc60: 00000000 000200da c7bffcec c7bffc78 c00abda4 c00a8fc0 00000041 000200da
fc80: c07c5e80 00000018 ffffffff 00000000 00000000 00000000 00000000 aaaaaaaa
fca0: 00000001 00000101 00000000 00000000 00000000 00000000 00000000 00000001
fcc0: 00001011 00000001 00000001 00000000 00000000 00000003 ffffffff ffffffff
fce0: 55555555 6c6c6973 6c6f2079 616e2064 c000656d 00057f3a c700b630 c08b2740
fd00: c700b630 c7bf7a64 40299000 00000000 c08b2740 00000000 c7bffd34 c7bffd28
fd20: c00a5c0c c0069e2c c7bffd84 c7bffd38 c00bdd10 c00a5b98 c7bed008 00000000
fd40: 00000200 00000000 00000000 000000b4 40299000 c08b2740 c7bffd84 000000b4
fd60: 00000000 00000201 c7bffd94 c7bffd78 c00eba18 c01ec8b4 00000000 c7bffe00
fd80: c7805e60 00000000 c7b641f0 c7af9000 c7b640f8 00000101 c7bffdc4 c7bffda8
fda0: c01a564c c01b1ff4 c7b641f0 c7b64174 c7b641fc 00000101 c7bffddc c7bffdc8
fdc0: c7b641f0 c7af9000 c7b64174 c74d7558 c7bffdfc c7bffde0 c01a564c c01b1ff4
fde0: c7b641f0 cda8b167 c7b640f8 00000000 c7b641f0 c7b640f8 c74d7558 00000003
fe00: 00000000 000041ed c7bffe54 c7bffe18 c01aaf58 c01a8614 00000000 00000000
fe20: 4ecc4ac0 01c9c380 00000000 00000000 c74d36f0 00000000 c7b640f8 c7af9000
fe40: 00000000 c06ffbb0 c7bffe84 c7bffe58 c01ab0f4 c01aae18 00000000 00000000
fe60: 00000000 00000000 00000000 c006e908 000041ed 000041ed c7bffecc c7bffe88
fe80: c01a1d80 c01ab0b8 00000000 00000000 00000000 c74d7500 00000000 00000003
fea0: c74d36f0 000001ed c74d36f0 c74d7500 000001ed c0032bc8 c7bfe000 00000000
fec0: c7bffeec c7bffed0 c01a1efc c01a1c0c 00000000 c74d7500 c74d36f0 000001ed
fee0: c7bfff14 c7bffef0 c00e26f0 c01a1ecc c7bfff14 c7bfff00 00000000 c74d7500
ff00: 000001ed c7bfff1c c7bfff94 c7bfff18 c00e4bf0 c00e267c c7bfff40 c7805e60
ff20: c74d2800 6ce274bb 0000000a c7bdc00a 00000000 c7457d80 00000600 00000000
ff40: 00000000 00000000 01f00003 c7bf41ed 00000001 00000000 00000000 00000000
ff60: 00001000 00000000 00000080 00000000 4ecc4abe c7bdc000 00000000 bedb9cca
ff80: 000dfcf8 00000027 c7bfffa4 c7bfff98 c00e4c20 c00e4b28 00000000 c7bfffa8
ffa0: c0032a20 c00e4c10 00000000 bedb9cca bedb9cb6 000001ff 00000000 00000000
ffc0: 00000000 bedb9cca 000dfcf8 00000027 bedb9cb6 00000004 00000004 ffffffff
ffe0: 00000012 bedb9938 000b2870 4029a72c 60000010 bedb9cb6 f7f7fefb fbfffffd
[<c0261ba0>] (s3c_nand_write_page_8bit+0xc0/0xf8) from [<c025ba70>] (nand_write_page+0x50/0xd8)
[<c025ba70>] (nand_write_page+0x50/0xd8) from [<c025cad8>] (nand_do_write_ops+0x248/0x3c0)
[<c025cad8>] (nand_do_write_ops+0x248/0x3c0) from [<c025ccc8>] (nand_write_oob+0x78/0xec)
[<c025ccc8>] (nand_write_oob+0x78/0xec) from [<c0256194>] (part_write_oob+0x8c/0xc0)
[<c0256194>] (part_write_oob+0x8c/0xc0) from [<c01addf8>] (nandmtd2_WriteChunkWithTagsToNAND+0xe4/0x138)
[<c01addf8>] (nandmtd2_WriteChunkWithTagsToNAND+0xe4/0x138) from [<c01ac898>] (yaffs_wr_chunk_tags_nand+0x80/0x100)
[<c01ac898>] (yaffs_wr_chunk_tags_nand+0x80/0x100) from [<c01a6d4c>] (yaffs_write_new_chunk+0x198/0x534)
[<c01a6d4c>] (yaffs_write_new_chunk+0x198/0x534) from [<c01a88fc>] (yaffs_update_oh+0x2f4/0x4f4)
[<c01a88fc>] (yaffs_update_oh+0x2f4/0x4f4) from [<c01aaf58>] (yaffs_create_obj+0x14c/0x198)
[<c01aaf58>] (yaffs_create_obj+0x14c/0x198) from [<c01ab0f4>] (yaffs_create_dir+0x48/0x50)
[<c01ab0f4>] (yaffs_create_dir+0x48/0x50) from [<c01a1d80>] (yaffs_mknod+0x180/0x2c0)
[<c01a1d80>] (yaffs_mknod+0x180/0x2c0) from [<c01a1efc>] (yaffs_mkdir+0x3c/0x54)
[<c01a1efc>] (yaffs_mkdir+0x3c/0x54) from [<c00e26f0>] (vfs_mkdir+0x80/0xb0)
[<c00e26f0>] (vfs_mkdir+0x80/0xb0) from [<c00e4bf0>] (sys_mkdirat+0xd4/0xe8)
[<c00e4bf0>] (sys_mkdirat+0xd4/0xe8) from [<c00e4c20>] (sys_mkdir+0x1c/0x20)
[<c00e4c20>] (sys_mkdir+0x1c/0x20) from [<c0032a20>] (ret_fast_syscall+0x0/0x30)
Code: e5930004 e596108c e2844001 e1a0e004 (e7c1c000)
---[ end trace 41e232a99a3760b4 ]---
Segmentation fault
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
页:
[1]