Reply
Thread Tools
jvesiluoma's Avatar
Posts: 28 | Thanked: 58 times | Joined on Jan 2010
#1
Hi,

Don't really know what happened, I decided to reboot my N900 yesterday and after the reboot background was just black. Everything else is ok and works fine, but can't change wallpapers, it doesn't give any info why it can't change wallpaper.

With dmesg I found these error messages coming up, every time I try to browse photos or change backgrounds:

[ 4000.711730] EXT3-fs error (device mmcblk1p2): ext3_add_entry: bad entry in directory #24727: directory entry across blocks - offset=0, inode=4294967295, rec_len=65536, name_len=255
[ 4000.807769] EXT3-fs error (device mmcblk1p2): ext3_add_entry: bad entry in directory #24727: directory entry across blocks - offset=0, inode=4294967295, rec_len=65536, name_len=255
[ 4000.900451] EXT3-fs error (device mmcblk1p2): ext3_add_entry: bad entry in directory #24727: directory entry across blocks - offset=0, inode=4294967295, rec_len=65536, name_len=255


Any suggestions what to do?


Regards,
Jarkko
 
ewan's Avatar
Posts: 445 | Thanked: 572 times | Joined on Oct 2009 @ Oxford
#2
That does look rather stuffed. Non-N900 specific suggestion would be to open a terminal, unmount the filesystem, run fsck on it. I see no reason in principle why that wouldn't work here too.
 
Posts: 543 | Thanked: 181 times | Joined on Aug 2009 @ Universe,LocalCluster.MilkyWay.Sol.Earth.Europe.Slovenia.Ljubljana
#3
unable to umount filesystem busy



Not te easiest... I wish we had a kernel with an initramfs for such cases. Or a decent bootloader.
__________________
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
 
SubCore's Avatar
Posts: 850 | Thanked: 626 times | Joined on Sep 2009 @ Vienna, Austria
#4
hm won't be easy to unmount /home (= mmcblk1p2)

according to lsof, tons of stuff is open on that partition, by various system apps like tracker, modest and so on. maybe if you killed all these apps you could umount /home and run fsck, but i'm not feeling adventurous enough to actually try that now
also, you'd probably need a user with a home directory on another partition.
__________________
"What we perceive is not nature itself, but nature exposed to our method of questioning."
-- Werner Karl Heisenberg
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#5
WARNING: The following is untested and could seriously stuff up your N900.

You could edit /etc/init.d/rcS to do a fsck (with autorepair) before mounting /home, then reboot.
 
Posts: 207 | Thanked: 119 times | Joined on Nov 2009 @ Pittsburgh, PA, USA
#6
welcome to club...
Look this bug and you can vote for this:
https://bugs.maemo.org/show_bug.cgi?id=7572

> You could edit /etc/init.d/rcS to do a fsck (with autorepair) before mounting /home, then reboot.

If you make any error in file you will have to reflush device, like me...

And this bug: https://bugs.maemo.org/show_bug.cgi?id=7571

Last edited by mikhmv; 2010-01-13 at 15:37.
 
Posts: 150 | Thanked: 93 times | Joined on Oct 2009 @ Pennsylvania, US
#7
Maybe try mount -o remount,ro /home to remount it read-only? You should be able to fsck then... (this will only work if no files are open for writing)

Last edited by rewt; 2010-01-13 at 17:00.
 
jvesiluoma's Avatar
Posts: 28 | Thanked: 58 times | Joined on Jan 2010
#8
After making a backup and transferring everything important to PC I forced umount to /home and runned fsck to /dev/mmcblk1p2 after that (yeah, I rebooted the device after fsck..) the N900 was bricked (as I expected..). It kept telling me that it can't send or receive SMS messages and when I received SMS messages they disappeared after reading them and returning to desktop. Oh, and contacts was empty too and there were some other 'small' problems too.

After that I flashed my N900 and everything is OK (for) now...

mikhmv: Have you managed to force fsck check on boot or do you know if anyone has done it?
 
Posts: 2,829 | Thanked: 1,459 times | Joined on Dec 2009 @ Finland
#9
I would like to check my file system(s). As normal user n900 doesn't recognize fsck command but as sudo gainroot it gives fsck version number. Exactly what command i have to write to get it just check my file systems/partitions.

How do i now what partitions i have? fdisk doesnt work an neither fstab.
 
Reply


 
Forum Jump


All times are GMT. The time now is 13:57.