*** NIN101 has quit IRC | 00:02 | |
*** xes has joined #maemo-ssu | 00:02 | |
*** Vlad_on_the_road has quit IRC | 00:18 | |
*** arcean has quit IRC | 00:27 | |
*** arcean has joined #maemo-ssu | 00:27 | |
*** Pali has quit IRC | 00:38 | |
*** arcean has quit IRC | 00:47 | |
*** arcean has joined #maemo-ssu | 00:49 | |
*** dhbiker has quit IRC | 01:11 | |
*** BCMM has quit IRC | 01:13 | |
*** M4rtinK has quit IRC | 01:25 | |
*** unclouded has joined #maemo-ssu | 01:27 | |
*** xes has quit IRC | 02:12 | |
*** mnzaki has quit IRC | 02:53 | |
*** arcean has quit IRC | 02:58 | |
*** LauRoman has quit IRC | 03:28 | |
*** Martix_ has quit IRC | 03:56 | |
*** LaoLang_cool has joined #maemo-ssu | 05:10 | |
*** LaoLang_cool has quit IRC | 05:13 | |
*** amiconn has quit IRC | 05:28 | |
*** amiconn_ has joined #maemo-ssu | 05:28 | |
*** amiconn_ is now known as amiconn | 05:28 | |
*** nox- has quit IRC | 05:49 | |
*** DocScrutinizer05 has quit IRC | 06:03 | |
*** DocScrutinizer05 has joined #maemo-ssu | 06:04 | |
*** futpib has quit IRC | 06:22 | |
*** M13 has joined #maemo-ssu | 06:22 | |
*** _rd has joined #maemo-ssu | 07:25 | |
*** _rd has quit IRC | 07:42 | |
*** dhbiker has joined #maemo-ssu | 08:17 | |
*** macmaN has quit IRC | 08:57 | |
*** amiconn has quit IRC | 09:09 | |
*** M4rtinK has joined #maemo-ssu | 09:12 | |
*** amiconn has joined #maemo-ssu | 09:41 | |
*** LauRoman has joined #maemo-ssu | 09:57 | |
*** M4rtinK has quit IRC | 10:18 | |
*** andre__ has joined #maemo-ssu | 10:34 | |
*** andre__ has joined #maemo-ssu | 10:34 | |
*** sunny_s_ has joined #maemo-ssu | 10:40 | |
*** sunny_s has quit IRC | 10:41 | |
*** M13 has quit IRC | 10:43 | |
*** M13 has joined #maemo-ssu | 10:47 | |
*** futpib has joined #maemo-ssu | 11:04 | |
*** wmarone_ has joined #maemo-ssu | 11:06 | |
*** wmarone has quit IRC | 11:06 | |
*** wmarone has joined #maemo-ssu | 11:10 | |
*** wmarone_ has quit IRC | 11:10 | |
*** wmarone has quit IRC | 11:16 | |
*** wmarone_ has joined #maemo-ssu | 11:16 | |
*** wmarone has joined #maemo-ssu | 11:22 | |
*** wmarone_ has quit IRC | 11:23 | |
*** wmarone_ has joined #maemo-ssu | 11:26 | |
*** wmarone has quit IRC | 11:28 | |
*** wmarone__ has joined #maemo-ssu | 11:28 | |
*** wmarone_ has quit IRC | 11:30 | |
*** wmarone__ has quit IRC | 11:34 | |
*** wmarone has joined #maemo-ssu | 11:34 | |
*** Pali has joined #maemo-ssu | 11:39 | |
*** wmarone has quit IRC | 11:40 | |
*** wmarone has joined #maemo-ssu | 11:40 | |
*** wmarone has quit IRC | 11:42 | |
*** wmarone_ has joined #maemo-ssu | 11:42 | |
*** wmarone__ has joined #maemo-ssu | 11:52 | |
*** wmarone_ has quit IRC | 11:52 | |
*** Martix_ has joined #maemo-ssu | 12:01 | |
*** Pali has quit IRC | 12:33 | |
*** Pali has joined #maemo-ssu | 12:50 | |
*** Pali has quit IRC | 12:54 | |
*** Martix_ has quit IRC | 12:56 | |
*** M13 has quit IRC | 13:06 | |
*** Pali has joined #maemo-ssu | 13:12 | |
*** Martix_ has joined #maemo-ssu | 13:15 | |
*** Martix_ has quit IRC | 13:20 | |
*** lizardo has joined #maemo-ssu | 13:23 | |
*** mnzaki has joined #maemo-ssu | 14:31 | |
*** tg has quit IRC | 14:51 | |
*** macmaN has joined #maemo-ssu | 14:55 | |
*** tg has joined #maemo-ssu | 14:59 | |
*** BCMM has joined #maemo-ssu | 15:13 | |
*** tg has quit IRC | 15:37 | |
*** AndrewX192 has quit IRC | 15:38 | |
*** AndrewX192 has joined #maemo-ssu | 15:45 | |
*** tg has joined #maemo-ssu | 15:46 | |
*** arcean has joined #maemo-ssu | 15:48 | |
Pali | merlin1991: ping | 15:50 |
---|---|---|
*** Woody14619a is now known as Woody14619 | 16:25 | |
*** sunny_s_ has quit IRC | 16:34 | |
*** NIN101 has joined #maemo-ssu | 16:54 | |
Pali | this merge request https://gitorious.org/community-ssu/modest/merge_requests/13 for modest is there quite a long | 17:00 |
Pali | I'm going to merge it into master (cssu-devel) | 17:01 |
merlin1991 | Pali: yeah, go ahead | 17:54 |
merlin1991 | I hope I'll finally get to work on the -t release today/tomorrow | 17:54 |
*** Woody14619 is now known as Woody14619a | 17:55 | |
Pali | merged and pushed to cssu-devel | 17:55 |
kerio | yay :D | 17:55 |
merlin1991 | currently updating servers from squeeze to wheezy | 17:56 |
merlin1991 | I kinda fear touching merlin1991.at though | 17:56 |
kerio | nay D: | 17:56 |
merlin1991 | blindly running dist-upgrade is a scare thing without proper backups :D | 18:01 |
merlin1991 | s/scare/scary/ | 18:01 |
infobot | merlin1991 meant: blindly running dist-upgrade is a scary thing without proper backups :D | 18:01 |
*** asem has joined #maemo-ssu | 18:39 | |
* merlin1991 makes backups | 18:59 | |
*** asem has quit IRC | 19:03 | |
kerio | backups are good! | 19:25 |
Pali | and sometimes you find that you have backup in backup in backup in backup... | 19:40 |
Pali | and trying to find out why you have full HDD :D | 19:40 |
kerio | i solve the backup problem by not having anything important | 19:41 |
*** Sicelo has quit IRC | 19:58 | |
*** Sicelo has joined #maemo-ssu | 19:59 | |
*** BCMM has quit IRC | 20:12 | |
*** BCMM has joined #maemo-ssu | 20:14 | |
*** M4rtinK has joined #maemo-ssu | 20:25 | |
*** M13 has joined #maemo-ssu | 20:33 | |
*** M4rtinK has quit IRC | 20:55 | |
Pali | it looks like my change to rcS-late working fine. it detecting maemo installed on SD card and eMMC and also correct filesystems | 21:08 |
Pali | and has support for static /etc/fstab | 21:08 |
*** ruskie has quit IRC | 21:35 | |
*** M4rtinK has joined #maemo-ssu | 21:38 | |
kerio | Pali: does it still break horribly if you use LABEL= or UUID=? | 21:43 |
Pali | ah, I forgot this | 21:44 |
kerio | and are you still using your crappy version of fsck fs type autodetect? | 21:45 |
Pali | yes and it is not crappy | 21:47 |
kerio | adds completely unnecessary complexity | 21:47 |
Pali | I really do not want to call ext fsck untility on fat/ntfs partittion | 21:47 |
kerio | it won't do anything except complain that it can't find any superblock | 21:47 |
kerio | actually, hold on | 21:47 |
kerio | YOUR version will do that | 21:48 |
Pali | kerio, can you write your fstab with label or uuid? | 21:48 |
kerio | my fstab uses LABEL | 21:48 |
kerio | oh you mean pastebin it somewhere? | 21:48 |
Pali | yes | 21:48 |
*** ruskie has joined #maemo-ssu | 21:48 | |
kerio | Pali: it's *your* version that will blindly call fsck.$type_in_fstab | 21:48 |
Pali | blkid will transtale it to /dev/device | 21:48 |
kerio | fsck will use blkid | 21:48 |
kerio | no, seriously, are you really trying to do this to avoid calling e2fsck with a "wrong" argv[0] that WON'T BE USED AT ALL BY IT? | 21:50 |
kerio | Pali: http://fpaste.org/10910/67952673/ | 21:51 |
Pali | kerio, ok I can change code which will call generic "fsck" version | 21:51 |
Pali | but what happen if: you have ext4 in fstab and partition is extš? | 21:52 |
Pali | ext3? | 21:52 |
Pali | strace told me that generic fsck using data from /etc/fstab | 21:53 |
Pali | so this *can* damage/convert filesystem | 21:53 |
kerio | `fsck LABEL=lolol` correctly picked up my vfat partition | 21:53 |
kerio | and that's nowhere in fstab | 21:54 |
kerio | and regardless | 21:54 |
kerio | dosfsck just said "logical sector size is zero" on my ext4 partition | 21:55 |
kerio | and e2fsck complained about "The superblock could not be read or does not describe a correct ext2 | 21:55 |
kerio | filesystem. If the device is valid and it really contains an ext2 | 21:55 |
kerio | filesystem (and not swap or ufs or something else), then the superblock | 21:55 |
kerio | is corrupt" | 21:55 |
kerio | and did nothing | 21:56 |
Pali | are you called it with -p or -y? | 21:56 |
*** _rd has joined #maemo-ssu | 21:56 | |
kerio | if a fsck tool can't figure out if what's ahead of it /is/ a file system of the correct type, what the hell can it do? | 21:56 |
kerio | Pali: yep | 21:56 |
Pali | filesystem detection is overwritten by /etc/fstab | 21:57 |
kerio | so that's even better | 21:57 |
Pali | but we using HAL/blkid for detection | 21:57 |
kerio | we're also using blkid to make fstab | 21:58 |
Pali | so if you specify BAD filesytem in fstab for SD card, then it still works | 21:58 |
Pali | now you can have static fstab | 21:58 |
kerio | and at that point, it becomes your responsibility | 21:58 |
DocScrutinizer05 | wtf are you doing? | 22:00 |
Pali | ok, I will extract only device line from /etc/fstab for /home and call generic version fo fsck on it | 22:01 |
kerio | Pali: omg omg omg omg wait | 22:01 |
kerio | fsck /home | 22:01 |
kerio | i just tested it, it works | 22:01 |
Pali | $ fsck /home | 22:02 |
Pali | this not working | 22:02 |
Pali | fsck.ext2: Is a directory while trying to open /home/ | 22:02 |
kerio | wut | 22:02 |
kerio | no, /home | 22:02 |
Pali | fsck /home called fsck.ext2 | 22:02 |
Pali | why?? I have ext3 on /home | 22:03 |
kerio | user@kerio900:~$ sudo fsck -n /home | 22:03 |
kerio | fsck 1.41.3.maemo0 (12-Oct-2008) | 22:03 |
kerio | e2fsck 1.41.3.maemo0 (12-Oct-2008) | 22:03 |
kerio | Warning! /dev/mmcblk0p2 is mounted. | 22:03 |
kerio | Warning: skipping journal recovery because doing a read-only filesystem check. | 22:03 |
kerio | N900_optfs: clean, 35771/643376 files, 257958/2572288 blocks | 22:03 |
Pali | ok, it looks like if filesystem is unknown it calling fsck.ext2 | 22:03 |
kerio | seems so | 22:04 |
kerio | and stop calling it fsck.ext2 like it's something different from fsck.ext3 or e2fsck | 22:04 |
kerio | does it work on your end without the trailing slash? | 22:04 |
Pali | http://pastebin.com/xaDjhU9R | 22:04 |
kerio | yeah, yeah, i got that too | 22:05 |
kerio | the mountpoint is "/home", though | 22:05 |
kerio | not /home/ | 22:05 |
Pali | yes, working now: http://pastebin.com/PpthS5mE | 22:05 |
Pali | detected as ext3 | 22:06 |
Pali | ok | 22:06 |
kerio | DocScrutinizer05: i'm trying to turn a 'fsck.`grep /home /etc/fstab | cut -d" " -f3` `grep /home /etc/fstab | cut -d" " -f2' into a 'fsck /home' in your future... rcS-late? preinit? where is this? | 22:06 |
Pali | kerio, ok, then I only call "fsck -p /home" | 22:07 |
kerio | rcS-late | 22:07 |
Pali | rcS-late | 22:07 |
kerio | Pali: use -a, -p isn't standard | 22:07 |
kerio | it's the same for e2fsck, though | 22:07 |
kerio | ...and if we assume that /home must be on extfs, or something whose fsck supports -p, we can just use -p i guess | 22:07 |
Pali | for vfat too? | 22:07 |
DocScrutinizer05 | > >For most types all the mount program has to do is issue a simple mount(2) system call, and no detailed knowledge of the filesystem type is required. For a few types how- ever (like nfs, nfs4, cifs, smbfs, ncpfs) ad hoc code is necessary. The nfs, nfs4, cifs, smbfs, and ncpfs filesystems have a separate mount program. In order to make it possible to treat all types in a uniform way, mount will | 22:08 |
DocScrutinizer05 | execute the program /sbin/mount.TYPE (if that exists) when called with type TYPE. Since various versions of the smbmount program have different calling conventions, /sbin/mount.smbfs may have to be a shell script that sets up the desired call.<< | 22:08 |
kerio | Pali: dosfsck doesn't have a -p option i think | 22:08 |
Pali | hahahaha, we have messybox version of mount | 22:08 |
Pali | and there autodetection not working properly :D | 22:08 |
kerio | oh nvm, it still understands -p | 22:08 |
kerio | i think that -a and -p are completely synonymous | 22:09 |
DocScrutinizer05 | > >If no -t option is given, or if the auto type is specified, mount will try to guess the desired type. Mount uses the blkid library for guessing the filesystem type; if that does not turn up anything that looks familiar, mount will try to read the file /etc/filesystems, or, if that does not exist, /proc/filesystems. All of the filesystem types listed there will be tried, except for those that are | 22:09 |
DocScrutinizer05 | labeled "nodev" (e.g., devpts, proc and nfs). If /etc/filesystems ends in a line with a single * only, mount will read /proc/filesystems afterwards.<< | 22:09 |
kerio | DocScrutinizer05: fsck, not mount | 22:10 |
Pali | DocScrutinizer05: this is not tru for our stupid version of mount provided by busybox | 22:10 |
DocScrutinizer05 | who the fuck cares about fsck? | 22:10 |
* kerio has strong opinions regarding fsck | 22:10 | |
Pali | it really cannot detect ext4 filesystem | 22:10 |
kerio | the new rcS-late will support automatic preening on boot | 22:10 |
kerio | Pali: e2fsck is a single binary ;_; | 22:10 |
kerio | ext4 doesn't even exist as a concept, in e2fsprogs, it's just a set of default options to mke2fs | 22:11 |
DocScrutinizer05 | fsck can't detect *anything* since you're *usually* dealing with a _broken_ fs when it comes to fsck, and a broken fs is impossible to reliably detect it's type | 22:11 |
kerio | DocScrutinizer05: if you can't detect its type, then it's too borked to fix already | 22:12 |
kerio | often, it's only slightly borked | 22:12 |
DocScrutinizer05 | BS | 22:12 |
kerio | missing extfs superblock? | 22:12 |
kerio | like, missing extfs superblock and missing all the superblock backups | 22:12 |
DocScrutinizer05 | pff, so one single block got overwritten? | 22:12 |
kerio | various blocks | 22:13 |
DocScrutinizer05 | you can not reliably detect a broken fs' type | 22:13 |
kerio | not reliably | 22:13 |
DocScrutinizer05 | that's a basic truth | 22:13 |
kerio | but if the broken fs is not too broken to be unfixable, you can often detect it | 22:13 |
kerio | and regardless, fsck uses /etc/fstab data too | 22:14 |
DocScrutinizer05 | that's also why fsck never gets executed automatically in fix-all mode | 22:14 |
Pali | DocScrutinizer05: now we tested that generic fsck using /etc/fstab and blkid for detecting filesytem | 22:14 |
Pali | and my scripts used fstab/blkid too | 22:14 |
Pali | so there is really no need to use long scripts for that... | 22:14 |
* kerio trusts Pali, but trusts the e2fsprogs authors more | 22:15 | |
* DocScrutinizer05 shakes head on what it might be you guys try to do here, and wanders off | 22:15 | |
kerio | are they also the kernel guys? | 22:15 |
kerio | DocScrutinizer05: more configurability in rcS-late regarding the mounting of /home and the generation of fstab | 22:16 |
kerio | including (Pali: optional?) automatic preening | 22:16 |
DocScrutinizer05 | so wtf has fsck to do with that?? | 22:16 |
kerio | aka fsck in "do a summary check and only fix broken stuff if you're certain you can fix it" mode | 22:17 |
Pali | optionaly call fsck before mounting | 22:17 |
Pali | ext* filesystems need to be checked every N mounts | 22:17 |
DocScrutinizer05 | ooh you are sure about thatß | 22:17 |
DocScrutinizer05 | ? | 22:17 |
* kerio always uses -C 0 -i 0 when mke2fsing | 22:18 | |
Pali | and in nokia original rcS-late was check: if mounting /home failed then try to run fsck | 22:18 |
Pali | DocScrutinizer05: this is default behaviour of mkfs.ext3 | 22:18 |
Pali | do you think that is incorrect? | 22:18 |
kerio | mkfs.ext4 -C -1 -i 0 /dev/mmcblk0p1 #YOLO | 22:18 |
DocScrutinizer05 | yes, and it was rather idiotic since it didn't inform user, not to mention any sane thing like opening console to show diagnostic output and even ask for user interaction to fsck | 22:19 |
Pali | why every desktop linux distribution using that default behaviour too when installing | 22:19 |
*** _rd has quit IRC | 22:20 | |
kerio | DocScrutinizer05: my laziness regarding the preparation or the acquisition of food is winning over my hunger, i think i'm going to follow your diet method this evening | 22:20 |
*** xes has joined #maemo-ssu | 22:22 | |
*** _rd has joined #maemo-ssu | 22:56 | |
*** M13 has quit IRC | 23:00 | |
*** Vlad_on_the_road has joined #maemo-ssu | 23:03 | |
*** _rd has quit IRC | 23:13 | |
Pali | kerio, now when I enabled auto fsck on my /home (n900) it show me very bad message | 23:28 |
Pali | filesystem is corrupted | 23:28 |
kerio | :c | 23:28 |
kerio | is it corrupted? | 23:29 |
Pali | I backed up (via dd) full partition to pc (via usb) | 23:29 |
Pali | and started calling fsck -y on home device | 23:29 |
Pali | fsck wrote a lot of lot of errors | 23:29 |
Pali | and *crashed* | 23:29 |
kerio | neat | 23:29 |
Pali | and now fsck crashing always | 23:30 |
Pali | but (before calling fsck) partition is/was mountable and maemo worked | 23:30 |
kerio | btw, we should upgrade e2fsprogs | 23:30 |
Pali | not going to extract data from backup on pc and I will call mkfs.ext3 on /home | 23:31 |
kerio | Pali: again, you keep saying "mkfs.ext3" as if to say that it changes things | 23:31 |
Pali | I will create clean fileystem | 23:31 |
kerio | Pali: call mkfs.ext2 on it, too | 23:32 |
Pali | and then copy files extracted from dump | 23:32 |
Pali | seems there is no way to normal recovery | 23:32 |
kerio | you could just copy the files from the backup you made before tinkering with filesystems | 23:32 |
kerio | :> | 23:32 |
Pali | I have dd backup before fsck was called | 23:33 |
kerio | call maemo's fscks on it | 23:33 |
Pali | I called fsck on emmc device | 23:33 |
Pali | rather create new clean filesytem | 23:34 |
kerio | to test, i mean | 23:34 |
Pali | and restore data | 23:34 |
*** _rd has joined #maemo-ssu | 23:34 | |
kerio | Pali: anyway, if there was a difference, they would've put a way to specify the filesystem features in `e2fsck` | 23:35 |
kerio | most likely, we have a crap version of e2fsprogs | 23:36 |
Pali | hm, now called fsck -n on desktop on that dd backup and it wrote only small number of Inode XYZ was part of the orphaned inode list | 23:37 |
Pali | this looks like on maemo is really crap version of e2fsprogs | 23:37 |
kerio | "crap" = old | 23:38 |
Pali | freemangordon: it looks like we need new version of e2fsprogs in cssu... | 23:38 |
kerio | i don't think e2fsprogs has particular library requirements | 23:39 |
kerio | it *might* be as simple as grabbing the latest debian source package and compiling it | 23:39 |
*** Woody14619b has joined #maemo-ssu | 23:51 | |
*** Woody14619a has quit IRC | 23:55 | |
*** dhbiker has quit IRC | 23:55 | |
Pali | kerio: on desktop fsck fixed that dump without any problems (it removed only 10 inodes which was orphaned) | 23:58 |
Pali | should now I dd that dump back to n900 eMMC? | 23:58 |
*** NIN101 has quit IRC | 23:58 | |
kerio | just put the files back | 23:58 |
kerio | make a new fs from the desktop | 23:58 |
Pali | ok | 23:58 |
*** lizardo has quit IRC | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!