/srv/irclogs.ubuntu.com/2007/12/17/#ubuntu-x.txt

ubotuNew bug: #176809 in xserver-xorg-video-intel (main) "X crashes when starting any 3D app with 965GM" [Undecided,New] https://launchpad.net/bugs/17680900:26
ubotuNew bug: #165253 in xserver-xorg-video-openchrome (main) "cannot select via or openchrome driver in screens & graphics dialog" [Undecided,Incomplete] https://launchpad.net/bugs/16525307:06
=== seb128_ is now known as seb128
=== mvo_ is now known as mvo
ubotuNew bug: #116919 in xserver-xorg-input-synaptics (main) "The Synaptic Touchpad is not disabled automatically when an external mouse is attached." [Undecided,New] https://launchpad.net/bugs/11691918:45
mvobryce: can I nag about the file overwrite problem in libx11-data <-> libx11-6 for dapper->hardy upgrades again?21:06
brycesure, what's the bug id?21:06
mvoits launchpad bug #17655521:08
ubotuLaunchpad bug 176555 in libx11 "libx11-6 / libx11-data conflict during upgrade from Dapper" [Medium,Confirmed] https://launchpad.net/bugs/17655521:08
bryceok, were there any issues found with adding that conflicts?21:09
mvobryce: the patch is wrong (sorry, haven't looked at it)21:12
mvobryce: it should be a replaces instead of a conflict21:12
mvosorry, I haven't looked at the patch, just at the bug (I got it in my auto-upgrade-tester script)21:12
bryceaha21:12
bryceok, rolling patch21:14
mvocool, thanks21:14
tjaaltonuh, it used to have that.. but then I filed a sync request21:19
brycetjaalton: hrm, sounds like something to push upstream?21:19
tjaaltonor something like that, and it got dropped21:19
tjaaltonperhaps, it's simple21:20
mvoheh :) I remember that we fixed this but then I wasn't sure anymore21:20
brycein any case, if you want to reupload the change, I've stuck it here:  http://people.ubuntu.com/~bryce/Uploads/21:21
brycesounds like the priority would be to get this into debian though21:21
tjaaltonoh wait, it's committed already, but -2 is not released yet :)21:21
tjaalton+Replaces: libx11-6 (<= 2:1.0.0-1)21:22
tjaaltonbryce: I've got the xorg merge ready, xresprobe is now gone21:23
bryceawesome21:23
brycetjaalton: hold off on that until after alpha-2 is out (later this week)21:24
tjaaltonwhy?21:24
tjaaltonwe need testers, no?21:24
brycewell...21:24
bryceok if you're confident it's not going to break things too badly for people, it can go in21:25
tjaaltonit's not that much different compared to alpha1 ("no xorg.conf") :)21:25
bryceheh, true21:25
brycespeaking of which, what needs done to fix that?  I should put some time into that bug21:25
bryce(btw, deb of the libx11 change is up - http://people.ubuntu.com/~bryce/Uploads/)21:26
tjaaltonand that's simple to fix in livecd-rootfs (create a new file after it removes the existing one)21:26
tjaaltonthen the situation would be the same as after preinst21:26
tjaalton=empty file, and a md5sum that matches it21:27
brycehow do you mean?21:27
brycelike add a call to dexconf in one of the livecd scripts?21:27
tjaaltonno, the session runs reconfigure already, but currently that fails21:27
tjaaltonso we don't need to touch anything in addition to livecd-rootfs21:27
tjaaltonI'm not sure what actually broke this in hardy, but it's a lot more complicated to fix in xserver-xorg21:28
tjaaltonl-r removes the file because it needs to have a clean start (=dpkg-reconfigure xserver-xorg), but that fails because the postinst notices that there is no xorg.conf, and thinks that's how the user wants21:32
brycehrm21:35
bryceheya tormod21:35
tormodheya bryce21:35
brycehmm21:38
bryceso, is the right fix to make livecd-rootfs not remove that file to begin with, or to add a control for the dpkg-reconfigure xserver-xorg call to make it generate the xorg.conf even if it's missing, or...?21:39
tjaaltonI'm thinking that let it remove the file, then touch a new one (=md5sum matches since it's empty as the one created on preinst) :)21:40
tjaaltonand do that in livecd-rootfs21:40
brycewill that fix the issue though?21:41
tjaaltonit should21:41
tjaaltonsince that's pretty much how the preinst would have done21:42
tjaaltonalthough I'm not sure if the md5sum should be recreated also21:42
tjaaltonprobably21:42
tjaaltonlook at livecd.sh from livecd-rootfs21:43
tjaaltonit does all sort of cleaning on the chroot21:43
bryceok21:44
mvobryce: for me xserver-xorg postinst hangs on dapper->hardy in noninteractive mode, it seems like something is trying to read from stdin, could you think of anything that might cause this? it may well be a artifact, I'm digging into it currently21:47
jcristauprobably a bug in the debconf code in the postinst?21:48
mvoits not reading from stdin, its something with debconf21:48
mvo0 is connected to a debconf pipe21:49
jcristauright21:49
* mvo looks closer21:50
brycehmm, if postinst doesn't know how to configure the hardware I guess it might prompt for the device or something, however wouldn't running in non-interactive mode prevent that?21:53
jcristaudebconf won't prompt if DEBIAN_FRONTEND=noninteractive21:54
mvohttp://paste.ubuntu.com/2819/ has the debug log21:54
mvoI killed it at this point via ctrl-c, it seems to hang forever21:54
brycehmm, I'm not too familiar with the cirrus driver21:56
jcristaubryce: it has nothing to do with the driver21:56
brycejcristau: is it quitting when it doesn't find valid modes?21:57
jcristauthe postinst calls db_stop, and hangs there21:57
brycebefore that there's a modes call, and it looks like it returned an empty string21:57
tjaaltonwell, that part of the postinst is now gone anyway ;)22:00
bryceright, which is why I'm wondering if the cirrus driver lacks xrandr support or something22:00
tjaaltonthe debug log is from an older version which still used xresprobe..22:01
bryceahh22:01
mvois it? it should be the latest available one in hardy22:02
mvo1:7.3+7ubuntu3 unless I'm very mistaken22:03
tjaaltonmvo: it is, I haven't uploaded +8ubuntu1 yet22:03
jcristauactually s/the postinst/dexconf/22:03
tjaaltonah ok, but still?22:03
mvoshould I wait for this upload instead of poking it some more?22:04
jcristaui don't think it's related to choosing modes. that part doesn't hang.22:04
jcristaudexconf calls db_get xserver-$SERVER/config/display/modes, writes the screen section, then calls db_stop, and hangs there22:05
jcristaui have no clue about debconf though :/22:06
brycehmm, if it's dexconf failing, the only noteworthy error exit after db_stop, is this:22:08
bryce# Ensure we can write to our destination if it already exits.                            22:08
bryceif [ -e "$XF86CONFIG" ]; then22:08
bryce  if [ ! -w "$XF86CONFIG" ]; then22:08
bryce    bomb "unable to write to \"$XF86CONFIG\""22:08
bryce  fi22:08
brycefi22:08
jcristauit's hanging at db_stop 22:08
jcristaunot after that, i think22:09
brycehmm, well all that does is this:22:10
brycedb_stop () {22:10
bryce        echo STOP >&322:10
bryce}22:10
jcristauhrm.22:10
jcristaui think i hit something like that a while ago, and didn't manage to understand what went wrong22:11
mvoI think I have a better trace, give me a sec22:12
mvohttp://paste.ubuntu.com/2822/ <- that include ctrl-c bits at the end, it hangs at "read -r _db_internal_line"22:13
mvoI suspect the earlier db_stop and then a db_unregister might be the problem?22:14
jcristauyeah22:14
jcristauright, so postinst calls dexconf, which calls db_stop, and the postinst tries to use debconf after that -> fail22:15
jcristaumvo: try moving the if block around db_unregister before "if [ -z "$UPGRADE" ] || dpkg --compare-versions "$2" le "1:7.0.14"; then"22:17
mvojcristau: yeah, that fixes it22:20
jcristaumvo: thanks22:20
mvothanks for looking into it with me :)22:20
tjaaltonso should I change that for this upload?22:22
mvoif you have a upload pending, it would definitely be nice to have it22:23
tjaaltonok will do22:23
jcristautjaalton: i'll push a fix to the debian-unstable branch22:23
mvoI can run another upgrade test tomorrow to check if all is good, its 100% reproducable here in my VM22:23
tjaaltonjcristau: ok, I'll pull from you then :)22:24
mvomaybe a comment somewhere that explains that dexconf can run db_stop would be good as well so that its easier to find this kind of error in the future (or to avoid it entirely :)22:25
jcristaumvo: indeed22:26
jcristautjaalton: i'll test a lenny -> sid upgrade before i push the change22:29
tjaaltonjcristau: ok, cool22:30
brycebrb (lunch)22:30
jcristaufor some reason, a lenny -> sid upgrade works fine.22:59
jcristaui'd have thought it would hit the same bug23:00
tjaaltonjcristau: lenny has newer xserver-xorg than 7.0.14, right? Doesn't it in that case skip the dexconf-phase completely?23:02
jcristauah. hum. true23:03
jcristaupushed23:16
jcristaumvo: thanks again23:16
tjaaltonbtw, I get a lintian warning: 'xorg source: stronger-dependency-implies-weaker depends -> recommends ${F:XServer-Xorg-Detect-Depends}'23:21
tjaaltonany idea why? this was not the case with +7ubuntu*23:22
jcristauthe Detect stuff is only in Recommends afaics?23:24
tjaaltonyes23:25
jcristaui suspect a lintian bug23:26
mvocheers, happy to help23:26
* mvo waves23:26
brycetjaalton: how's this look?  http://people.ubuntu.com/~bryce/Testing/livecd-rootfs/23:26
tjaaltonbryce: I think that should do23:27
brycethink we should check with cjwatson first, or just upload?23:28
tjaaltonbryce: nah, he already said that it's fine to commit to bzr and upload23:28
bryceis there an easy way we could test this out to make sure it solves it?23:29
tjaaltoncreate the rootfs and reconfigure xserver-xorg on it23:29
tjaaltonmaybe that would do23:30
tjaaltonok, uploading xorg merge with the debconf-fix23:31
tjaaltonI can test the livecd stuff tomorrow23:34
brycecool, thanks23:34
bryceI'm committing the change to bzr now23:35
tjaaltongreat23:35
brycelooks like the last change was UNRELEASED; I don't know what that means23:35
bryceoh, I think I understand23:36
tjaaltonit's also used by the debian git23:36
tjaaltonto accumulate changes before an upload23:36
bryceok here we go - http://people.ubuntu.com/~bryce/Testing/livecd-rootfs/23:39
brycethat's generated against hardy and includes colin's unreleased change23:40
bryceso tomorrow, if it tests out ok, I think it can be uploaded23:40
tjaaltonhmm, the release should probably be hardy :)23:41
tjaaltonor do you mean that change it when it works23:41
bryceright23:41
tjaalton?23:41
tjaaltonok23:41
brycehmm, I can't push to bzr23:43
tjaaltonmaybe it needs core-dev powers?23:43
bryceprobably23:43
tjaaltondamn, I need to learn bzr then :)23:44
bryceanyway, that should be good for testing23:44
tjaaltonsure23:44
bryceheh, this is all I did:23:44
bryce  622  bzr clone https://code.launchpad.net/~ubuntu-core-dev/livecd-rootfs/trunk livecd-rootfs23:44
bryce  623  cd livecd-rootfs23:44
brycework work work23:44
bryce  638  bzr diff > leave_token_xorg.patch23:44
bryce  641  bzr commit23:44
bryceedit edit23:44
bryce  644  bzr push https://code.launchpad.net/~ubuntu-core-dev/livecd-rootfs/trunk23:45
tjaaltonsounds git enough :)23:45
bryceyup23:45
tjaaltonok, I'll push that tomorrow when (!) it works23:46
brycekewl23:46
tjaaltontime to go to bed now, night!23:46
brycemy goal for today is to finally get this xserver git-head built23:46
bryceso I'm keeping fussing with it - now need to get mesa git-head built...  *sigh*23:47
bryceanyway, night, cya tmrrw23:47

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