LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 704|回复: 2

请帮忙看看内核启动后为何挂载不了ram盘?多谢!

[复制链接]
发表于 2009-12-18 17:25:20 | 显示全部楼层 |阅读模式
Starting kernel ...

Uncompressing Linux......................................................................... done, booting the kernel.
Linux version 2.6.19-uc1 (root@localhost.localdomain) (gcc version 4.2.1) #7 Fri Dec 18 16:25:30 CST 2009
CPU: XScale-IXP42x Family [690541c1] revision 1 (ARMv5TE), cr=000039ff
Machine: Intel IXDPG425
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT undefined 5 cache
CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
Built 1 zonelists.  Total pages: 8128
Kernel command line: console=ttyS0,115200 root=/dev/ram0 initrd=0x00800000,8M mem=32M
PID hash table entries: 128 (order: 7, 512 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 21932KB available (1840K code, 374K data, 104K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd
Freeing initrd memory: 8192K
NET: Registered protocol family 16
IXP4xx: Using 16MiB expansion bus window size
PCI: IXP4xx is host
PCI: IXP4xx Using direct access for memory space
PCI: bus0: Fast back to back transfers enabled
dmabounce: registered device 0000:00:0d.0 on pci bus
dmabounce: registered device 0000:00:0d.1 on pci bus
dmabounce: registered device 0000:00:0f.0 on pci bus
dmabounce: registered device 0000:00:0f.1 on pci bus
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xc8000000 (irq = 15) is a XScale
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
mice: PS/2 mouse device common for all mice
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 1116KiB [1 disk] into ram disk... <6>Time: OSTS clocksource has been installed.
done.
No filesystem could mount root, tried:  ext2 jffs2
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
发表于 2009-12-19 08:55:09 | 显示全部楼层
用什麽发行版?内核是自己编译的?

bootloader 的配置文件内容正确否?
回复 支持 反对

使用道具 举报

发表于 2009-12-19 09:27:14 | 显示全部楼层
initrd是找到cramfs的,只是不知道initrd里面是怎么对ram0复制文件的,你把rom里面地址0x00800000,8M的内容dump出来,用台式机mount -o loop -t cramfs看看内容,看rom0是怎么初始化和复制文件的。你这个是个手机还是个别的设备?
回复 支持 反对

使用道具 举报

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

本版积分规则

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