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.

MMC problem with kernel 2.6.37?

PSP3.0 /kernel 2.6.32 has been running well on my DM368 board.

Yesterday I decide to try the new PSP3.21/kernel  2.6.37, during boot up,it hangs after line

"lib80211: common routines for IEEE802.11 drivers", I compared the output on the DM368-EVM, it should be happening around MMC detection.

Why does this work on EVM, but not on my board? I tried several different SD cards, or no card at all, it's the same result.

Or is it possible the hang happened during loading 802.11 drivers instead of MMC?

Generally, what's the better approach of debugging such problems  than inserting printk()?

Thanks.

 

  • Though the print statement gives good indication of where the problem occurred, it may still be an approximation.

    Elimination is a much easier solution. Based on the kernel configuration, you'd know the drivers that are built into the kernel. You could either de-select these drivers (temporarily) or make them as loadable modules. (Ones that clearly appear to be initialized so far can remain - they are not the suspects).

    Once you get the kernel booting. Start adding the drivers one-by-one that were de-selected. You should easily find the one resulting in hang.

    Now, go thru the init/probe functions to see what could be failing. Here printk() can be helpful as well