作者 主題: 請教VFS: Unable to mount root fs on unknown-block(1,0)的問題!  (閱讀 7852 次)

0 會員 與 1 訪客 正在閱讀本文。

jackjack

  • 可愛的小學生
  • *
  • 文章數: 1
    • 檢視個人資料
起較各位大大

我先
mkfs.cramfs ./rootbox ./cramfs-root.img

mkimage -A arm -T ramdisk -C none -a 0xE1800000 -e 0xE1800000 -n cramfs-initrd -d ./cramfs-root6.img cramfs-initrd

hilinux # printenv
baudrate=115200
bootfile="uImage"
bootargs=mem=32M console=ttyAMA0,115200 initrd=0xE1800000,0x800000 root=/dev/ram0 mtdparts=phys_mapped_flash:1M(boot),2M(kernel),13M(rootfs) pcimod=host pciclksel=16
bootcmd=bootm 0x34100000 0x34300000

stdin=serial
stdout=serial
stderr=serial
verify=n

Environment size: 426/131068 bytes
------------------------------------------------------------------------------------------------

然後出現下面的訊息:
U-Boot 1.1.4 (Mar 18 2009 - 20:44:20)

U-Boot code: E0500000 -> E0517540  BSS: -> E051E2BC
HI_VERSION=U_BOOT_1_1_4-M08C0305B0301 @Hi3511v110_OSDrv_1_0_0_7 2009-03-18 20:44:14
RAM Configuration:
Bank #0: e0000000 256 MB
Flash: 16 MB
In:    serial
Out:   serial
Err:   serial
MAC:   00-01-00-00-00-01
Hit any key to stop autoboot:  0
## Booting image at 34100000 ...
   Image Name:   hilinux
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1136864 Bytes =  1.1 MB
   Load Address: e0a00000
   Entry Point:  e0a00000
OK
## Loading Ramdisk Image at 34300000 ...
   Image Name:   cramfs-initrd
   Image Type:   ARM Linux RAMDisk Image (uncompressed)
   Data Size:    8343552 Bytes =  8 MB
   Load Address: e1800000
   Entry Point:  e1800000
initrd_start 0x34300040,initrd_end 0x34af5040
Starting kernel ...

Uncompressing Linux.......................................................................... done, booting the kernel.
Kernel Early-Debug on Level 5
Linux version 2.6.14-hi3511v100dmeb-release (kevi93@pana5) (gcc version 3.4.3 (release) (CodeSourcery ARM Q3cvs 2004)) #20 Mon May 17 11:00:45 CST 2010
CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ)
Machine: Hi3511v100
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
Built 1 zonelists
Kernel command line: mem=32M console=ttyAMA0,115200 initrd=0xE1800000,0x800000 root=/dev/ram0 mtdparts=phys_mapped_flash:1M(boot),2M(kernel),13M(rootfs) pcimod=host pciclksel=16
PID hash table entries: 256 (order: 8, 4096 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 32MB = 32MB total
Memory: 29952KB available (1898K code, 392K data, 84K init)
Mount-cache hash table entries: 512
HI_VERSION=LINUX_2_6_14-M07C0303B0103 @Hi3511v110_OSDrv_1_0_0_7 2009-05-20 20:41:32
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Hisilicon clock system V0.01
PCI: device 0000:00:00.0 has unknown header type 25, ignoring.
PCI: device 0000:00:01.0 has unknown header type 25, ignoring.
PCI: device 0000:00:03.0 has unknown header type 0d, ignoring.
PCI: device 0000:00:04.0 has unknown header type 0d, ignoring.
PCI: device 0000:00:05.0 has unknown header type 0d, ignoring.
PCI: device 0000:00:06.0 has unknown header type 0d, ignoring.
PCI: device 0000:00:07.0 has unknown header type 0d, ignoring.
PCI: device 0000:00:08.0 has unknown header type 0d, ignoring.
PCI: device 0000:00:09.0 has unknown header type 0d, ignoring.
PCI: device 0000:00:0a.0 has unknown header type 0d, ignoring.
PCI: device 0000:00:0b.0 has unknown header type 0d, ignoring.
PCI: device 0000:00:0c.0 has unknown header type 0d, ignoring.
PCI: device 0000:00:0d.0 has unknown header type 0d, ignoring.
PCI: device 0000:00:0e.0 has unknown header type 0d, ignoring.
PCI: device 0000:00:0f.0 has unknown header type 0d, ignoring.
PCI: device 0000:00:10.0 has unknown header type 0d, ignoring.
PCI: device 0000:00:11.0 has unknown header type 0d, ignoring.
PCI: device 0000:00:12.0 has unknown header type 0d, ignoring.
PCI: device 0000:00:13.0 has unknown header type 0d, ignoring.
PCI: device 0000:00:14.0 has unknown header type 0d, ignoring.
PCI: device 0000:00:15.0 has unknown header type 0d, ignoring.
PCI: device 0000:00:16.0 has unknown header type 0d, ignoring.
PCI: device 0000:00:17.0 has unknown header type 0d, ignoring.
PCI: device 0000:00:18.0 has unknown header type 0d, ignoring.
PCI: device 0000:00:19.0 has unknown header type 0d, ignoring.
PCI: device 0000:00:1a.0 has unknown header type 0d, ignoring.
PCI: device 0000:00:1b.0 has unknown header type 0d, ignoring.
PCI: device 0000:00:1c.0 has unknown header type 0d, ignoring.
PCI: device 0000:00:1d.0 has unknown header type 0d, ignoring.
PCI: device 0000:00:1e.0 has unknown header type 0d, ignoring.
PCI: device 0000:00:1f.0 has unknown header type 0d, ignoring.
PCI: bus0: Fast back to back transfers disabled
Generic PHY: Registered new driver
SCSI subsystem initialized
NetWinder Floating Point Emulator V0.97 (double precision)
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
Initializing Cryptographic API
Serial: AMBA PL011 UART driver
ttyAMA0 at MMIO 0x101f1000 (irq = 12) is a AMBA/PL011
ttyAMA1 at MMIO 0x101f2000 (irq = 13) is a AMBA/PL011
ttyAMA2 at MMIO 0x101f3000 (irq = 14) is a AMBA/PL011
io scheduler noop registered
io scheduler anticipatory registered
RAMDISK driver initialized: 4 RAM disks of 8192K size 1024 blocksize
physmap flash device: 4000000 at 34000000
phys_mapped_flash: Found 1 x16 devices at 0x0 in 8-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
phys_mapped_flash: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
3 cmdlinepart partitions found on MTD device phys_mapped_flash
Creating 3 MTD partitions on "phys_mapped_flash":
0x00000000-0x00100000 : "boot"
0x00100000-0x00300000 : "kernel"
0x00300000-0x01000000 : "rootfs"
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)


請問為什麼呢?拜託!!快被搞死了!!

yawhorng

  • 可愛的小學生
  • *
  • 文章數: 26
    • 檢視個人資料
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)

這行就是答案了,因為您的root fs沒有被找到。所以無法進入到 linux 系統底下。


www.ittraining.com.tw
艾鍗學院
« 上次編輯: 2012-03-03 20:29 由 yawhorng »