Active Topics

 


Reply
Thread Tools
JeffElkins's Avatar
Posts: 273 | Thanked: 15 times | Joined on Oct 2007
#1
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.ko
insmod: cannot insert 'ext2.ko': Unknown symbol in module (-1): No such file or directory
Nokia-N800-39:/mnt/initfs/lib/modules/2.6.18-omap1# insmod ext3.ko
insmod: cannot insert 'ext3.ko': Unknown symbol in module (-1): No such file or directory
Nokia-N800-39:/mnt/initfs/lib/modules/2.6.18-omap1# modprobe ext2.ko
modprobe: cannot parse modules.dep
Nokia-N800-39:/mnt/initfs/lib/modules/2.6.18-omap1# modprobe ext3.ko
modprobe: cannot parse modules.dep

The cards work fine as ext3 from the PC-side (when mounted via USB).

Jeff
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#2
insmod mbcache.ko first, and for ext3 jbd.ko too
for second part try searching this forum, it was discussed few times
__________________
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.
 

The Following User Says Thank You to fanoush For This Useful Post:
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#3
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.
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 
JeffElkins's Avatar
Posts: 273 | Thanked: 15 times | Joined on Oct 2007
#4
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.

Last edited by JeffElkins; 2007-10-31 at 14:14.
 
gLobster's Avatar
Posts: 203 | Thanked: 47 times | Joined on Jun 2007 @ St.Petersburg, Russia
#5
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

?
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#6
Originally Posted by JeffElkins View Post
Thanks. I'm all set for part one, but searching isn't turning up much for part two.
the filesystem type is hardcoded to FAT in /etc/fstab or in some osso_<whatever>_mount.sh script so you should tweak that. I don't remember exact name, maybe just fstab tweaking works (as long as you have proper filesystem modules inserted of course).
__________________
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.
 
Posts: 90 | Thanked: 19 times | Joined on Oct 2007
#7
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.
 
JeffElkins's Avatar
Posts: 273 | Thanked: 15 times | Joined on Oct 2007
#8
Thanks folks!
 
JeffElkins's Avatar
Posts: 273 | Thanked: 15 times | Joined on Oct 2007
#9
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
 
Posts: 243 | Thanked: 172 times | Joined on Sep 2007 @ silicon valley
#10
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.
 
Reply


 
Forum Jump


All times are GMT. The time now is 21:37.