/srv/irclogs.ubuntu.com/2008/11/06/#ubuntu-devel.txt

RAOFjordi: The pkg-config madness was, from memory, because configure would pick up on the native-arch pkg-config files for the biarch build - even when there weren't actually any biarch libs for those, which would cause linking to fail.00:02
=== asac_ is now known as asac
jordiRAOF: hm, pulse plugin which is probably the most interesting one wasn't built in the 64bit version00:21
RAOFjordi: Is libpulse in amd64-libs?  If so, the magic *should* pick it up.00:29
* RAOF actually looks at the filelist of amd64-libs00:31
NCommanderhey TheMuso00:32
RAOFjordi: If http://packages.debian.org/sid/i386/amd64-libs/filelist is accurate, then it's not much of a surprise that the pulse plugin wasn't built!00:32
TheMusoHey NCommander .00:44
NCommanderTheMuso, how goes it?00:44
TheMusoNCommander: Well thanks. Yourself?00:44
* NCommander is determining how print-architecture works in dpkg00:44
NCommanderTheMuso, not bad. I have dpkg running on Gentoo ;-)00:44
TheMusohaha00:53
NCommanderand now APT00:53
NCommander:-)00:53
ajmitchI wouldn't think they'd be hard to run on gentoo00:54
NCommanderYou'd be suprised00:54
NCommanderThere is a circular dependency00:54
NCommanderdpkg depends on itself to determine build information00:54
NCommander(else dpkg --print-architecture and a whole lot of other things don't work right)00:54
ajmitchso yay, you just installed dpkg & apt, now you have another debian-like system00:55
=== Vienna is now known as Vienna-Away
NCommanderajmitch, sorta, I'm rebootstrapping amd6401:08
StevenKNCommander: We did that already so you don't have to.01:09
NCommanderStevenK, with everything as position independent exectuables ;-)?01:10
zulok why?01:11
StevenKzul: Because NCommander has a lot of spare time, apparently.01:12
zulStevenK: well good for him then01:12
NCommanderHaving the archive exist as PIEd executables will allow us to intact address space randomization01:12
NCommanderOr in other words, it would be near impossible to execute a stack smash or return-to-libc attack01:13
RAOFNCommander: What's the performance impact on ia32 like?01:21
NCommanderBad01:22
NCommander10-15% I think01:22
NCommanderAnd no real improvement to security01:22
NCommanderDue to the small address space01:22
NCommanderHence why ASR is only sane on 64-bit architectures01:22
RAOFThe address space is still _pretty_ big, isn't it?01:22
NCommanderIts been proven it can be brute forced extremely quickly01:22
NCommanderSOmething like 10 hours01:22
RAOFFair enough.01:23
=== Pici` is now known as Pici
mrooneybryce: what is an EPR, re the fglrx r3xx bug?02:25
bryceEngineering Problem Reports02:26
mrooneybryce: hm, I see, so where is the report that it corresponds to?02:28
brycemrooney: it is in AMD's internal bug tracker02:35
dcolishAny update-manager developers?04:54
ScottKAlmost certainly sleeping.04:54
dcolishah, well I wanted to try and understand some of the reasoning behind recent changes to update-manager and why it's reconfiguring my xorg. Can't seem to find anything clear on launchpad04:56
wgrantdcolish: You mean its commenting-out of inputdevices?04:56
dcolishyup, I mean I understand that HAL is supposed to be doing that work with the new autoconfig, but why when I make local changes does it not honor those?04:57
wgrantBecause you should be using fdi files.04:57
wgrantSee https://wiki.ubuntu.com/X/Config/Input04:58
wgrantSpeicifically https://wiki.ubuntu.com/X/Config/Input#hal04:58
dcolishI see, maybe a link in the xorgs would be helpful for overrides. I might never have found that link and I've been doing a bunch of support help on the xubuntu channel05:00
dcolishA link to that page05:00
wgrantThat's a good point.05:01
wgrantBut mvo doesn't seem to be around yet.05:01
dcolishLet me see if I can find the project in launchpad. I'll try and add a note there05:02
pittiGood morning07:00
Hobbseepitti!!!!!07:01
pittiinfinity: erm, isn't it exactly the other way around? SRUs are always more urgent that jaunty? at least at this time, right after a release?07:01
* Hobbsee throws rather hot gummy bears at pitti07:02
pittiinfinity: last time I discussed that with cprov, I asked for SRU > devel, hm07:02
pittiHobbsee: yummy! but wouldn't they melt?07:02
Hobbseepitti: not sure.  somewhat, i think07:02
sorenThey do on pizza.07:03
Hobbseeyou've tried this, i take it?07:04
sorenI may have :)07:04
StevenKI've had gummy bears in ice cream07:04
pittitkamppeter: doesn't seem to fix it for everyone? but an improvement in any case, so please commit it to bzr; once people in the bug are happy enough, I'll upload an SRU07:05
StevenKMorning pitti07:05
sorenStevenK: In Denmark youcan get ice cream with gummy bears preinstalled.07:06
StevenKsoren: As you can here07:06
sorenWel... Not ice cream, actually. Ice lollies.07:06
StevenKWell, I go to a shop that sells ice cream with a choice of stuff in it, and they mix it in front of you07:07
sorenNeat.07:07
StevenK(Like chocolate biscuits, cookie dough, fruit pieces...)07:07
sorenI've tried that once, but I'm quite sure they'd ground it up first. That doesn't really work well with gummy bears, I think.07:07
StevenKThe gummy bears just get mixed in and go hard07:07
StevenKMango ice cream with mango pieces, gummy bears and M&Ms07:08
pittisoren: I forgot, is that Häagen Dasz from Denmark, too? gooood stuff07:09
wgrantStevenK: That sounds rather awesome.07:11
StevenKwgrant: It's all kinds of awesome07:11
StevenKI might have to hit up a local to see San Francisco has something similar07:11
wgrantHeh.07:11
wgrantYay, UDS.07:12
sorenpitti: What do you mean "too"?07:20
sorenpitti: And no, Häagen Dasz isn't Danish, I'm afraid. It's good stuff, though :)07:21
pittisoren: as in "ice cream without gummy bears, but other good ingredients"07:21
sorenpitti: Ah, I thought I missed someone talking about something else that was from Denmark. :)07:23
sorenGah...07:23
* soren changes wifi driver07:24
wgrantWhat? How can something with äa in it not be Danish?07:24
sorenFor starters because we don't have ä in our alphabet :p07:24
wgrantBlah!07:25
sorenWe have a-z+æøå. No ä.07:25
=== thegodfather is now known as fabbione
* StevenK is trying to remember which European languages use ä07:27
wgrantGerman is all I know.07:27
wgrantProbably Norwegian or similar.07:27
StevenKFinnish does07:28
sorenSwedish and Norwegian.07:28
liwStevenK, Swedish, too07:28
* soren is suddenly not so sure about Norwegian.07:29
wgrant$STEREOTYPICAL_EUROPEAN_LANGUAGE07:29
sorenNo, not Norwegian. My bad.07:30
liwStevenK, http://en.wikipedia.org/wiki/%C3%8407:31
StevenKAh.07:31
StevenKGerman's use is different.07:32
* wgrant just thought to go to Wikipedia too.07:32
wgrantBut I didn't have a compose key set.07:32
StevenKIn Finnish and Swedish, it's a seperate letter, and German it's an accent07:32
wgrantAnd was too braindead to consider copying it from the IRC window.07:32
sorenStevenK: Are you sure about that?07:34
sorenMy German classes were in another millenium, but I seem to remember that it's a completely separate letter.07:34
liwsoren, mine were only 20 years ago, and I remember it being a variant of a, for all practical porpoises07:35
persiasoren, Wikipedia claims it's just "ae", and not actually 'æ'07:35
tjaaltonhmm candy talk.. must bring some Turkish Pepper to UDS ;)07:35
slangasekpersia: in reference to German?07:36
wgranttjaalton: Turkish Pepper?07:36
persiaslangasek, Yes.07:36
tjaaltonwgrant: http://en.wikipedia.org/wiki/Tyrkisk_Peber07:36
slangasekyes, umlaut in German is a stylized e07:36
sorentjaalton: Ah, yes! Yet another Danish invention :)07:37
wgranttjaalton: So it's Finnish and Danish, rather than Turkish? Strange names.07:38
tjaaltonsoren: hehe, yes :) But we ate the company, literally07:38
tjaalton(Linus's blog also mentions salmiac)07:39
sorentjaalton: Apparantly. I didn't even know that :)07:39
sorenI wonder when that happened..07:40
soren1996, it seems.07:41
tjaaltonsoren: stores had them in a big plastic jars, and since the candy is hygroscopic, they'd get sticked together. When I was a kid my mom got those jars cheaply from a store, and we then tried to break the massive blob with spoons :)07:42
tjaaltonhmm, blob is not right..07:42
wgrantI was fairly amused that the Wikipedia page actually mentions that they're hygroscopic.07:42
tjaaltonlump is better07:43
wgrantBlob could be right.07:43
wgrantBut lump is probably better, yes.07:43
tjaaltonthe jar was maybe 40cm high, so my arm barely reached the bottom :)07:44
sorenHeheh :)07:44
tjaalton(25y ago)07:44
jordiNCommander: I think there's a static dpkg build just for that kind of bootstrapping07:46
jordicould be wrong though07:46
NCommanderWas it a bad thing that when I thought of jar, I thought of Java07:46
NCommanderjordi, its more of a toolchain issue, there are circular dependencies between glibc and gcc :-)07:47
NCommanderI could PROBABLY get away with just rebootstrapping the glibc packages and the toolchain07:48
NCommanderBut I want to make sure everything gets built with pie, and I wanted to learn how to do a bootstrap for future reference07:48
tkamppeterpitti, I have already uploaded the new pstopdf to the BZR yesterday (see my mail). It should at least fix a part of the bugs. My tests show at least that bugs of mis-centered printouts and the problem that PostScript printers (Kyocera, Xerox, ...) have pstopdf crashing are fixed. The garbage when printing with SpliX is perhaps SpliX itself.08:36
pittitkamppeter: I'm just walking through the bugs08:37
pittitkamppeter: some say that the new filter doesn't fix it08:37
pittitkamppeter: so for those we either need more fixes, or remove the bug references from the changelog08:37
pittitkamppeter: I think we should wait for more feedback for a couple of days, and if we have a clear "fixes it" or "doesn't fix", do an upload08:37
pittiWDYT?08:37
tkamppeterpitti, I did not get any feedback. The reporter of bug 293883 is on travel ...08:38
ubottuLaunchpad bug 293883 in cups-pdf "8.10 Printed PDF missing parts / corrupt" [Undecided,New] https://launchpad.net/bugs/29388308:38
pittitkamppeter: I saw quite a lot of feedback in the bugs...08:39
tkamppeterbug 293832 is without answer08:40
ubottuLaunchpad bug 293832 in foomatic-db "printer prints page at wrong position, page cut" [Undecided,New] https://launchpad.net/bugs/29383208:40
pittitkamppeter: once you are content with a particular bug, please reassing it to cups and subscribe ubuntu-sru08:41
tkamppeterpitti, bug 293832 seems really not to be covered, but also fixable in pstopdf, as you get it right by sending a PDF directly to CUPS, as then no pstopdf is involved and get it wrong if you send from evince, as evince sends the job in PostScript. Here I need your help as you have the actual printer and can reproduce the bug.08:43
ubottuLaunchpad bug 293832 in foomatic-db "printer prints page at wrong position, page cut" [Undecided,New] https://launchpad.net/bugs/29383208:43
pittitkamppeter: I can reproduce bug 29269008:43
ubottuLaunchpad bug 292690 in splix "Garbage bitmaps printed on left margin in ubuntu testpage on A4 on Samsung printers" [Undecided,Incomplete] https://launchpad.net/bugs/29269008:43
pittitkamppeter: the page position is actually fine for me, I just get the garbage08:44
tkamppeterbug 289759 is fixed according to my tests and also according to one user, but there are still problems reported by another user08:47
ubottuLaunchpad bug 289759 in cups ""/usr/lib/cups/filter/pstopdf failed" in error_log and only blank page printed" [Undecided,Incomplete] https://launchpad.net/bugs/28975908:47
pittitkamppeter: ok; if the followup is an unrelated bug: as I said, please subscribe ubuntu-sru once you think that a particular bug is fixed by the patch08:48
tkamppeterpitti, the one who complained that it still does not work for him probably did not do the download correctly, his error_log shows a syntax error in pstopdf08:58
tkamppeterpitti, can you test bug 292690 with my new filter? Thanks.09:02
ubottuLaunchpad bug 292690 in splix "Garbage bitmaps printed on left margin in ubuntu testpage on A4 on Samsung printers" [Undecided,Incomplete] https://launchpad.net/bugs/29269009:02
pittitkamppeter: okay, let me walk over and test it there09:03
pittitkamppeter: btw, I thought gtkprint would spit out PDF now instead of PS?09:04
pittii. e. why does evince send out ps still?09:04
seb128pitti: hey09:06
seb128pitti: do you know if firefox3 and openoffice.org use gtkprint? the new comments on bug #248902 seem rather a cupsys issue no?09:06
ubottuLaunchpad bug 248902 in gtk+2.0 "Cannot print to remote authenticated printer" [Low,Incomplete] https://launchpad.net/bugs/24890209:06
tkamppeterpitti, unfortunately, some GTK/GNOME apps do not use the function of GTK Print for which I made the patch. They do the PostScript generation by themselves or with another library (something older, Cairo, ...).09:14
pittitkamppeter: 292690 updated; unfortunately it doesn't fix it :(09:23
pittiseb128: ffox looks like it's using gtkprint, the dialog is exactly the same09:23
pittiseb128: OO.o still has its own thing09:23
pittilooking at the bug09:24
pittiseb128: hm, it says it works fine with lpr...09:24
seb128pitti: thanks09:24
seb128pitti: the recent comments09:24
seb128pitti: I think they hijacked the bug for a different issue09:24
seb128users tend to do that and that's annoying, when they don't know they should not guess and just open a new bug and mention the other one is the description09:25
pittiseb128: according to the log, they are likely suffering from the same pstopdf problems that tkamppeter is just working on09:26
pittibut also, seems they are trying to print to an SMB printer, which fails to log in09:27
tkamppeterpitti, so you get the garbage of bug 292690 also with the "gdi" driver? Not only with SpliX?09:27
ubottuLaunchpad bug 292690 in splix "Garbage bitmaps printed on left margin in ubuntu testpage on A4 on Samsung printers" [Undecided,Incomplete] https://launchpad.net/bugs/29269009:27
pittitkamppeter: right09:28
pittitkamppeter: ISTR that splix didn't even work at all with pstopdf from intrepid final; shall I test that case again?09:28
tkamppeterpitti, yes.09:29
pittiok, brb09:29
pittitkamppeter: ok, nevermind; same result with splix+old pstopdf09:33
pittitkamppeter: hm, if the bug is in the pstopdf filter, I wonder why it isn't reproducible when printing into a ps file09:40
tkamppeterpitti, it looks like that it is the pstopdf filter according to your following comment: FYI, this happens if I print a PDF from evince. If I print it with "lp foo.pdf", the output is fine, so that's a temporary workaround.09:43
tkamppeterIf you do "lp foo.pdf" CUPS gets a PDF file and it goes directly through pdftopdf->pdftoraster->rastertoqpdl09:44
pittitkamppeter: if I remove that filter, cups should use the normal ps workflow, and it should work again?09:44
tkamppeterpitti, yes09:44
tkamppeterIf you print from evince, the filter chain is pstopdf->pdftopdf->pdftoraster->rastertoqpdl09:44
tkamppeterpitti, it looks like that for some files pstopdf does not use the correct page size for the conversion. This depends on certain conditions and needs to be investigated.09:45
tkamppeterCan you print your PDF file with evince into a PostScript file and then run09:46
tkamppetercupsfilter -m application/vnd.cups-pdf -p /etc/cups/ppd/<yoursamsungqueue>.ppd evince.ps > output.pdf09:47
pittimvo, soren: anyone who could test ubuntu-vm-builder in hardy-proposed? It stacked a plethora of fixes, but no feedback for them09:49
mvopitti: I think I did the last sru so I'm probably not a good candidate09:49
mvobut I would definitely welcome that09:49
tkamppeterpitti, I have also fond a bug in evince which can have influence. Independent of your localization and /etc/papersize the "Print Setup" of evince is set to "US Letter". You can set it to "A4", bgut this does not get saved. When you close evince and open it again it is back to "US Letter". This is a possible cause for outputting bad PostScript.09:53
seb128that's http://bugzilla.gnome.org/show_bug.cgi?id=52518509:55
ubottuGnome bug 525185 in printing "Make paper size persistent for printing" [Normal,Unconfirmed]09:55
seb128or bug #22488209:56
ubottuLaunchpad bug 224882 in evince "Evince chooses default paper size the wrong way" [Unknown,Confirmed] https://launchpad.net/bugs/22488209:56
tkamppeterpitti, when I take a PDF file in A4 and simply print it with evince into a PostScript file I get a Letter-sized PostScript where the original content is shrinked by around 2cm.09:57
directhexwhereas i can't even print in evince10:00
seb128directhex: why not?10:01
directhexproblem with brother printers, i forget the bug #10:01
pittimvo: well, I don't mind that; if you know how the package works and use the actual -proposed .deb, please do it10:01
pittitkamppeter: I'll try the test now10:02
tkamppeterpitti, evince prints only in the correct size if I manually set the paper size in "Page Setup".10:02
tkamppeterpitti, doing this way should probably lead you to a good printout, but there is still a bug somewhere in the printing chain as if the page size is wrong the printer driver should not fill blank space with garbage.10:03
pittitkamppeter: I tried the cupsfilter -m application/vnd.cups-pdf ... test, and it produces correct PDF10:07
pittitkamppeter: I do get10:07
pittiERROR: No %%BoundingBox: comment in header!10:07
pittiERROR: No %%Pages: comment in header!10:07
pittitkamppeter: that's with intrepid's original pstopdf10:07
pittitkamppeter: bug updated (also tested with new pstopdf)10:09
sbeattiepitti: any idea why the apparmor package for intrepid-proposed is still listed as needs building? https://launchpad.net/ubuntu/+source/apparmor/2.3+1289-0ubuntu4.110:16
tkamppeterpitti, as the garbage does not appear up to the post-pdftopdf state, it is produced by the driver. It seems that the input file has somewhere Letter dimensions inside, but the drawing is A4-sized. This makes the driver perhaps setting the printer to Letter and then sending an A4 bitmap, which leaves a small stripe of memory in the printer uninitialized which leads to the garbage.10:16
pittisbeattie: infinity told me that apparently soyuz got the build priorities the wrong way around, and first builds the thousands of jaunty packages, and then SRUs10:16
pittisbeattie: let me bump the priority10:16
sbeattiepitti: thanks.10:16
pittitkamppeter: that makes sense10:17
tkamppeterpitti, so take the output file of your last comment (/tmp/out.pdf, using the new pstopdf) and search it for the numbers 612 and 792. Which lines contain these numbers?10:18
pittitkamppeter: not contained at all10:19
pittitkamppeter: I can attach the file to the bug, if it helps you?10:19
tkamppeterpitti, please do so.10:21
pittitkamppeter: done10:22
tkamppeterpitti, thanks.10:32
tkamppeterpitti, probably the PDF file has no completely white background but transparent areas at the borders (do not know any program to visualize that) Here it could happen that the driver renders garbage or leaves the printer with uninitialized memory.10:34
=== hunger_t is now known as hunger
infinitypitti: Not positive on when the rationale was laid down, but I suspect -proposed had the lower priority from back before we had the copy-from-proposed-to-updates workflow.10:38
infinitypitti: So proposed really was a low prio queue at that point (sort of a "yeah, test this junk if you get around to it" thing)10:38
infinitypitti: I still argue that devel breakage is often far more urgent than anything else though (ie: we upload something, find out it's HORRIBLY BROKEN, and want a fix in the next hour)10:39
infinitypitti: If anything in a released series is that broken, sure, we can special-case it, but there shouldn't be any world-ending, causes-machines-to-stop-booting stuff in released dists.10:40
infinitypitti: Classically, the queue orders on Debian buildds (or, the ones I ran) were "security > devel > proposed"10:42
infinitypitti: But we've usually treated "proposed" as "nice-to-have updates and bugfixes, but not world-endingly critical", I thought.10:43
pittiinfinity: in confcall, will respond later10:44
liwseb128, how can I attach a crash report if apport doesn't even notice the crash?10:44
seb128liw: did you enable apport and start it as explained in the comment?10:45
liwseb128, apport has been enabled all along10:45
seb128liw: it's not running by default on stable versions10:45
seb128liw: are you sure?10:45
liwI checked...10:45
liwyes, I am sure10:45
seb128so talk to pitti about why apport is not working after his phone call10:45
seb128or you have a .apport-something configuration saying to ignore those crashes?10:46
liwI have not10:46
seb128do you have anything in /var/crash?10:46
liw/var/crash is empty10:46
seb128ok, so talk to pitti about why apport is not working for you10:46
seb128usually that's because it's not running but if you did enable it and ran apport start and still get the issue that's an apport bug10:47
liwseb128, so you're not even going to care about .xsession-errors output?10:47
seb128no, we need a debug stacktrace for a crash10:47
seb128you can install all the dbg packages and use gdb if you really want10:47
seb128that's extra work for you and it'll not have automatic duplicate checking etc, that's much nicer if you could try to get apport working10:48
seb128you are sure it's crashing btw? not exiting or aborting because apport catches only crashes10:49
seb128try running evolution under gdb and wait for the next crash10:49
liwseb128, "crash" is not a technical term with a clear definition: I use it here to indicate that evolution goes away without my asking it to quit10:50
seb128crash == segfault usually on bug trackers10:51
liwI don't think that is a universal definition10:51
liwbut message understood, there's no point in reporting evolution bugs manually10:51
liwonly via apport10:52
seb128not really but apport makes the job much easier for everybody10:52
brrtsimple question about releases: is ubuntu-8.10-rc really different from ubuntu-8.10-release?10:52
Hobbseebrrt: yes10:52
brrthow much?10:53
brrtbecause I have got an iso from rc and if there isn't significant difference I just install rc10:53
seb128liw: you can read http://wiki.ubuntu.com/DebuggingProgramCrash and get a stacktrace using gdb10:53
brrtif there is I first download the release10:53
seb128liw: that should at least tell you if it's crashing or exiting which are useful informations10:53
Hobbseebrrt: this is a questoin for #ubuntu, but you can just do an upgrade after you install the rc, and you'll get to the final.10:53
seb128liw: the bug right now has not enough details to be useful10:54
brrtok thanks10:54
tkamppeterpitti, can you try out whether you can get rid of the garbage when running the pstopdf conversion with other Ghostscript parameters? Edit PS2PS_OPTIONS and PS2PDF_OPTIONS in pstopdf.10:54
liwx-+10:54
tkamppeterpitti, doc about the options you find here: http://ghostscript.com/doc/current/Ps2pdf.htm10:54
=== Keybuk_ is now known as Keybuk
tkamppeterpitti, I have uploaded a pstopdf with some parameters changed to the bug11:09
pittiinfinity: depends, I think; one week after intrepid, proposed is more important; one week before jaunty release, devel is more important11:14
persiainfinity, I suspect that autosync is a special case, as when 1500 packages get uploaded all at once (or more when Debian is less frozen), that can block critical bugfixes.11:17
Mithrandirproposed will generally be much smaller than devel, won't it?11:18
infinitypersia: Why, I won't disagree that autosync time is a "special" time.11:19
persiaMithrandir, Almost assuredly.11:20
infinitypitti: You have the power to rescore proposed.  I'd suggest, honestly, that we just manually fiddle with proposed scores during autosync hell.11:20
pittiinfinity: yes, that's what I'm doing; I'm fine with that11:20
NCommanderinfinity, I assume score values can only be calculated between archive sections, and not by releases?11:22
pittitkamppeter: can you please upload that to the bug report? I have to finish my conf call, and then leave for two hours11:34
pittitkamppeter: I'll test that in the afternoon then11:34
pittiliw: was it a python or SIGSEGV-like crash?11:34
pittiliw: in the latter case, you should have something in /var/log/apport.log11:34
tkamppeterpitti, I have already uploaded it.11:36
liwpitti, there is nothing in apport.log related to this (only to epiphany and synergyc)11:47
Kanohi, has u an autodetection of macbooks for the special keyboard layout?11:47
liwpitti, afaik evolution is not implemented in python, so presumably not that, either11:47
pittiliw: does this work: bash -c 'kill -SEGV $$'11:52
liwpitti, yes, yes, apport works, before and after evolution crashes11:53
pittiliw: hm; if it crashes with an assertion, apport.log should have at least a note about it11:53
pittiliw: if you open evolution and kill -SEGV it manually, do you get an apport.log snippet?11:54
liwpitti, yes11:56
liwapport (pid 8382) Thu Nov  6 13:54:58 2008: called for pid 7418, signal 1111:56
liwapport (pid 8382) Thu Nov  6 13:54:58 2008: executable: /usr/bin/evolution (command line "evolution --component=mail")11:56
liwmodinfo: could not open cdrom: No such device11:56
pittiliw: hm, I have no idea then; even if the core dump gets too large, apport.log has something11:57
liwpitti, there is no core dump11:58
pittiliw: maybe it didn't actually crash with a coredump, but through normal exit() or whatever11:58
pittiI'm off for two hours, bbl12:00
=== davmor2 is now known as davmor2_lunch
gammyG'day. In https://help.ubuntu.com/8.04/serverguide/C/user-management.html#where-is-root it does not mention that crontabs will stop functioning if the root account is locked.12:54
joaopintogammy, which crontabs? user's crontabs do not depend root's account12:58
gammyjoaopinto: crontabs run by root. /etc/cron.d/ stuff for example.12:58
joaopintofor system crontabs, /etc/cron.d works just fine12:58
gammyLies.12:58
gammyif I lock the root account, CRON just spits out "Authentication error" and never runs them.12:58
gammyThis caused quite a lot of problems for me :P12:59
gammyEr, this is regarding ubuntu-server of course.12:59
persiagammy, That's a known regression with intrepid, and only happens if the root account has been unlocked and relocked.  I believe there is a fix underway, which should be available soon.12:59
gammy(As the documentation says)12:59
gammypersia: Might you know where I can find information regarding this bug?13:00
joaopintogammy, next time please do not call me a lier, I am using 8.04, the documentation you are pointing is for 8.04, and I do not have such a problem13:01
gammy"liar"13:02
gammy:|13:02
gammyAnd that was a joke.13:02
gammyActually it's odd. I thought I joined #ubuntu-doc, not -devel13:02
persiagammy, I don't find it now, but I was sure I saw a bug with that description.  You might ask if anyone in #ubuntu-bugs remembers which one.13:03
gammypersia: Also - I don't have intrepid installed. Perhaps that *is* the issue in of itself?13:03
persiaOh, if you're using hardy, then I have no guess why you should encounter that at all, as I don't remember seeing a report about that against hardy.  You might still ask in #ubuntu-bugs.13:04
persiaOr maybe someone in #ubuntu can help you troubleshoot.13:05
gammyOh. Wait. intrepid is the name of 8.10..13:05
* gammy slaps forehead13:05
gammyI thought it was the name of some daemon :D13:06
gammypersia: Yes. this is indeed intrepid. So what you said is likely true13:06
gammyQuick silly question: What is a Sigfile? Cron now whines about not finding it.13:09
gammyWell, thank you for the assistance. Have a nice day!13:14
=== LucidFox_ is now known as LucidFox
=== davmor2_lunch is now known as davmor2
pittitkamppeter: you rock!14:31
pittitkamppeter: bug 292690 updated14:33
ubottuLaunchpad bug 292690 in cups "Garbage bitmaps printed on left margin in ubuntu testpage on A4 on Samsung printers" [Undecided,In progress] https://launchpad.net/bugs/29269014:33
=== robbiew is now known as robbiew_
tkamppeterpitti, so the garbage goes actually away with my last approach of pstopdf (the third one in this bug report)? This means the bug is fixed?14:51
tkamppeterpitti, can you then do one other check?14:51
tkamppeterpitti, I have added "-dHaveTransparency=false" to the PS2PDF_OPTIONS in pstopdf. Can you test whether this is really needed by simply removing it (or setting it to true) and try again?14:52
Kalidarnhi, in relation to this bug http://bugs.kde.org/show_bug.cgi?id=167767 apparently fixed in the kubuntu distribution14:54
ubottuKDE bug 167767 in kwrite "kwrite doesn't show file contents if it contains only one line" [Major,Resolved: fixed]14:55
Kalidarnim wondering what svn trunk patch is being used in KDE sources to fix it.14:55
Kalidarnnobody ever replied to my request to know if it was possible to backport the patch from svn trunk to kde 4.114:55
Kalidarn(apparently the bug is fixed in svn trunk) ... its KDE 4.1.3 (and yes i don't use kubuntu) but what im trying to work out is what patch you guys are applying.14:55
Kalidarnobviously it hasn't been applied to the 4.1 branch upstream14:56
Riddellhi Kalidarn14:57
RiddellKalidarn: not sure off the top of my head, let me look14:58
Kalidarnthanks14:58
Kalidarn;P cos this bug annoys the shit out of me ;)14:58
KalidarnChristoph Cullmann 2008-08-18 20:17:22  Seems to work with current /trunk, please retest14:59
KalidarnDotan Cohen 2008-10-09 15:11:02  I can confirm that this is fixed in the KDE provided with Kubuntu 8.10. Thanks.14:59
Kalidarnthat was b ack in the days of KDE 4.1, and i've been hoping it would be ported back to 4.1.X (ie 4.1.2 or 4.1.3) but it looks like it has not.14:59
Kalidarnunless ofcourse dotan is using a KDE build from svn trunk but i doubt that15:00
Kalidarnbecause i doubt KDE would be 'providing a untagged build of kde with kubuntu 8.10' like he says15:00
Riddellwe've no patches to kate in kde4libs15:01
Kalidarn:(15:02
Kalidarnhmmm....15:02
Kalidarnwhat build of KDE do you have atm?15:02
Kalidarnor version15:02
Riddell4.1.315:02
Kalidarnya can u test that bug to see if it exists15:02
Kalidarnits really easy to test15:02
Kalidarnand type "kwrite blahblah"15:03
stdinhttps://bugs.launchpad.net/ubuntu/+source/kdesdk/+bug/25977215:03
Kalidarnshould give u a message about no file being called that.. and you should notice that no text shows up when you typ15:03
RiddellKalidarn: I can't recreate the problem15:03
Kalidarne15:03
stdinis it that one?15:03
Kalidarnright it must be fixed then15:03
ubottuLaunchpad bug 259772 in kdesdk "kate doesn't show symbols when opening empty file" [Low,Confirmed]15:03
Kalidarnlooking at that15:03
Kalidarnsounds like it15:03
Kalidarn>When I open "compile" then try to type stuff. The text is invisible.15:04
Kalidarnyar thats exactly what i just said ;)15:04
Riddellwe've no patches to kwrite in kdebase15:04
Riddellmysterious15:04
Kalidarnthat bug has a link to a duplicate of the one i pasted of upstream15:05
Kalidarnso where the hell did it get fixed. because i've obviously got a unpatched copy :P15:05
Kalidarnas im using archlinux (kdemod) atm15:06
Riddellmight be an idea to see if it affects debian15:06
Kalidarnyer possibly.15:06
Kalidarnwhat's their dev channel?15:06
=== tkamppeter_ is now known as tkamppeter
Kalidarnah found it it's #debian-devel15:07
RiddellKalidarn: #debian-qt-kde on oftc15:07
Kalidarn[01:37:48]--- Topic for ##debian-qt-kde is This unofficial channel is available as needed. Thank you for using freenode!15:08
tkamppeterpitti, did you answer my last message? My connection got stuck and I had to reconnect.15:08
Kalidarnand it has one user... chanserv ;)15:08
Kalidarnim sure chanserv will be lots of help muahahahaha15:08
stdinKalidarn: on oftc15:08
Kalidarnoh ;P15:08
Kalidarnmm15:08
Kalidarnsorry im tired i missed that :P15:09
stdinirc.oftc.net15:09
Skiessi!info lmms15:29
ubottulmms (source: lmms): Linux Multimedia Studio. In component universe, is optional. Version 0.3.2-1ubuntu2 (intrepid), package size 3424 kB, installed size 8136 kB15:29
Skiessi"2008-10-31: LMMS 0.4.0 has been released!"15:29
Skiessiis there some scheduled time for upgrading the packages? or could it be done now?15:30
RiddellSkiessi: now is the best time15:32
KalidarnRiddell, apparently fixed in debian15:33
Kalidarntoo15:33
directhexalthough another ":(" @ things being updated in ubuntu but not debian15:33
Keybukpitti: how do I make debcheckout use bzr+ssh?15:37
jcristauKeybuk: debcheckout -a iirc15:37
=== robbiew-blackber is now known as robbiew-blkbry
NCommanderjdong, ping15:40
RiddellKalidarn: I don't see anything obvious in Qt either that would help it15:40
Riddellso not sure I'm afraid15:41
Kalidarnmm15:41
pittiKeybuk: right, -a should DTRT15:41
jdongNCommander: sup?15:41
pittitkamppeter: will do the test now, I have to reboot that other computer with the printer15:42
Keybukcjwatson: debconf merge redone in bzr15:47
Keybukit'd be really nice to have some way of saying if there's a usual upstream cvs as well15:47
KeybukXS-Upstream-Vcs-Bzr: ?:p15:47
cjwatsonKeybuk: XS-Debian-Vcs-*15:50
Keybukthat contains an svn url15:50
Keybukobviously lp:debconf works rather nicely15:50
cjwatsonyes ...?15:50
cjwatsonoh, you said "usual upstream cvs"15:50
cjwatsonI didn't realise you meant bzr15:50
Keybukusual one you merge from I mean15:50
cjwatsonhmm15:51
KeybukI guess we should really be adding a XS-Debian-Vcs-Bzr: in there as well along with our Vcs-Bzr15:51
pittitkamppeter: setting it to true works as well; noted in the bug report15:51
cjwatsonsort of seems like lp:<project> should always DTRT if it exists15:51
Keybukis it XS-Debian- or XS-Original- ? :p15:51
cjwatsonshould be XS-Debian, I've already changed almost all the branches I care about from XS-Original to XS-Debian after being reminded by the discussion yesterday15:51
cjwatsonI have an appropriate diff for debconf in my working copy but didn't want to commit it until you'd sorted out your merge15:52
Keybukpushed15:52
cjwatsoncommitted XS-{Original,Debian} fix15:53
cjwatsonthanks15:53
Keybukactually, from doing that, I can see why you generally like using bzr that way15:53
tkamppeterpitti, thanks. Can you also remove it and see whether pstopdf works without Garbage on the Samsung?15:53
Keybukthe merge is easy, since it's just "bzr merge"15:53
pittitkamppeter: argh, just shut that machine down again :)15:54
cjwatsonI do agree that it's a real mess when not all the files you need are in revision control15:54
pittitkamppeter: so true isn't the default either?15:54
pittitkamppeter: okay, will do15:54
cjwatsonI was thinking of redoing ubiquity/oem-config so that 'debian/rules update' isn't necessary after checking out15:54
Keybukyeah, just trying to think a way of sorting that out atm15:54
cjwatsonand just commit all the d-i/source/ stuff15:54
Keybukwould be nice to move udev and upstart to bzr packaging15:54
Keybukbut they're both difficult15:54
cjwatsonit would give us a more easily reconstructable historical record15:54
Keybukupstart is maintained in bzr upstream, but without the autogenerated files15:55
cjwatsonudev due to git upstream?15:55
Keybukso I'd need an intermediate "tarball" branch15:55
Keybukand right15:55
Keybukudev uses git15:55
cjwatsongit upstream is actually handleable15:55
cjwatsonit just takes a little creativity15:55
Keybukstick a .git and .bzr in the same directory15:55
Keybukremember to type "git" when updating from upstream15:55
cjwatsondidn't mean that :-)15:55
Keybukand "bzr" when committing ;)15:55
cjwatsongit fast-export | bzr fast-import -15:55
Keybukoh, I don't know that one?15:55
cjwatsonlp:~bzr/bzr-fastimport/fastimport.dev15:56
cjwatsonit's one of the category of tools that you often have to hack a bit to make it do what you want; the flip side is that it isn't a black box at all so you *can* hack it to deal with weird special cases15:56
Keybukwhat do you do?15:56
Keybukgit checkout in one directory15:56
Keybukmaintain a bzr import alongside, and run that to keep it up to date?15:57
cjwatsonright15:57
Keybukthen a third packaging directory alongside that?15:57
cjwatsonmy import script for debian-policy looks like this:15:57
cjwatson#! /bin/sh15:57
cjwatson[ -d .bzr ] || bzr init-repo .15:57
cjwatson(cd ~/src/packages/debian-policy/git/policy && git fast-export --signed-tags=strip master --tags) | bzr fast-import -15:57
cjwatsonthat creates lp:~kamion/debian-policy/master15:57
cjwatsonand then lp:~ubuntu-core-dev/debian-policy/ubuntu is a branch from that15:58
cjwatsonthis is strictly inferior to git imports in Launchpad, and it's possible that I might have to rebase or something when those turn up15:58
=== robbiew_ is now known as robbiew
cjwatsonbut I can probably cope with that15:58
cjwatsonI actually found bzr fast-import when I was trying to do some very, very custom one-time imports16:00
cjwatsonI have a long-term project to migrate all my private Debian svn packaging branches over to bzr branches that are true branches of upstream16:00
cjwatsonand I want to keep all the history intact16:00
pittitkamppeter: tested, bug updated16:01
cjwatsonbzr fast-import is hackable enough to let me say "OK, so this revision here, I actually want it to be a merge from that revision of that branch over there as well as including the patch content it claims"16:01
Keybukwhy init-repo ?16:01
cjwatsonbzr fast-import really likes to have a repository - I think it's because it can potentially import multiple branches16:02
cjwatsonthe short answer is "because it broke when it didn't" :-)16:02
Keybukbzr: ERROR: exceptions.KeyError: None16:02
Keybuk:-/16:02
cjwatsonwhat's the URL for udev git?16:02
Keybukgit://git.kernel.org/pub/scm/linux/hotplug/udev.git16:03
cjwatsongit imports are something like number two on the LP code priority list, so this should get sorted out soon even if we can't get bzr fast-import working16:03
Keybukhmm, actually, git fast-export is erroring16:04
Keybukmaybe that's what's choking it16:04
cjwatsonsometimes need to tweak the options there16:05
Keybukseems to be --tags ?16:05
Keybukwhat does that do16:05
cjwatsonnote that the output is a text stream - in extremis it can make sense to sed the bugger :)16:05
cjwatsongit help rev-parse16:06
cjwatson       --tags16:06
cjwatson           Show tag refs found in $GIT_DIR/refs/tags.16:06
cjwatsonyou can leave that out reasonably enough16:06
Keybukyeah, without that it seems to work nicely16:07
Keybukit's done 1,000 commits so far16:07
cjwatsondo check the output pretty carefully; I suggest diffing at some specific revisions or something16:07
cjwatsonand check things like exec bits that won't show up in diff16:07
Keybukmeh, tracebacked again :-/16:08
cjwatsonI have a few crazy patches lying around that deal with complicated directory structure rearrangements16:08
cjwatsonbut they slow it down a lot and I'm not entirely confident in them16:09
KeybukI'll have to debug that a bit more later16:09
cjwatsonanyway, feel free to file it in the category of "neat idea, needs polish" :)16:09
Keybukthis cycle I want to drop all of our patches to udev16:09
cjwatsonhmm, yeah, breaks for me too16:10
cjwatsonbzr: ERROR: parent_id {etcudevslackware-20081106160805-210n85iwk7nvgmkv-1477} not in inventory16:10
Keybuk(of which there are only really rules ones remaining)16:10
cjwatsoneven with my crazy patches16:10
tkamppeterThanks, pitti, uploaded into the BZR and to upstream (OpenPrinting). I have also updated changelog. Can you now upload it to Debian and Jaunty? Then we will request an Intrepid SRU for the pstopdf fix (and perhaps also to your AppArmor config fix).16:10
pittitkamppeter: yep, I planned to SRU the apparmor one, too16:10
cjwatsonKeybuk: I have once done the trick of having a single directory in two revision control systems at once ...16:10
pittitkamppeter: are all other referenced bugs confirmed fixed with the new script?16:11
Keybukcjwatson: the nice thing is you just do "git pull;bzr commit"16:11
cjwatsona previous company had a CVS repository that you could check out as ~/.vim/, with some handy bits and pieces16:11
Keybukthe bad thing is  you don't really end up with a useful bzr repository as a result16:11
cjwatsonI had my home directory in svn, including ~/.vim/16:11
cjwatsonso I just made it be both at once and didn't necessarily add all the files on either side16:11
liwmvo, does python-apt handle translated package descriptions?16:14
pittitkamppeter: hm, did you push?16:15
timrcDoes apt try to install packages with no inter-dependencies in parallel or is package installation done linearly regardless of relationship (or lack there-of) ?16:16
wasabiLinearly.16:17
wasabiOdd race conditions could exist otherwise in scripts invoked by the individual packages.16:17
pittitkamppeter: e. g. bug 282186 isn't tested yet; mind if I drop the bug reference and instead we ask the reporter to test with the new version?16:17
ubottuLaunchpad bug 282186 in hplip "HP Photosmart 2610 top first cm not printed" [Undecided,Incomplete] https://launchpad.net/bugs/28218616:17
wasabitimrc: Why that question?16:17
timrcwasabi: I was just curious, I kind of like the idea of efficiency... but I see your point16:18
wasabiWell, there are some things which can be done to speed up dpkg.16:18
wasabiSome of which I've played with. Which is why I find your question interesting.16:18
wasabiThe largest problem with it is the sync IO that it ends up doing.16:18
tkamppeterpitti, confirmed as fixed are: bug 292690, bug 289759.16:18
ubottuLaunchpad bug 292690 in cups "Garbage bitmaps printed on left margin in ubuntu testpage on A4 on Samsung printers" [Undecided,In progress] https://launchpad.net/bugs/29269016:18
ubottuLaunchpad bug 289759 in cups ""/usr/lib/cups/filter/pstopdf failed" in error_log and only blank page printed" [Undecided,In progress] https://launchpad.net/bugs/28975916:18
jdongwasabi: it's hardly ever the unpack phase IMO that can benefit from parallelization16:19
wasabijdong: it is.16:19
pittitkamppeter: yep, just walking through them16:19
tkamppeterbug 282186 I could reproduce and with my fixed pstopdf it is fixed.16:19
ubottuLaunchpad bug 282186 in hplip "HP Photosmart 2610 top first cm not printed" [Undecided,Incomplete] https://launchpad.net/bugs/28218616:19
jdongwasabi: look at postinst/configure phases16:19
wasabiBut not the kind of paralization you think of.16:19
jdongwasabi: it's annoying when update-initramfs is spending 30 seconds compressing modules, then scrollkeeper spends another 10s pegging CPU , etc16:19
pittitkamppeter: and e. g. 293832 is confirmed not fixed16:19
wasabiUnpacking causes many many many IO blocks. That is, when unpacking a file, it stats for an existing file, then extracts, then stats, then extracts. Each stat waits for IO.16:19
pittitkamppeter: can you please bzr push?16:19
tkamppeterbug 293832 is not fixed, it seems that that one is not caused by pstopdf.16:20
ubottuLaunchpad bug 293832 in foomatic-db "printer prints page at wrong position, page cut" [Undecided,New] https://launchpad.net/bugs/29383216:20
jdongwasabi: I'm not saying unpacking isn't a big time waster, I'm saying that parallelization probably will benefit the postinst state a lot16:20
wasabijdong: No, really. You can speed up an apt run by about two times by making a little Pre script that issues async requests to stat every file involved.16:20
wasabiDone it.16:20
jdongbut as mentioned, the race conditions involved are really annoying16:20
timrcwasabi: that's really interesting, actually16:20
tkamppeterpitti, sorry, I have forgotten that. Now I have done the "bzr push".16:20
jdongwasabi: I am sure statting all the files en masse will help16:21
wasabiYup, it helps a *lot*16:21
jdongbut that's not really parallelism16:21
pittitkamppeter: thanks; I'll drop the unconfirmed patches and prepare the sid/jaunty upload now16:21
wasabiNo, it's not.16:21
jdongin fact that's quite the opposite16:21
jdongthat's avoiding parallelism due to seek/wait times :)16:21
wasabiWell, it's  paralizing IO, in a way.16:21
jdongno, it's deparallelizing IO :)16:21
jdongrather, reordering it intelligently16:21
jdongor optimistically.16:21
wasabiYeah, you are right.16:21
tkamppeterpitti, the reporter of bug 293883 is on travel, so we do not know.16:21
ubottuLaunchpad bug 293883 in cups-pdf "8.10 Printed PDF missing parts / corrupt" [Undecided,New] https://launchpad.net/bugs/29388316:21
wasabiIssue all the async stats, the kernel can reorder them, do them in fewer requests.16:22
tkamppeterpitti, which unconfirmed patches?16:22
pittitkamppeter: I know; we'll just wait16:22
jdongbut between instaling things fast and installing them reliably, I think I know which one I prefer :)16:22
wasabijdong: I think though it's a simple way to get some large speed increase out of dpkg.16:22
pittitkamppeter: sorry, "unconfirmed bug refs"; but you did already16:22
wasabiWell, pre-stating does not cause unreliability.16:22
jdongwasabi: I think the main "brokenness" is stats are too expensive :)16:22
timrcTo do parallelization would require you walk dependency trees (and if you want to absolutely avoid configuration conflicts) you'd have to walk the file lists... and the return would be greatly diminished in terms of time and even the probability that you'd be able to install in parallel16:22
wasabijdong: The main problem with any IO is that it's sync. It should be async.16:22
jdongwasabi: it also doesn't necessarily help a lot on filesystems with fast stats.16:22
jdongi.e. reiserfs16:22
wasabiWell, I don't think it's realistic to paralize package installs.16:23
wasabiSo, that's a no go.16:23
pittitkamppeter: so for 282186 you could reproduce it yourself and it's fixed for you?16:23
jdongwasabi: for now I agree16:23
wasabiThe effort to do that would be massive, and package maintainers would have a huge new thing to consider.16:23
wasabiWith many many corner cases.16:24
wasabiThat only exhibit on SMP machines.16:24
jdongwasabi: yeah, brings a WHOLE new set of QA challenges to the plate16:24
tkamppeterpitti, yes.16:24
timrcMy other gripe with apt right now may actually be a personal probably... I find myself in situations where I'll absentmindedly try to install something from the console with aptitude while synaptic is open... it'd be great if there was an 'apt queue' which all these various apt front-ends would queue packages on... let the queue handle ordering and installation16:24
jdongI doubt all of our postinsts are parallel-safe16:24
pittitkamppeter: cool, thanks; I modified the bug accordingly16:24
wasabiI doubt many of them are.16:24
wasabiAnd Id oubt we have any sort of ability to vet them16:24
jdongtimrc: that would be cool but difficult to implement16:24
wasabitimrc: PackageKit or whatever is supposed to solve that.16:24
wasabiThough I have no idea how Ubuntu views that.16:25
timrcwasabi: hm, I'll investigate... thanks for the tip :)16:25
jdongtimrc: particuarly if you install package a, b,c, then queue d which conflicts b and a, etc etc16:25
wasabiNor whether it's even sane software.16:25
wasabiSynaptic should not lock teh database while open.16:25
wasabiThat should be fixable.16:25
tkamppeterpitti, we have three bug confirmed to be fixed by my new pstopdf, and they are all of high impact, so I think we can do the SRU even without waiting for bug 29388316:25
ubottuLaunchpad bug 293883 in cups-pdf "8.10 Printed PDF missing parts / corrupt" [Undecided,New] https://launchpad.net/bugs/29388316:25
jdongwasabi: I think it must in order to consistently build a package marking set to apply16:25
pittitkamppeter: yes, I agree16:25
wasabijdong: Can't it op;en teh database only when it needs to?16:26
pittitkamppeter: just saying that I don't like to auto-close 293883 until we got confirmation; but I'll ask there to test the intrepid SRU16:26
timrcjdong: why wouldn't you be able to detect that conflict with a queue implementation?16:26
jdongwasabi: how does it know it doesn't need to recalculate every previosu marking every time you make a selection?16:26
wasabijdong: It might. Can't it do that by reading the database once?16:26
jdongtimrc: you would be able to, but that might abort previously queued installations in ways previous programs are not aware16:26
jdongtimrc: and the actual set of packages to be installed or removed might change after you agreed to the install16:27
wasabijdong: Launch, read. Operate on read information. Apply: Open, check to see if marked stuff is still sane, apply.16:27
jdongwasabi: what if it is no longer sane?16:27
jdongwasabi: undo all the user's markings and start over again?16:27
wasabiNaw, just make them right. :016:27
jdongwasabi: I think locking the DB and preventing other package installs while the user is marking is entirely sane16:27
jdongwasabi: "make them right" might be a relative term :)16:27
jdongwasabi: if I install apache-mpm-prefork and a bunch of strict subdepends while the user marks apache-mpm-worker, have fun convincing the userbase what is the right thing to do :)16:28
pittitkamppeter: btw, do you know about Mike's plans to adopt the PDF workflow/filters?16:29
wasabiAhh well. timrc, it's pretty trivial to do the prestat thing.16:29
wasabiI had some code for it, I seem to have lost it.16:29
timrcwasabi: yeah, I like that idea16:30
wasabipre-stat isn't how it should eb done though.16:30
wasabiIt's just an interesting way to test teh idea.16:30
jdongread: hack.16:30
wasabiyeah.16:30
jdong:)16:30
jdongnot saying we don't do the same anyway *cough readahead-list*16:30
wasabiWhat should happen is dpkg should take all the operations it intends to do, all the stating, and submit them using Real Async IO16:30
wasabiAnd then as those requests complete, issue new requests.16:30
wasabiThe dpkg-prestat crap I did just spawns a bunch of forks of 'stat'16:31
wasabiSo, bunch of useless processes.16:31
wasabiBut it was still quite a speed improvement.16:31
wasabiQuick little shell script hack.16:31
jdongwasabi: probably building a statcache using some batch operation at the kernel/vfs level would be faster even16:31
jdongand much less thrashing around16:31
wasabijdong: yeah. I know almost nothing about the kernel's IO layer, nor async APIs16:31
jdongprobabilistic/markov stat associative readahead :)16:32
jdonglol kidding16:32
wasabiBut the idea of an async API is you should just be able to call async_stat(file, cb) repeatidly.16:32
wasabiAnd the kernel should do it's own reordering and smartness, and cb should be invoked as results filter in16:32
wasabior yeah, some sort of batch submission.16:32
wasabiBut I doubt we have that.16:33
tkamppeterpitti, Mike did not answer anything about his plans on http://www.cups.org/str.php?L289716:33
wasabiAll my little hack was doing was priming the page cache.16:33
tkamppeterCUPS bug 289716:33
jdongwasabi: right, we could use a bunch of kernel-layer APIs for priming the page cache16:33
wasabiWell, i'd still not prime the page cache.16:33
wasabiAs you can never guarentee the page cache size.16:33
wasabiSo you could end up dumping too much, and defeat yourself.16:34
wasabiYou just need an async queue that can be invoked as appropiate depending on teh device's ram, etc.16:34
jdongwasabi: not really, Windows prefetching mechanisms don't suffer from those issues.16:34
wasabiHow not?16:34
jdonga smarter / more aware pagecaching system isn't entirely unreasonable16:34
wasabiIf I say stat 1000 files, and the last 500 files throw out the first 500.16:34
wasabiThen I haven't helped.16:34
jdongwasabi: it builds "bundles" of "caches" in C:\Windows\Prefetch16:34
wasabiOh. I don't think that's useful.16:35
wasabiThat's for fixing crappy software.16:35
jdongwasabi: whether or not the extra IO overhead it generates is useful is up for debate16:35
wasabiThat software should be using async APIs to begin with.16:35
wasabiAnd there would be no problem.16:35
jdongwasabi: async APIs doesn't solve disk seeking issues.16:35
jdongwasabi: i.e. starting up openoffice16:35
jdongwasabi: the second startup on Windows even after a coldboot is almost double the speed16:35
wasabiIf you start up open office, and the first thing the code does is issue an async request for each bit of data it will need throughout the entire process, and then as those pieiecs arive, it operates on them, then the problem solves itself.16:36
pwnguinif you do async writes, you better be prepared to handle async write failure16:36
jdongwasabi: not really, there's sequential dependencies on each component.16:36
jdongwasabi: loading an entire program by async storms is entirely nontrivial16:36
wasabiHow deep?16:37
jdongwasabi: probably a linear chain16:37
wasabiAnd how are those dependencies expressed?16:37
jdongwasabi: probably by natural imperative flow of the startup procedure16:37
wasabiI dunno. I'd be curious to see it graphed.16:38
jdongwasabi: at any rate, all I'm pointing out is that the Windows prefetch layer can, without any modification to applications, often turn a random set of read operations into a single contiguous IO request16:38
wasabiYeah. I get ya.16:38
jdongand it wouldn't be entirely unreasonable for us in Linux world to get something like that16:38
wasabiWe've tried before.16:39
wasabiWith various levels of success16:39
jdongwasabi: AFAIK the COW system in ZFS and friends already do similar things with being able to represent random writes as a single sequential write16:39
wasabipreload - adaptive readahead daemon16:39
pwnguinjdong: ever seen seekwatcher?16:39
jdongwasabi: preload is a pretty ugly userspace hack though16:39
wasabiyeah, it is.16:40
jdongwasabi: it could be done better :)16:40
wasabiSo we were talking about dpkg.16:40
jdongpwnguin: no, heard of it16:40
wasabiSuperfetch-like stuff doesn't really apply.16:40
wasabiAs the IO semantics are not repeatitive between runs in any way.16:40
jdongwasabi: it is a seek-heavy workload16:40
wasabiSure, but there's nothign to record.16:41
wasabiYou can't record somebody installing gnome, and then use it to usefully make installing eclipse faster.16:41
jdongwell why are you seeking so much?16:41
jdongthere's got to be a reason why your requests are seemingly random16:41
wasabiThey're not, they're just ordered with waits in between.16:41
jdongand there must be a way to group that16:41
pwnguinjdong: ah; i think it'd be neat to chart out readahead16:41
jdongwhy are there waits in between?16:41
wasabifor each file { stat file; wait for stat; write new file; relink; }16:42
jdongwasabi: what if after the 5th file statted, the kernel has a probabilistic model of the next 500 stat requests from the process and begins to lookahead? :)16:42
wasabiThe writes get deferred, but the stats must be finished before proceeding.16:42
wasabijdong: Then that's awesome. but the only way to build that model is for dpkg to submit it.16:42
jdongwasabi: this can probably be done with a markov chain type model for each process16:42
wasabifor each file { submit stat request to kernel; callback to X }    X  { write new file; relink }16:43
jdongwasabi: generic implementation-agnostic probabilistic readahead at the kernel level :)16:43
wasabiDude. it can't figure out what dpkg is about to do16:43
wasabiIt has no way to know the files dpkg is about to work on.16:43
jdongwasabi: sure it can. from experience.16:43
wasabiWhat, reading the .deb files itself?16:43
jdongwasabi: the first set of writes will be expensive16:43
jdongwasabi: the the next time you unpack the same app it will be inexpensive.16:43
wasabiSure, but that doesn't happen that often.16:43
jdongwe can prepopulate this cache per-install16:44
wasabiOh. I don't think that's going to wrok at all.16:44
wasabiThat's ungodly complicated.16:44
pwnguinhttp://oss.oracle.com/~mason/seekwatcher/16:44
wasabiTakes up space for a profile of each possible instaleld app?16:44
jdongwasabi: sure it is, but it's a properly engineered solutions with applications to EVERY app that is IO intensive.16:44
wasabiSomehow you need to have this huge profil daemon thing... dpkg still needs to somehow submit the profile to it.16:44
jdongwasabi: how much space do you think a list of blocks needs?16:44
wasabiThey're not blocks.16:45
wasabiEach install moves the file.16:45
pwnguinis apt percieved to be slow?16:45
jdongpwnguin: some people do stare at their apt installs16:45
jdongfor one reason or another.16:45
wasabiI don't think it's slow.16:45
wasabiI just think it can be much faster. :)16:45
jdongI can't think of ONE performance-critical usecase of apt16:45
pwnguini mean, scrollkeeper16:45
wasabiTriggers removed the only complaint I had.16:45
pwnguinjdong: install?16:45
jdongpwnguin: we don't even use apt to install these days16:46
pwnguindist-upgrade?16:46
wasabiI do. :016:46
jdongexcept on the alternate16:46
cjwatsonand server16:46
wasabiI've never used the Live CD installer.16:46
wasabiAnd I probably never will. heh.16:46
dilingerhi, how do i get myself off a bug notification list?16:46
dilingerhttps://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-177/+bug/29452716:46
ubottuLaunchpad bug 294527 in nvidia-graphics-drivers-177 "Conflict between nvidia-glx and openafs-modules kernel module" [Undecided,New]16:46
liwincidentally, wasn't installing from the live cd supposed to be faster than from the alternate?16:46
jdonghas anyone ever tried doing upgrades on a tmpfs+ext3 unionfs? :D16:46
jdongliw: of course16:46
dilingeri was automatically added to that bug because i one did openafs stuff, but i don't work it it anymore.. and i see no way to unsubscribe myself16:46
dilingers/one/once/16:47
cjwatsondilinger: https://bugs.launchpad.net/openafs/+subscribe maybe?16:47
liwbecause when I did ISO testing under kvm, I could start booting a live install, then start it installing, and then boot+install+test an alternate ISO in parallel16:47
liwmight be a kvm quirk, of course16:47
jdongliw: the livecd is just a simple copy proceedure for installing while the alternate cd uses dpkg -i on a bunch of debs16:48
liwjdong, yes, I know that16:48
dilingercjwatson: that offers me the option to subscribe16:48
jdongliw: a VM also restricts your block device to a much smaller seek radius16:48
cjwatsondilinger: I don't know, then - I suggest asking #launchpad for advice16:48
jdongliw: and in fact on my main system I can fit an entire VM's blockdevice and installation image into pagecache16:48
cjwatsonliw: how much memory did you give the live install?16:48
jdongand I could do a 2 minute live install from start to finish16:49
liwcjwatson, a gigabyte (same as the alternate)16:49
cjwatsonliw: a gotcha is that kvm's default memory size is 128MB, which dooms the live CD to swapping a lot16:49
cjwatsonliw: ok16:49
liwjdong, I could fit both kvm's, both isos, and both virtual disk images in RAM at once, so I doubt that was the problem16:49
jdongliw: the question is whether or not the OS was doing that :)16:50
jdongon a 1TB XFS volume it was quite apparent that was the case16:50
jdongpdflush disabled16:50
jdong(no I don't recommend that setup :D)16:50
pittimvo: did you upload this? http://launchpadlibrarian.net/19389671/gnome-terminal_2.24.1.1-0ubuntu1_source.changes16:52
pittimvo: in case you did, it's missing a bug ref in the changelog16:54
pittimvo: ah, it was you16:55
kirklandpitti: hey, thanks for the raid backport review16:57
kirklandpitti: i have a couple of responses to your questions16:57
pittikirkland: hi; sorry for being picky16:57
mvopitti: ups, sorry :/16:57
mvopitti: pleae reject16:57
pittiwell, not sorry for being picky, but for the additional work it creates16:57
kirklandpitti: you want them here, via synchronous conversation, or back in the bug report16:57
pittimvo: already done16:57
kirklandpitti: no worries at all!16:57
kirklandpitti: this stuff needed a critical eye16:57
pittikirkland: I actually prefer bug report, for keeping a record16:57
kirklandpitti: this is by far the most complex backport i've ever done for Ubuntu ;-)16:58
pittikirkland: but if you have questions which need discussion, IRC is fine16:58
kirklandpitti: well, two minor ones, i think would help to mention here16:58
kirklandpitti: i'll record the summary in the bug report16:58
pittikirkland: yeah, and we actually don't backport features either, so the entire thing is an exception16:58
kirklandpitti: " - panic(): Why the chvt 1? Boot messages are usually on VT8, and this changes behaviour of an existing function."16:59
kirklandpitti: see https://edge.launchpad.net/ubuntu/+source/initramfs-tools, changelog for 0.92bubuntu1217:00
kirklandpitti: i added an inline comment to the shell in this next iteration17:00
=== max is now known as Guest67473
kirklandpitti: there's a prompt that comes up, "Do you want to boot your degraded RAID?  [y/N]: ", which times out after 15 seconds17:01
pittikirkland: chvt> yes, for the raid case; but my concern is that other initramfs-tools scripts might call panic(), too, and this changes behaviour for those17:02
pittikirkland: maybe the chvt cna be done right where the prompt for mdadm is done, instead of in existing code paths?17:03
kirklandpitti: that seems fair, i'll need to do some testing17:03
kirklandpitti: okay, the other one ....17:07
kirklandpitti: the code removed from panic()17:07
pittimvo: I won't accept u-m right now; we already have two SRU uploads stacked in -proposed17:07
pittimvo: the second one is verified, but none of the three bugs of the first17:08
kirklandpitti: this is due to the way we've separated the try_failure_hooks() and the panic() calls in scripts/local17:08
kirklandpitti: perhaps we're going to need a new panic() function17:08
pittikirkland: right, that was an underlying problem, too, it changed the API17:08
kirklandpitti: just_panic()17:08
kirklandpitti: whereas the current one tries-failure-hooks-then-panics()17:09
mvopitti: I agree with that plan, while the evms issue is anoying I think its rare enough to justify the that17:14
pittimvo: I hope that the reporters or QA team can test the others soon; u-m fixes are quite urgent those days, when many people upgrade17:15
mvopitti: absolutely, I talk to ubuntu-qa and ask if they can prioritize it17:15
* pitti hugs mvo, thanks17:15
pittijdstrand: in bug 271252 you tested the actual .debs from -proposed17:16
pitti?17:16
ubottuLaunchpad bug 271252 in apparmor "aa-logprof generates faulty output messages" [Undecided,Fix committed] https://launchpad.net/bugs/27125217:16
mvothanks pitti :)17:16
jdstrandpitti: yes-- which is why I waited til today to comment :)17:16
* mvo needs to find out how to create a evms parition anyway before the verification for the one in the queue can begin17:16
pittijdstrand: cool, thanks17:17
tkamppeterpitti, thanks for uploading the new CUPS package and doing the SRU request.17:17
pittitkamppeter: no problem; thanks a lot to you for figuring out the fixes :)17:17
jdstrandpitti: np17:17
pittitkamppeter: the SRU is uploaded and accepted, waiting for feedback now (well, still needs to build, but I prioritized the SRUs)17:18
NCommanderoooh, new shiny icons17:22
liwmvo, does python-apt support package description translations?17:25
kirklandpitti: can you give this a once-over?  http://pastebin.ubuntu.com/68445/17:43
kirklandpitti: see if that addresses your concerns17:44
kirklandpitti: it's a _royal_ pain to test17:44
kirklandpitti: so it would help if you can at least spot check it for your concerns, and I'll go FVT it17:44
mvoliw: yes, out of the box17:47
mvoliw: so python -c 'import apt; print apt.Cache()["apt"].description' should DTRT17:47
liwmvo, ok, good, then I just haven't them configure17:47
mvoliw: what locale do you use?17:48
liwmvo, I'm actually using summary and not description, but I assume that doesn't matter17:48
liwmvo, fi_FI.UTF-817:48
mvo_RainCT: hey! if you are interessted in apturl, I did some code refactoring in http://bazaar.launchpad.net/~ubuntu-core-dev/apturl/ubuntu - it should be *much* nicer now17:52
* RainCT pulls17:55
ScottKmvo_: Is it still going to hard depend on synaptic or will it be front end agnostic?17:56
mvo_RainCT: well, the code should be much nicer :)17:56
mvo_ScottK: I put some effort into it today to make it frontend agnoistic17:56
ScottKmvo_: That's great news.  Glad to hear it.17:56
mvo_ScottK: it should be really easy now to write a qt frontend by just filling in the (few) needed UI functions17:56
mvo_ScottK: it was on my agenda for some time, I finally got around doing it :)17:57
mvo_I think rgreening was interessted in working on this17:58
ScottKmvo_: Yes.  That's my recollenction too.  I've just ping'ed him on #kubuntu-devel.17:58
rgreeningmvo: ping17:59
mvo_ah, hello rgreening17:59
mvo_rgreening: I did the refactoring we talked about the other day in apturl17:59
mvo_rgreening: its in the ubuntu branch (http://bazaar.launchpad.net/~ubuntu-core-dev/apturl/ubuntu/files)17:59
mvo_let me know if there is anything I can help with18:00
mvo_AptUrl/UI.py and AptUrl/gtk/GtkUI.py should be good starting points18:01
rgreeningty mvo_18:01
mvo_my pleasure18:01
rgreeningmvo_ I added this to the Jaunty specs page so it won't get lost :)18:02
RainCTmvo_: there's already a get_dist function in AptUrl/Helpers.py :P18:03
RainCTmvo_: to call lsb_release -c -s18:03
=== mvo_ is now known as mvo
RainCTmvo: but the changed look great :)18:04
RainCT*changes18:05
mvorgreening: cool18:05
mvoRainCT: oh, I thought I killed the duplicated one, will do that now (unless you beat me to it :)18:05
RainCTmvo: oh, seems like you have, my fault :)18:06
* RainCT checked the diffs18:06
=== macd__ is now known as macd
RainCTmvo: I've fixed two typos in my branch, btw18:11
RainCT(lp:~rainct/apturl/ubuntu)18:11
mvoexcellent, thanks RainCT18:11
gicmonetwork .... slow ....18:13
psycardisWhy jigdo download not available for the standard 8.10 install disc?18:13
mvoRainCT: merged18:13
persiapsycardis, No benefit : most of that disc is a single file.18:16
psycardisIs that not the case with all of the other install discs?18:16
persiaThe alternate CDs have lots of individual files, rather than one big one.18:17
persia(these are files *inside* the ISO, the ISO itself is always one big file)18:17
tedgOkay, so if I want to SRU something into Hardy, does it have to be SRU into Intrepid first?18:31
persiatedg, Technically no, but if the bug is open in intrepid, it's standard practice to fix it there first.18:36
persiaEssentially, users who haven't upgraded are expecting a higher degree of stability, and so the fix should first be presented to the most recent users for additional time to collect regression data.18:37
persiaExceptions are mostly bugs that affect hardy, but don't affect intrepid.18:37
tedgpersia: Okay, so I should SRU it into Intrepid.  Wait a while, and then SRU it into Hardy (assuming it gets approved of course)18:38
persiatedg, That's the standard practice for an SRU that affects both intrepid and hardy.  If you think it's *really* critical, stick it in both -proposed queues at the same time.18:41
psycardisSorry had to step out, even the non-alternative install variations of ubuntu with the exception of ubuntu desktop have jigdo links, the only one lacking it is ubuntu desktop live cd18:41
persiapsycardis, Hrm?  None of the LiveCDs benefit from jigdo.18:43
* persia looks at releases.u.c18:43
tedgpersia: Not really critical, but effects large installations, so should probably go into an LTS.  Isn't a crash as much as a usability issue.  bug 20321718:43
ubottuLaunchpad bug 203217 in fast-user-switch-applet "fast-user-switch heavy cpu usage" [Undecided,Confirmed] https://launchpad.net/bugs/20321718:43
persiatedg, That's something that would probably benefit from some testing in intrepid before it hit hardy, unless the other FUSA changes render the code-path obsolete.18:44
tedgpersia: Fortunately not this one.  It's in code untouched by the other changes.18:45
persiatedg, Remember to fix it in jaunty first, as otherwise chances of approval are slim :)18:45
persiapsycardis, I've just double-checked.  There's no jigdo for any of the live images (Ubuntu Desktop, Xubuntu Desktop, Kubuntu Desktop, Ubuntu UMPC, Ubuntu MID).  Everything else is an alternate CD.18:48
persiaWhere do you see a non-alternative jigdo link?18:48
psycardishttp://releases.ubuntu.com/8.10/ubuntu-8.10-server-i386.jigdo18:49
persiaThat's an alternate CD.18:49
psycardisYeah, my bad. I just noticed that. It's a shame it's not an option.18:50
psycardisAlthough, now that I'm reading about how the live cd is built i see why...18:51
psycardisThank you.18:52
persiaYeah.  Just no point to jigdo for that.18:54
persiaThe torrent works fairly well though ...18:54
cjwatsonright, jigdo works by creating a template with "holes" that can be filled in by byte-for-byte copies of .debs downloaded from more local mirrors18:54
cjwatsonlive CDs have very few such possible slots, because mostly the .debs are uncompressed and then recompressed as a single giant filesystem18:55
cjwatsonin principle I'm sure it's possible to construct something *like* jigdo that would do the job, but it would really be completely different18:55
=== RainCT_ is now known as RainCT
infinitycjwatson: It would be far more CPU intensive, client-side, since it would need to unpack debs after downloading them, to try to shove the raw files in place.19:09
infinitycjwatson: Doesn't seem practical, really, though it might be a fun exercise for someone bored enough to do it.19:09
=== thegodfather is now known as fabbione
=== robbiew is now known as robbiew-lunch
* quadrispro is away: Away20:35
ion_Le sigh20:36
Mithrandirquadrispro: please turn off public away.20:36
pwnguinMithrandir: you know much about openGL ES?20:36
Mithrandirpwnguin: I don't know much about opengl at all; why?20:38
pwnguinah, i thought you were into compiz. nevermind then ;)20:38
quadrisprosorry Mithrandir20:39
mklebelwill RandR 1.3 be in the alpha 9.04 release?20:40
pwnguinwhen is randr 1.3 scheduled to be in a release?20:42
pwnguin(from xorg)20:42
mklebelyes pwnguin20:42
pwnguinmklebel: when will xorg release xrandr 1.3? now?20:43
mklebeloh it's not even out yet?20:43
pwnguini dont know20:44
pwnguinxorg verioning is insane20:44
mklebeli guess ill check out #xorg-devel then20:44
mklebelpwnguin, yes it is.20:45
=== robbiew-lunch is now known as robbiew
=== robbiew1 is now known as robbiew
TheMusopsusi: WHen you work out the necessary fixes for those dmraid bugs, let me know. I have another dmraid bug I need to fix, and I'll throw them together in one SRU.22:05
psusiTheMuso: k22:08
wasabiAnybody running an ARM port that I don't know about? :)23:14
pwnguinwasabi: do you know about the arm port?23:25
pwnguinHasty23:26
pwnguinhttp://mojo.handhelds.org/distributions23:27
persiaThe intrepid equivalent will probably be a month or two, based on past performance.23:28
pwnguinIcy imp is slated for q4 200823:28
persiaRight.  A month or two :)23:29
pwnguinjust in time for my pandora :)23:29
geniiIs there anywhere to learn about incorporating CUDA into ubuntu apps?23:30
pwnguinthe GPU compiler?23:30
geniipwnguin: Yes, like with an NVidia Tesla or so23:31
geniiI understand it doesn't use gcc23:32
pwnguinhttp://www.nvidia.com/object/cuda_develop.html23:33
pwnguinbut basically, if the compiler's nonfree it'll never be integrated23:34
geniiHm23:35
geniipwnguin: Thanks anyhow :)23:35
pwnguinand im  not sure how much perfomance benefit there is for the average program23:35
pwnguinfor video playback, maybe23:35
pwnguinbut i cant see how it'd make your RSS reader any better off :)23:36
pwnguinoh, and being nvidia hardware specific is a strike against inclusion =/23:37
geniipwnguin: I want to use it on shading/lighting/physics calculations when rendering in POVRay23:37
pwnguinyou're better off talking with the upstream projects about it, since they know the software they publish best23:37
geniiWell, true there about the NVidia origin :)23:37
pwnguinit'd suck to install POVray and discover you can't use it because you have intel or amd23:38
pwnguinor even just an older geforce23:38
geniipwnguin: The Tesla is purely a dedicated GPU multithread card, no video output. You just use it to crunch numbers then out to whatever video card you want23:39
genii240 cores23:39
pwnguinbut you could always just publish it personally if you just want to toy around; this channel is more focused on core ubuntu components23:39
geniipwnguin: Thanks. Now I'll need to remember how to work my ppa ... ;)23:40
pwnguinoh, i guess the problem there is build tools23:41
pwnguinyou cant use a ppa if you have build deps outside of ubuntu23:42
geniiHm23:42
geniiYou can't just link static binaries?23:42
pwnguinwith what?23:42
pwnguinnvcc?23:42
geniiYes, build on local box with nvcc the CUDA specific stuff then link it into the regular gcc23:43
pwnguinsomehow that seems like against the terms of service23:44
pwnguinuploading object code as source package23:44
geniiOK. I won't chance it then23:44
pwnguinyou can always debuild locally23:44
geniiTrue.23:45
geniiOK I'll leave you be then and sort it out... thanks23:46

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