QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 932|回复: 1

help , 我的ramdisk 怎么就是起不来?

[复制链接]
发表于 2005-8-23 10:28:31 | 显示全部楼层 |阅读模式
各位高手,我是第一次用skyeye,
内核加载成功了,但是到ramdisk 的时候就
提示
free init memory 84k 就over 了,后边就停住,
我用的是binary-utitilys中的例子,
   也是这样, 用我自己的ramdisk 也是这样,
请教这是什么原因造成的?

**********
-bash-2.05b# armsky vmlinux
***************************************************************
****                                                       ****
****   SkyEye  Simulator Ver 0.8.6 with  GDB 5.3 Interface ****
****                                                       ****
***************************************************************
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This SkyEye was configured as "--host=i686-pc-linux-gnu --target=arm-elf"...(no debugging symbols found)...
(SkyEye) tar s
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
mach info: name at91rm92, mach_init addr 0x8159dd0
lcd info: turn off lcd!
SKYEYE: use arm920t mmu ops
Loaded ROM ./u-boot
Loaded ROM ./uImage
Loaded ROM ./turd16007
Connected to the simulator.

(SkyEye) load
Loading section .init, size 0xa000 vma 0xc0008000
Loading section .text, size 0xc845c vma 0xc0012000
Loading section __ex_table, size 0x868 vma 0xc00da460
Loading section .data, size 0xa014 vma 0xc00dc000
Start address 0xc0008000
Transfer rate: 7235264 bits/sec.

Starting program: /home/sky/skyeye-binary-testutils-1.1.0/at91rm9200/vmlinux
Linux version 2.4.26-vrs1 (root@Venus) (gcc version 3.3.2) #53 Wed Nov 3 14:29:42 CST 2004
CPU: Arm920Tid(wb) revision 0
Machine: ATMEL AT91RM9200
Warning: bad configuration page, trying to continue
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/ram0 initrd=0xc0200000,0x00500000 rw init=/bin/bash
Calibrating delay loop...


emory: 16MB = 16MB total
Memory: 10028KB available (801K code, 182K data, 40K init)
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 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: 4096 (order: 2, 16384 bytes)
CPU: Testing write buffer: pass
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
pty: 256 Unix98 ptys configured
RAMDISK driver initialized: 16 RAM disks of 5120K size 1024 blocksize
ttyS0 at MMIO 0xfefc0000 (irq = 6) is a AT91_SERIAL
ttyS1 at MMIO 0xfefff200 (irq = 1) is a AT91_SERIAL
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 204
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Fast Floating Point Emulator V0.9 (c) Peter Teichmann.
NetWinder Floating Point Emulator V0.97 (double precision)
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 1024 blocks [1 disk] into ram disk... done.
Freeing initrd memory: 5120K
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 40K


  到这里就停住了,就是用binary-uti中at91rm9200中的所有 配置和文件,就是这样,请问这时什么原因啊?谢谢.
发表于 2005-8-26 13:11:59 | 显示全部楼层
init=/bin/bash,可能是这个地方有问题.你看看你的文件系统下有没有/bin/bash,还有把你的skyeye.conf贴出来看下
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-5 01:59 , Processed in 0.037841 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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