Active Topics

 


Reply
Thread Tools
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#1
Is there a limitation in Harmattan (possibly also Maemo) about the maximum number of possible/recognized devices/partitions of mmcblk0?

I have repartitioned my N9's mmcblk0 to hold
p1 MyDocs 39GB
p2 rootfs 4GB
p3 home 4GB
and
p4 extended 16GB
with
p5 empty 4GB (not yet decided)
p6 Linux 4GB
p7 Linux/ext4 4GB
p8 Linux 2GB
p9 Linux 2GB

sfdisk tells me everything is fine (as above).
But listing
ls /dev/mmcblk0*
only shows me 8 devices
mmcblk0
mmcbk0p1
...
mmcblk0p7

So there seems to be a limit of 8 devices?

I have formatted /dev/mmcblk0p7 as ext4 and can mount it (size: 4GB).
But it seems, I cannot access p8 and p9 this way ...

Someone to confirm? Or help me out?
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature

Last edited by peterleinchen; 2013-03-24 at 19:26.
 
Posts: 578 | Thanked: 994 times | Joined on Dec 2012
#2
You have 7 partitions and 7 devices, so what is your problem?
p1 MyDocs - mmcbk0p1
p2 rootfs - mmcbk0p2
p3 home - mmcbk0p3
p6 ext4 - mmcbk0p4
p7 ext4 - mmcbk0p5
p8 ext4 - mmcbk0p6
p9 ext4 - mmcbk0p7

Last edited by elros34; 2013-03-10 at 21:58.
 

The Following User Says Thank You to elros34 For This Useful Post:
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#3
Thanks for answer.
But that is not the case.
Both p8 and p9 are size of 2GB.
But when I mount p7 (which is 4GB), then I would get a 2GB sized partition according to your algorithm, But indeed it is sized 4GB as expected. And formatted, whereas the others not yet.
And: even an extended and also an empty partition gets shown in /dev/, or? As it is show/confirmed from outpout of sfdisk (/dev/mmcblk0p9 2GB Linux partition)..
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature

Last edited by peterleinchen; 2013-03-10 at 22:59.
 

The Following User Says Thank You to peterleinchen For This Useful Post:
Posts: 578 | Thanked: 994 times | Joined on Dec 2012
#4
The best way to see which is which, is to install cfdisk if exist in n9 repo.
 
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#5
Bumping and asking again.
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#6
http://lkml.indiana.edu/hypermail/li...8.2/01021.html

Indeed there is a 8 partition limit for mmcblk devices...


Thank rainisto for pointing me in the right direction

Last edited by thedead1440; 2013-03-25 at 06:17.
 

The Following 3 Users Say Thank You to thedead1440 For This Useful Post:
Posts: 1,225 | Thanked: 1,905 times | Joined on Feb 2011 @ Quezon City, Philippines
#7
Isn't that just a limitation for systems that simply bring up /dev without a /dev node helper like udev?

This problem would easily be solved by mknod.

mmcblk0 is just a block device after all.
You could rebuild Harmattan kernel with GPT support, and convert it to GPT, and have a field day.
__________________
N9 PR 1.3 Open Mode + kernel-plus for Harmattan
@kenweknot, working on Glacier for Nemo.
 
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#8
Thanks thedead1440, rainisto and Hurrian for confirmation.
And maybe possible solution (yet beyond my skills, as I am limited to Win due to work life ).
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 
Posts: 5 | Thanked: 3 times | Joined on Dec 2013 @ cipher
#9
No, the limit is hard coded in the mmc block driver so mknoding more devices won't help without also patching the kernel mmc block driver for MMC_BLOCK_MINORS and setting it to a larger than default value (or running a newer kernel that doesn't need patching, of course, but you'd still need a custom compile with a larger than default MMC_BLOCK_MINORS value).

*And that fukn captcha is 90% illegible and inaudible every time!!!!111111 I will not keep posting here if it's that hard to do. gimme a fukn break! this is bullsh1t. takes too many tries to get it right. it's insane. fix it. WTF!?

fuk this sh1t! try number 7! this is definitely my last post till you make this functional, admins. I'm already logged in. Why do I need to be captchad to death too (especially with a really, really bad captcha)????

Last edited by amonk; 2013-12-25 at 06:43.
 

The Following 2 Users Say Thank You to amonk For This Useful Post:
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#10
amonk, the captcha runs only till you reach your fifth post. It's obviously designed to prevent spammers (and we did have a nasty attack ~2mths back) so just bear with it for an additional post instead of going Liam Neeson over it
 
Reply


 
Forum Jump


All times are GMT. The time now is 19:49.