[SOLVED] SDHC card not always "partitioned" BusyBox Kernel 2.6.37 IPNC
Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
SDHC card not always "partitioned" BusyBox Kernel 2.6.37 IPNC
Hi,
I'm using IPNC_RDK 3.8.0 with kernel 2.6.37 on a proprietary IP camera board.
Until recently, when the kernel comes up, I get:
mmc1: new high speed SDHC card at address aaaa
mmcblk0: mmc1:aaaa SC32G 29.7 GiB
mmcblk0: p1
With the same SDHC card, I started getting the message:
mmc1: new high speed SDHC card at address aaaa
mmcblk0: mmc1:aaaa SC32G 29.7 GiB
mmcblk0: unknown partition table
We only work with MSDOS partitions and I found the place in the kernel where the partition place is checked. kernel/fs/partitions/msdos.c (or /block/partitions/msdos.c in later versions)
After printing out where it fails, I've narrowed the error to:
What I can't figure out is why the same microSD card (32G) sometimes is OK and sometimes isn't - even without formatting, etc.
Is there anything that I can do to ensure that the partition table will always be OK?
The same SD card, when opened in Windows shows *.avi files that were recorded by the IP camera and they can be played back.
Any help on this would be greatly appreciated.
Thanks,
Mechi
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.