maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   N900 MeeGo CE Summer Edition Released (https://talk.maemo.org/showthread.php?t=74261)

zurrain101 2011-07-03 20:35

Re: N900 MeeGo CE Summer Edition Released
 
is there a way to import music? i have music in emmc and meego is not reading it. and how to import contacts?

ericsson 2011-07-03 21:26

Re: N900 MeeGo CE Summer Edition Released
 
Quote:

Originally Posted by mrsellout (Post 1044085)
Do you know about the no swap bug for the emmc install?
The regular install on sd card uses the emmc swap from maemo, but when you write this to the emmc, it overwrites the whole drive including the swap. Ergo no swap.
Use the Rescue initrd and gparted to create a swap partition or create a swap file in the rootfs and enable it. Things run a lot better then.

I didn't know about that. Besides that's no "bug", it's more like building a house and "forget" about doors and windows. No one really forget about such things.

Besides, I'm flashing the tablet version now. Is that version also infected by that "bug" ?

wmarone 2011-07-03 23:06

Re: N900 MeeGo CE Summer Edition Released
 
Quote:

Originally Posted by mrsellout (Post 1044085)
The regular install on sd card uses the emmc swap from maemo, but when you write this to the emmc, it overwrites the whole drive including the swap. Ergo no swap.

I was curious about this statement, as I didn't believe it was true. So I grabbed the latest image off the repo, and looked at the partition table. This is what I found:

Code:

Model:  (file)
Disk mg-handset-armv7nhl-n900-ce-stable-1.2.0.90.6.20110630.4.DE.2011-07-01.1-mmcblk0p.raw: 3817MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start  End    Size    Type    File system    Flags
 1      512B    3775MB  3775MB  primary  ext4
 2      3775MB  3783MB  8389kB  primary  linux-swap(v1)
 3      3783MB  3817MB  33.6MB  primary  fat16          lba

So yes, when you load the image on the eMMC it does overwrite the entire drive. But you're overwriting everything, including the partition table, with a new partition table contained in the image. This includes a swap volume in partition two.

So, no bug.

m4r0v3r 2011-07-03 23:14

Re: N900 MeeGo CE Summer Edition Released
 
am using a sandisk class 4 and i guess its use able. and a good backup when maemo reads my battery level wrong and refuses to boot...

mrsellout 2011-07-03 23:28

Re: N900 MeeGo CE Summer Edition Released
 
Quote:

Originally Posted by wmarone (Post 1044149)
I was curious about this statement, as I didn't believe it was true. So I grabbed the latest image off the repo, and looked at the partition table. This is what I found:

Code:

Model:  (file)
Disk mg-handset-armv7nhl-n900-ce-stable-1.2.0.90.6.20110630.4.DE.2011-07-01.1-mmcblk0p.raw: 3817MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start  End    Size    Type    File system    Flags
 1      512B    3775MB  3775MB  primary  ext4
 2      3775MB  3783MB  8389kB  primary  linux-swap(v1)
 3      3783MB  3817MB  33.6MB  primary  fat16          lba

So yes, when you load the image on the eMMC it does overwrite the entire drive. But you're overwriting everything, including the partition table, with a new partition table contained in the image. This includes a swap volume in partition two.

So, no bug.

While it does write a swap volume,
a) it's only 8mb large
b)swap volumes aren't automounted like in maemo where fstab is autogenerated at boot time (you could create more partitions and put a swap volume at mmcblkop6 and maemo would find it and mount it at boot up). MeeGo CE looks for emmc partition 3 for it's swap, unfortunately in this instance it's the /boot partition. When it doesn't find it you're just left with no swap.


Code:

/dev/mmcblk0p1  /        ext4  defaults,noatime 0 0
/dev/mmcblk0p3  /boot        vfat  defaults,noatime 0 0
/dev/mmcblk1p3  swap        swap  defaults,noatime 0 0
devpts    /dev/pts  devpts  gid=5,mode=620  0 0
tmpfs      /dev/shm  tmpfs  defaults        0 0
proc      /proc    proc    defaults        0 0
sysfs      /sys      sysfs  defaults        0 0


wmarone 2011-07-03 23:42

Re: N900 MeeGo CE Summer Edition Released
 
Quote:

Originally Posted by mrsellout (Post 1044155)
While it does write a swap volume,
a) it's only 8mb large
b)swap volumes aren't automounted like in maemo where fstab is autogenerated at boot time (you could create more partitions and put a swap volume at mmcblkop6 and maemo would find it and mount it at boot up). MeeGo CE looks for emmc partition 3 for it's swap, unfortunately in this instance it's the /boot partition. When it doesn't find it you're just left with no swap.

8MB is probably more than enough, and it's kind of hard to fit anything bigger in when you're constraining yourself to a 4GB card. I suspect they could squeeze a 256MB partition in there, but that's not up to me.

Also, I see what you are referring to in the fstab, has a bug been filed about this?

mrsellout 2011-07-03 23:54

Re: N900 MeeGo CE Summer Edition Released
 
No I haven't, someone else on here pointed it out as a bug (and I can't remember who or where). I was hoping to mention it to timoph on #meego-arm, but I haven't got round to it yet.

zurrain101 2011-07-04 11:17

Re: N900 MeeGo CE Summer Edition Released
 
is there a way to import music? i have music in emmc and meego is not reading it. and how to import contacts?

erendorn 2011-07-04 12:30

Re: N900 MeeGo CE Summer Edition Released
 
Easy way: buy a sd card reader for 2$, burn and boot from a live cd (if you don't have linux at hand), extend meego partition with disk utility, copy music in it.
Free and harder way: mount maemo partition from meego terminal, copy music. (or extend and mount meego partition from maemo). Can't help you on that one.

jedi 2011-07-04 12:35

Re: N900 MeeGo CE Summer Edition Released
 
Quote:

Originally Posted by zurrain101 (Post 1044378)
is there a way to import music? i have music in emmc and meego is not reading it. and how to import contacts?

Posting the same question over and over ain't gonna help. See this: http://wiki.meego.com/ARM/N900/DataManagement

Bet you can't guess how I found that...


All times are GMT. The time now is 15:36.

vBulletin® Version 3.8.8