/srv/irclogs.ubuntu.com/2015/09/09/#snappy.txt

=== bigcat is now known as kengyu
=== kengyu is now known as bigcat
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== guest42315 is now known as o
=== o is now known as Guest30312
=== kickinz1\afk is now known as kickinz1
=== chihchun_afk is now known as chihchun
fgimenezgood morning07:08
dholbachgood morning07:27
JamesTaitGood morning all; happy Wonderful Weirdos Day! 😝08:30
=== greyback|eod is now known as greyback
fgimenezhi Chipaca, can you please take a look at https://code.launchpad.net/~fgimenez/snappy/comment-rc-local-crash-test/+merge/270485 ?08:54
* Chipaca looks08:55
Chipacafgimenez: ouch08:56
fgimenezChipaca, yep :) commenting it again should be enough by now08:58
fgimenezChipaca, thx, trying elopio's serve_daemon_test now09:03
Chipacawily edge update just jammed with “[    7.021077] FAT-fs (sda2): IO charset iso8859-1 not found”10:05
Chipaca(dunno if that's what jammed it, but that's the last thing on console)10:08
ogra_ppisati, ^^^^ i thought we compile that in nowadays ?10:08
ppisatiChipaca: BBB?10:45
Chipacappisati: kvm10:45
Chipacaamd6410:45
ppisatiand why the kernel can't load the module?10:46
ppisatiChipaca: ^10:46
Chipacappisati: how would i know? :)10:47
Chipacait might be a download problem though10:47
Chipacaas now it seems to be working, modulo the space problem10:48
Chipacawhich is strange -- it should notice the download failed and not try to run with it10:48
ppisatiChipaca: ls -la /lib/modules/`uname -r` - you get something, right?10:48
mvo_Chipaca: reviewing your branch right now and just noticed the backlog, is this a fresh image or a upgrade?10:50
Chipacappisati: I got the error twice in a row (that is: booted an image from yesterday with -snapshot, sudo snappy update succeeded, got the error above on reboot), but now i'm getting a different error10:50
Chipacappisati: i'll answer your question in a moment though10:50
Chipacamvo_: upgrade10:50
mvo_Chipaca: anything unusual in the upgrade, i.e. out-of-space on boot or something like this10:51
* ppisati -> out for lunch, biab10:52
Chipacanope10:54
Chipacawell10:55
mvo_Chipaca: hrm, thats alarming10:55
mvo_Chipaca: what is the new error you get?10:55
Chipacaright now I *do* get the out-of-space error10:55
Chipacabecause it's still creating the versioned boot files10:55
Chipacahowever it didn't happen when i then went on to get the other10:55
Chipacahence why i suspect it's a download problem (or perhaps something else, but resulting in an empty or smaller initrd)10:55
ogra_currently the module (if it isnt compiled in) should live in the initrd10:55
Chipacadoes that make sense?10:56
ogra_so you should get it loaded in any case ... unless your initrd didnt get loaded10:56
Chipacanow rebooting after doing the upgrade dance (which involves cleaning up /boot/b before upgrade, and then moving the versioned boot files to their unversioned place)10:56
ogra_do you have a full boot log/dmesg output ?10:56
Chipacaand it booted fine10:56
Chipacafrom when it failed?10:57
Chipacaas it happens, i do10:57
ogra_i guess it loaded the wrong initrd or no initrd at all10:57
mvo_Chipaca: hm, I think it just failed to load the right inird.img, i.e. syncbootfiles copied the old one and the new (and correct) one was not renamed by the upgrade. I though I pushed a branch with a fix for this a while ago10:57
Chipacaogra_: mvo_: http://pastebin.ubuntu.com/12320079/10:58
mvo_it will be a glorious day when we get rid of syncbootfiles10:58
mvo_hopefuly soon10:58
ogra_hmm, it definitely loads an initrd there10:59
ogra_doesnt seem corupt either10:59
mvo_it could just be the old one11:02
ogra_Chipaca, so i guess it simply loaded the wrong initrd ...11:02
ogra_did it properly reboot after the error ?11:02
Chipacano, stuck there11:03
ogra_that should definitely not happen indeed11:03
ogra_i guess we'd need to teach systemd to panic in such a moment11:03
Chipaca"systemd now eats kernel panic generator"11:04
ogra_heh11:04
ogra_hmm11:04
ogra_[    0.000000] Command line: BOOT_IMAGE=(hd0,gpt2)/EFI/ubuntu/grub/a/vmlinuz root=LABEL=system-a ro init=/lib/systemd/systemd console=ttyS0 console=tty1 panic=-111:04
ogra_[    0.000000] KERNEL supported cpus:11:04
ogra_shouldnt there be an initrd on the line as well11:04
Chipacaogra_: apparently not11:09
ogra_grub.cfg doesnt set it by default ?11:09
Chipacait does have an initrd stanza11:09
Chipacabut the cmdline doesn't mention it -- even on a successfully booted image11:10
ogra_ok11:10
ogra_well, it finds one ... so we're fine ... as long as it is the right one11:10
ogra_in any case the system shouldnt hang in such situations but reboot back into the other partition11:11
Chipacamvo_: replied to your comments11:18
mvo_Chipaca: heh, looks like we should include the link to gustavos blog post as a comment when tomb is included :)11:21
mvo_Chipaca: thanks for the reply! lets wait with the top-approve until the dependencies are there, I will have a look after lunch11:22
Chipacamvo_: mucho thank you11:22
Chipacamvo_: wrt tomb, the blogpost is referenced from the package documentation which is in the standard place :)11:22
mvo_Chipaca: uh, ok. lalalala11:24
Chipacaadded a nice long comment to the api checker test11:24
ogra_hmm11:53
ogra_do we have the ability to have a snap ship services and not start them by default ? (thinking of a snap that will come with default config we not necessarily want to run before it is configured)11:54
ogra_(beyond hacking something in via snappy config)11:55
ogra_mvo_, is there a reason that the wily versions of packages are uploaded in parallel in the image build PPA ?11:56
ogra_(vs just using the archive)11:56
mvo_ogra_: the turnaround time of the ppa is better than the archive, thats the only reason12:00
ogra_ah, k12:00
ogra_no general policy or some such12:00
mvo_no, just me being impatient12:00
sergiusensmvo_, did you do a release of snappy into wily?12:14
* sergiusens wants to rebuild u-d-f with it12:14
mvo_sergiusens: not yet, can do so in a bit12:15
sergiusensmvo_, sounds good12:15
mvo_sergiusens: uploaded12:31
Chipacatests pass \o/12:37
Chipaca~> lunch12:37
ogra_grmbl ... the out of space thing is really annoying12:37
* ogra_ spent the last 30min trying to update his rolling image 12:38
* ogra_ sees a plano-amd64 package announced by the store to G+12:43
Chipacaogra_: it's easy to update rolling!12:43
Chipacaogra_: first, determine whether the next one will be a or b12:43
ogra_Chipaca, until it tells you there is no space for the kernel/initrd :P12:43
Chipacaogra_: then, rm a-or-b/initrd.img* a-or-b/vmlinuz*12:44
Chipacaogra_: then, update12:44
Chipacaogra_: then, mv initrd and vmlinuz to be versionless12:44
Chipacaogra_: easy peasy12:44
ogra_yeah, i mv'ed them to the generic ones12:44
ogra_this time :P12:44
ogra_but it took a few attempts12:45
ogra_(and it is super annoying that it downloads the rootfs every time )12:45
ogra_(we might have devices that only use GSM for networking ... might take them a week to download :P )12:46
ogra_heh12:46
* ogra_ notes that rickspencer3 found out that devicetree sucks 12:46
rickspencer3omg12:46
rickspencer3please, someone, fix this for me!12:46
* Chipaca hides12:46
ogra_i doubt it is fixable12:46
ogra_it is the alternative to compile your own kernel for each and every use-case12:47
mvo_ogra_: the fix went in yesterday it seems, so sorry, hopefully the last time12:47
ogra_mvo_, yeah12:47
sergiusensrickspencer3, just noticed I replied privately12:47
rickspencer3sergiusens, I assumed that was so you didn't embarrass my because my question was so silly12:48
rickspencer3:)12:48
Chipacathe last time i answered that kind of plea from rick i spent three months crunching numbers for academia12:48
ogra_rickspencer3, its not silly, but likely not solvable easily12:48
sergiusensrickspencer3, nah, I haven't installed a proper email client yet :-P12:48
rickspencer3really? we can't just make a custom overlay to include by default in the image?12:49
mvo_sergiusens: mutt is small12:49
ogra_rickspencer3, we could, but then people would have to remove it before loading theirs12:50
ogra_the usage of the setup is usually mutually exclusive12:50
rickspencer3that doesn't seem too bad12:50
rickspencer3right12:50
rickspencer3maybe we could have one image set up nicely for hackers12:50
ogra_and typically on a BBB you dont have any cape config by default for a generic image12:50
rickspencer3and then you take a different image if you want to do an overlay12:50
rickspencer3maybe we make an image that is on rolling and has the pins laid out for hacking12:51
ogra_i'm also not sure how far we are with capemgr support in our kernel12:51
ogra_ppisati, ?12:51
rickspencer3well, not being able use pwm is a killer for a lot of applications12:51
rickspencer3I have a multi-colored led, for example12:51
ogra_rickspencer3, you need to create your own oem snap anyway if you use any cap currently12:51
rickspencer3not to mention the servo12:51
ogra_*cape12:51
rickspencer3ogra_, well, these aren't capes, these are jumper cables and pieces12:52
rickspencer3on a breadboard12:52
ogra_they use the cape interface12:52
rickspencer3right12:52
rickspencer3so, maybe we make a "breadboard" image, that is set up like I said?12:52
rickspencer3a list of digital pins, a list of pwms, etc...12:53
ogra_well, your setup for the breadboard might completely differ from my setup ...12:53
ogra_while you use a servo and emit the right voltage/current, i might want to run a relais on the very same pin12:53
sergiusensright, pinouts can be completely different12:53
ogra_with a totally different voltage and curremt12:53
rickspencer3so?12:54
rickspencer3there are like 60 pins12:54
rickspencer3certainly there is a more sensible default than "nothing works"12:54
ogra_you would potentially blow up my HW with your cape setup12:54
ogra_this is like serial ports ...12:54
rickspencer3I find it strange that every other board seems to have a sensible set of default pins where I can use my gizmos12:54
rickspencer3but it's not possible on bbb?12:54
rickspencer3that doesn't ring true12:55
sergiusensogra_, we could arguably create an alterante oem snap configured with a pinout that has a couple of everything12:55
ogra_while you coould make it default to be a mouse port ... there might be 3D controllers for $$$$$$$ that blow up completely if you attach it to such a port12:55
rickspencer3right12:55
ogra_so setting a default for that pinout can be very dangerous12:55
rickspencer3but, I am just talking about saying that hackers can use their breadboards without having to do this complicated overlay stuff12:55
rickspencer3ogra_, again, that sounds specious12:55
ogra_but they cant12:55
ogra_they could only use exactly your setup12:55
ogra_not theirs12:55
rickspencer3right12:55
rickspencer3but that set up for most people hacking with breadboards would be fine, right?12:56
rickspencer3what do they need?12:56
rickspencer3some digital pins12:56
rickspencer3some pwms12:56
ogra_especially for a breadboard that seems suboptimal12:56
Chipacamvo_: E: golang-snappy-dev: arch-independent-package-contains-binary-or-object usr/bin/xgettext-go12:56
rickspencer3some analog ins12:56
ogra_since a breadboard is 100% freely usable/configurable12:56
rickspencer3sure, but most people just need a few pins to work12:56
rickspencer3if the hacker knew which 10 digitial pins will work, which 4 pwms will work, etc...12:57
rickspencer3then they could do most stuff12:57
ogra_right, they would need an overlay then ... and we should make it easier to use them, no doubt12:57
ogra_but we shouldnt ship a default overlay that potentially blows up stuff12:57
mvo_Chipaca: oh, that needs fixing, we should probably simply not install that at all, I wonder why its in the package12:58
mvo_Chipaca: I can do a seperate branch for this12:58
ricmmthis is my original spec for kernel and gadget snap12:58
rickspencer3ricmm, do you think what I am proposing is going to blow stuff up?12:58
ogra_ricmm, right, is anything left from that ?12:59
ricmmogra_: ashes12:59
rickspencer3It just seems simple that we make an image that "works"12:59
ricmmrickspencer3: if there is pin multiplexing involved, we cant have generic usage of pins12:59
Chipacamvo_: k :)12:59
ricmmsomething will get fried, a garage door might crush a kid, someone might get sued12:59
Chipacamvo_: anyway, top-approvernated12:59
ricmmChipaca: you mean happrovernated12:59
ricmmmiissing an h13:00
rickspencer3ricmm, then how come other boards have that?13:00
rickspencer3for example, on Arduino, the pins are the pins13:00
rickspencer3I plug stuff into the right pins, and good to go13:00
ricmmrickspencer3: that is because on arduino there is no pin multiplexing for other physical wire protocols13:00
ricmmthey are all 5V TTL GPIO13:01
ricmmsergiusens: mvo_ ogra_ call time13:01
mvo_ricmm: I'm in the hangout13:01
sergiusensricmm, what a pain :-P13:01
rickspencer3hmmm, it still seems to me that we could roll and image that "works" and document what the pins are13:01
ogra_rickspencer3, oops13:02
ogra_err13:02
ogra_ricmm,13:02
* ogra_ moves to office, sorry 13:02
=== fionnan_ is now known as fionnan
yashi_hmm..., when an amd64 snappy image created with u-d-f does not boot with qemu, where should I look?13:05
Guest30312uh new toy https://uappexplorer.com/app/plano-amd64.canonical13:06
ChipacaGuest30312: you forgot to set your nick :)13:19
Guest30312Chipaca, this is my nick :))13:20
ogra_yashi_, how does it not boot ?13:20
ogra_(errors etc ? )13:20
=== Guest30312 is now known as o
ooOoOOo13:21
=== o is now known as Guest81846
yashi_ogra_: no errors, cpu temp up, no output.  I must have done something wrong.13:22
yashi_ogra_: it should work with qemu, right?13:23
ogra_well, it definitely works with kvm here13:24
yashi_something like: qemu-system-x86_64 -enable-kvm -m 512 my.img13:24
ogra_kvm -m 512 -redir :8022::22 my.img13:25
ogra_thats what i use13:26
yashi_ogra_: yeah, that's a wrapper provided by qemu-kvm; just oneliner to wrap qemu-system...13:27
yashi_in fact, the official image of amd64 I downloaded from ubuntu is working fine13:27
yashi_I just can't re-create it here on wily13:28
Chipacamvo_: seems we need to throw some packages at tarmac13:55
mvo_Chipaca: yeah, elopio or fgimenez can probably help, I have the info how to access tarmac somewhere too but already forgot where :/13:57
fgimenezmvo_, Chipaca np, the ip is in the trello board https://trello.com/c/nFPZb4AL/192-automated-testing-and-continuous-integration13:59
fgimenezyou should be able to ssh, let me know if not13:59
mvo_fgimenez: neat14:02
ogra_mvo_, so my rolling image finally upgraded ... i see watchdog installed but i dont see any systemd units created for it14:04
ogra_(there is a sysvinit script)14:05
ogra_pitti, do i need to do anything spethial to trigger the generator ?14:05
pittiogra_: generators are called at boot and with systemctl daemon-reload14:05
ogra_hmm, calling systemctl daemon-reload ... and then systemctl|grep watch doesnt return anything14:07
ogra_same goes for the ppp-dns sysvinit script14:07
ogra_would it be named the same in systemctl ? (or at least contain the old sysvinit name ?)14:08
* ogra_ is a bit lost here 14:10
ogra_pitti, would the generator  print anything in syslog ?14:15
pittisystemctl | grep watch? you mean "sudo journalctl -f" perhaps?14:15
pittiogra_: most generators don't, unless you enable debugging14:16
pittisystemd-analyze set-log-level debug14:16
ogra_no, i mean systemctl |grep watch ... to find athe unit for watchdog14:16
ogra_ok,, that prints more into syslog ... still no trace of watchdog though14:17
ogra_Sep  9 14:17:10 localhost systemd[1]: Looking for SysV init scripts in:14:18
ogra_Sep  9 14:17:10 localhost systemd[1]: #011/etc/init.d14:18
ogra_nothing else14:18
ogra_i see /etc/rc2.d/S03watchdog when looking in the dirs14:19
* ogra_ sighs14:24
ogra_does the sysvinit job need a special format or something to be picked up ?14:26
pittiogra_: sorry, no context -- what do you actually try to do? you have your own generator, or look at the sysv one?14:26
ogra_pitti, i added a new package to the readonly rootfs ... it has a sysvinit job14:26
pittiogra_: not really, just an LSB header; if you want you can run the gnerator manually (even as user), to see what it does14:26
ogra_namely the watchdog package14:26
ogra_as i understand systemd should generate a unit for it on first boot ... but it doesnt seem to14:27
pittimkdir /tmp/x; SYSTEMD_LOG_LEVEL=debug /lib/systemd/system-generators/systemd-sysv-generator /tmp/x /tmp/x /tmp/x14:27
pittiogra_: right, as long as it's enabled and has some working LSB header it should work14:28
ogra_Ignoring S03watchdog symlink in rc2.d, not generating watchdog.service.14:29
ogra_aha14:29
ogra_oh14:30
pittiogra_: is there maybe already a watchdog.service?14:30
ogra_Native unit for watchdog.service already exists, skipping14:30
ogra_Native unit for pppd-dns.service already exists, skipping14:30
pitti:)14:30
ogra_so why doesnt systemctl list it then ?14:30
pittiperhaps it's not running? it should be in "systemctl --all" at least, is it not?14:31
pittior systemctl status watchdog14:31
ogra_(amd64)ubuntu@localhost:~$ sudo systemctl start watchdog14:32
ogra_(amd64)ubuntu@localhost:~$ ps ax|grep watchdog14:32
ogra_...14:32
ogra_ 1001 ?        SLs    0:00 /usr/sbin/watchdog14:32
ogra_...14:32
ogra_all good it seems14:32
ogra_after i start it manually14:32
ogra_pitti, thanks !14:32
pittiogra_: ok, so what whas the root of the confusion here? the already existing native job?14:32
ogra_no, that i missed --all apparently :P14:33
pittiah, ok14:33
ogra_systemctl --all |grep watchdog lists it just fine14:33
ogra_hmm14:36
ogra_watchdog doesnt start automatically though ... even though it is enabled in /etc/default/watchdog14:36
ogra_Sep 09 14:37:01 localhost.localdomain systemd[1]: [/lib/systemd/system/watchdog.service:10] Unbalanced quoting in command line, ignoring: "/bin/sh -c '[ -z "${watchdog_module}" ] || [ "${watchdog_module}" = "none" ] || /sbin/modprobe $watchdog_module"14:37
ogra_hmm14:37
ogra_yeah, /lib/systemd/system/watchdog.service has cleraly messed up qquoting14:41
ogra_http://paste.ubuntu.com/12321213/14:41
ogra_now it would be good to know where systemd gets that line from14:43
ogra_it is definitely not just copying it from the sysvinit script14:43
ogra_pitti, that smells a bit like a bug in the generator14:44
ogra_the sysvinit script has : [ "${watchdog_module:-none}" != "none" ] && /sbin/modprobe $watchdog_module14:44
ogra_the generate seems to turn that into:14:45
ogra_ExecStartPre=/bin/sh -c '[ -z "${watchdog_module}" ] || [ "${watchdog_module}" = "none" ] || /sbin/modprobe $watchdog_module14:45
sergiusensmvo_, https://code.launchpad.net/~sergiusens/goget-ubuntu-touch/modprobe/+merge/27054514:45
Chipacamvo_: what ubuntu is tarmac running in? :-/14:45
ogra_(note the missing single quote ...)14:45
sergiusensChipaca, a cloud one; but fgimenez is the right person to ask ;-)14:45
Chipacafgimenez: ^14:45
Chipacabecause it's got a go that doesn't have os.Unsetenv14:46
Chipacaum14:46
Chipacamvo_: and that's the main difference between stgraber's activation and the coreos one, i guess14:46
ogra_ricmm, so with the above watchdog will never auto-start ... i can run it manually though, do you think thats ok for now ?14:47
stgraberChipaca: right, the only difference is mine works with Go 1.314:48
Chipacastgraber: and that's what's in 15.04, right?14:48
Chipacastgraber: we're so far mostly building from golang-*-dev instead of vendoring14:49
stgraberChipaca: correct14:49
Chipacaanyway. big sigh. :)14:49
Chipacamvo_: so we need to switch back to stgraber's, or ship go 1.5 to 15.0414:49
stgraberChipaca: we briefly tried using golang-*-dev, then noticed that to be able to build we'd have to update a whole bunch of them which would break docker as it was requiring an older version of some of them... I don't see this model working until the Go community learns to version their APIs and that seems difficult for those guys :(14:50
ricmmogra_: that is ok14:50
ogra_ok ... still, there is a bug somewhere indeed14:51
ricmmogra_: if its not autostarting, we can just ask them to use a config file14:51
stgraberChipaca: if you've got a packaged version of upstream go-systemd, you can also just cherry-pick my change on top of that, it's tiny.14:51
Chipacastgraber: a large chunk of github seems to ignore the idea of versioning entirely14:51
ogra_seems the generator tries to be clever with shell script ... and isnt14:51
fgimenezChipaca, sergiusens i think elopio set up tarmac, he can confirm14:52
Chipacafgimenez: 's ok, 15.04 is already too old for what my question was14:52
stgraberoh, also, since we're talking Go and snappy. I seem to remember seeing you guys using go-gettext too. How are you extracting your strings?14:54
stgraberthere isn't a go xgettext filter that I know of, I believe for LXD we're using the c++ one but it's not picking up some multi-line strings which makes it less than ideal14:54
Chipacastgraber: ooooh!14:55
Chipacastgraber: we wrote our own xgettext14:55
Chipacastgraber: mvo_ did in fact14:55
Chipacamvo_: see? we should totally package that binary :)14:55
stgraberany pointer to that xgettext? We totally need it!14:56
mvo_Chipaca: uh, hrrrm14:56
Chipacastgraber: http://bazaar.launchpad.net/~snappy-dev/snappy/snappy/files/head:/i18n/xgettext-go/14:56
stgrabernice!14:56
mvo_Chipaca: I send a pull-request to the upstream go-gettext guys14:56
mvo_Chipaca: I had hoped it would be adopted there14:57
mvo_stgraber: happy to package it on its own if its useful for you14:57
Chipacamvo_: any response?14:57
mvo_I will ping upstream again14:57
mvo_no :(14:57
mvo_not even a "we hate you"14:57
mvo_(or your code, but isn't that the same ;)14:57
ogra_pitti, do you want a bug for the above ?14:57
stgrabermvo_: that'd probably be useful at some point, until then I can change our makefile to just go get it from your branch14:57
Chipacaoh man, sometimes it's hard to remember that no, it isn't the same :)14:58
mvo_Chipaca: what are you talking about, it's not the same ?!?!?!14:58
pittiogra_: re14:58
ogra_ah, you were out14:58
pittiogra_: please, with the original sysvinit script to reproduce14:58
pittiogra_: yeah, mowing the lawn14:58
ogra_yep, will add that .... and the unit it generated14:58
ogra_hah, i got that ahead too today :)14:59
pittiogra_: if it's not just a copy&paste error when someone created /lib/systemd/system/watchdog.service :)14:59
ogra_"brothers in mow"14:59
* pitti ^5s ogra_14:59
* ogra_ ^5s back14:59
ogra_pitti, i didnt touch it ... all automatic14:59
ogra_but i re-ran the generator manually when digging14:59
ogra_(as you know)15:00
pittiogra_: right, but that didn't rewrite it because it was already there in /lib15:00
ogra_yeah15:00
davmor2ogra_: is this how you ^5 backs? https://xrixterweb.wordpress.com/2013/04/07/ncis-the-agent-gibbs-slapgif-images/15:02
pittidavmor2: oh gawd, you read too much internet! :-)15:04
davmor2pitti: :)15:05
davmor2pitti: also only the bits you can make fun :)15:10
pittioh crap, missed the 17:00 confcall for Anand's  presentation15:10
pittiwill that be recorded?15:10
Chipacaogra_: http://www.jann.cc/2013/02/02/linux_watchdog.html has things form a guy using a hardware watchdog under systemd15:24
zygaChipaca, ogra_: what are your plans for the watchdog?15:24
davmor2pitti: 17:00 your time or UTC15:26
pittidavmor2: mine15:27
pittii. e. 1500 UTC15:27
davmor2pitti: nevermind then :)15:27
ogra_zyga, no plans15:28
ogra_we need to include it and it needs to work ... thats all15:28
=== chihchun is now known as chihchun_afk
rickspencer3hey, is pwm supported by snappy on raspberry pi 2?15:58
elopioChipaca: still having problems with tarmac?15:58
ogra_rickspencer3, perhaps not /me cant tell ... i2c was the main focus fro 15.04.215:59
rickspencer3ug15:59
rickspencer3no servos for Rick15:59
ogra_did you try ?15:59
ogra_perhaps it works16:00
ogra_there was just no specific focus to that ... main focus was making dtb overlays loadable at all and i2c16:00
davmor2rickspencer3: not after the moon on a stick again are you ;)16:00
rickspencer3ogra_, I did try, yes16:00
Chipacaelopio: my problems are not with tarmac :)16:00
rickspencer3and I got this ... panic: gpio: pwm not supported on this host16:00
rickspencer3at least I got a normal GPIO pin to work ;)16:01
ogra_rickspencer3, might be thats missing in the kernel then16:02
ogra_ask ppisati16:02
rickspencer3ppisati, can I do pwm on rpi2?16:03
rickspencer3with snappy, of course ;)16:03
ogra_i dont see any special option in config.txt that would switch it on/off16:03
fgimenezelopio, i've added the card about splitting the common package16:03
ogra_only some tuning option16:03
ppisatirickspencer3: what did you do to get a "panic: gpio: pwm not supported on this host"?16:04
rickspencer3ppisati, I run code from the embd library16:05
rickspencer3also, I note that there is no "pwm" under /sys/class16:05
rickspencer3so I can't do it manually16:05
ogra_ppisati, http://lwn.net/Articles/596188/16:05
ogra_seems thats the driver16:06
ppisatirickspencer3: oh, it's the app then16:06
fgimenezelopio, i've added another about writing godoc comments for generating the integration tests documentation, what do you thing about that?16:06
rickspencer3ppisati, right, it's not kernel panic, if that's what you mean16:06
rickspencer3it's a Go panic16:06
ppisatirickspencer3: everytime i see the word "panic" i attach it to the kernel16:07
rickspencer3ppisati, here is the code16:07
ogra_and i dont see /sys/class/rpi-pwm on my 15.04.2 install16:07
rickspencer3https://github.com/kidoman/embd/blob/master/samples/servo.go16:07
ogra_which should be the respective sysfs node16:07
ppisatiright16:07
ppisatiPWM is off in 3.19, i just checkd the config16:08
elopiofgimenez: thanks. I think it will be nice. I tend to hate docs, but will give this a try, is probably worth it :)16:08
ppisatii'll fix it and push a new kernel16:08
ogra_ppisati, thanks16:08
ogra_rickspencer3, so 15.04.3 will have it :)16:08
* ppisati goes to pick up the car from the garage16:10
fgimenezelopio, ok, leaving, see you tomorrow16:13
fgimeneznice evening everyone o/16:13
=== greyback is now known as greyback|eod
Chipacaok, off to a parents' evening. Will bb(m)l.16:56
sergiusensmvo_, here's another one https://code.launchpad.net/~sergiusens/goget-ubuntu-touch/modprobe-orig-files/+merge/27057918:45
sergiusens:-)18:45
stgrabermvo_: hey, what am I doing wrong? http://paste.ubuntu.com/12322788/18:52
stgrabermvo_: seems to fail on a particular file for some reason18:55
elopiosergiusens: where do I get this?18:56
elopiopkg-checkbuilddeps: Unmet build dependencies: golang-uboot-go-dev18:56
stgrabermvo_: nevermind, it's our existing multi-line trick which fails, I'll just fix all of those to use the proper multi-line syntax instead18:57
mvo_stgraber: if you could mail me the failing file I will inspect and fix tomorrow morning18:58
mvo_sergiusens: I look at your two branches now18:59
stgrabermvo_: the syntax which fails is string concatenation, e.g.:19:05
stgrabergettext.Gettext("abc\n" +19:05
stgraber"def\n")19:05
stgraberwhich was our workaround to get the c++ xgettext parser to extract most of our strings19:05
stgrabermvo_: also, your parser does extract all the strings, yay! but the produced gettext template looks odd, as in, I get literal \n in there rather than proper line breaks, is that expected?19:06
mvo_stgraber: sort of, I was relying on LP to make it look nice, but thats certainly something I can fix too19:06
mvo_stgraber: I will make a not about it (plus a note about the string concat) and look into fixing it tomorrow morning19:07
mvo_sergiusens: https://code.launchpad.net/~sergiusens/goget-ubuntu-touch/modprobe-orig-files/+merge/270579 I thought transitional would do a "merge" of original and writable path, am I misrembering this?19:09
stgrabermvo_: awesome, thanks so much for that tool, it's going to make our use of getext useful at last!19:09
mvo_stgraber: yay, happy to hear that19:10
sergiusensmvo_, it does, but for that to work I need to write the modprobe.d file directly to system-a (instead of writable)19:10
mvo_sergiusens: oh, ok19:10
sergiusensmvo_, IOW, if the dir on writable exists, the transition is considered done19:10
mvo_sergiusens: makes sense19:10
sergiusensmvo_, I forgot about that too :-/19:10
sergiusensmvo_, in any case we may not want to do this at all in the future19:13
stgrabermvo_: another small bug, if a string contains a ", your tool doesn't escape it19:30
stgrabermvo_: that leads to an invalid pot file19:30
mvo_stgraber: thanks19:30
mvo_that one at least is easy19:30
mvo_:)19:30
stgraber:)19:31
mvo_stgraber: lp:~mvo/snappy/snappy-gettext-fixes should contain the fixes, please let me know by mail if you notice any regression(s)20:38

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