QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1603|回复: 3

VFS: Cannot open root device

[复制链接]
发表于 2005-9-19 10:15:09 | 显示全部楼层 |阅读模式
Raw file loaded 0x03000000-0x030b93b7, assumed entry at 0x03000000
RedBoot> exec 0x03000000
Using base address 0x03000000 and length 0x000b93b8
Uncompressing Linux...................................................... done,.
Linux version 2.4.20_mvl31-ixdp4xx (root@red9) (gcc version 3.3.1 (MontaVista 35
CPU: XScale-IXP4xx/IXC11xx [690541c1] revision 1 (ARMv5TE)
CPU: D undefined 5 cache
CPU: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
CPU: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
Machine: Intel IXDP425 Development Platform
On node 0 totalpages: 32768
zone(0): 16384 pages.
zone(1): 16384 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0,115200 root=/dev/mtdblock2
rw ramdisk_size=50
Calibrating delay loop... 527.56 BogoMIPS
Memory: 128MB = 128MB total
Memory: 127824KB available (1279K code, 448K data, 68K init)
XScale Cache/TLB Locking Copyright(c) 2001 MontaVista Software, Inc.
XScale cache_lock_init called
   Calling consistent alloc
   low_level_page initialized
   low_level_page @ 0xc8800000
      icache_lock_fn @ 0xc8800080
      dcache_lock_fn @ 0xc88000a0
      icache_unlock_fn @ 0xc8800098
      dcache_unlock_fn @ 0xc88000f0
Initializing TLB locking
TLB locking initialized
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
POSIX conformance testing by UNIFIX
PCI Autoconfig: Found Bus 0, Device 2, Function 0
PCI Autoconfig: BAR 0, Mem, size=0x1000000, address=0x4b000000
PCI Autoconfig: Found Bus 0, Device 3, Function 0
PCI Autoconfig: BAR 0, Mem, size=0x1000, address=0x4afff000
PCI Autoconfig: Found Bus 0, Device 3, Function 1
PCI Autoconfig: BAR 0, Mem, size=0x1000, address=0x4affe000
PCI Autoconfig: Found Bus 0, Device 3, Function 2
PCI Autoconfig: BAR 0, Mem, size=0x100, address=0x4affdf00
PCI: bus0: Fast back to back transfers disabled
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
LSP Revision 1
Starting kswapd
Disabling the Out Of Memory Killer
devfs: v1.12c (2002081 Richard Gooch ([email protected])
devfs: boot_options: 0x1
JFFS2 version 2.1. (C) 2001, 2002 Red Hat, Inc., designed by Axis Communication.
i2c-core.o: i2c core module version 2.6.2 (2001111
i2c-dev.o: i2c /dev entries driver module version 2.6.2 (2001111
i2c-algo-bit.o: i2c bit algorithm module version 2.6.2 (2001111
i2c-proc.o version 2.6.2 (2001111
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-0 with MANY_PORTS SHARE_IRQ SERIAL_PCI ed
ttyS00 at 0xff000003 (irq = 15) is a XSCALE UART
ttyS01 at 0xff001003 (irq = 13) is a XSCALE UART
RAMDISK driver initialized: 16 RAM disks of 58000K size 1024 blocksize
loop: loaded (max 8 devices)
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
VFS: Cannot open root device "mtdblock2" or 1f:02
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 1f:0

为什么?? 无法开启mtdblock2
发表于 2005-9-20 21:08:55 | 显示全部楼层
I can't see your partition infomation from the log.
Pls check you use the right partition in the cmd line first, and load the kernel to the right partition.
回复

使用道具 举报

发表于 2005-9-21 17:46:42 | 显示全部楼层
利用了devfs
root=/dev/mtdblock/2
回复

使用道具 举报

发表于 2005-9-23 00:13:35 | 显示全部楼层
Maybe you can enable the MTD debug switch for debugging
I think many reasons can cause this:
VFS: Cannot open root device "mtdblock2" or 1f:02
Just as I mentioned,
Pls check you use the right partition in the cmd line first, and load the kernel to the right partition.
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-3 02:22 , Processed in 0.066569 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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