Poll: Did you get the expected result?
Poll Options
Did you get the expected result?

Reply
Thread Tools
Stskeeps's Avatar
Posts: 1,671 | Thanked: 11,478 times | Joined on Jun 2008 @ Warsaw, Poland
#1
So, we've started running into a problem where the kernel lies to us regarding which MMC is the internal, or the external one, and we would like to quiz you people (N8x0 users, on Maemo) on the outputs of the following commands (non-destructive):

1. Note down which mmcblkX you think is the internal one, and which you think is the external one.

You can possibly use sfdisk -uM -s to see the sizes of the MMC cards in kilobytes.

2. Run these two commands:

# cat /sys/block/mmcblk0/device/../slot_name
# cat /sys/block/mmcblk1/device/../slot_name

3. Did they correspond to what you thought in 1)?

If yes, vote yes and your tablet type, if no, vote no and your tablet type.

Thanks for your cooperation!

Last edited by Stskeeps; 2009-01-09 at 18:17.
 

The Following User Says Thank You to Stskeeps For This Useful Post:
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#2
The slot names are defined in /arch/arm/mach-omapX/board-nXXXX-XXX.c in a omap_mmc_platform_data struct. So in theory if i switch them and give this kernel to you, you will have switched slots

So the kernel is not lying - it just tells what it is told to.
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
Stskeeps's Avatar
Posts: 1,671 | Thanked: 11,478 times | Joined on Jun 2008 @ Warsaw, Poland
#3
Yeah, I know - except we have a clean N810 with nokia-provided kernel telling us it's internal is external and such - and we're just trying to find out if it's a freak, or not (It matters a great deal when wanting to partition internal or external card, that we can figure out which is which)
__________________
As you go on to other communities, remember to build them around politeness, respect, trust and humility. Be wary of poisonous people and deal with them before they end up killing your community.. Seen it happen to too many IRC channels, forums, open source projects.
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#4
So try to detect it with slot_name AND size Maybe Nokia has some faulty units which have the internal n810 mmc wired to the other controller slot...
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#5
inb4 N810 lusers!

(Really, it's odd... I'm the third N800 voter, and you'd think the N810ers would get back quicker with their h/w keyboards -- are there more N800ers around? or are we just faster?)

This message typed on a 4-row on-screen thumbboard.
 

The Following User Says Thank You to Benson For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#6
CRAP. I misread the question and I voted wrongly, and I can't change my vote.

The thread title is, "Does the kernel lie to us...?" and the poll question is, "Did you get the expected result?" I answered the thread title instead of the poll question.

So my vote SHOULD be, YES, I got the expected result on my N800, not NO, my kernel didn't lie to me.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 

The Following User Says Thank You to qole For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#7
Originally Posted by Benson View Post
inb4 N810 lusers!

(Really, it's odd... I'm the third N800 voter, and you'd think the N810ers would get back quicker with their h/w keyboards -- are there more N800ers around? or are we just faster?)

This message typed on a 4-row on-screen thumbboard.
Either the hackers who can be bothered to type two commands into the terminal all use N800s, or there are more N800 users with way too much time on their hands checking the new posts on these forums.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
Posts: 5,335 | Thanked: 8,187 times | Joined on Mar 2007 @ Pennsylvania, USA
#8
Originally Posted by Stskeeps View Post
So, we've started running into a problem where the kernel lies to us regarding which MMC is the internal, or the external one, and we would like to quiz you people (N8x0 users, on Maemo) on the outputs of the following commands...
It would have made more sense to skip the mysterious "what do you expect" part and just provide the commands, the proper results, and the poll then. As it is, you're counting on everyone to know how Linux device & Maemo SD slot naming works and therefore, what to expect. Those who don't grok this will either skip your poll or do it, possibly guessing wrong, and provide bogus feedback.
__________________
maemo.org profile
 
TrueJournals's Avatar
Posts: 480 | Thanked: 378 times | Joined on Apr 2008 @ Chicago-ish
#9
Output was exactly as expected on my n800 running the latest diablo.
__________________
Disclaimer: If a program I wrote doesn't work/breaks your tablet... It's not my fault
mcedit | Utility Calculators (WIP) | PyRDesktop
My Blog | Twitter
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#10
So N800s are clean, and N810s apparently are surprisingly rare in this audience, and not yet conclusive.

I seem to remember a similar bug being confirmed previously -- something like the mmcblk[01] files were assigned one way in the initfs and reversed in the rootfs, which may be related to this...
 
Reply


 
Forum Jump


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