/srv/irclogs.ubuntu.com/2012/04/16/#ubuntu-devel.txt

=== v is now known as vorian
BluefoxicyWould it be possible to separate malloc() from glibc?01:30
RAOFYes; why would you want to?01:31
BluefoxicyI'm having severe memory use issues-- 4 gigs just isn't enough for Chrome, Rhythmbox, Xchat, and Thunderbird all at once--so I've switched allocators to see if any of the others out there do better01:32
RAOFI wouldn't imagine that they'd do appreciably better.  You could always try LD_PRELOAD something with a different malloc/free set.01:33
BluefoxicyParticularly in this case Hoard, although Boehm with malloc() overriding is a potential direction (that I'd like to avoid)01:33
Bluefoxicyyes that's what I have going now01:34
Bluefoxicyld.so.preload01:34
Bluefoxicybut preloading of course breaks wine01:34
Bluefoxicywell, it breaks multilib in general01:34
Bluefoxicythis is a known bug from about 47 releases ago01:34
Bluefoxicy(it's #33994)01:35
RAOFOh, right.  You need a different preload per arch.01:35
BluefoxicyRAOF:  What do I do if Thunderbird keeps eating 1.8 gigs after 2-3 hours but under a different allocator it only eats 400 megs?01:52
RAOFOh, wow.  That's a big difference!01:53
Bluefoxicymaybe.01:53
RAOFI guess you work out what the different allocator is doing differently and file a bug at the appropriate level.01:53
BluefoxicyIt could also hit the same end state just further down the line, or I haven't sufficiently loaded the application yet to cause the access patterns that bring trouble01:53
BluefoxicyBut yeah01:53
RAOFOh, right.01:53
Bluefoxicythunderbird has been resident 1800 megs lately, and i've restarted it multiple times today01:54
Bluefoxicyresident doesn't even count what's in swap :|01:54
RAOFThat's not 400MB after 2-3 hours of use under the new allocator?01:54
BluefoxicyWe'll see.  It was mostly hypothetical01:55
RAOFAh.01:55
BluefoxicyI don't think a lot of experimentation happens with allocators.01:55
Bluefoxicybut it's long been known to me that the entire heap model is a huge failure in design anyway.01:56
RAOFGot anything better? :)01:56
BluefoxicyHoard seems to be designed for modern systems.  That's what I'm trying to determine though.01:57
RAOFI mean, there are certainly known-failings in heaps.01:57
BluefoxicyYou gotta realize, with brk() heap, if you allocate 300 megs, then free all but the highest allocation, you have 1 megabyte in use and 300 megs that the system thinks are in use01:58
RAOFYeah; fragmentation is an issue.01:58
Bluefoxicyfragmentation and other stupidity can land you with a huge heap.  Imagine how that pans out with threaded applications.01:58
Bluefoxicythe buddy allocator in glibc was pretty fantastic when it was made, but it may be behind the times.. but that only holds true if something else significantly improves performance or memory usage, or both01:59
RAOFIt's a bit of a pity you can't (easily) run C code in a GC'd VM ;)02:03
BluefoxicyGC has its own issues, like touching all over memory a lot messing with the CPU cache state and of course if anything's in swap...02:03
Bluefoxicyin a VM it's a little less of an issue02:04
Bluefoxicysince assignments of pointers can be tracked easily02:04
RAOFRight.02:04
Bluefoxicyand of course there's lots of research there--Mono in fact uses a compacting GC that pauses the world, alters pointers, and defragments memory to free more back to the system02:05
RAOFRight - not (yet) by default for mono, but the Microsoft CLR has used that for ages.  Presumably Java does the same.02:06
BluefoxicyJava recently stopped ref counting for a really crappy garbage collector that's much worse02:07
Bluefoxicybut they may have moved to a better one since then02:07
lifelesserm02:08
Bluefoxicyhi lifeless02:09
lifelessjava has had that for decades02:09
lifelesscurrent java stuff is concurrent multi-threaded gc without stop-the-world02:09
Bluefoxicy... java's been around for decades?02:09
Bluefoxicy*I* haven't been around for decades and I remember when Java first came into existence.02:10
Bluefoxicyanyway it's not technically infeasible or really difficult to implement a C to CIL compiler02:11
lifeless(sun/oracle) java doesn't refcount anyhow - I don't think it evcer has02:11
lifelessit inherited its initial gc model from smalltalk02:11
Bluefoxicyit's on the level of implementing a C to x86 compiler, plus some muckery about how to handle pointers and malloc and such02:11
lifelesswhich is generational02:11
Bluefoxicywhich isn't to say that building a compiler is a child's task; just that when we're talking about how difficult a task is, it turns out building an ABWR reactor isn't "difficult" because it's a normal task in some context02:12
BluefoxicyThe bigger question is do you want to run absolutely everything on top of Mono02:13
lifelessBluefoxicy: java was created in 9102:13
lifelessso, > 1 decade :P02:13
lifelessand it -heavily- learnt from smalltalk, which goes back to early 70s02:13
Bluefoxicy(and, as an aside, if you did build C onto CIL, you could easily have Mono catch things like memcpy() more data than the total length of an array into an array and block it)02:14
Bluefoxicyautomatic run time analysis :D02:14
mwhudsonare there any known problems with wifi (intel variants thereof) in precise currently?02:45
lifelessN02:46
mwhudsongoogle is freaky02:47
mwhudsonsearching for "BUG: unable to handle kernel paging request at fffffffffffffb88" finds the bug apport filed for me about 5 minutes ago02:48
StevenKMy Intel card drops out in Oneiric, and then brings up a network passphrase window every 3 minutes.02:48
StevenKSo I will occasionally unlock my laptop and find 200 windows open all asking for the wireless password.02:49
mwhudsonnice02:49
mwhudsonthis was an oops though02:49
RAOFI know of no oopses.02:53
RAOFI think .11n is still a little flaky, but disconnect-y flakey, rather than oopsy.02:53
mwhudsonRAOF: could you take a very quick look at https://bugs.launchpad.net/ubuntu/+source/linux/+bug/982738  then?02:58
ubottuLaunchpad bug 982738 in linux (Ubuntu) "BUG: unable to handle kernel paging request at fffffffffffffb88" [Undecided,New]02:58
RAOFThat seems like a bug? :)03:00
mwhudsonheh fair enough03:00
RAOFI don't have much to say about it; I'm sure if the kernel team needs more info they'll ask.03:00
mwhudsonok03:00
RAOF“fffffffffffffb88” seems pretty unlikely to be a valid memory address, though ;)03:00
mwhudsonyeah03:08
mwhudsonit's not a surprising failure, on the face of it :)03:08
slangasek-0x477 seems like a perfectly good place to store data, if you ask me03:19
pittigood morning04:23
pittislangasek: sudo> I don't see a reason why it shouldn't invoke pam_env for itself04:24
slangasekpitti: <nod>04:24
slangasekpitti: though in practice, it's missing some other bits to be able to use it effectively... sudo doesn't export pam_getenvlist() to the session environment ;)04:24
=== doko_ is now known as doko
tjaaltonis there a tool to purge obsolete kernel images?06:17
pittitjaalton: the best that we have is computer-janitor06:17
tjaaltonpitti: oh it's still available? thanks06:17
pittisudo dpkg -P linux-<tab><tab> works reasonably well, too (and then pick)06:17
pittibut in general it's a major unsolved problem06:18
tjaaltonyeah, dpkg works for me, just a friend was asking/complaining about those :)06:18
dholbachgood morning06:40
pittihey dholbach06:45
dholbachhi pitti06:46
ahasenackhi, could I interest someone into reviewing this SRU? https://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/97888407:06
ubottuLaunchpad bug 978884 in landscape-client (Ubuntu Oneiric) "SRU: release 12.04.3 for lucid, natty and oneiric" [Undecided,New]07:06
pittiahasenack: there is not much to approve, it's got a standing SRU exception anyway?07:12
ahasenackpitti: yes, but some steps must be followed, I guess the approval is the first one, then I can start hunting for a sponsor and get it uploaded to proposed07:13
pittiahasenack: so, consider it approved by https://wiki.ubuntu.com/StableReleaseUpdates#Landscape07:15
ahasenackpitti: don't you need to add a tag to it?07:15
pittino, we don't do that for SRUs07:15
pittiwe review uploads from the unapproved queue07:15
ahasenackpitti: ok, thanks, so we need an uploader now :)07:26
pittiahasenack: I'll do patch piloting later today, so I'll grab them unless someone beats me to it07:27
ahasenackpitti: ok, thanks07:27
pitti@pilot in07:57
=== udevbot changed the topic of #ubuntu-devel to: Precise: Final Freeze | Dev' of Ubuntu (not support or app devel) | build failures -> http://bit.ly/HaWdtw | #ubuntu for support and general discussion for hardy -> oneiric | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots: pitti
jibelpitti, good morning08:03
pittibonjour jibel08:03
jibelpitti, I proposed a fix for http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648161 can we have it in Precise ?08:03
ubottuDebian bug 648161 in autopkgtest "autopkgtest: Extracting sources with ~ or + in the version fails" [Normal,Open]08:03
pittijibel: ooh, thanks08:06
pittijibel: oh, so it was even me who reported that, sheesh08:07
pittijibel: uploaded; needs another -release member to approve the upload08:19
pittijibel: merci beaucoup for fixing this!08:19
jibelpitti, thanks for uploading it !08:21
dokoinfinity, slangasek: the new armhf linker path isn't yet in the debian eglibc repo, correct?08:28
infinitydoko: It will be shortly.08:32
infinitydoko: I needed a nap first. :P08:32
infinitycd ..08:33
infinityErr.08:33
infinity^-- See?08:33
pittissh infinity cd /bed08:33
infinitypitti: I did go to bed, and it lasted about 4 hours. :/08:33
infinitypitti: After having been awake for about 40.08:34
infinitypitti: Grr.08:34
pittiinfinity: does it help you sleeping if I threaten you with having to review my glib/gtk/other gnome 3.4.1 uploads? :-)08:34
pittierr, "threat", I think08:34
infinityNah, I don't mind that.08:34
dholbachpitti, infinity is used to pain08:34
dholbachinfinity, man, go to bed!08:35
* dholbach hugs infinity08:35
infinitypitti: Check the debdiff from eglibc -0ubuntu7 and -0ubuntu9 and then get back to me on how bad you can make a GNOME review.08:35
infinityFrom -0ubuntu7 *to* -0ubuntu9, that is.08:35
dokoinfinity, do the gnat-4.6 bootstrap, or go to bed ;p08:36
infinitydoko: Considering it.08:36
pittiinfinity: ok, you win08:36
infinitydoko: And I'd be in bed if I could.  Just woke up 10 minutes ago for no good reason.08:36
* infinity sets about committing all of this to Debian.08:37
vibhavhttps://bugs.launchpad.net/ubuntu/+source/amule/+bug/610385 , needs to be fixed in oneierc. Would it be right to file a sync request for oneiric?08:43
ubottuLaunchpad bug 610385 in amule (Ubuntu) "amule memory usage increases to 100% and makes the whole system unusable" [Undecided,Fix released]08:43
=== gord_ is now known as gord
fhilly_Hi all, I wonder if anyone can help me, does anyone have full documentations of Ubuntu-Core rootfs?09:23
tkamppeterpitti, hi09:24
pittihello tkamppeter09:25
tkamppeterpitti, I have got a fix for bug 980673. The bug prevents N-up printing of many PDFs.09:26
ubottuLaunchpad bug 980673 in cups-filters (Ubuntu) "pdftopdf crashed with SIGSEGV" [Critical,In progress] https://launchpad.net/bugs/98067309:26
tkamppeterpitti, how should I proceed? Probably 0-day SRU?09:26
pittitkamppeter: do you have a patch? if it's 100% risk free, you can upload to precise still09:27
tkamppeterpitti, yes, I got the patch. The patch is small and simple. As I am upstream project leader I will make a new  upstream release which differs from the old one only by this patch, as I always did with cups-filters.09:29
fhilly_anyone working on Ubuntu Core rootfs?09:30
pittitkamppeter: I'd say, upload it and see whether it sticks; if not, reupload to -proposed :)09:37
rbasakpitti: please could you see what needs to be done on bug 947309? Is it missing from the sponsors queue because it's "Fix Released"?10:08
ubottuLaunchpad bug 947309 in ipsec-tools (Ubuntu) "racoon phase 2 negotiation fails with Win Vista/7" [Medium,Fix released] https://launchpad.net/bugs/94730910:08
pittirbasak: indeed; I approved the lucid task nomination10:08
pittirbasak: will look at this next10:09
rbasakpitti: thanks!10:09
pittirbasak: uploaded, thanks10:14
rbasakthank you!10:15
tkamppeterpitti, I have uploaded the fix to precise now and it is waiting for approval.10:17
kerby82_hi which is the better way to start coding for ubuntu with python? Do you have any suggestion? books, tutorial, etc..10:21
pittitkamppeter: I can upload current cups-filters to Debian, too if you want10:35
=== yofel_ is now known as yofel
pittitkamppeter: done now10:53
verwilsti'm still confused about the dlm-pcmk removal from precise10:59
verwilstfunctionality has been removed without replacing it, or noting why it was done or how you can work around it or anything11:00
verwilstsucks :(11:00
verwilstroaksoax, can you spare a moment of your time? :)11:02
dupondjestill depressive about it verwilst  :)11:03
sagaciverwilst: https://launchpad.net/ubuntu/precise/amd64/dlm-pcmk11:04
verwilstsagaci, yes?11:04
sagaciit says why it was done11:05
verwilstmyeah, ok, the why is maybe the clearest part in this story :P11:05
sagaci:)11:05
verwilstbut tracking down the location of the module so i can maybe make my own deb or compile it from source is pretty awkward too11:06
verwilstthe pacemaker guys strive to make not only their configs awkward and overly complex, they do the same with versioning and branches and repositories and websites ;)11:06
dupondjewell the pcmk can't be build anymore it seems. Its just dlm_controld daemon.11:06
verwilstmyeah, so cman is required now11:07
verwilstyuk11:07
dupondjewell seems so :)11:09
dupondjebuilding the .pcmk has been removed completely, so I guess it will not come back :)11:09
=== dantti_away is now known as dantti
AlanBelldidrocks: popey suggested you might be the person to poke about bug 975029, I added a patch a while ago to enable ezoom to work by default11:15
ubottuLaunchpad bug 975029 in compiz-plugins-main (Ubuntu) "bindings to activate ezoom not set" [Undecided,Confirmed] https://launchpad.net/bugs/97502911:15
didrocksAlanBell: hey, they are not set on purpose11:16
AlanBelloh ok11:16
didrocksAlanBell: people triggered them without noticying at the time and got stucked11:16
didrocksAlanBell: what I proposed at UDS at the time is someone looking at activating them when a11y is enabled11:17
AlanBellsilly people :(11:17
didrocksI think that's what will make more sense, isn't it?11:17
AlanBellwell not really11:17
AlanBellif a11y is enabled that generally means you are using orca and have no vision11:18
didrocksAlanBell: hum, there are other a11y parameters, isn't it?11:18
AlanBellezoom is full of awesome if you are just the kind of person who wears glasses, or might take a large print book out of the library11:18
AlanBellor someone like me doing a presentation and wanting to zoom in on stuff11:18
didrocksyeah, those options like "manifier" should be exposed in gnome-control-center I guess11:19
didrockswith enable/disable11:19
AlanBellthat makes sense11:19
AlanBellthere was such an option but it is bound to gnome-shell magnifier11:19
didrocksAlanBell: yeah, the right patch here is to make it working on unity, and acting differently depending on the shell running11:20
AlanBellyup11:20
AlanBellok, looks like this simple patch won't get in, and the proper patch is going to be out of scope at this stage11:20
AlanBellccsm to the rescue :)11:20
AlanBellI will write it up in the a11y release notes11:21
didrocksAlanBell: sure! thanks ;)11:21
AlanBellare you going to UDS?11:21
didrocksyes, as usual, you too? :)11:23
AlanBellyes, looking forward to it :)11:27
=== MacSlow is now known as MacSlow|lunch
fhillyHi all, I just wonder if anyone have full documentation about Ubuntu-core rootfs11:49
verwilsti have an idea, let's switch back to cluster 3.0.12 for precise! :P12:10
verwilstthe pacemaker resources all need dlm_controld.pcmk by default so it seems12:11
=== _salem is now known as salem_
=== MacSlow|lunch is now known as MacSlow
pitti@pilot out13:14
=== udevbot changed the topic of #ubuntu-devel to: Precise: Final Freeze | Dev' of Ubuntu (not support or app devel) | build failures -> http://bit.ly/HaWdtw | #ubuntu for support and general discussion for hardy -> oneiric | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots:
hrwbdmurray: may you release new version of firefox-lp-improvements so we (poor users) will get working workitems editor?13:17
* dholbach hugs pitti13:20
* pitti hugs dholback13:29
=== dholbach_ is now known as dholbach
=== dendro-afk is now known as dendrobates
bdmurrayslangasek: I'm looking at a ubiquity install bug with an update-notifier conffile prompt in it15:26
bdmurraybug 98247315:26
ubottuLaunchpad bug 982473 in ubiquity (Ubuntu) "Installation of Pangolin Beta 2 failed." [Undecided,New] https://launchpad.net/bugs/98247315:26
=== salem_ is now known as _salem
bdmurraymvo: looking at bug 905454 and bug 961719, how could we modify the postgresql blacklist option?16:21
ubottuLaunchpad bug 905454 in update-manager (Ubuntu) " 'postgresql-plperl-8.4' is marked for removal but it is in the removal blacklist" [Undecided,Confirmed] https://launchpad.net/bugs/90545416:22
ubottuLaunchpad bug 961719 in update-manager (Ubuntu) "Cannot calcuate upgrade on postgresql-plperl-8.4" [Undecided,New] https://launchpad.net/bugs/96171916:22
* SpamapS starts reviewing precise-proposed uploads16:29
slangasekbdmurray: where does the conffile prompt show up/16:29
slangasekbdmurray: n/m, found it16:30
bdmurrayslangasek: it looks like it was installing an updated update-notifier-common version 0.119ubuntu716:30
bdmurraybut you know that know ;-)16:30
slangasekyeah, interesting16:33
slangasekbdmurray: I'd like to know why there *was* an old version of that conffile around, if he was installing beta 216:34
slangasekbdmurray: because the conffile was introduced in 0.119ubuntu2, the log shows an upgrade from 0.119ubuntu1 which is the correct version from beta-116:35
slangaseker, from beta-216:35
=== mdz` is now known as mdz
SpamapSis precise-proposed 0-day SRU's now?16:50
SpamapSor are we still using it to stage up things?16:50
SpamapSI want to know how to handle the bug statuses and such16:50
SpamapSstarted to accept bug 982267 as an SRU but now I'm not sure..16:51
ubottuLaunchpad bug 982267 in apport (Ubuntu Precise) "dump_acpi_tables.py crashed with UnboundLocalError in dump_acpi_table(): local variable 'hex_str' referenced before assignment" [Medium,Fix committed] https://launchpad.net/bugs/98226716:51
=== deryck is now known as deryck[lunch]
=== _salem is now known as salem_
slangasekjibel: known issues with jenkins?  I haven't seen an upgrade test since the 12th... and I was looking forward to seeing lucid->precise server go green :)17:47
=== deryck[lunch] is now known as deryck
=== albrigha is now known as Guest63515
=== emma is now known as em
=== dendrobates is now known as dendro-afk
StreamstormerHello, I want to build mysql-workbench 5.2.38+dfsg-3 from Debian with pbuilder19:11
Streamstormerbut pbuilder fails horrible with unmet dependencies: http://pastebin.ubuntu.com/932988/19:11
Streamstormercan somebody give me a hint what package the problem is?19:12
cyphermoxStreamstormer: "Depends: libtinyxml-dev but it is not installable"19:32
cyphermoxand above that it mentions that it's a virtual package, and the same for libctemplate-dev. my guess is your pbuilder might not be using universe19:32
Streamstormerah ok thanks cyphermox19:48
pittimdz, cjwatson, stgraber: so TB meeting is now or in 1 h?19:56
mdzpitti, soren, kees, stgraber, I have it for now19:56
micahggoogle calendar entry was never updated, it has been at 21:0019:57
mdzcould someone update the calendar or delete it? :-)19:57
mdzthe wiki says one time and the calendar another19:57
pittiI'd very much prefer having it now, it's late enough already; but ISTR that last meeting there was a decision to keep the UTC time?19:58
mdzhmm, looks like I may have permission to change it19:58
mdzpitti, now is somewhat better for me as well tbh19:59
mdznot least because that's what I was planning for19:59
sorenI thought it was now too, but I'm in San Francisco, so Imy sense of time is useless.19:59
mdzthat sounds like quorum to me20:01
mdzstgraber, kees, any objections to having the meeting now instead of +1 hour?20:01
maxbcjwatson: Re subversion FTBFS... I'm up to 12 upstream revisions backported plus a couple of local hacks, and I'm still not done making it build :-(20:09
=== Dr_Who is now known as tgall_foo
jibelslangasek, yes, there was a problem with the publication which was fixed this afternoon. I confirm that lucid server is green. result should be published when the current run finishes.20:32
jibelslangasek, but last run of lucid main i386 failed with http://paste.ubuntu.com/933111/20:33
slangasekhmm20:34
slangasekjibel: the bug isn't in python2.7-minimal if it only happens for the 'main' upgrade; but we'll probably need to reproduce this to figure out where the bug is.  How far along in the upgrade does this happen?20:35
=== salem_ is now known as _salem
=== _salem is now known as salem_
jibelslangasek, difficult to say. I uploaded the logs http://people.canonical.com/~j-lallement/lucid_main_i386_89.zip if you want to have a look.20:44
slangasekjibel: I guess by "how far along" I mean "how many hours will someone have to wait to reproduce it"20:45
jibelslangasek, according to the log: 2 hours20:46
slangasekbdmurray: has there been only the one report of bug #982473?  I've confirmed there's no conflicting file on the beta-2 liveCD, so I really don't know what could have caused this21:03
ubottuLaunchpad bug 982473 in ubiquity (Ubuntu) "Installation of Pangolin Beta 2 failed." [Undecided,New] https://launchpad.net/bugs/98247321:03
slangasekexcept cosmic rays :P21:03
bdmurrayslangasek: I'll look for duplicates shortly21:06
slangasekok21:06
jibelor installing over an existing installation without formating21:09
jibelthere is this line in the log21:10
jibelPreparing to replace update-notifier 0.119ubuntu1 (using .../update-notifier_0.119ubuntu7_amd64.deb)21:10
slangasekjibel: 0.119ubuntu1 is the version on the CD itself, which doesn't contain that conffile21:17
jibelslangasek, yeah, I'm too much in dailies and didn't see it was a beta 2 cd sorry.21:19
lifelessdo we support setting up full disk encryption from the GUI installer yet ?21:42
slangaseklifeless: no21:43
=== salem_ is now known as _salem
brycehslangasek, upstart question for you21:44
slangasekyay!21:44
brycehslangasek, X needs to have the DRI device set up by the kernel (i.e. i915, nvidia, et al) before it can start21:45
slangasekoh, no21:45
slangasekI want a different upstart question21:45
slangaseknot one about hybrid graphics :P21:45
brycehheh21:45
brycehno, not hybrid21:45
slangasekoh, ok :)21:45
brycehslangasek, there's cases where the system starts up really fast (or the dri driver is really slow)21:45
brycehso X comes up before the kernel is ready for it to21:45
bryceh982889 is an example on -intel; we see it more often on the blobs21:46
slangasekreally?21:47
brycehslangasek, it seems like we need upstart to wait until the kernel driver is "ready to go" but aren't sure a) if that's possible, or b) how to set it up21:47
brycehslangasek, I would not joke about such matters21:47
slangasekbryceh: I'd like to see a /var/log/udev from an affected system21:47
brycehok21:47
brycehslangasek, I guess my real question is, are we thinking right thoughts to be thinking about upstart here, or should we be thinking different thoughts?21:49
Sarvatti915 isn't ready until 2.76 seconds into the boot process, but X already starts at 2.44 and gives up at 2.55 on that bug :(21:49
Sarvattalso i'm extremely jealous of his 3 second boot time :)21:49
kklimondahmm.. can I use dpkg to query its database on a package status (installed or not) and get a easily parsable response (or a return code)?21:49
brycehindeed21:49
Laneydpkq-query21:50
Laneydpkg21:50
kklimondaLaney: thanks, I just found the name in man dpkg and slapped my head ;)21:50
slangasekbryce: because what's supposed to happen is: kernel starts scanning everything and finds out what devices it knows about; somewhere in parallel to that the initramfs hands over to upstart; udev starts up via /etc/init/udev.conf after the virtual filesystems have been mounted; then in turn, we run 'udevadm trigger' via /etc/init/udevtrigger.conf, which cold-plugs drivers for all of the hardware seen so far by replaying the kernel events t21:50
slangasek... we call udevadm settle, and only then after everything is settled do we use /etc/init/udev-fallback-graphics.conf to load vesafb as a fallback21:50
lifelessslangasek: thanks21:51
slangasekso if this is a bug with the upstart jobs, it's that the video doesn't get *seen* until we're already out of the initramfs21:52
slangasekif we *did* see the video (which the udev log will tell us), and this is happening, then it looks like a kernel bug to me21:53
slangasekoh, in fact there's a udev log on that bug; let's see21:54
hallynbryceh: oh i believe that's teh same as my bug 96948921:54
ubottuLaunchpad bug 969489 in lightdm (Ubuntu) "lightdm tries (and fails) to start too early?" [Undecided,Confirmed] https://launchpad.net/bugs/96948921:54
brycehhallyn, interesting, I think you might be right21:55
hallynand yes that's what i was wondering, if there's any way upstart can get an event when the driver is ready...21:56
hallynIf not, perhaps long-term we should add one (a uevent...)21:56
=== jsjgruber-x-p is now known as jsjgruber
slangasekhallyn: I think the event it's already keyed on is supposed to *be* that event :)21:56
brycehapw, ^^21:57
slangasekdrm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=121:57
slangasekwhy would the kernel claim the drm device is available before it's usable?21:57
=== jsjgruber is now known as Guest33918
hallynslangasek: yeah, i *did* see that... which is why threw my hands in the air and filed a bug :)21:57
hallynslangasek: i wonder if nouveau does the right thing there, and nvidia is just sticking their tongues out at us21:58
hallynslangasek: so you think the drm-device-added device might be sent too early?  interesting21:58
brycehit appears to be failing in querying the drm interface version21:59
slangasekbryceh: line 4396 of the udev log shows drm card0 coming up at 1.901920 after boot; the udev doesn't start on the root filesystem until 2.244658 according to BootDmesg.txt21:59
slangasekbryceh: so the drm device *was* there for coldplugging, which makes this a kernel bug21:59
brycehhallyn, can you post your /var/log/Xorg.0.log and dmesg to bug 969489?21:59
ubottuLaunchpad bug 969489 in lightdm (Ubuntu) "lightdm tries (and fails) to start too early?" [Undecided,Confirmed] https://launchpad.net/bugs/96948921:59
=== Guest33918 is now known as jsjgruber
brycehslangasek, ok thanks21:59
slangasekfundamentally, there is still a race in how we're handling video at boot... but as my earlier surprise indicates, I think it's incredibly unlikely we'll hit it in practice22:00
brycehslangasek, I'm gathering it was there but not reporting the right version22:00
hallynbryceh: I had actually attached those to the dup, bug 96483022:01
ubottuLaunchpad bug 969489 in lightdm (Ubuntu) "duplicate for #964830 lightdm tries (and fails) to start too early?" [Undecided,Confirmed] https://launchpad.net/bugs/96948922:01
brycehhallyn, ok thanks22:04
Sarvattodd, vesafb module isnt found but its at /lib/modules/3.2.0-23-generic/kernel/drivers/video/vesafb.ko so that modprobe vesafb in udev-fallback-graphics would never work?22:04
hallynbryceh: no, actually, i don't see it.  i remember attaching both Xorg.0 and Xorg.1, but i don't see them22:04
Sarvattsudo modprobe -b vesafb22:05
SarvattFATAL: Module vesafb not found.22:05
Sarvattmight explain why proprietary drivers have used the text splash for the past few releases22:05
hallyni'll post them the next time it boots wrongly22:05
slangasekSarvatt: I think that's a generic error22:05
slangasekSarvatt: cf. dmesg22:06
slangasek(and curse you for tricking me into testing that on my running intel system :)22:06
slangasekgave me a very nice kernel oops on modprobe -r :P22:07
slangasekbryceh: ok, there's one more thing I'm checking here22:07
slangasekit's possible upstart is getting the event itself too early22:07
apwslangasek, we know that the drm driver can be opened by splash before its ready.  we had to add an 'EAGAIN' failure there22:07
brycehhallyn, ok so in your case nvidia is ready at 7.9 sec22:07
bryceh[    7.915284] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  295.20  Mon Feb  6 21:07:30 PST 201222:07
apwslangasek, we may or may not cope witht aht in userspace22:07
slangaseki.e., when the kernel declares the device is added instead of when udev has actually loaded the driver for it22:07
slangasekapw: really?22:08
hallynmolasses!22:08
brycehhallyn, but X has given up by 7.3 sec22:08
Sarvattslangasek: apologies, it really does nothing here22:08
apwslangasek, really yes22:08
bryceh[     7.389] (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module. Please see the22:08
slangasekapw: you sure you're not thinking of the EAGAIN in the VT opening?22:08
brycehhallyn, so seems to support idea it's the same problem, although the logs differ a bit22:08
apwcommit 6d74feca6235b463ade4ecddd1dfdb73d30a2ff722:09
apwAuthor: Andy Whitcroft <apw@canonical.com>22:09
apwDate:   Thu Jul 29 16:48:21 2010 +010022:09
apw    UBUNTU: SAUCE: drm -- stop early access to drm devices22:09
apwslangasek, ^^22:09
slangasekhmm!22:09
slangasekbryceh: ^^ apw did it ;P22:09
brycehahaa22:09
apwslangasek, apw stoped the machine exploding in a heap when you opened it too early ... and we return EAGAIN to tell you to try again ... how nice are we22:10
slangasekbryceh: are the timestamps in Xorg.log time since boot?22:10
brycehslangasek, I believe so, yes22:10
slangasekok22:10
* apw wonders if we returned ERESTARTSYS that we'd DTRT without you knowin22:11
brycehapw, is there a signal it sends when it really is ready to go, that upstart should listen for instead?22:11
apwbryceh, nope not that i know of22:11
slangasekapw: why does udev get the uevent at all before it's ready to go?22:12
apwbryceh, its a race, we need to know the minors to tell the load method, but till its run we can't actually safely open them22:12
apww22:12
slangasekthat's the real question, I think22:12
apwwhich is why we have to tell you to hang fire a sec22:12
slangasekah22:12
brycehok, so upstart needs to catch and block and retry until it doesn't get EAGAIN?22:13
slangasekno22:13
slangasekupstart shouldn't do that for you22:13
apwthough any open can return EAGAIN and you really should damn well listen :)22:13
slangasekupstart should not open the drm device at all - it's up to whatever wants to use it to handle this22:13
slangasek(assuming the kernel really can't defer announcing it until it's initialized)22:14
apwright, we presumably run plymouth or X and its crapping self cause the open failed22:14
brycehok, so then _X_ should block and retry on the device until it gets something working?22:14
slangasekyes22:14
apwthat'd be helpful if it could22:14
brycehhum22:14
apwas EAGAIN really means, ooops could you try that again please22:14
cjwatsonjibel: even installing over an existing installation without formatting is supposed to clear out all system directories22:14
apwwe may be able to do it to you in the kernel, but its harder to make it safe against failure22:15
apwat least you can shoot X from a shell22:15
brycehheh, was just thinking it'd be hard to make it safe against failure in X.  ;-)22:15
apwbryceh, well it should only do it for open == -1 and errno == EAGAIN22:15
* apw looks at the time ... time for some shuteye rsn22:16
slangasekbryceh: bug #969489 is going to be slightly different... binary driver, no drm, we'll *always* hit the fallback AFAIK22:33
ubottuLaunchpad bug 969489 in lightdm (Ubuntu) "lightdm tries (and fails) to start too early?" [Undecided,Confirmed] https://launchpad.net/bugs/96948922:34
slangasekso that's a case where the events really are wrong... we just don't really have a way to fix them, because it's binary22:34
hallynslangasek: that'd be good to know, and i suppose a nice stick to force ppl like me to switch22:35
slangasekhallyn: you won't have this particular issue with nouveau, for sure22:35
brycehslangasek, yeah I was just musing about that on #ubuntu-x22:36
roaksoaxhi guys I have a question about upgrades and dependencies. PackageA used to depend on PackageB, but now it Depends on PackageC. PackageC, however, Conflicts/Replaces on PackageB. On dist-upgrade, dpkg wants to remove packageA. However, if I install PackageC it replaces PackageB successfully. Any ideas of why would this be?22:36
brycehslangasek, so, fixing 982889 doesn't really buy us much; that case is kind of a corner case of a system with really fast hw.  the blob case is where we've seen the bulk of this type of problem, and hacking libdrm doesn't help us there.22:37
slangasekwell, it buys you better reliability on systems with good drivers ;P22:38
slangasekbut yeah, it doesn't help much if you're getting lots of complaints with nv/fglrx22:39
brycehslangasek, my guess is as more people get (faster) ssd's we may see more in general across all drivers22:40
brycehalso, I need one of these SSDs :-)22:40
brycehslangasek, at least I feel like I have a better understanding of the problem, thanks.  Bummer that upstart isn't of help here though.22:41
slangasekGod forbid upstart should stand between X and the kernel ;)22:44
slangasekif you can figure out a better way to make the kernel even reliable in the first place, that'd be something22:44
jtaylordoko: is python-argparse still going to be fixed or not? its currently blocking an update of mine23:03
bdmurrayslangasek: so that's the only update-notifier-common conffile bug23:21
robert_ancell@pilot in23:24
=== udevbot changed the topic of #ubuntu-devel to: Precise: Final Freeze | Dev' of Ubuntu (not support or app devel) | build failures -> http://bit.ly/HaWdtw | #ubuntu for support and general discussion for hardy -> oneiric | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots: robert_ancell
elmocjwatson: would you consider a bug that asked for grub to not default to hiding when using a serial console?23:29
cjwatsonelmo: yes, though probably not for precise at this point (that code isn't exactly elegant and is thus delicate)23:30
elmocjwatson: sure23:31
elmocjwatson: grub-installer package, right?23:33
cjwatsonelmo: no, grub223:34
elmooh, ok23:34
cjwatsonmost probably, anyway23:34

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