This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

changes on the newer kernel

what changes are on the newer kernel on 2.6.32 it runs with out any problem but on 3.3.0 I get it this error and it would not read the filesystem

this is on the DM365

RPC: Registered udp transport module.                                           
RPC: Registered tcp transport module.                                           
RPC: Registered tcp NFSv4.1 backchannel transport module.                       
msgmni has been set to 111                                                      
io scheduler noop registered (default)                                          
start plist test                                                                
end plist test                                                                  
Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled                        
serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A                    
console [ttyS0] enabled                                                         
serial8250 serial8250.0: unable to register port at index 1 (IO0 MEM1d06000 IRQ2
brd: module loaded                                                              
at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write                 
dm9000 Ethernet Driver, V1.31                                                   
davinci_mdio davinci_mdio.0: davinci mdio revision 1.4                          
davinci_mdio davinci_mdio.0: no live phy, scanning all                          
davinci_mdio: probe of davinci_mdio.0 failed with error -5                      
i2c /dev entries driver                                                         
TCP cubic registered                                                            
NET: Registered protocol family 17                                              
console [netcon0] enabled                                                       
netconsole: network logging started                                             
davinci_emac davinci_emac.1: using random MAC addr: 5a:c2:4c:9c:c7:0f           
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)                         
Waiting for root device /dev/mmcblk0p2...                                  

PS: I downloaded the kernel from here : http://arago-project.org/git/projects/linux-davinci.git

  • Andre,

    Looks like your SD/MMC card is not getting detected.

    1. Are you using an EVM? 

    2. Can you make sure that mmc driver config is enabled in your kernel configuration? 

    3. Can you attach the complete kernel logs?

  • thank you I enable the MMC on the kernel and it did work but it gives me this error now :

    I'm using the leopard boarWaiting for root device /dev/mmcblk0p2...                                                 
    mmc0: new SD card at address df11                                                         
    mmcblk0: mmc0:df11 SD02G 1.84 GiB (ro)                                                    
     mmcblk0: p1 p2                                                                           
    VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2)                          
    Please append a correct "root=" boot option; here are the available partitions:           
    b300         1931264 mmcblk0  driver: mmcblk                                              
      b301           80325 mmcblk0p1 00000000-0000-0000-0000-000000000mmcblk0p1               
      b302         1686825 mmcblk0p2 00000000-0000-0000-0000-000000000mmcblk0p2               
    Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)          
    Backtrace:                                                                                
    [<c002f1bc>] (dump_backtrace+0x0/0x110) from [<c032572c>] (dump_stack+0x18/0x1c)          
     r6:00008000 r5:c3412000 r4:c045a750 r3:00000000                                          
    [<c0325714>] (dump_stack+0x0/0x1c) from [<c03258b0>] (panic+0x64/0x188)                   
    [<c032584c>] (panic+0x0/0x188) from [<c0008e9c>] (mount_block_root+0x1c4/0x204)           
     r3:c35bb600 r2:00000000 r1:c3427f58 r0:c03c89ad                                          
     r7:c002502c                                                                              
    [<c0008cd8>] (mount_block_root+0x0/0x204) from [<c0009080>] (mount_root+0xac/0xd0)        
     r8:00000000 r7:00000013 r6:c0043634 r5:c0025041 r4:0b300002                              
    [<c0008fd4>] (mount_root+0x0/0xd0) from [<c0009214>] (prepare_namespace+0x170/0x1c4)      
     r4:c045a064                                                                              
    [<c00090a4>] (prepare_namespace+0x0/0x1c4) from [<c0008a84>] (kernel_init+0x114/0x14c)    
     r5:c0008970 r4:c045a000                                                                  
    [<c0008970>] (kernel_init+0x0/0x14c) from [<c0043634>] (do_exit+0x0/0x688)                
     r4:00000000 r3:00000000                                                                  

    I notice in this line it says "mmcblk0: mmc0:df11 SD02G 1.84 GiB (ro) " that means is read only, the sd card is not on read only how can I disable that on the software?

  • Andre,

    Can you make sure that you've partitioned and formatted the card properly? Make sure that you've formatted the cards in ext2/3/4 file-system and there is a valid filesystem copied in that partition. Also you've to mention the formatted filesystem details properly in bootargs.