Reply
Thread Tools
Posts: 80 | Thanked: 114 times | Joined on Dec 2009 @ Belgium
#1
Hi,

My device doens't show a 2 GB ext3 partition. /dev/mmcblk0p2 is not mounted (not showing up with 'mount' and 'df -h' command or in /proc/mounts).

It is however there in /etc/fstab, but when I try mount /dev/mmcblk0p2 it says:
mount: mounting /dev/mmcblk02p on /home failed: Invalid argument.

As cause of that I only have the 256MB of rootfs to install applications
 
ossipena's Avatar
Posts: 3,159 | Thanked: 2,023 times | Joined on Feb 2008 @ Finland
#2
have you tried rebooting? how did you get your device to such state?
__________________
Want to know something?
K.I.S.S. approach:
wiki category:beginners. Browse it through and you'll be much wiser!
If the link doesn't help, just use
Google Custom Search
 
Posts: 80 | Thanked: 114 times | Joined on Dec 2009 @ Belgium
#3
yes, rebooting changes nothing ...

After a reboot of my device (sw_rst) I noticed the /home/opt folder was gone... later I discovered this was due to the fact that the partition mounted at /home/ was no longer mounted.
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#4
I need the output from fstab.

"Invalid argument" means it's trying to mount with a bad option for the filesystem..
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
Posts: 80 | Thanked: 114 times | Joined on Dec 2009 @ Belgium
#5
Thanks for the help , the fstab is still ok

I figured out what was wrong. Apparantly the filesystem was corrupted.

I ran:
fsck /dev/mmcblk0p2

Which stated a lot of errors and fixed things up using the journal of the ext3 filesystem ...

After that I rebooted and now everything is ok again.

I think I had a sw_rst reboot while another process was maybe writing to the partition. In each case the reboot caused the partition to be in a corrupted state. fsck fixed it all.
 

The Following 3 Users Say Thank You to beli For This Useful Post:
Posts: 543 | Thanked: 181 times | Joined on Aug 2009 @ Universe,LocalCluster.MilkyWay.Sol.Earth.Europe.Slovenia.Ljubljana
#6
Hmm odd.. The init system should detect this and try to correct for it. Atleast if it's done properly.
__________________
For any repos or anything else I might have working on my N900 see:
http://wiki.maemo.org/User:Ruskie
A quick list of what I have in the repos
zsh|xmms2|fcron|gtar|gcoreutils
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#7
Originally Posted by ruskie View Post
Hmm odd.. The init system should detect this and try to correct for it. Atleast if it's done properly.
AFAIK it simply prints into sytem log that /home mount failed. And few lines below it copies default values to /home/user if there is nothing.

See /etc/event.d/rcS-late

I don't see any attempt to fsck /home partition.
__________________
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: 48 times | Joined on Dec 2009 @ Montpellier, France
#8
Originally Posted by fanoush View Post
AFAIK it simply prints into sytem log that /home mount failed. And few lines below it copies default values to /home/user if there is nothing.

See /etc/event.d/rcS-late

I don't see any attempt to fsck /home partition.
mmm that needs to be reported in the bug tracker (if not already declared), there is no way a phone for mass market leaves a partition in a corrupted state without trying to fscking it.
__________________
Smash is the way you deal with your life, like an outcast you're smashing your strife
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#9
yes, bugzilla is down for me today, please post here a link if you do report it, if not I will do it and post a link

EDIT: it is due to slow DNS propagation issue, have bugzilla working now (new IP of bugs.maemo.org is 80.248.164.252), I'll report it

EDIT2: reported as https://bugs.maemo.org/show_bug.cgi?id=7784
__________________
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.

Last edited by fanoush; 2010-01-08 at 15:13.
 
Posts: 67 | Thanked: 28 times | Joined on Oct 2009 @ Switzerland
#10
Originally Posted by fanoush View Post
reported as https://bugs.maemo.org/show_bug.cgi?id=7784
Are you sure this is the right bug? This one is about SIP.
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:54.