天嵌 ARM开发社区

 找回密码
 注册
查看: 1882|回复: 6

VFS: Cannot open root device "mtdblock2" or unknown-block(0,0)

[复制链接]
waiting_0_ 发表于 2013-10-13 21:33:16 | 显示全部楼层 |阅读模式
el to SDRAM done,NOW, Booting Linux......
Uncompressing Linux................................................................................................................................................................................. done, booting the kernel.
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Linux version 2.6.30.4 (waiting@ubuntu) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-176) ) #9 Sun Oct 13 21:10:48 CST 2013
[    0.000000] CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: SMDK2440
[    0.000000] ATAG_INITRD is deprecated; please update your bootloader.
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] CPU S3C2440A (id 0x32440001)
[    0.000000] S3C24XX Clocks, (c) 2004 Simtec Electronics
[    0.000000] S3C244X: core 400.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz
[    0.000000] CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0
[    0.000000] Experimental hierarchical RCU implementation.
[    0.000000] Experimental hierarchical RCU init done.
[    0.000000] NR_IRQS:85
[    0.000000] irq: clearing pending ext status 00080000
[    0.000000] irq: clearing subpending status 00000003
[    0.000000] irq: clearing subpending status 00000002
[    0.000000] PID hash table entries: 256 (order: 8, 1024 bytes)
[    0.005000] Console: colour dummy device 80x30
[    0.005000] console [ttySAC0] enabled
[    0.010000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.020000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.030000] allocated 327680 bytes of page_cgroup
[    0.030000] please try cgroup_disable=memory option if you don't want
[    0.050000] Memory: 64MB = 64MB total
[    0.050000] Memory: 58488KB available (4912K code, 655K data, 148K init, 0K highmem)
[    0.055000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.060000] Calibrating delay loop... 199.47 BogoMIPS (lpj=498688)
[    0.155000] Security Framework initialized
[    0.155000] SELinux:  Disabled at boot.
[    0.155000] Mount-cache hash table entries: 512
[    0.165000] Initializing cgroup subsys ns
[    0.165000] Initializing cgroup subsys cpuacct
[    0.170000] Initializing cgroup subsys memory
[    0.175000] Initializing cgroup subsys devices
[    0.180000] Initializing cgroup subsys freezer
[    0.185000] Initializing cgroup subsys net_cls
[    0.190000] CPU: Testing write buffer coherency: ok
[    0.200000] net_namespace: 1044 bytes
[    0.205000] regulator: core version 0.5
[    0.205000] NET: Registered protocol family 16
[    0.220000] S3C Power Management, Copyright 2004 Simtec Electronics
[    0.225000] S3C2440: Initialising architecture
[    0.225000] S3C2440: IRQ Support
[    0.225000] S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
[    0.230000] DMA channel 0 at c4808000, irq 33
[    0.235000] DMA channel 1 at c4808040, irq 34
[    0.235000] DMA channel 2 at c4808080, irq 35
[    0.240000] DMA channel 3 at c48080c0, irq 36
[    0.245000] S3C244X: Clock Support, DVS off
[    0.265000] bio: create slab <bio-0> at 0
[    0.270000] SCSI subsystem initialized
[    0.280000] NetLabel: Initializing
[    0.280000] NetLabel:  domain hash size = 128
[    0.280000] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.285000] NetLabel:  unlabeled traffic allowed by default
[    0.300000] NET: Registered protocol family 2
[    0.300000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.310000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.310000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.315000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.320000] TCP reno registered
[    0.325000] NET: Registered protocol family 1
[    0.330000] audit: initializing netlink socket (disabled)
[    0.330000] type=2000 audit(0.330:1): initialized
[    0.425000] VFS: Disk quotas dquot_6.5.2
[    0.425000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.470000] fuse init (API version 7.11)
[    0.475000] yaffs Oct 13 2013 19:19:40 Installing.
[    0.475000] msgmni has been set to 114
[    0.490000] alg: No test for stdrng (krng)
[    0.490000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    0.495000] io scheduler noop registered
[    0.500000] io scheduler anticipatory registered
[    0.505000] io scheduler deadline registered
[    0.510000] io scheduler cfq registered (default)
[    0.565000]
[    0.565000]      Hello,EmbedSky!
[    0.565000]
[    0.565000] This is first driver program.
[    0.565000]
[    0.570000] led initialized
[    0.570000] beep initialized
[    0.575000] adc initialized
[    0.580000] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.590000] s3c2440-uart.0: ttySAC0 at MMIO 0x50000000 (irq = 70) is a S3C2440
[    0.590000] s3c2440-uart.1: ttySAC1 at MMIO 0x50004000 (irq = 73) is a S3C2440
[    0.595000] s3c2440-uart.2: ttySAC2 at MMIO 0x50008000 (irq = 76) is a S3C2440
[    0.630000] brd: module loaded
[    0.645000] loop: module loaded
[    0.645000] Driver 'sd' needs updating - please use bus_type methods
[    0.650000] Driver 'sr' needs updating - please use bus_type methods
[    0.660000] S3C24XX NAND Driver, (c) 2004 Simtec Electronics
[    0.660000] s3c2440-nand s3c2440-nand: Tacls=3, 30ns Twrph0=7 70ns, Twrph1=3 30ns
[    0.670000] NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
[    0.675000] NAND_ECC_NONE selected by board driver. This is not recommended !!
[    0.680000] Scanning device for bad blocks
[    0.780000] mice: PS/2 mouse device common for all mice
[    0.780000] cpuidle: using governor ladder
[    0.790000] TCP cubic registered
[    0.795000] NET: Registered protocol family 10
[    0.805000] lo: Disabled Privacy Extensions
[    0.810000] NET: Registered protocol family 17
[    0.815000] RPC: Registered udp transport module.
[    0.815000] RPC: Registered tcp transport module.
[    0.825000] registered taskstats version 1
[    0.825000] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    0.830000] VFS: Cannot open root device "mtdblock2" or unknown-block(0,0)
[    0.835000] Please append a correct "root=" boot option; here are the available partitions:
[    0.840000] 1f00          262144 mtdblock0 (driver?)
[    0.845000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    0.850000] [<c003469c>] (unwind_backtrace+0x0/0xf4) from [<c03de294>] (dump_stack+0x20/0x24)
[    0.855000] [<c03de294>] (dump_stack+0x20/0x24) from [<c03de2ec>] (panic+0x54/0x13c)
[    0.865000] [<c03de2ec>] (panic+0x54/0x13c) from [<c00090c0>] (mount_block_root+0x188/0x2c8)
[    0.875000] [<c00090c0>] (mount_block_root+0x188/0x2c8) from [<c0009254>] (mount_root+0x54/0x6c)
[    0.880000] [<c0009254>] (mount_root+0x54/0x6c) from [<c0009380>] (prepare_namespace+0x114/0x1d0)
[    0.890000] [<c0009380>] (prepare_namespace+0x114/0x1d0) from [<c000861c>] (kernel_init+0xcc/0xf8)
[    0.900000] [<c000861c>] (kernel_init+0xcc/0xf8) from [<c0049e90>] (do_exit+0x0/0x6cc)


上网百度了N久。。。。NFS配置过了,ECC去掉了。。。。。都不行
 楼主| waiting_0_ 发表于 2013-10-13 21:33:28 | 显示全部楼层
:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(
 楼主| waiting_0_ 发表于 2013-10-13 21:33:41 | 显示全部楼层
:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(
 楼主| waiting_0_ 发表于 2013-10-14 08:43:29 | 显示全部楼层
顶顶!!!!!!!!!!!!!!!!!顶顶!!!!!!!!!!!!!!!!!顶顶!!!!!!!!!!!!!!!!!顶顶!!!!!!!!!!!!!!!!!顶顶!!!!!!!!!!!!!!!!!顶顶!!!!!!!!!!!!!!!!!顶顶!!!!!!!!!!!!!!!!!顶顶!!!!!!!!!!!!!!!!!顶顶!!!!!!!!!!!!!!!!!顶顶!!!!!!!!!!!!!!!!!顶顶!!!!!!!!!!!!!!!!!顶顶!!!!!!!!!!!!!!!!!顶顶!!!!!!!!!!!!!!!!!顶顶!!!!!!!!!!!!!!!!!顶顶!!!!!!!!!!!!!!!!!顶顶!!!!!!!!!!!!!!!!!顶顶!!!!!!!!!!!!!!!!!顶顶!!!!!!!!!!!!!!!!!顶顶!!!!!!!!!!!!!!!!!顶顶!!!!!!!!!!!!!!!!!顶顶!!!!!!!!!!!!!!!!!
xmayyang 发表于 2013-10-14 09:15:31 | 显示全部楼层
make meunconfig 看看关于block devices和yaffs2配置选项是否是y
 楼主| waiting_0_ 发表于 2013-10-14 13:10:37 | 显示全部楼层
xmayyang 发表于 2013-10-14 09:15
make meunconfig 看看关于block devices和yaffs2配置选项是否是y

连MTD分区信息都没出来。。。。这两个 配置 我检查过了
 楼主| waiting_0_ 发表于 2013-10-14 13:13:35 | 显示全部楼层
waiting_0_ 发表于 2013-10-14 13:10
连MTD分区信息都没出来。。。。这两个 配置 我检查过了

关于block devices。。这个好多。。。。请问是具体那几个是一定要选上呢。。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-5-7 17:35 , Processed in 1.062506 second(s), 22 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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