QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 932|回复: 2

那位大大帮我看看,这个问题怎么解决啊?

[复制链接]
发表于 2005-1-7 09:28:21 | 显示全部楼层 |阅读模式
那位大大帮我看看,这个问题怎么解决啊?

Linux version 2.4.27-uc1 (root@Linux) (gcc version 2.95.3 20010315 (release)(Col
dFire patches - 20010318 from http://fiddes.net/coldfire/)(uClinux XIP and share
d lib patches from http://www.snapgear.com/)) #16 四 1月 6 12:31:02 CST 2005
Processor: Samsung S3C44B0X revision 0
Architecture: S3C44B0X
On node 0 totalpages: 2048
zone(0): 0 pages.
zone(1): 2048 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/ram0 initrd=0x0c30000,800k keepinitrd
the vectors_base is 201326592!
do at the line 216!
Calibrating delay loop... do at the line 220!
149.50 BogoMIPS
Memory: 8MB = 8MB total
Memory: 7448KB available (447K code, 154K data, 36K init)
Dentry cache hash table entries: 1024 (order: 1, 8192 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: 2048 (order: 1, 8192 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Starting kswapd
Samsung S3C44B0X UART driver version 0.1 <[email protected]>
ttyS0 (irq = 3) is a builtin Samsung S3C44B0X UART
Blkmem copyright 1998,1999 D. Jeff Dionne
Blkmem copyright 1998 Kenneth Albanowski
Blkmem 1 disk images:
0: C300000-C3247FF [VIRTUAL C300000-C3247FF] (RO)
RAMDISK driver initialized: 16 RAM disks of 1024K size 1024 blocksize
RAMDISK: Couldn't find valid RAM disk image starting at 0.
VFS: Mounted root (romfs filesystem) readonly.
do at the line 622!
Freeing init memory: 36K
do at the line 624!
do at the line 635!
do at the line 653!
Allocation of length 105038 from process 1 failed
Buffer memory:       24kB
Cache memory:        4kB
Free pages:        7216kB (     0kB HighMem)
Zone:DMA freepages:     0kB
Zone:Normal freepages:  7216kB
Zone:HighMem freepages:     0kB
( Active: 6, inactive: 1, free: 1804 )
= 0kB)
0*4kB 0*8kB 1*16kB 1*32kB 112*64kB = 7216kB)
= 0kB)
Unable to allocate RAM for process text/data, errno 12
Allocation of length 81402 from process 1 failed
Buffer memory:       32kB
Cache memory:        8kB
Free pages:        7204kB (     0kB HighMem)
Zone:DMA freepages:     0kB
Zone:Normal freepages:  7204kB
Zone:HighMem freepages:     0kB
( Active: 7, inactive: 3, free: 1801 )
= 0kB)
1*4kB 0*8kB 0*16kB 1*32kB 112*64kB = 7204kB)
= 0kB)
Unable to allocate RAM for process text/data, errno 12
Kernel panic: No init found.  Try passing init= option to kernel.
发表于 2005-1-10 11:29:31 | 显示全部楼层
应该是没有办法分配内存给ramdisk了,initrd=0x0c30000有问题
回复

使用道具 举报

 楼主| 发表于 2005-1-10 12:25:35 | 显示全部楼层
谢谢你,我找到问题了!不是地址的问题。是在config.in中有个宏定义CONFIG_FORCE_MAX_ZONEORVER把这个注译掉以后就可以了,但是现在又有了新问题/etc/rc中的命令执行了一半就死掉了!
RAMDISK driver initialized: 16 RAM disks of 1024K size 1024 blocksize
VFS: Mounted root (romfs filesystem) readonly.
Freeing init memory: 36K
Shell invoked to run file: /etc/rc
Command: hos
不知那位大大,有这个问题啊?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-22 14:11 , Processed in 0.044181 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表