OpenWrt confused on partitions on Micro SD card?
Lars-Peter Clausen
lars at metafoo.de
Wed Jan 5 17:25:15 EST 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12/16/2010 11:14 PM, Delbert Franz wrote:
> I'm working up to some benchmarks on micro SD card and today I
> partitioned a 8 GB card into eight partitions: First 3 are primary and
> the remaining ones are logical. Using cfdisk on the Nanonote numbers
> the partitions: p1 through p9 with the base name of "mmcblk0". This
> all looks OK. However, when the Nanonote is booted with the card
> present in the micro SD slot, it come ups during boot up showing the
> following pattern of partitions:
>
> p1 p2 p3 p4 <p5 p6 p7>
>
> which is incorrect. It should be
>
> p1 p2 p3 p4 < p5 p6 p7 p8 p9>.
>
Hi
The kernel has only support for up to 7 partions. You can change this by setting
CONFIG_MMC_BLOCK_MINORS
to a higher number and recompile the kernel.
- - Lars
> When I hot-plug the card, the Nanonote tries to mount p4 but fails.
> Automounting is really confused! It mounts partitions: p1, p5, p6,
> and p7. One can mount p2 and p3 manually. For some reason the
> automounter tries to mount p4 and gets all confused because it has no
> file system. In the process it apparently "forgets" about p2 and p3:)
> And it does not know that p8 and p9 exist.
>
> There is then some problem in the part of the software that recognizes
> the partition table because it has it wrong and so the automounter
> gets confused.
>
> I have had no problem with four primary partitions but logical
> partitions are not being recognized properly. So we can only get four
> partitions automounted. We can get six mounted if we use three
> primary and three logical. We have to mount p2 and p3 manually. That
> seems to be the limit. When I repartition the card to have eight
> logical partitions only p5, p6 and p7 are mounted. Again the Nanonote
> tries to mount p1 and of course fails:)
>
> Anyone else had this problem or found a way to work around it?
>
> Thanks,
>
> Delbert
>
>
>
>
>
>
> _______________________________________________
> Qi Hardware Discussion List
> Mail to list (members only): discussion at lists.en.qi-hardware.com
> Subscribe or Unsubscribe: http://lists.en.qi-hardware.com/mailman/listinfo/discussion
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk0k78sACgkQBX4mSR26RiP3zgCggO6XCQiTmwiBsjh8cKjWaXJt
3zwAnjesXPrHThWZM2+NRXUZvi2Dhkp2
=JbfO
-----END PGP SIGNATURE-----
More information about the discussion
mailing list