/srv/irclogs.ubuntu.com/2008/07/12/#ubuntu-devel.txt

YokoZarkees: Do you remember that initial memory access stuff we talked about at UDS-boston?00:00
YokoZarkees: I think you looked over my shoulder and saw a bug report ~ Wine and being unable to nab the early memory range (https://bugs.edge.launchpad.net/ubuntu/+source/wine/+bug/114025)00:01
ubottuLaunchpad bug 114025 in wine "Problem with wine preloader: Warning: failed to reserve range 00000000-60000000" [Medium,Confirmed]00:01
YokoZarWell, now that the kernel change is in Hardy...it's breaking Wine (namely 16 bit apps).  I'm still trying to figure out a good way to fix it without disabling the setting entirely when Wine is installed (I just put out an email to ubuntu-devel) about it.00:02
YokoZarkees: Forgive me if I'm confusing you with someone else, by the way ;)00:02
keesYokoZar: you've got the right person.00:03
keesYokoZar: basically, 16bit apps shouldn't all need that memory space.00:03
sistpotyheh, I just wanted to write that this sounds like the crack kees is into ;)00:04
kees:)00:04
YokoZarkees: I'm not exactly sure how Wine handles that memory space, or if there's some sort of virtual memory workaround upstream could eventually do00:06
keesYokoZar: and 32bit apps should almost never need it00:06
YokoZarkees: yes, even without the setting running 32 bit apps still works in Wine just fine00:06
keesYokoZar: I think it can be worked around, but it's a little painful.  My thought has been that if someone needs to run a 16bit app that actually needs that memory area, just turn off the protections.00:06
YokoZarkees: I believe the trouble is Windows never made a proper separation in some instances, and a lot of 32 bit programs will invoke 16 bit instances of things, causing a potential crash in the middle rather than refusal to run outright.00:07
sistpotykees: are we talking about virtual addresses there? if so, any pointer why it's disable in the first place?00:08
YokoZarkees: The other trouble, of course, is that it's still hard to turn off protections and we have no easy way of doing it (or, for that matter, figuring out if it will be needed before running the application)00:08
keessistpoty: unfortunately while it is technically virtual (i.e. not mapped to physical location), the kernel and userspace tools use the same memory address space.00:09
keesYokoZar: I'm not aopposed to turning it off if someone install wine in general.  Just finding a good way to manage it I think is the key.00:09
sistpotykees: ah thanks00:10
keesYokoZar: I think newer procps (the package that does /etc/sysctl.conf) has an /etc/sysctl.d directory now, so maybe we can do something with that.00:10
YokoZarkees: Yeah.  my thought was to have an (optional) "turn-it-off" package that turns it back on when removed00:10
keessistpoty: yeah, I find it confusing and slightly alarming, but that's how it is.  :(00:10
YokoZarAnd then have Wine depend (or I guess recommend that)00:10
sistpotykees: I always though kernel would use quite a high address space, but tbh I never looked nor cared *g*00:11
keessistpoty: it does, it uses (on i386) the range from 3 to 4G00:11
keesYokoZar: yeah, let me check on procps and get back to you about how we might best approach it.00:11
YokoZarkees: Thanks a lot :)00:12
keesYokoZar: np, thanks for poking me about it.  :)00:12
sistpotykees: oh, but where is it shared then?00:12
keessistpoty: it's the address space that's shared.  i.e. memory address 0x0 is visible to the kernel.00:13
keesso if it gets mapped by a userspace process, the kernel may access it on a NULL deref.00:13
sistpotykees: I, I see, thanks for the insihgt00:14
sistpoty(h<->g)00:14
* kees nods00:15
=== SoylentGrun is now known as gaurdro
emgenthello people02:33
tiglionabbitwith python-xml moved, I can't use Gogh.  The workaround isn't working for me03:06
LaserJocktiglionabbit: what package is that from?03:07
tiglionabbitpython-xml03:08
tiglionabbitis the package I want to use03:08
tiglionabbitGogh is not in the repositories03:08
tiglionabbithttps://bugs.launchpad.net/ubuntu/+source/python-xml/+bug/21572303:08
ubottuLaunchpad bug 215723 in python-xml "[Hardy] ImportError: No module named ext" [Undecided,New]03:08
LaserJockah, that's why I couldn't find it03:08
LaserJock:-)03:08
tiglionabbithttp://www.goghproject.com/03:09
tiglionabbitI tried the workaround in the terminal, but I still can't import xml.dom.ext.  What am I to do?03:10
LaserJocktiglionabbit: hmm, maybe you could email the gogh author?03:12
LaserJockunless some smart Python person has any better ideas03:12
LaserJockScottK: you around?03:12
tiglionabbitwell, considering it works on any other distribution...03:13
tiglionabbitI was hoping there would be a solution to this03:13
tiglionabbitI asked in #python and they thought ubuntu was silly for doing this03:14
LaserJockhehe03:14
LaserJockI don't have any specific knowledge of the python-xml stuff03:15
LaserJockbut my guess would be that the gogh author might have some idea of what specifically is going on03:16
cody-somervilleHey03:17
tiglionabbiturk, how do I import this03:19
pwnguinwell, languages are in motion; if you dont tread water, the project will drown03:19
pwnguindrownd03:19
tiglionabbityou don't have to throw away code just because it's old03:19
pwnguinsure, you can port it forward03:20
pwnguinassuming it wasnt built on a philosophy the language depricates03:20
tiglionabbitI just want to know how to import it on ubuntu03:20
pwnguini have no specific python knowledge, but often times development stuff is stored in -dev packages?03:21
cody-somervilletiglionabbit, If you send me an e-mail I promise to look into the issue for you.03:22
* cody-somerville has to jet atm.03:22
tiglionabbitwhat's your email?03:22
pwnguinsomerville32@ubuntu.com?03:22
cody-somervillecody-somerville@ubuntu.com03:23
grandyhello, has anyone written upstart config for a custom daemon?  just looking for some advice03:44
pwnguinIs there a way to query the HW database or ubuntu.com weblogs for information on display sizes and DPI?03:47
emgentslangasek: ping03:59
slangasekmoo03:59
emgentslangasek: take a look Bug #24761203:59
ubottuemgent: Bug 247612 on http://launchpad.net/bugs/247612 is private03:59
slangasekemgent: seen it04:03
emgentslangasek: thanks.04:05
slangasekemgent: given that all the relevant folks are already gone for the weekend (some of them traveling), I think this will probably wait until Monday04:06
emgenti think so04:08
* emgent love mod-security04:10
=== gaurdro is now known as GPL
=== LucidFox is now known as TSLRPFox
=== TSLRPFox is now known as LucidFox
=== cjwatson changed the topic of #ubuntu-devel to: intrepid alpha-2 released, archive open | Ubuntu 8.04.1 released | Development of Ubuntu (not support, not application development on Ubuntu) | #ubuntu for support and general discussion for dapper/feisty/gutsy/hardy, #ubuntu+1 for intrepid | #ubuntu-motu for getting involved in development | http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://wiki.ubuntu.com/HelpingWithBugs
cjwatson(pp Steve, at least as far as I can tell :-) )07:55
slangasekoops, yes :)08:07
halexwin 2508:32
halexOh, grrr.08:32
jpdshalex: /script exec for (1 .. 200) { Irssi::command("/alias $_ window goto $_") }09:05
halexjpds: oh, neat. Danke.09:06
jpdshalex: Bitte.09:06
=== DrKranz is now known as DktrKranz
gnomefreaktseliot: if you are around, why does the new nvidia-glx-173 (im sure not only that version) once modules are built system plays the gnome login sound but never restarts gnome session? is this a bug or a feature?11:07
tseliotgnomefreak: it's a bug but not in the driver or in the package11:08
tseliotand it's not supposed to restart anything11:08
gnomefreaktseliot: oh ok thanks. i only notice it after friver update thats why i thought it was nvidia drivers11:08
gnomefreakit doesnt restart it but it plays the sound as if you loged in11:09
tseliotyes, I know. It would be interesting to find the cause of the problem.11:09
gnomefreaktseliot: agreed11:09
gnomefreakif i knew what package triggers it than i might beablet to track down the cause but finding the package is hardest part11:11
bigonshoudn't v86d be installed by default as it seems to be needed by the uvesa driver?11:51
cjwatsonbigon: yes, there's a bug on (I think) linux-meta about it12:05
bigonoh ok12:05
cody-somervillecjwatson, I'm having some trouble regenerating the xubuntu meta package.12:11
cody-somervillecjwatson, for some reason it seems to be skipping i386 and amd64, lol12:11
cjwatsoncody-somerville: can you send me mail describing the problem? I'll certainly look at it12:18
cody-somervillecjwatson, thanks12:21
cody-somervillecjwatson, odd, I've seemed to have managed to fix it but I'm not sure what I did, lol12:30
sjoerd89/topic12:36
sjoerd       12:42
emgentgood morning12:47
=== Tonio__ is now known as Tonio_
savvasif I want to create i386 package using a ubuntu amd64 I just use debuild -us -uc -a ?14:35
savvas-ai386 *14:36
savvas?14:36
cjwatsonsavvas: no, not reliably and not without some other setup (32-bit development libraries etc.). It would be better to create an i386 chroot.14:54
* ogra sighs about ubuntu-users 14:54
cjwatsonsavvas: debootstrap --arch=i386, or pbuilder --debootstrapopts --arch=i38614:54
wgrantogra: Anybody installed XFree86 lately?14:55
cjwatson(in the latter case, just at the create step)14:55
savvasthanks cjwatson14:55
ograwgrant, nah, a guy who doesnt manage to stop insulting people ... he triggered https://lists.ubuntu.com/archives/ubuntu-users/2008-February/137100.html in feburary and just starts over to call people assholes, wankers and tells then STFU14:56
ogras/then/them/14:56
wgrantOh dear.14:56
=== enrico_ is now known as enrico
=== |Baby| is now known as Baby
alex-weejany ideas how i've managed to get a "(now)" available version for a package in synaptic when it isn't even installed?16:13
alex-weeji've a feeling something has broken in my dpkg database16:13
cody-somervillelovely, the new flash likes to crash my firefox16:34
lagahow is that different from the old flash?16:35
cody-somervillelaga, it just rendered transparency as opaque16:36
cody-somervillenow it crashes16:36
lagaheh :)16:36
* highvoltage can't wait for free flash to mature16:36
alex-weejit won't happen16:36
alex-weejboth gnash and swfdec have like 0.1 developers16:37
lagaadobe needs to.. oh, is this channel logged?16:37
laga;)16:37
highvoltagealex-weej: gnash actually has quite a few full-time, paid developers16:37
alex-weejbut it's GNU16:38
highvoltagealex-weej: and recently Adobe has released a substantial amount of free-flash specs16:38
highvoltagealex-weej: and?16:38
alex-weejand... like... they have beards16:40
=== hefe_bia_ is now known as hefe_bia
IntuitiveNippleWhen versioning for a PPA package upload, should the version number increment? E.g. with package-1.2.3 should it be package.1.2.3~ppa1 or package.1.2.4+ppa1. I ask this because a while back I found that Update was offering to replace installed package-1.2.3~ppa1 with package-1.2.3 but the docs I read at the time didn't make it clear17:18
tormodIntuitiveNipple: 1 < 2~ppa < 2 < 2+ppa17:30
cjwatsonIntuitiveNipple: well, at the risk of stating the obvious, it depends whether you want the PPA to supersede what's in the regular archive or not :-)17:30
cjwatsonIntuitiveNipple: usually you'd want it to be newer than anything in the release it's targeted for - so if 1.2.3 is in hardy and you're uploading to a hardy PPA, you'd want to use 1.2.3+ppa1, whereas if 1.2.3 is in intrepid and you're uploading to a hardy PPA, you'd want to use 1.2.3~ppa117:32
IntuitiveNippleThanks... I just found the answer in my launchpad-users mail folder from an email by Martin Schwenke on May 17th... his suggestions now added to the PPAQuickStart guide which, last time I'd looked this up, didn't have his updates17:32
cjwatsonIntuitiveNipple: try to avoid making it greater than the expected next version in the normal archive17:32
cjwatson(hence 1.2.3+ppa1 rather than 1.2.4+ppa1)17:32
IntuitiveNipplecjwatson: I was mostly confused because logic seemed to say 1.2.3 < 1.2.3ppa lexically at least17:32
cjwatsonand you can use dpkg --compare-versions to ask "is this version greater than that version?"-type questions17:33
cjwatsonIntuitiveNipple: it is - "~" is magic though17:33
cjwatson$ dpkg --compare-versions 1.2.3 lt 1.2.3ppa && echo yes17:33
cjwatsonyes17:33
IntuitiveNipplecjwatson: Yeah... hence the confusion... but my main reason for asking is, I'm trying to figure out how to do a custom kernel build on the PPA and get the versioning correct... the prepare-ppa-source does its own thing with the versioning specific for the 'main' kernel PPA17:34
cjwatsonah, now, the kernel is kinda weird with versioning17:34
IntuitiveNippleYes, you see now why I'm trying to understand it!17:35
cjwatsonalthough bear in mind that prepare-ppa-source may be partially intended for use by Ubuntu kernel team members who are preparing preview versions of the next kernel version along17:35
cjwatsonpersonally, unless it was a backport from a later release, I'd just append "ppa1" or "+ppa1" and not worry about it too much17:35
IntuitiveNippleYes, it is, I'm trying to figure out how others have managed to upload and build kernels correctly17:35
cjwatsonthe only real weirdness in the kernel versioning scheme is that it's UPSTREAM-ABI.REVISION17:36
IntuitiveNipplethe entire kernel source preparation process is different to a regular package17:36
cjwatsonso as long as you don't screw up ABI then it shouldn't make too much difference17:36
IntuitiveNippleyeah.. breaking the ABI is something I'm trying to avoid17:36
IntuitiveNippleThe bug-fix works! I'm just trying to find a 'nice' way to make it available for testing17:37
cjwatsonhow to seriously confuse yourself by mistake: go to https://launchpad.net/ubuntu/+source/python-gtk2 rather than https://launchpad.net/ubuntu/+source/pygtk17:37
cjwatson"uh, hoary? what?"17:37
IntuitiveNipplelol yeah... there's a lot of 'legacy' stuff that often confuses me too17:38
cjwatsoninfinity: http://launchpadlibrarian.net/15978774/buildlog_ubuntu-intrepid-hppa.pygtk_2.12.1-6ubuntu1_FAILEDTOBUILD.txt.gz - is xvfb known-broken on hppa?17:38
savvascjwatson: thanks for the pbuilder tip, building with it is increbidly easy and wonderful to manage cleaning up :)17:38
cjwatsonyou're welcome17:38
savvasone tiny problem though, could be neglected, but i used "--buildplace ." and it still made the resulting .deb packages in /var/cache/pbuilder/result/17:40
cjwatsonafraid I don't know, I was just quoting the pbuilder equivalent to what I knew to work for debootstrap17:41
cjwatsonif you think it's a bug, file it17:41
savvasI'll try it again a bit later, thanks17:43
cjwatson(I don't actually use pbuilder myself)17:44
savvasit's good for a playground :)17:45
wattazoumhello everyone18:03
wattazoumI am trying to use apport for non Ubuntu package (the project is hosted on Launchpad but not registered on the Ubuntu Distribution) . Is it possible ?18:04
* bluefoxicy grabs alpha 2 to see if it's got compcache in it, and if it works.18:07
cody-somervillebluefoxicy, let me know what you find out18:08
bluefoxicycody-somerville:  have you looked at the code?18:08
cody-somervillebluefoxicy, not since UDS18:08
bluefoxicyComing from someone who could never read kernel code like this, it looks like a vanilla block device that self-initializes to swap space but doesn't enforce that.18:08
bluefoxicyso, I'll tinker with it.  Then swapoff and put a file system on it :p18:08
bluefoxicyalso, imagine suspending with this thing active... XD18:09
bluefoxicy<kernel> resuming ................... wtf?18:09
cody-somerville<g>18:10
bluefoxicy(actually in theory it would store the kernel memory for the device somewhere; however, it might realize it's SOMEHOW out of swap space during the suspend process)18:13
=== johanbr_ is now known as johanbr
cjwatsonbluefoxicy: ogra tested it and found that suspending with compcache active worked fine18:38
cjwatsonI assume for hibernate there are the usual constraints of requiring a big enough swap partition18:39
bluefoxicyyeah18:39
bluefoxicyanyway trying to not kill myself while feeling around for voltage levels inside live high-voltage vacuum tube power amps, ttyl18:41
ScottKLaserJock: I'm around for a few minutes now.  More later today.18:44
bluefoxicykernel panic - not syncing, attempt to kill the idle task!18:44
* bluefoxicy rolls back to -17 in Hardy in virtual box so he has vboxadd.ko, because without it the damn thing locks up X on the host as soon as he starts playing a video.18:58
=== Kopfgeldjaeger2 is now known as Kopfgeldjaeger
cody-somervilleCan someone block the flash update? Firefox is crashing like crazy :/19:30
savvasin backports?19:31
savvaslooks like i'm the only one not using backports :)19:32
cody-somervillesavvas, seems like it :P19:32
savvascody-somerville: sudo aptitude forbid-version flashplugin-nonfree :P19:33
savvasa person in ubuntuforums said that he was having problems with a flash site, and claimed backports were great and ok, when he reverted back to version 9 i had a good laugh when he said it was fixed :)19:35
LaserJockScottK: nvm, it was a python-xml question somebody had last night19:35
cody-somervilleThere doesn't seem to be a regression policy for backports19:39
cody-somervilleShould I just e-mail the TB like I would an SRU?19:39
LaserJockcody-somerville: I'd just talk to jdong or another backporter19:42
cody-somervillejdong, hey you :P19:42
cody-somervilleUgh... the phone calls have started :(20:16
LaserJockcody-somerville: dude, it's backports, it's expected to not work much of the time :-)20:19
cody-somervilleLaserJock, Thats absolutely untrue20:20
cody-somervilleOn the wiki page it says:20:20
cody-somerville"A great deal of work goes into testing backports and it's highly unlikely for a backport to be a severe regression from the version it replaces."20:20
cody-somervilleAnd I'm looking at the bug report for the backport (haven't read it all yet) but even before it was uploaded there were reports of the crashing.20:21
LaserJockright, well, that's why I don't run it20:21
cody-somervilleFurthermore, the status of the bug doesn't indicate it was approved but I should know what happened in a second - lots of comments to go through20:21
LaserJockmy understanding is that when you run development release packages on the stable release you should expect it to run roughly like the development release20:22
tritiumcody-somerville: /etc/apt/sources.list words it differently20:22
cody-somervilletritium, what are you trying to say?20:23
tritiumcody-somerville: what you pasted said a great deal of work goes into testing, whereas /etc/apt/sources.list contradicts that.  I'm not trying to say anything.  I'm pointing out the difference.20:24
cody-somervilletritium, Well, it almost seemed like you were suggesting that the comments in /etc/apt/sources.list would be common knowledge20:26
tritiumcody-somerville: nope, I wasn't suggesting anything20:26
LaserJockwell, presumabely they should be20:26
cody-somervilleLaserJock, why would a user (for the common use case) read the contents of /etc/apt/sources.list over /user/include/getopt.h ?20:29
LaserJockI'm not saying they should read it20:29
LaserJockbut *presumably* what is in sources.list should be common knowledge and consistent with what people are documenting20:29
cjwatsonso is the problem that libflashsupport is in -backports?20:30
LaserJocki.e. sources.list should represent a fairly canonical source of information on the repos20:30
cjwatsonseems to be what bug 235135 suggests20:30
ubottuLaunchpad bug 235135 in flashplugin-nonfree "[MASTER] Please backport flashplugin-nonfree version 10 beta and asound-plugins from Intrepid so we can drop libflashsupport and the crashes it causes" [Undecided,Invalid] https://launchpad.net/bugs/23513520:30
cody-somervillecjwatson, no, I don't think so20:30
cjwatsoncody-somerville: so is Alexander wrong in that bug?20:30
cjwatsonhmm, seems to be inconsistent between users20:31
* cody-somerville nods.20:31
cjwatsonScottK: should I remove flashplugin-nonfree and libflashsupport from -backports? I've only skimmed the bug and would like your say-so20:32
=== asac_ is now known as asac
cjwatsonScottK: note that the only way to deal with users who have already upgraded is to upload a higher version, though20:32
cjwatsonso this is purely prophylactic20:33
cody-somervillecjwatson, In his e-mail to -devel he says yes20:38
cody-somerville"I am aware (I approved the backport) and as soon as I get somwhere that20:38
cody-somervillelends itslef to a stable IRC presence (less than an hour) I intend to hunt20:38
cody-somervilledown an archive admin and deal with it."20:38
cody-somervilleWell... I suppose thats not exactly what he says, heh.20:39
* cody-somerville is off to take a nap.20:41
cody-somervilleOh, luckily it appears Firefox already has a patch :)20:42
YokoZarcjwatson: can I trouble you to take a peak at https://bugs.launchpad.net/bugs/246118  ?  It got tagged verification-done but hasn't hit the archive yet20:42
ubottuLaunchpad bug 246118 in wine "Wine 1.0 as a stable release update for Hardy" [Undecided,Fix committed]20:42
ScottK-laptopIs there an archive admin in the house?21:27
cjwatsonScottK: hi21:39
cjwatsonScottK-laptop: you too21:39
cjwatsonScottK-laptop: so what should be done with flash?21:40
ScottK-laptopHello21:41
ScottK-laptopMy intent (if you agree) is to upload the hardy release versions to backports with a higher number so users naturally upgrade back to where they were.21:42
ScottK-laptopi.e. libflashsupport-1.9-0ubuntu2~hardy2~really1.9-0ubuntu121:43
cjwatsonScottK-laptop: I think that's theoretically the best action, although the version number is going to be truly unfortunate21:43
ScottK-laptopYes.21:43
ScottK-laptopI need a little time for testing.21:43
cjwatsonjust libflashsupport, or flashplugin-nonfree too?21:43
ScottK-laptopBoth21:43
cjwatsonmore confusing for the latter, really21:43
ScottK-laptopnixternal reported that removing libflashsupport was not sufficient21:43
cjwatson10.0.1.218+10.0.0.525ubuntu1~hardy2~9.0.124.0ubuntu2? oh man21:43
ScottK-laptopYep.21:44
ScottK-laptopI don't see a better option though.21:44
cjwatsoncan we do hardy1+really, at least?21:44
ScottK-laptopOK.21:44
cjwatsonjust to reduce ~-confusion21:44
ScottK-laptopFair enough.21:44
cjwatsonno, I don't see a better option either - I said something similar above, but you may have been offline21:44
cjwatson20:32 <cjwatson> ScottK: should I remove flashplugin-nonfree and libflashsupport from -backports? I've only skimmed the bug and would like your say-so21:44
cjwatson20:32 <cjwatson> ScottK: note that the only way to deal with users who have already upgraded is to upload a higher version, though21:44
cjwatson20:33 <cjwatson> so this is purely prophylactic21:45
ScottK-laptopWill you be around for a bit so I can ping you after I've tested.21:45
cjwatsonScottK-laptop: so, I'm about to be away for a week, so I'd like to go spend some time with my wife21:45
cjwatsonScottK-laptop: estimated time?21:45
ScottK-laptop~30 minutes?21:45
cjwatsonok, I can check back in then21:45
ScottK-laptopGreat.  Thanks.21:45
* ScottK-laptop gets to work...21:45
cjwatsonYokoZar: done21:48
YokoZarcjwatson: *hugs*22:04
ScottK-laptopcjwatson: They are both waiting for approval.22:11
ScottK-laptop27 minutes instead of 30.22:12
* ScottK-laptop tries to remember what he had planned to do with this free time with a laptop and wifi.22:16
cjwatsonScottK-laptop: accepted, thanks22:23
cjwatsonif they build before :55, they'll be published by about 90 minutes from now22:23
ScottK-laptopcjwatson: Thank you.  Have some good time with your wife.  I'll keep an eye on them.22:24
=== Kopfgeldjaeger is now known as blub
=== blub is now known as Kopfgeldjaeger

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