#qi-hardware IRC log for Wednesday, 2012-11-07

arossDOTmeI thought a prev sdcard was formatted with ext4 with disable journalling and my NN could read it. Reforted a new sd card as ext4, no journal. NN won't mount it and e2fsck on the nano note complains about the super block. What do I need to do differently?00:22
wpwrakarossDOTme: a general check: is ext4 in /proc/filesystems (on your ben)01:07
pabs3wpwrak: Mali is only semi-open due to reverse engineering: http://limadriver.org/01:23
arossDOTmeoh and  /proc/filesystems didn't exist01:26
wpwrakpabs3: what enabled lima to do successful reverse-engineering while that didn't happen with, say, powervr ? developer interest/skills ? corporate non-hostility ? luck ?01:30
pabs3theres a reversing project for powervr too: http://powervr.gnu.org.ve/01:31
whitequarkwpwrak: my guess is that lima is a pretty straightforward arch01:32
wpwrakarossDOTme: odd. hmm .. all my bens that are in a runnable state run jlime, so in can't check if openwrt really doesn't have /proc/filesystems. is /proc mounted at all ?01:32
whitequark*mali01:32
pabs3powervr re is making some progress too, not as much as lima though: http://listas.gnu.org.ve/pipermail/powervr-devel/2012-October/000054.html01:33
whitequarkthe company behind mali was even bought by arm, and they do tend to have affection for cores of very good quality01:33
whitequarkand afaik powervr was designed by monkeys high on lsd01:33
pabs3anyway, mali/etc is a bit offtopic here :)01:33
whitequarkor something close to that01:33
wpwrakwell, it's always good to know how gfx support is coming along, considering it's still such a pain01:35
whitequarkfolks on #lima are quite responsive01:35
arossDOTme /proc/filesystems exists with my 2GB ext2 card.01:44
arossDOTmebut not with the reformated ext4 32GB one01:44
arossDOTmewpwrak:^01:45
wpwrakarossDOTme: hmm. so your root file system is on SD, not in NAND ? i.e., you're running quite different systems, depending on the card01:50
arossDOTmeno no. Just things like music on the sd card01:51
arossDOTmewpwrak: hmm. perhaps its my stupid brain. umount 2GB card and inserted 32gb.  /proc/filesystems still exists.01:53
wpwrakgood :)01:54
wpwrakand ext4 is listed in /proc/filesystems ?01:54
wpwrak(cat /proc/filesystems)01:55
wpwrak(it's just a list of the file system drivers available in your kernel)01:55
arossDOTmeon the NN: e2fsck says: superblock invaid. trying backups. back magic number in super block while trying to open ...blar blar balr01:56
arossDOTmeno ext4 in /proc/filesystems does have the sd card (mmcb1k0p1)01:58
arossDOTmeremmber reading about /proc/filesystems but I forgets...01:58
arossDOTmeand mount just fails: invalid argument01:59
arossDOTmeoh and it mounts fine on my Trisquel pc install02:02
wpwrakmaybe ext4 is simply not enabled on the system running on your ben. you're using openwrt ?02:03
arossDOTmeyep02:03
wpwrakxiangfu tends to show up around this time. he'll know what is in there and what isn't. (and there's probably a package that would add whatever is missing ;-)02:05
arossDOTmeBut what I don't get is I thought I had used ext4 in the past no problems. maybe it's my fooled brain. Planing to try new NN img vir a bootable sd card. I guess I see what happens then?...02:05
arossDOTmehmm also need to got to bed02:06
arossDOTmeopgk install kmod-fs-ext4?02:08
wpwrakthat module sounds useful, yes02:15
wpwraknot sure what you need to do to get e2fsck with ext402:15
arossDOTmedependency fail02:15
wpwrakalways fun :)02:16
arossDOTme...:kennel02:16
arossDOTmejust line on puppy (gnu?/linux)02:16
arossDOTmeline = like02:16
arossDOTmee2fsck supports ext402:19
arossDOTmeon ubuntu that is02:19
wpwrakyeah, but the one on your ben apparently doesn't02:20
arossDOTme:|02:20
arossDOTmewould a file system in a file do for a test?02:21
wpwraknow we have to wait for someone to show up who knows how this can be remedied. could of course be that ext4 is just disabled in e2fsck on openwrt.02:21
wpwrakto test what ?02:21
wpwrakhah, speak of the devil ;-)02:22
arossDOTmeso a file sonsiting of ext4 fs on working ext2 2gb sdcard and e2fsck the ext4 fs file.02:22
wpwrakxiangfu: arossDOTme is trying to use an ext4 file system on his ben. he ran into two problems: 1) no ext4 in the kernel (and kmod-fs-ext4 has some dependency issue). 2) e2fsck doesn't seem to support ext4.02:23
arossDOTmexiangfu: could you please look in the logs :) thanks02:23
arossDOTmethat was quick02:23
wpwrakxiangfu: things he hasn't told us yet: 1) which version of openwrt exactly he is running; 2) what exactly the dependency issue was (i.e., a complaint from opkg, from insmod, ...)02:24
arossDOTmeI have kenal02:25
arossDOTmeversion num looks the same though02:25
arossDOTme:/02:25
wpwrakarossDOTme: (fs in file) naw, i think for now we can assume your sd card is healthy.02:25
wpwrakmaybe put the dependency error message in a pastebin02:26
arossDOTmehag on02:26
wpwrakwife interrupt ? (-:C02:26
arossDOTmenope just getting to over load of things to do. 3 things in my mem and thats it.02:27
arossDOTmeits also 2:27am02:28
arossDOTmeno wife. only age 17, 18 in dec02:28
xiangfuarossDOTme, we have ext4 in latest kernel. 02:30
arossDOTmeImage_2012-04-0902:30
xiangfuas wpwrak said. which version of openwrt (check by cat /etc/VERSION),02:30
arossDOTme^02:31
xiangfuarossDOTme, Image_2012-04-09, it also have ext4 support. (http://downloads.qi-hardware.com/software/images/NanoNote/Ben/2012-04-09/kernel.config). 02:31
xiangfuarossDOTme, what is the 'dmesg' output when you plug-in the memcard.02:31
arossDOTmenow I cant mount the flippng 2gb card.02:36
arossDOTmedmsg comming up02:36
arossDOTmerebooted now I can mount the 2gb card again.02:38
arossDOTmebtw I see "libpng: read error " on shutdown. don't remmber getting this a few weeks ago. Could it be my os fs is corrupt? can't find doc on fsck /02:43
wpwrakthe 2 gb card is also ext4 ?02:49
wpwrak(you can also check this in /proc/mounts. somewhat hard to read, but it has lots of useful information.)02:49
arossDOTmeno ext202:50
arossDOTmethat was it I remember reading about /proc/mounts not /proc/partitions02:52
arossDOTme2gb ext2 dmsg: http://www.pastebay.net/115345702:53
arossDOTme32gb ext4 dmsg: http://www.pastebay.net/115345802:54
arossDOTmexiangfu: ^02:55
arossDOTmewpwrak: ^02:55
arossDOTmethanks for bearing with me.02:55
arossDOTmeoh dear 3:00 am02:56
wpwrakthe most productive time of that day ;-)02:57
wpwraks/that/the02:57
arossDOTmeoh nice bot02:58
arossDOTmeqi-bot: Who's a good bot? hay? :)02:58
arossDOTme*pats bot on head02:59
arossDOTme:)02:59
xiangfuarossDOTme, the dmesg shows it not mount 32gb card automatically. you can try run 'mkdir -p /mnt/mmcblk0p1; mount /dev/mmcblk0p1 /mnt/mmcblk0p1'03:02
arossDOTmealready tried mounting manual03:03
arossDOTmeI get fail: invalid argument03:04
arossDOTmexiangfu:03:04
wpwrakdmesg ?03:06
arossDOTmenothing03:07
wpwrakhmm03:11
arossDOTmecould you post replys and I will have a look at the logs after sleep. please thanks btw when are you 2 online?03:13
arossDOTmexiangfu: ^03:13
wpwrakin my case, highly variable :)03:16
arossDOTmearr03:17
arossDOTmeany thing before i fall a sleep?03:18
wpwrakmaybe the solution will come to you in your dreams :)03:18
xiangfuarossDOTme, no clue. I guess you can try ext4 on your 2GB cards. when you get up. :)03:19
arossDOTmeso the file system in a file test then...03:19
arossDOTmedon't have to reformat my sd card then he he he03:19
arossDOTmeso how to file system check nand?03:20
arossDOTmethen again might well reformat sd card anyway03:21
arossDOTmebye bye03:23
qi-bot[commit] Xiangfu: add xc6slx9-csg324 base on ftg256 (master) http://qi-hw.com/p/kicad-libs/aa255fb04:06
qi-bot[commit] Xiangfu: add .gitignore (master) http://qi-hw.com/p/kicad-libs/3b75cfe04:06
qi-bot[commit] Xiangfu: xc6slx9-csg324: add power/gnd pins (master) http://qi-hw.com/p/kicad-libs/e99a94706:25
qi-bot[commit] Xiangfu: xc6slx9-csg324: add dedicate pins (jtag etc) (master) http://qi-hw.com/p/kicad-libs/1c0318506:34
qi-bot[commit] Xiangfu: xc6slx9-csg324: add all other pins (master) http://qi-hw.com/p/kicad-libs/2dd276807:40
qi-bot[commit] Xiangfu: xc6slx9-csg324: fix the P13 pin label (master) http://qi-hw.com/p/kicad-libs/4d435f308:01
Action: jluis_ at open source hardware keynote alt elce201208:33
qi-botThe build was successful: http://fidelio.qi-hardware.com/~xiangfu/build-nanonote/openwrt-xburst.minimal-20121106-0606 14:50
arossDOTmeoh forgot to ask did the partition table matter?15:10
arossDOTmeThe 2gb sdcard formatted ext4 mounts!16:26
arossDOTmethe working ext4 sd card have a msdos partition table. the 32gb card that does not work has a gpt partition table.16:42
arossDOTmewpwrak:^16:43
arossDOTmexiangfu: ^16:43
kristianpaulah gpt, i had issues with that on my laptop... bios dint liked it i guess16:45
arossDOTmethe sd card is fine on my pc16:46
arossDOTmeyou might what to see the wed 7 nov irc log for background info.16:47
viricthere is a kernel setting for gpt partition tables iirc16:48
arossDOTmedon't know. lacking knowage. be back in 30mins. doy needs a walk.16:49
virichm now I think I'm wrong16:53
--- Thu Nov 8 201200:00

Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!