免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5807 | 回复: 0
打印 上一主题 下一主题

No filesystem could mount root, tried: ext3 ext2 romfs yaffs yaffs2 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-10-15 18:35 |只看该作者 |正序浏览
本帖最后由 huliqun138 于 2012-10-16 08:30 编辑

linux内核是2.6.28  用的arm-linux-gcc 3.4.1 编译
文件系统busybox 1.13.3  用的arm-linux-gcc 4.3.2编译 ,我试过用一般的编译版本的编译器没用,
烧录后上电启动打印的信息,真心看不懂,求救啊,搞了几天了

网上找资料,有帖子说a,b 方法有效,但我都式了,根本没用
  a. 重新配置内核,选上以下参数:
Kernel Features --->
  • Use the ARM EABI to compile the kernel
  • Allow old ABI binaries to run with this kernel (EXPERIMENTA)
        b. 把编译器换成3.*。
        我当然会选择第二种了,于是乎又把编译器换回3.4.1版本。再次重重新编译下载启动,从终端的启动信息可以看到。2.6.33.7内核+yaffs2文件系统顺利启
    启动内核错误的信息:
    mice: PS/2 mouse device common for all mice
    s3c2410 TouchScreen successfully loaded
    input: s3c2410 TouchScreen as /class/input/input0
    S3C24XX RTC, (c) 2004,2006 Simtec Electronics
    s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
    s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
    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
    S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
    s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
    Advanced Linux Sound Architecture Driver Version 1.0.18rc3.
    ASoC version 0.13.2
    ALSA device list:
      No soundcards found.
    TCP cubic registered
    NET: Registered protocol family 17
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    s3c2410-rtc s3c2410-rtc: setting system clock to 2005-09-06 06:12:01 UTC (1125987121)
    yaffs: dev is 32505859 name is "mtdblock3"
    yaffs: passed flags ""
    yaffs: Attempting MTD mount on 31.3, "mtdblock3"
    yaffs: auto selecting yaffs2
    block 417 is bad
    usb 1-1: new full speed USB device using s3c2410-ohci and address 2
    yaffs: dev is 32505859 name is "mtdblock3"
    yaffs: passed flags ""
    yaffs: Attempting MTD mount on 31.3, "mtdblock3"
    block 417 is bad
    List of all partitions:
    1f00            1024 mtdblock0 (driver?)
    1f01            3840 mtdblock1 (driver?)
    1f02            3072 mtdblock2 (driver?)
    1f03           61440 mtdblock3 (driver?)
    1f04           61440 mtdblock4 (driver?)
    No filesystem could mount root, tried:  ext3 ext2 cramfs vfat msdos iso9660 romfs yaffs yaffs2
    Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)

    下面是运行商正确的内核和文件系统打印的信息:
    mice: PS/2 mouse device common for all mice
    s3c2410 TouchScreen successfully loaded
    input: s3c2410 TouchScreen as /class/input/input0
    S3C24XX RTC, (c) 2004,2006 Simtec Electronics
    s3c2440-sdi s3c2440-sdi: host detect has no irq available
    mapped channel 0 to 0
    s3c2440-sdi s3c2440-sdi: powered down.
    s3c2440-sdi s3c2440-sdi: initialisation done.
    s3c2440-sdi s3c2440-sdi: running at 0kHz (requested: 0kHz).
    s3c2440-sdi s3c2440-sdi: running at 196kHz (requested: 195kHz).
    s3c2440-sdi s3c2440-sdi: running at 196kHz (requested: 195kHz).
    s3c2440-sdi s3c2440-sdi: running at 196kHz (requested: 195kHz).
    s3c2440-sdi s3c2440-sdi: powered down.
    usbcore: registered new interface driver usbhid
    usbhid: v2.6:USB HID core driver
    mapped channel 10 to 2
    mapped channel 9 to 1
    UDA1341 audio driver initialized
    TCP cubic registered
    NET: Registered protocol family 17
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
    yaffs: dev is 32505859 name is "mtdblock3"
    yaffs: passed flags ""
    yaffs: Attempting MTD mount on 31.3, "mtdblock3"
    yaffs: auto selecting yaffs2
    block 417 is bad
    usb 1-1: new full speed USB device using s3c2410-ohci and address 2
    usb 1-1: configuration #1 chosen from 1 choice
    hub 1-1:1.0: USB hub found
    hub 1-1:1.0: 4 ports detected
    yaffs_read_super: isCheckpointed 0
    VFS: Mounted root (yaffs filesystem).
    Freeing init memory: 136K

    init started: BusyBox v1.6.0 (2008-01-09 17:10:28 CST) multi-call binary

    starting pid 903, tty '': '/etc/init.d/rcS'
    mount: mounting none on /dev/pts failed
    mount: mounting tmpfs on /dev/shm failed
    dm9000 dm9000.0: WARNING: no IRQ resource flags set.
    eth0: link down
    ifconfig: SIOCSIFADDR: No such device

    Please press Enter to activate this console. [9;0][?33l[?25lCould not read calibration: /etc/pointercal
    Warning: Need to run firstuse
    Warning: language message - en_US
    Warning: and its not null
    Warning: loading /usr/i18n/en_US/qt.qm
    Warning: loading /usr/i18n/en_US/qpe.qm
    Warning: loading /usr/i18n/en_US/libqpe.qm
    Warning: loading /usr/i18n/en_US/libqtopia.qm
    Warning: loading /usr/i18n/en_US/language.qm
    Warning: loading /usr/i18n/en_US/timezone.qm
    Warning: loading /usr/i18n/en_US/systemtime.qm

    自己移植的内核或运营商的内核 +自己移植的文件系统就会打印错误信息,
    自己移植的内核或运营商的内核 +运营商的文件系统就能正常启动,
    那应该是文件系统的问题吧,但我前后反复检查了10几次了,真心找不出是哪的问题
  •   

    北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
    未成年举报专区
    中国互联网协会会员  联系我们:huangweiwei@itpub.net
    感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

    清除 Cookies - ChinaUnix - Archiver - WAP - TOP