• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Embedded Software » Linux » Linux forum » Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
Share
Linux
  • Forum
Options
  • Subscribe via RSS

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)

This question is not answered
Myosotis
Posted by Myosotis
on Jun 13 2012 08:38 AM
Intellectual510 points

Hello! 

My device is TDM-3730W. 

I installed prebuilt filesystem and uImage from DVSDK (dvsdk_dm3730-evm_04_03_00_06_setuplinux) on SD card (2GB Micro Transcend Card). 

But Linux doesn't mount. I have got the error 

[    5.358489] VFS: Cannot open root device "b302" or unknown-block(179,2) 
[    5.365447] Please append a correct "root=" boot option; here are the available partitions: 
[    5.374237] 1f00             512 mtdblock0  (driver?) 
[    5.379547] 1f01            1280 mtdblock1  (driver?) 
[    5.384826] 1f02             768 mtdblock2  (driver?) 
[    5.390136] 1f03            5120 mtdblock3  (driver?) 
[    5.395446] 1f04          516608 mtdblock4  (driver?) 
[    5.400726] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2) 

Then I recompiled kernel (only kernel, not rootfs) with different defconfig options 

sudo make omap3_evm_defconfig ARCH=arm CROSS_COMPILE=$myPATH/arm-none-linux-gnueabi-

Also I tried omap3_beagle_defconfig and davinci_all_defconfig.

Nothing helps! Wouldn't you help me please?

Thank you for attention. 

Linux Kernel rootfs OMAP3 TDM-3730W
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Carlos Hernandez
    Posted by Carlos Hernandez
    on Jun 13 2012 09:01 AM
    Intellectual1115 points

    Check 'bootargs' environment variable setting in uboot. You need to pass the filesystem type and location to the kernel using the bootargs variable.

    For example, if your rootfs resides on the second partition of your SD card, then you need to tell the kernel about it by adding the following information "root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait" to the bootargs env variable.

    I suggest you check the Linux User Guide for your SDK.

    Carlos

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Myosotis
    Posted by Myosotis
    on Jun 14 2012 02:14 AM
    Intellectual510 points

    Thank you, Carlos Hernandez 

    I already did it but it didn't help. 

    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait omap_vout.vid1_static_vrfb_alloc=y

    And I got error 

    [    4.189239] Waiting for root device /dev/mmcblk0p2...
    [    4.229125] mmc0: new high speed SD card at address e624
    [    4.235809] mmcblk0: mmc0:e624 SU02G 1.84 GiB (ro)
    [    4.250549]  mmcblk0: p1 p2
    [    4.326934] VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2)
    [    4.334350] Please append a correct "root=" boot option; here are the available partitions:
    [    4.343170] 1f00             512 mtdblock0  (driver?)
    [    4.348754] 1f01            1280 mtdblock1  (driver?)
    [    4.354064] 1f02             768 mtdblock2  (driver?)
    [    4.359375] 1f03            5120 mtdblock3  (driver?)
    [    4.364685] 1f04          516608 mtdblock4  (driver?)
    [    4.369995] b300         1931264 mmcblk0  driver: mmcblk
    [    4.375549]   b301           48163 mmcblk0p1 00000000-0000-0000-0000-000000000mmcblk0p1
    [    4.383972]   b302         1879605 mmcblk0p2 00000000-0000-0000-0000-000000000mmcblk0p2
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Myosotis
    Posted by Myosotis
    on Jun 14 2012 06:56 AM
    Intellectual510 points

    I noticed that MLO-dm37x-evm and u-boot-dm37x-evm from DVSDK's (4) prebuilt-images directory are not supported by my board (TDM-3730W)

    Why so? I have made bootable SD card, but u-boot doesn't start 

    May be it is the reason of troubles with mounting? 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Hongfeng Wang
    Posted by Hongfeng Wang
    on Jun 14 2012 14:02 PM
    Genius3175 points

    I saw it in this post:

    http://e2e.ti.com/support/dsp/omap_applications_processors/f/447/t/136589.aspx

    try another SD card

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Myosotis
    Posted by Myosotis
    on Jun 15 2012 01:31 AM
    Intellectual510 points

    Hongfeng Wang, 

    I worked with three SD cards.

    I will be grateful for any useful suggestions (only not "bye another board" :))

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Hongfeng Wang
    Posted by Hongfeng Wang
    on Jun 15 2012 09:25 AM
    Genius3175 points

    Where did you mention you already tried 3 cards in your original post?
    You are really nice to people who are trying to help you. good luck.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Norman Wong
    Posted by Norman Wong
    on Jun 16 2012 09:46 AM
    Guru14970 points

    The 2GB size can be a problem with older card readers. Maybe try a 1GB card or 4GB card. The 2GB card requires a MBR with the proper size. You might have erased that MBR by accident.

    The boot log shows the cards as "(ro)" or read-only, The file system needs to be writeable. Check the lock switch in the card. Check your board's card socket for the r/w signal.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use