/srv/irclogs.ubuntu.com/2009/02/16/#ubuntu-arm.txt

* Tscheesy_ should take a buils-system larger then the atom next time - build is 6h and going on..00:56
Tscheesy_ogra: no success - and not a big log: http://pastebin.ca/133857303:01
ograTscheesy, well, i didnt mean the shell output when i said please keep the log ;) have you kept the actual logfile thats mentioned in the output ?10:46
Tscheesyogra: yes - but in the pastebin is also the last bit of the shell11:44
Tscheesythe logfile only contained : I killed11:45
ograno, it should have the actual output from apt-get above11:45
Tscheesyi guess it's the jaunty-state is braking the b uild11:46
Tscheesyogra: i always got this tiny logfile11:46
ograwell, the actual error is between line 2 and line 6 in your paste ...11:48
ograway above before the stuff you captured11:48
Tscheesyhmm.. really the loggs are all 15byte big.. booting up the build-sys..11:49
Tscheesyline 22-31.. aren't these the packages which are breaking the build?11:50
ograyes, thats apt telling you about the packages it couldnt install ... but the info why they couldnt be installed is at the actual package install moment way above in the log11:51
Tscheesyah now i get you.. way above in the shell output..11:51
ograwhat you showed me is only apt's summary11:51
ograthats why i want the full log :)11:52
ograthe logfile should actually have everything before apt dies11:52
Tscheesyk.. needs's to output the std_out in a file?11:52
ograthe output should be in /home/tscheesy/openmoko/kubuntu/build-arm-rootfs-200902151752.log11:53
Tscheesynope - only this line i mentioned - line 211:53
ograhrm11:53
ograthats a bug in the script then, weird, it should log in parallel11:54
ograand it does that fine here11:54
Tscheesydo i need tto be root? or only sudo skript is enough?11:55
ograsudo is fine11:56
ograhmm, i dont see any issue with the script11:56
ogradid you modify it in any way ?11:57
Tscheesyno - only options when calling it11:57
ograwhat was your commandline (without the password indeed)11:58
Tscheesymom..11:58
Tscheesythis was without specifiing a mirror..sudo ./build-arm-rootfs --fqdn ubuntu --login kubuntu --password kubuntu --imagesize 3G --seed kubuntu-desktop11:59
* ogra does a testrun12:00
ograhmm, logging works fine here12:01
Tscheesyhmm.. has my atom as abuild-sys any influence? - gona test the new atom-Live anyway..12:02
ograah12:03
ogradelete line 207 in the script12:03
Tscheesyyes?12:03
ograit saves the log twice it seems if it dies with an error12:03
ograso it overwrites the existing log with a second one12:04
ograthen you will get a proper log next run12:04
Tscheesyok.. making a new run - after setting up the sstem for a long uptime ;) but i thing kubuntu-jaunty is too instable12:05
ografixed script uploaded12:05
=== ogra is now known as waldorf
=== waldorf is now known as ogra
Tscheesy_ogra: if your interestet.. here's my recent log http://pastebin.ca/1339413 - had a quick look - dependencys..22:36
ograoh, it shouldnt log the panic :)22:36
ograhrm, it cant start hal it seems22:40
Tscheesy_z5834 yes22:42
ograright, i'll do some testing tomorrow ... i will only be around very late tomorrow though22:43
ograthe rest of the errors are just subsequent fallout22:43
Tscheesy_easy - i'll be interestet for hints22:43
Tscheesy_thanks anyway - g'n822:46
rwhitbymorning22:58
* rwhitby leads the nslu2-linux.org project22:59
ograhey rwhitby22:59
rwhitbylool: got your email - ping me when you come online and we can talk about the nslu2-linux.org project sponsoring NSLU2 hardware for the ubuntu-arm effort.22:59
rwhitbyogra: g'day22:59
rwhitbyI must admit I was unaware of the ubuntu-arm effort until the other day - how long has it been underway and where can I see the status?23:00
ograd-i is nearly fully functional ;) still have to solve some preseeding differences between ubuntu and debian23:00
ograwell, we dont have an actual status tracking page, main objective for 9.04 was to get all of the main archive building and have at least a qemu (versatile) and one image that runs on real HW23:01
rwhitbyogra: if there are any outstanding questions about apex, flash layout, etc, feel free to ping me here. I'll add this channel to my bouncer list.  Does anyone object if I drop a logger in the channel (http://logs.nslu2-linux.org/livelogs/) ?23:01
ogra(which currently is the nslu2 )23:01
ograi doubt anyone will object23:02
persiarwhitby, The channel is currently logged to irclogs.ubuntu.com.23:02
ograwhich doesnt mean we mind a second logbot indeed :)23:02
* persia isn't objecting, but pointing out possible duplication of resources23:02
ograbest resource to see the status is probably http://qa.ubuntuwire.com/ftbfs/23:03
rwhitbyogra: who in the project can best use NSLU2 hardware?23:07
ograwell, i have one, lool is surely the best to decide who else should get one23:07
ograwe currently have two devices in the team23:08
rwhitbyhow many core developers are on the team?23:09
persiaHard to answer that one: some people chase down build failures for non-ARM reasons, and most of the people chasing ARM are also chasing other things.23:10
ograwell, the canonical team cosists of five members, i cant tell much about the community, people come and go here ... there are also other teams where it proably makes sense to have the HW for test though23:10
ogra*tests23:10
rwhitbyogra: who is on the canonical team?23:11
ograpersia, StevenK, NCommander, lool and me atm but as i said it extends beyond these people there are many others that actively work on the arm port but only in a specific area23:13
ograi also think the actual canonical team might be well enough equipped, we have access to quite powerful arm HW in the datacenter and to the builder machines, i guess getting HW to the community is more intresting, but on the other hand its hard to name specific people ... ubuntu on arm is still very young23:15
rwhitbyogra: the goal of the nslu2-linux.org project is to get the nslu2 supported by major embedded distributions.  We'd achieved that for OpenEmbedded, Debian, OpenWrt, and now it seems Ubuntu should be the next on the list.23:16
ograwell, we're nearly there ... i'd say i'll have a fully working d-i by end of the week23:17
ograthe next build will work fine but needs a serial console since there are some remaining d-i questions before it kicks off the ssh server23:18
ograeverything beyond d-i is just general packages :)23:18
ograwhich should generally work23:19
rwhitbynod23:19
ogra.. already ...23:19
rwhitbyhow is Ubuntu handling recovery on a headless device like the nslu2?23:20
rwhitby(e.g. when your disk needs an fsck on boot, and you have no serial port to type Ctrl-D on ...)23:20
ograwe have all the debian tools packaged so currently the same way as debian, all docs should apply23:20
rwhitbydebian currently doesn't handle it at all23:20
ograoh, right23:20
ograwell, thats something we can surely attack :)23:21
rwhitbyif your disk has a problem, you can't boot the machine to any level of functionality to debug it23:21
rwhitbyAll other embedded distros for the nslu2 except Debian have a recovery rootfs in flash so you can ssh into that to debug rootfs on disk problems23:21
ograwe have a hacked sulogin already, making that work wiht something like sshd in a special maintnance system from flash might be possible23:22
rwhitbythere is some work going on in debian to have the initrd running openssh or dropbear for recovery purposes.23:23
ograso make a failed fsck reboot immediately and change the cmdline to have something like a "recover" keyword or some such23:23
rwhitbybut it's not in Lenny as far as I know23:23
ograah, yeah, tahts easy to achieve23:24
ograthough it grows your initramfs to a certain size ...23:24
rwhitbythe key thing is that there is 8MB of flash on an nslu2, and after d-i finishes it's work it should install an initrd in there that can do recovery actions on an attached disk23:24
ograprob is ... we're having feature freeze by thursday23:24
rwhitbyah, ok.23:24
rwhitbynext release then.23:25
ograso i fear 9.04 might only have basic install support23:25
rwhitbyBTW, Debian also have an outstanding inefficiency in the way they handle swapping of kernel and initrd.23:25
ograbut we have personal package archives on launchpad ... these can provide extra functionallity so such a feature can be developed out of the release cycle23:25
rwhitbythey chose the wrong way to start, and now they have to swap twice instead of just letting Apex do the work for them.23:25
rwhitbyif you change a single setting in Apex, you no longer need to swap anything when you flash - you can use the built kernel as-is and flash it directly without needing to byteswap it23:26
ograright23:26
rwhitbytrouble is that they had an installed base and couldn't change it.23:27
ograthe prob here is that we sync our packages from debian23:27
rwhitbythis only affects the kernel and initrd flashing - doesn't affect userspace packages at all23:27
rwhitby(i.e. it's still armel)23:27
ograif we would work i.e. with an unswapped kernel, flash-kernel needs changes etc23:27
ograsame goes for d-i23:27
ograand we'd need to build the kernel with different endianess23:28
rwhitbyright - ok, if you want to remain compatible with Debian at that level then you will also need to keep the inefficiency.  It's not a big deal - you just get questions from people who try and write the kernel without swapping it and it fails.23:28
ograsurely something to address ... but a bit to much for 9.04 i think23:28
rwhitbykernel has same endianness - it's just swapped on load by Apex rather than being pre-swapped in flash.23:28
ograno, i'm all for adressing any inefficiency :)23:29
rwhitbyinefficiency is probably the wrong word - it's more just clarity and complexity.23:29
ograbut introducing new deltas means extra work which is rather something for 9.1023:29
rwhitbyif you have units in the field with 9.04 as-is, then it's just too hard to swap the scheme later.23:30
rwhitbyand it's not a real problem anyway, so best just to leave as-is.23:30
ograok23:30
rwhitbyit's transparent to users as long as they use the correct script for flashing23:31
rwhitby(which they have to do anyway due to the 16 byte header and hard-coded ramdisk offset header)23:31
ograwell, its ubuntu ...23:31
ograyou rarely use any scripts manually, we normally try to integrate with the packages23:31
ograor the tools23:32
rwhitbyright - postinst on kernel package23:32
ograi.e. if you upgrade a kernel you wont have to do any manual steps, you just call update manager23:32
ograwell, a bit more than that23:32
ograbut also the kenrel package postinst23:32
rwhitbyfor those reasons, it's all transparent to users.23:32
ograrigh23:32
ograt23:32
rwhitbyso I guess we just need to work out an apex config which gives you the flexibility you need for kernel and initramfs sizes, and is upwardly compatible for Debian if they reflash apex on an existing device.23:33
rwhitbyshouldn't be hard to do if it's just vma address changes23:34
rwhitby(and not flash layout changes)23:34
rwhitbybtw, I maintain the upstream slugimage script, which packs the 8MB image from parts23:34
ograyeah, i had to change the apex VMA default address to 4MiB today ... so it doesnt overwrite parts of the kernel23:34
ograah, cool23:34
rwhitbyso I have intimate knowledge of the nslu2 flash layout, and the tricks in Apex and slugimage needed for > 1MB kernels23:35
ograi'm (though coming from perl) slightly horrified by perl nowadays :)  ... to much python in my life since i work on ubuntu23:35
rwhitbyyeah, if I rewrote it today it would be in python23:36
rwhitby4 years ago I didn't know enough python to write slugimage23:36
ograwell, it spoils you ...23:36
rwhitbyperl was the path of least resistance for a quick hack script which is now in use for over 4 years ...23:37
ograover the years i noticed that i returned to shell and C for stuff i want to be fast23:37
ograand keep python usually for the things that involve guis23:37
ograbut i guess other ubuntu devs work differently ... i have just been burned to often during rewriting ltsp where i have to handle low specced HW a lot23:38
ograand if you realize your thin clients suddenly take 5 mins to boot while they can do the same if you write everything in C within less than a minute you start to praise python less :)23:39
rwhitbyindeed23:40
ograright tool for the right task ;)23:40
ograbtw our kernel uses compcache by default ... so you get 48M by default on the nslu223:41
* rwhitby googles compcache ...23:42
ograits a slightly insane way of providing compressed swap in ram23:43
ograbut it works well :)23:43
ogradespite the insanity of the idea23:43
rwhitbyfreaky.  so what would have been in that RAM anyway is then compressed and stored in that part of the RAM as a swap space instead.23:46
ograright23:47
ograas i said, insane ...23:47
ograbut works23:47
rwhitbyinsanely devious23:47
rwhitby(in a good way)23:47
ograyou can easily add 20-50%23:48

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