silencexf 发表于 2006-1-7 12:57:12

无法加载文件系统

我的ucLinux启动代码如下,感觉文件系统加载错误,映像包括内核和ROMFS两部分,BootLoader采用U-BOOT 1.1.3,请各位大侠指点迷津。
Linux version 2.4.20-uc0 (hugo@waikare) (gcc version 3.3.4) #1031 Wed Dec 8 15:48:07 NZDT 2004
Processor: Winbond W90N740 revision 1
Architecture: W90N740
On node 0 totalpages: 1024
zone(0): 0 pages.
zone(1): 1024 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/rom0
Calibrating delay loop... 39.83 BogoMIPS
Memory: 4MB = 4MB total
Memory: 3044KB available (758K code, 164K data, 40K init)
Dentry cache hash table entries: 512 (order: 0, 4096 bytes)
Inode cache hash table entries: 512 (order: 0, 4096 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 1024 (order: 0, 4096 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Winbond W90N740 Serial driver version 0.9 (2001-12-27) with no serial options enabled
ttyS00 at 0xfff80000 (irq = 6) is a W90N740
Blkmem copyright 1998,1999 D. Jeff Dionne
Blkmem copyright 1998 Kenneth Albanowski
Blkmem 1 disk images:
0: 7F090000-FB868FFF (RO)
loop: loaded (max 8 devices)
Unhandled fault: alignment exception (13) at 0x00000001
fault-common.c(97): start_code=0x7f000100, start_stack=0xa8)
Internal error: Oops: 0
CPU: 0
pc : [<0000e97c>]    lr : [<00074c54>]    Not tainted
sp : 00133f90ip : fffffffffp : 00133fc8
r10: 00000000r9 : 0010d60cr8 : 00112160
r7 : 00133f9cr6 : 000e9994r5 : 00000000r4 : 000e9994
r3 : 00000000r2 : 00000000r1 : 00000001r0 : 00700000
Flags: nZCvIRQs onFIQs onMode SVC_32Segment kernel
Control: 0
Process swapper (pid: 1, stackpage=00133000)
Stack:
00133f80: 00074c54 0000e97c 60000013 ffffffff0000fec0 0000f1e4 00011a38 00011a90
00133fa0: 00011a3c 00011a90 000f0994 0001c20000112160 000f0990 000f3b38 00133fe0
00133fc0: 00133fcc 000086b8 0000e848 000f946c00112160 00133ffc 00133fe4 0001204c
00133fe0: 000086ac 000f946c 00112160 000f099400000000 00134000 000158ac 0001204c
Backtrace:
Function entered at [<0000e838>] from [<000086b8>]
Function entered at [<0000869c>] from [<0001204c>]
r5 = 00112160r4 = 000F946C
Function entered at [<0001203c>] from [<000158ac>]
r6 = 000F0994r5 = 00112160r4 = 000F946C
Code: e3e0000f e91baff0 (e5903008) e2031cff e1a01401
Kernel panic: Attempted to kill init!

lumit-support-1 发表于 2006-1-7 23:13:19

应该是内核编译的问题
以前编译的时候也经常出这个问题

silencexf 发表于 2006-1-8 09:14:05

能准确说明与内核编译的哪些选项有关吗?遇到这种问题你是怎么解决的?

silencexf 发表于 2006-1-8 12:10:56

原来问题已经解决,又产生新的问题
Blkmem: bad access: block=0, count=2 (pos=400, len=0)
end_request: I/O error, dev 1f:00 (Blkmem), sector 0
romfs: unable to read superblock
Kernel panic: VFS: Unable to mount root fs on 1f:00
可能的原因是什么?

lumit-support-1 发表于 2006-1-8 15:39:30

你有能用的uClinux吗? 最好能在能用基础上进行修改,那样可能还比较容易

kurthq 发表于 2006-2-20 10:34:24

你最好用winbond自带的bootload比较简单

Job 发表于 2006-7-26 21:30:58

你好,我也是用的W90N740,不过我用的是从 uclinux.org 上下载的 uclinux-2.4.31. 我的uclinux 网络,系统都是正常的。就是 usb 口挂载优盘以后,对优盘进行写操作的时候会死系统。不知道有谁解决了这个问题???

人在旅途 发表于 2006-9-23 13:42:05

用华邦提供的BSP就好,对大部分u盘都可以支持。
页: [1]
查看完整版本: 无法加载文件系统