![]() |
N800: EXT2/3 at boot
I formatted my two new SDHC 8GB cards as ext3, but the file manager doesn't recognize them. After sshing into my N800, I see lsmod does not show ext2.ko or ext3.ko as being loaded. Modprobe/insmod both failed. How can I enable these filesystems at boot?
Code:
Nokia-N800-39:/mnt/initfs/lib/modules/2.6.18-omap1# insmod ext2.koThe cards work fine as ext3 from the PC-side (when mounted via USB). Jeff |
Re: N800: EXT2/3 at boot
insmod mbcache.ko first, and for ext3 jbd.ko too
for second part try searching this forum, it was discussed few times |
Re: N800: EXT2/3 at boot
Too bad modprobe doesn't work on the N800. I guess it's actually depmod that doesn't work, but it would ease things a bit (no need to insmod multiple modules in the right sequence). Does anyone know if this has been fixed for OS2008? It shouldn't be too tricky to fix I believe.
|
Re: N800: EXT2/3 at boot
Thanks. I'm all set for part one, but searching isn't turning up much for part two. I'm getting a lot of threads on booting from SD but nothing specific to my question. Still looking :(
Edit: as a quick fix, I stuck a script to do the insmods in init.d. Works, but I'm still looking for a better way. |
Re: N800: EXT2/3 at boot
May be need put full path for *.ko files:
insmod /mnt/initfs/lib/modules/2.6.18-omap1/mbcache.ko but not cd /mnt/initfs/lib/modules/2.6.18-omap1/ insmod mbcache.ko ? |
Re: N800: EXT2/3 at boot
Quote:
|
Re: N800: EXT2/3 at boot
i have edit the /etc/init.d/rcS and addes lines to load the kernel modules just after the PATH= line.
then i have edit fstab and set to 'auto' the fs type and to rw,noauto,exec,users th options. it work ok. |
Re: N800: EXT2/3 at boot
Thanks folks!
|
Re: N800: EXT2/3 at boot
I'm having a problem with my SDHC cards that I'm wondering if others have had:
I'm using two Transend C6 8GB cards. I'm getting irregular bootup recognition of these cards when formatted as ext3. In fact, my N800 does not see them 90% of the time! SShing into the N800 and doing a lsmod tells me that all the required ext* modules (noted above) are loaded. No matter if the N800 "sees" the cards or not, connecting the N800 to my Linux PC via USB loads the cards on the PC 100% of the time! When the cards are formatted as vfat, the N800 sees them (so far) w/o fail. Jeff |
Re: N800: EXT2/3 at boot
I am using a 1GB card and it won't boot the ext3 partition. It will mount the ext3 partition when booted from flash, and it will boot an ext2 partition. I have been using an ext2 root but I have had so many problems with constantly having to fsck that I am moving back to booting off the main flash and changing some of the mount points to ext3 partitions.
|
Re: N800: EXT2/3 at boot
Quote:
You need to set MENU_X_FSTYPE and MENU_X_MODULES correctly for your menu item X. |
Re: N800: EXT2/3 at boot
Oh, BTW ext3 is backward compatible so it should boot as ext2 too. Then it might be good to fsck it before switching to ext3 again.
|
Re: N800: EXT2/3 at boot
No, I tried booting/mounting as ext2 and this did not work. I copied the ext3 settings from the example in n800 conf file.
MENU_1_NAME="Internal flash" MENU_1_ID="flash" MENU_2_NAME="MMC card" MENU_2_ID="mmc" MENU_3_NAME="MMC card, partition 2, ext2" MENU_3_ID="mmc2" MENU_3_DEVICE="mmcblk0p2" MENU_3_MODULES="mbcache ext2" MENU_3_FSTYPE="ext2" MENU_3_FSOPTIONS="noatime" MENU_4_NAME="MMC card, partition 2, ext3" MENU_4_ID="mmc02" MENU_4_DEVICE="mmcblk0p2" MENU_4_MODULES="mbcache jbd ext3" MENU_4_FSTYPE="ext3" MENU_4_FSOPTIONS="noatime" #",data=writeback" MENU_5_NAME="Power off (when not on charger)" MENU_5_ID="off" #change max if you add/remove items MENU_MAX=5 I insmodded the same kernel modules booting off of flash and I could mount the partition. |
Re: N800: EXT2/3 at boot
The problem was the ext3 was not cleanly unmounted and there was still journalling data. Have to figure out how to cleanly dismount with the n800 if it doesn't already (I don't think it does.) That is probably the OP problem as well.
|
Re: N800: EXT2/3 at boot
add the mountpoints to umount line in /etc/init.d/minireboot and minishutdown.
look for this section near the end og the files: echo "Unmounting filesystems... " umount -r /media/mmc1 /media/mmc2 /mnt/initfs / |
Re: N800: EXT2/3 at boot
Quote:
|
| All times are GMT. The time now is 14:59. |
vBulletin® Version 3.8.8