/srv/irclogs.ubuntu.com/2012/02/01/#ubuntu-kernel.txt

=== smb` is now known as smb
\shmoins10:58
apwmoin10:58
\shguys, somehow I'm missing a module in 3.2.0-* ubuntu kernel  series in precise10:59
\shand this module is named "aufs.ko" it's in 3.0.0-* series in oneiric but somehow I don't find it in the modules directory of 3.2.0-*11:00
apw\sh, yep, thats gone11:00
\shwoot?11:00
\shwhat's the replacement?11:00
apwwe are using overlayfs for our livecds11:00
ashish__can i calc the cpu usage from stat file by reading it once 11:00
\shapw, that's a nice one...so live-boot from debian is broken now, because they are still using aufs11:01
ashish__as i m geetting some skipped results11:01
apw\sh, well i think we use live-boot too now, so i assume we have a fix for that somewhere11:01
apw\sh, else we'd not be able to make cds ourselves11:02
apwashish__, skilled results ?11:03
ashish__apw:skipped as in i am not getting the usage when the usage graph moves suddenly up n is down soon11:05
\shapw, well, I would like to see the fix ;) but why are we not building the module anymore...replaceing aufs with something better ok, but removing a module is not ok ;) somebody could rely on the availability of this module ;)11:05
apw\sh, because it is an out of tree module which required a large amount of support effort to maintain11:05
apw\sh, overlayfs is slated to be the replacement, and we don't want to have to support both for 5 years in P11:06
ashish__i would like to know hw top gives dynamic usage 11:06
apw\sh, and the only way to find out if people are using it is to remove it and see if they can use overlayfs11:06
apwashish__, dynamic useage of CPU?  as in instantaneous load ?11:06
\shok...so how do we fix live-boot to use overlayfs11:06
apw\sh, i have no idea ;)11:07
\shor how do I compile the aufs module by myself ;) 11:07
apw\sh, well the code isn't going to be in the tree for much longer, as we have yet to find anything which can't be converted over11:07
apw\sh, so you'd be porting it yourself to the tree to use it11:07
apw\sh, as i say i believe we are using live-boot for our CDs, and i don't think its needed in the making just the booting of them in the default configuration11:08
apw\sh, and we definatly have fixes in ubuntu to allow use of overlay in preference11:08
apw\sh, now our liveCDs are made by the foundations lot who might be able to clarify my ramblings11:09
apw\sh, they hang out on #ubuntu-devel, asking there about live-boot might get you closer11:09
\shcjwatson in charge for this?  :)11:09
ogra_apw, dont mix live-boot with live-build :)11:09
apwogra_, heh i may be :)  if so then they will know :)11:10
ogra_i dont think we use live-boot (that would replace casper i think)11:10
ogra_but we use live-build to roll the rootfs11:10
apwogra_, ahh, then ... 11:11
ogra_so \sh should send a patch to debian ;)11:11
\shogra_, there was one11:11
\shhttp://live.debian.net/devel/rfc/overlayfs/11:11
\shbut the patch is gone 11:11
ashish__stat file gives me data but shld i include irq,iowait,softirq too  or they are included in user ,nice ,sys processes11:11
apw\sh, thats handy indeed, perhaps it went in11:12
\shapw, no11:12
tkamppeterDid someone already have a look into bug 917148? Working USB printing is essentially important.11:12
ubot2`Launchpad bug 917148 in linux "Kernel problems when accessing USB printers" [Critical,Confirmed] https://launchpad.net/bugs/91714811:12
apw\sh, thats unhelpful11:13
\shapw, it's WiP and the patch is gone from paste.d.n11:13
ogra_\sh two solutions, use casper for your live images or fix debian :) 11:13
\shwait11:13
\shogra_, I'm trying to get FAI working ;)11:14
\shno casper for me here ;)11:14
ogra_well, then fix debian :)11:14
apwtkamppeter, how do we know this is a kernel issue?11:14
\shogra_, looks like the fix is in live-boot...now I need to find a way to enable it11:15
ogra_aha11:15
apw\sh, the fix is applied already ?11:16
\shapw, looks like...I just made a simple grep for overlayfs in the live-boot-initramfs-tools..and found it11:16
\shso I'm trying to enable it11:16
apw\sh, so i think that rfc page has the incantation at the bottom11:16
apw--bootappend-live union=overlayfs \11:16
\shapw, yeah...I'll play with it nwo11:17
\shnow even11:17
apwtkamppeter, how do we know this is a kernel issue? i can't tell from the bug how we have decided that11:18
smbtkamppeter, Just skipping over it I see libusb segfaulting and some devices not properly attach as highspeed which sometimes is a hw fault11:19
tkamppeterapw, I have used several different access methods (CUPS USB backend with old libusb 0.1.x, CUPS USB backend with new libusb 1.0.x, HP's packet mode, multiplex USB backend) and always get the same problem, the data stream breaks even at the same position in the file.11:19
tkamppetersmb, all devices under test worked until Natty.11:20
tkamppetersmb, can you see which libusb is segfaulting? 0.1.x? 1.0.x? Both?11:21
smbtkamppeter, in the dmesg you provided in the bug: 1.0 it seems11:21
smbsegfault at 0 ip 00007f1e2f866ed8 sp 00007fff205f8970 error 6 in libusb-1.0.so.0.0.0[7f1e2f863000+d000]11:22
apwtkamppeter, as this has been since natty it might also be worth checking precise too11:23
smbtkamppeter, It would help to have a dmesg of something that just boots up starts a print job and fails11:23
apwthe precise kernel works well for me on oniric userspace for a quick test11:23
tkamppeterapw, perhaps I should downdate libusb to Natty and repeat the HP backend and USB-libusb-0.1.x test.11:26
apwtkamppeter, that is another good test to try11:26
diwicogasawara / apw, upstream has committed my fixes for bug 923316, bug 923409 and bug 924320. Should I wait a week for it to reach Linus's tree, or should I do something now for you to get it quicker?11:32
ubot2`Launchpad bug 923316 in linux "[regression] Speakers are not muted while plugin the headphone " [Medium,In progress] https://launchpad.net/bugs/92331611:32
ubot2`Launchpad bug 923409 in linux "[Both front and rear Line-In] No sound (codec parsing fails)" [Medium,Fix committed] https://launchpad.net/bugs/92340911:32
ubot2`Launchpad bug 924320 in linux "[HDA Intel] output to hdmi:0 is heard through internal speakers as well" [Undecided,In progress] https://launchpad.net/bugs/92432011:32
apwdiwic, in precise or earlier, we've missed A2 now so there is little rush11:32
diwicapw, ok so that means wait a week (i e until linus has pulled takashi's tree)?11:33
diwicapw, and then I'll propose cherry-picks/backports to the k-t ML11:34
diwic?11:34
diwic(yes, it's 12.04)11:34
tkamppeterDidi someone have a look into bug 900802?  It is a trivial "add another device ID" bug. I have the iPhone 4S and it works great.11:34
ubot2`Launchpad bug 900802 in ipheth "PATCH: Got the USB tethering of the iPhone 4S working" [Undecided,Fix released] https://launchpad.net/bugs/90080211:34
tkamppeterapw, now I did a simple attempt to reproduce the bug on stock Oneiric, with the HP backend which uses libusb 0.1.x. I do not observe a segfault, but both dmesg and syslog say:11:47
tkamppeterDid not find alt setting 1 for intf 0, config 111:47
apwtkamppeter, ok so if its failing in that configuration, without the segfault, then i would say get a natty kernel and boot that up, and see if just changing that fixes the issue11:48
tkamppeterSo good part of the job printed, meaning that the communication worked and suddenly it is not able any more to find the channel to the printer which it used for the already printed part of the job.11:48
apwtkamppeter, the alt settng message is an initialising error, not something i would expect mid communication11:49
apwanyhow the logical test now is get and boot a natty kerenl, leaving everything else the same, and re-test11:49
tkamppeterapw, will do so now ...11:58
tkamppeterapw, smb, I have booted the old kernel and it stops the same way. Seems that I have to try a libusb downdate now.12:07
apwtkamppeter, ok so it sounds like its not a kernel level issue then ... 12:12
tkamppeterapw, also downgrading libusb to Natty's does not help. The HP backend always says: unable to write data, 45 second io timeout12:18
apwtkamppeter, so whats left thats not been changed :/12:21
apwtkamppeter, it may be an interaction between libusb and another system library for instance12:22
tkamppeterapw, on a Lucid VM it works.12:26
apwone way to eliminate t12:26
apwthings might be install a Natty system and upgrade the various parts one at a time till it breaks12:27
tkamppeterapw, on a Precise VM it does not work, so it broke somewhere on the way and virtualization does not unbreak it (then I would feature-request that a standard installation would install a minimum Linux with the real Linux in a VM).12:32
tkamppeterapw, so the best to do now is to install a Natty VM ...12:32
apwtkamppeter, yeah sounds like a plan12:40
tkamppeterapw, I am doing so now ...12:43
=== yofel_ is now known as yofel
* tgardner is repairing chroots on gomeisa13:22
* tgardner is rebooting tangerine in 5 minutes13:24
argessmb, hello! question about bug 881542. do you know when this fix is planning on being released?13:48
ubot2`Launchpad bug 881542 in linux "Ubuntu 10.04 LTS as guest freezes after xm restore" [Medium,Fix committed] https://launchpad.net/bugs/88154213:48
smbarges, when it is out of proposed? :-P13:49
smbarges, But seriously, let me check13:49
argessmb, : )13:49
argessmb, thanks13:49
smbarges, Hm, this actually looks like it should be released already. Might just have failed to auto-update the bug because the patch from upstream stable replaced the sauce patch13:54
smb2.6.32-37.80 seems to be the release13:55
argessmb, ok that's good to know. i can check that too 13:55
argessmb, yes see 676dc3cf5 in ubuntu-lucid. 13:56
smbarges, yep, I'll update the bug right now13:57
argescool. thanks13:57
=== dduffey_afk is now known as dduffey
tkamppeterapw, smb, Installed Natty, sent the job, works ...14:20
tkamppeterapw, smb, upgrading only libusb, still works ...14:30
tkamppeterapw, smb, still there?14:38
apwtkamppeter, and the kernel as well ?14:38
apwit may be an interaction between those two both being updated, or a third thing14:39
tkamppeterTrying to install the 3.0.0-15 kernel on Natty, but this does not work, when the postinst script generates the initrd, it gives a Python traceback, in /usr/bin/nvidia-detector.14:40
tkamppeterAnd my VM is most probably not emulating an NVidia card on a system with Intel GPU.14:40
tkamppeterapw ^^14:40
tkamppeterapw, trying to also update the nvidia-common package ...14:42
tkamppeterapw, now kernel installation completes.14:42
apwyeah there was some bug or other in the detection back then, interesting14:43
tkamppeterapw, seems to be missing versioned package dependency in kernel package.14:43
apwi think it was ok as we never expect those combinations to ever exist together14:44
apwthose kernels arn't supported back there14:44
tkamppeterapw, new kernel up and running, job sent ...14:45
tkamppeterapw, job succeeded.14:46
apwok so its neither of those then, its something else ... now ... what is harder14:47
tkamppeterapw, ldd /usr/lib/libusb-0.1.so.4 shows only linux-vdso, libc, and ld-linux=x86-64, so no non-standard libs libusb is depending on ...14:48
apwwell i guess we need to update those one by one till it stops14:48
tkamppeterapw, so next candidates to update seem HPLIP and CUPS, where I cannot imaging that CUPS can break it. It is on USB communication level.14:49
apwtkamppeter, well it could be an app->libc interaction, a bug in either14:49
apwso i'd be interested in upgrading the underlying layers too14:49
apwtkamppeter, i assume we know the job is the same binary data in the working and non-working cases14:50
tkamppeterapw, so I am trying to upgrade these standard libs now.14:51
tkamppeterapw, there is no binary file in the whole distro with vdso in its name. So it seems that linux-vdso is a part of the kernel and therefore is already upgraded.14:52
apwtkamppeter, yeah that makes sense, its instantiated by the running kernel14:53
tkamppeterapw, the other two are part of libc6, so this is the next package to update.14:53
apwtkamppeter, ok14:57
tkamppeterapw, this pulls a lot of other libs and all compilers: cpp-4.5, g++-4.5, gcc-4.5, gcc-4.5-base, lib32gcc1, lib32stdc++6, libc-bin, libc-dev-bin, libc6, libc6-dev, libc6-i386, libgcc1, libgomp1 libstdc++6, libstdc++6-4.5-dev, make, pkg-config14:58
tkamppeterapw, the compilers, dev, and 386 packages are probably irrelevant. Should I try to update the others one by one until it breaks or should I simply update libc6?14:59
vanhoofapw: ogasawara: my hair looks absolutely fabulous today15:02
* ogasawara is worried15:03
vanhoofogasawara: finally got it cut :)15:06
=== arges is now known as arges_
apwtkamppeter, i think i'd go for libc15:18
tgardnervanhoof, we need photographic proof.15:22
vanhooftgardner: http://ubuntuone.com/62ljS1z8foknvmaOG1dZep15:25
vanhooftgardner: :)15:26
tgardnervanhoof, hmm, looking pretty clean cut :)15:26
jsalisburyvanhoof == vanwho15:27
jsalisbury:-)15:27
vanhooftgardner: i feel like a new man :)15:27
tgardnervanhoof, I always marvel at how much less shampoo it takes right after a new haircut.15:28
tkamppeterapw, installing libc6 ...15:30
vanhooftgardner: seriously15:30
tgardnervanhoof, seriously, TMI ?15:31
vanhooftgardner: was having to pull the whole grandma trick of putting water in the bottle to make it last longer ;)15:31
vanhooflol15:31
tkamppeterapw, sent job again, printing is still working.15:33
vanhooftgardner: you didn't notice the extra set of ears :)15:37
tkamppeterapw, rebooted now to make everything using libc6 use the new version, another print job, still printed.15:37
* ogasawara back in 2015:40
* jsalisbury --> reboot16:13
* apw watches tooo many upgrades in profress ...17:49
apwtkamppeter, hmmm, must be one of the other deps then17:52
tkamppeterapw, trying to update HPLIP, but probability is low as the problem occurs also with CUPS USB backend.18:34
tkamppeterapw, still prints correctly.18:36
apwgargle18:38
apwtkamppeter, then its something else, any other libraries the binaries use there?18:38
apw /b -x18:40
tkamppeterapw, having updated CUPS, which pulled Ghostscript and now it seems that it has stopped.18:42
tkamppeterapw, this changes the binary stream as Poppler is replaced by Ghostscript at one point, but in the rasterization produced by HPLIP's hpcups driver only randomn bits should different which should not break USB communication.18:44
apwhmmm18:49
apwtkamppeter, well we need to keep replacing bits till somethign tilts18:49
apwtkamppeter, however unlikely18:49
tkamppeterapw, now I can switch between the good state and the broken state: with Ghostscript it is broken and with Poppler it works.19:16
apwtkamppeter, so perhaps something coming out of the gs version is malformatted and upsets the remote printer19:17
apwand perhaps its not a transport thing at all19:17
* tgardner --> lunch19:19
* tgardner -> EOD20:52
emgenthello guys21:49
emgentkees: around ?21:49
noahmehlI need some help with bridge-utils22:06
noahmehlanyone here familiar?22:06
jonojsalisbury, btw, still no network dropping issues with the Oneiric kernel22:27
jonoso it must be an issue in Precise22:27
jonoI will test the kernel switches next22:27
jsalisburyjono, cool, it will be great to hear if the issue happens with n disabled22:28
jonototally, will wrap this call and then try that22:28
jsalisburygreat22:28
jonojsalisbury, want me to boot the latest 3.2 kernel and then run: sudo modprobe -r iwlagn;sudo modprobe iwlagn 11n_disable=122:29
jono ?22:29
jsalisburyjono, yes, thanks22:29
jonojsalisbury, cool, will do22:29
jonowill update the bug report if I see an issue22:29
jsalisburythanks22:31

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