001ye 发表于 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 (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.

ksh 发表于 2005-1-10 11:29:31

应该是没有办法分配内存给ramdisk了,initrd=0x0c30000有问题

001ye 发表于 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
不知那位大大,有这个问题啊?
页: [1]
查看完整版本: 那位大大帮我看看,这个问题怎么解决啊?