|
#1
|
|||
|
|||
|
Ok guys I have os2008 installed on my N810 on the internal 2GB card. I also have a 4GB minisd card in the external slot.
THe problem is that when start my N810 WITH my external card plugged in then the device boots from mmcblk1p1 - which is actually supposed to be the external memory card! df -h shows that mmcblk1p1 is mapped to root device and mmcblk0p1 is mapped to /media/mmc2. Quote:
mmcblk0p1 is internal mmc mmcblk1p1 as external mmc /home/user # sfdisk -l Quote:
I can get access to this file and change it but I'm not sure what I should be changing. I need the N810 to automatically name the internal & external memory as I want to create swap space on the external memory card. Any help would be much appreciated on how to get these mapping correct. Last edited by rash.m2k; 2008-10-30 at 18:14. |
|
#2
|
|||
|
|||
|
Quote:
https://bugs.maemo.org/show_bug.cgi?id=2747 Quote:
Once system boots (udev is used for /dev directory), mapping is consistent and 'correct', /dev/mmcblk1 is always external slot, /dev/mmcblk0 is internal one.
__________________
Newbies click here before posting. Thanks. If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you. |
|
#3
|
|||
|
|||
|
Thanks for your reply fanoush. Its the same bug but the n810 boots correctly with or without memory card inserted. (correct me if I'm wrong)
However when it boots WITH external memory card inserted, the internal memory is mapped to both mmcblk0 and mmcblk1. Unmounting mmcblk0 is possible BUT not mmcblk1 - as it says it's in USE. Also removing the externel mmc in this state causes the N810 to reboot every single time. By internal memory I mean the internal 2GB card slot on the N810, the internal 256MB flash does not play a part in this. Last edited by rash.m2k; 2008-10-31 at 11:40. |
|
#4
|
|||
|
|||
|
Quote:
This can be also related to the fact that you are booting from partition one (mmcblkXp1) not 2 and up. First partition is usually FAT one, maybe system is confused and does something stupid when you open slot door?
__________________
Newbies click here before posting. Thanks. If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you. |
|
#5
|
|||
|
|||
|
Quote:
If I boot the system with the mmc card inside then the internal memory is mounted as internel memory AND as the root device. I can't explain it very well so ask me any questions you need to figure this out. |
|
#6
|
|||
|
|||
|
Just FYI, I have fixed this issue, see patch attached to https://bugs.maemo.org/show_bug.cgi?id=2747 After all it was really easy and fits cleanly into kernel structures. Let's hope Nokia applies it to any future diablo updates.
Prebuilt kernel is not currently available due to http://www.internettablettalk.com/fo...676#post229676 :-)
__________________
Newbies click here before posting. Thanks. If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you. |
|
#7
|
||||
|
||||
|
So fanoush, to summarize from that bug:
Is the only thing we need to uncomment the first line and comment the second to get consistent mmc names? It works for me, but I if that's the fix - its good to know when cloning n8x0...? Code:
#KERNEL=="mmcblk*", IMPORT{program}="/lib/udev/mmc_id $env{PHYSDEVPATH}"
KERNEL=="mmcblk*", IMPORT{program}="/lib/udev/mmc_id $sysfs{slot_name}"
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious. |
![]() |
|
|