主题 : u-boot 启动内核出现 Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0) 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 3023
精华: 0
发帖: 2
金钱: 20 两
威望: 20 点
贡献值: 0 点
综合积分: 4 分
注册时间: 2008-12-22
最后登录: 2009-02-06
楼主  发表于: 2009-01-22 18:48

 u-boot 启动内核出现 Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)

我已经按照《嵌入式LINUX应用开始完全手册》中的LINUX内核移植章节中的介绍的方法,用书中的提供的补丁对
内核打了补丁,也按照书中说的增加了对YAFFS文件系统的支持,编译下到MINI2440 启动后,还是出现了
。。。。。。。。
mapped channel 0 to 0
s3c2440-sdi s3c2440-sdi: powered down.
s3c2440-sdi s3c2440-sdi: initialisation done.
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 1
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "hda1" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00       2048 mtdblock0 (driver?)
1f01       8192 mtdblock1 (driver?)
1f02      55296 mtdblock2 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
的错误。
查了一些资料,有人说要在make menuconfig 的时候增加对 ramdisk   和 initrd 支持,
但是我不知道ramdisk   和 initrd 在内核配置选项的那个选项下。
有那位大哥碰到过类似的问题或是知道这么解决这个问题,望指教,谢谢!
(我是在虚拟机中安装的LINUX下编译的)
级别: 新手上路
UID: 9248
精华: 0
发帖: 4
金钱: 25 两
威望: 8 点
贡献值: 0 点
综合积分: 8 分
注册时间: 2009-09-22
最后登录: 2014-08-04
1楼  发表于: 2009-10-19 13:37

 Re:u-boot 启动内核出现 Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block ..

usbmon: debugfs is not available
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
mice: PS/2 mouse device common for all mice
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 390 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
TCP cubic registered
NET: Registered protocol family 1
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "mtdblock3" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00       2048 mtdblock0 (driver?)
1f01       8192 mtdblock1 (driver?)
1f02     120832 mtdblock2 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)


我的也是这种问题 还没解决

-友善之臂-mini2440-128M-   busybox-1.7.0