/srv/irclogs.ubuntu.com/2013/05/29/#ubuntu-kernel.txt

=== dannf` is now known as dannf
=== smb` is now known as smb
* ppisati -> reboot09:08
diwicppisati, hi, how did the pulseaudio beep go?09:28
ppisatidiwic: using puleaudio from ppa:pulseaudio-testing i couldn't reproduce it anymore09:29
ppisatidiwic: any plans to backport it to R?09:30
diwicppisati, but I thought it was with 3.99 you got the beep?09:30
ppisatidiwic: i got two different problems09:31
ppisatidiwic: one was with the stock pulseaudio + e.g. skype, and the ppa stuf xied it09:31
ppisati*fixed it09:31
ppisatidiwic: but then, two times, it happened that while i was playing some music09:32
ppisatidiwic: the audio got stuck and i heard this noisy 'beeeeeeeeeeep'09:32
ppisatidiwic: but i can't reproduce it anymore09:32
diwicppisati, okay09:33
diwicppisati, there are no plans to backport 3.99 into raring. I could possibly try to backport the actual minreq patch once we have 3.99/4.0 in saucy09:36
diwicppisati, but then if 3.99 causes beeeeeeeeep, I want to fix that before releasing it into saucy09:36
ppisatidiwic: :)09:36
ppisatidiwic: i think you better release it, and let some more people try it out09:37
ppisatidiwic: it happened to me two times in a row09:37
ppisatidiwic: and then, after a day of usage, i didn't it anymore09:37
ppisati*hit it09:37
diwicppisati, hmm, was there a reboot in between?09:38
ppisatidiwic: a lot09:38
diwicppisati, maybe the system was in some inconsistent state after installation but before reboot09:38
ppisatidiwic: could be09:38
ppisatidiwic: but the second time, it was after a reboot09:38
diwicppisati, ah ok, then we rule that out09:38
=== fmasi_afk is now known as fmasi
=== fmasi is now known as fmasi_afk
=== fmasi_afk is now known as fmasi
=== fmasi is now known as fmasi_afk
apwppisati, try reboots with and without power, i have seen inconsistent behaviour with those11:31
apwat times11:31
=== fmasi_afk is now known as fmasi
=== fmasi is now known as fmasi_afk
=== fmasi_afk is now known as fmasi
* henrix -> lunch12:12
=== fmasi is now known as fmasi_afk
=== fmasi_afk is now known as fmasi
=== bjf[afk] is now known as bjf
=== fmasi is now known as fmasi_afk
ppisatilp 117307313:58
ubot2Launchpad bug 1173073 in skype (Ubuntu) "Broken sounds in Skype" [Undecided,Confirmed] https://launchpad.net/bugs/117307313:58
=== fmasi_afk is now known as fmasi
ppisatidiwic: FYI ^13:58
diwicppisati, six users affected13:58
diwicppisati, maybe worth the effort to try to backport to raring then13:59
ppisatidiwic: i think there are more than 6 skype users running ubuntu :)14:00
diwicppisati, I wonder if it really is the minreq patch that fixes it...14:01
ppisatidiwic: another variable is that we got a new version of skype lately14:02
diwicppisati, ok14:03
diwicppisati, do you think I should package 3.0 plus the minreq patch up and ask people to test?14:05
ppisatidiwic: let's first see which version of skype they were running14:06
ppisatidiwic: if it's the latest, you can try packaging the fix14:07
diwicppisati, is the current version 4.2 ?14:08
ppisatidiwic: yes14:09
diwicppisati, that's what's reported upstream14:09
diwichttp://lists.freedesktop.org/archives/pulseaudio-discuss/2013-May/017414.html14:09
=== kentb-out is now known as kentb
slangaseksmb: hi, around?16:56
smbslangasek, somewhat. whats up?16:57
slangaseksmb: I have a very serious problem with kernel caches here which is just murdering my productivity; I've filed a bug but haven't made any headway on getting to the bottom of it.  I was wondering if you could help16:57
smbslangasek, Its rather the end of a day here and I would be off to a long weekend. But why don't you post the bug number here? Maybe someone has ideas16:59
slangaseksmb: bug #115273617:00
ubot2Launchpad bug 1152736 in linux (Ubuntu) "system swapping itself to death in raring for no good reason" [High,Confirmed] https://launchpad.net/bugs/115273617:00
slangasekthis first started affecting me in raring /that I'm aware of/; but I'm not sure if it was actually a regression in the raring kernel or if raring userspace was just the first one that started hitting the memory limit for me17:00
smbbjf, sconklin ^ at least I guess you wanna know about this17:01
bjfsmb, i see it :-(17:01
sconklinack17:02
slangasekcurrently updating the bug with comments based on my latest explorations17:03
slangasekcan anyone tell me what the expected behavior of /proc/sys/vm/drop_caches is?17:03
slangasekbjf, sconklin: ok, added a note there17:06
bjfslangasek, i've read your latest comment. i have no good suggestions to make at this time.17:09
slangasekbjf, sconklin: FYI this issue is so bad in saucy that I had to SAK my desktop several times yesterday, and it's become virtually impossible for me to run a Google Hangout on this machine.  It could be getting worse due to regressions in the desktop footprint (e.g., firefox), but it's definitely not because of any changes in my usage patterns.  As I said above, this is destroying my productivity, so I would really appreciate any support17:10
bjfslangasek, i hear you17:11
smbI don't know the dm-crypt target internals to be able to say whether it does eat up those amounts of mem. Some targets (if they have to extend or rewrite io) can create an additional cache pool with some pre-allocated minimum17:12
slangaseksmb: right... except the size of the cache changes depending on what apps are running, so it doesn't seem to be a fixed pool17:12
smbIt would not be, just a minimum lower reserve 17:13
* slangasek nods17:14
slangasekso the 'drop_cache' bit looks very suspicious to me... I would expect this to reset to 0 once the caches had been dropped17:15
slangasekand the fact that it never does smells funny17:15
smbslangasek, So that does not say anything but dm-crypt does create some mempools 17:18
slangasekI guess my next step is to try downgrading to precise/quantal kernels to see if it's reproducible17:19
smbOr manually install previous raring kernels (before you think it regressed)17:20
smbIf it is something that slipped through stable it may affect current older releases too...17:20
smbslangasek, Also maybe /proc/slabinfo or /proc/meminfo may give some hints17:22
slangasekI think it regressed when I first upgraded to raring, fwiw17:22
slangasekI'll attach /proc/meminfo - nothing looked suspicious to me, but maybe one of you has better eyes17:23
apwi am not sure i would expect drop_caches to ever be able to make things go to 017:24
smbslangasek, slabinfo might be more useful (but both dont hurt)17:24
slangaseksmb: attached both17:25
smbslangasek, ta17:25
slangasekapw: you wouldn't expect 'cat /proc/sys/vm/drop_caches' to at some point return to 0 after it's decided it's done all it can?17:25
* apw wonders what slangasek is doing different as he has not seen raring 'swap itself to death'17:25
apwslangasek, nope17:25
slangasekok17:25
slangasekso what does it mean when it sticks at 3 - that it will forever after try and fail to drop all the caches? :)17:25
apwslangasek, hmm, i may be miss understanding your question17:26
slangasekapw: ok - I'm not saying I would expect the cache to drop to 0 after drop_caches, but that I would expect echo 3 > drop_caches to be a one-time instruction to the kernel to dump everything it can... after which I would expect things to reset to 017:27
apwslangasek, i know why don't i look :)17:27
apwslangasek, i would it expect to dump things yes, i am supprised you can read it at all17:27
slangasekwhereas what I'm seeing is that whatever value I echo there, persists... and it rejects an 'echo 0'17:27
apwslangasek, i see the same semantics indeed17:29
slangasekapw: I'm doing a *lot* of things different, but I've ruled out a lot of them as the cause. 1) using nfs mounts with krb5 authentication, 2) using LVM (for main filesystem, and also with snapshots), 3) using LUKS encryption for / and /home, 4) pretending that 4GB is enough RAM for a 64-bit desktop? :)17:29
apwslangasek, the behaviour is triggered on 'write' so what the value shows at is not particularly relevant17:29
slangasekNFS - I see the problem even if I unmount all NFS and shut down all the nfs-common services.  LVM snapshots - I see the problem even when no snapshots are active, or have been created since boot. LVM - lots of other people using LVM.17:30
slangasekapw: ok.17:30
apwslangasek, and yes as it is really a sysctl, it will only take 1 to 3 as a value, and so once you use it it is stuck at whatever value you used17:30
slangasekok17:30
apwslangasek, but the kernel action is not taken on the value of the sysctl, but on the value at the time you write to it17:31
apw(which is vile and confusing, but at least safe)17:31
apwso you have 'swapping like a pig' as your symptom, and trigger is unknown17:32
apwand this is raring, i have a VM machine which runs raring with lots of vms and lvm things etc17:32
apwand don't see this, and a number of other raring boxes, nothing similar17:32
apwhmm17:33
smbslangasek, Hmm, at least in the attached meminfo Swaptotal and Swapfree are the same. Which somewhat is confusing...17:34
slangaseksmb: it's a fresh boot, a) nothing's been swapped out yet because I haven't started to get memory pressure, b) I may have swappiness set to 0 right now :P17:35
slangasekapw: not just "swapping like a pig" - "failing to release 1.5GB of cache for a more appropriate use"17:36
smbslangasek, Well, when looking for a memory hog, the output of those _when_ it is swapping to death might be more useful. :-)17:36
* rtg -> lunch17:36
slangaseksmb: ok17:36
apwslangasek, but as your machine has 200MB of free ram, it can't be swapping anyhow, it doesn't make sense17:38
slangasekapw: it's not /currently/ swapping...17:39
slangasekapw: and when it does start to swap, it becomes difficult to capture useful snapshots of the state :P17:39
apwslangasek, yep so i would say, take the latest Q kernel and slam that on and see if that is any better17:41
apwas you are in a big hole right now17:41
slangasekyep17:41
* apw doesn't expect drop_caches to make Cached go to 0, on my machine it dropped some 300MB though17:42
apwslangasek, drop_caches is just iterating the filesystem caches and dropping things not in actual use17:44
slangasekright17:44
apwslangasek, and putting pressure on the slab caches to try and make them shring, no guarentee that will do anything17:44
slangasekso on my machine, it will drop *some* cache, but it still bottoms out at 1.4GB in the pathological case17:44
apwif you are using your pages cause they are mapped, they are still mapped and drop_caches won't drop them17:44
apwso .. what has a big rss, which is holding them in17:45
slangasekhmmm, ok17:45
apwits not a 'remove pages i could not be using' option, it is 'remove pages i am not using'17:45
slangasekI guess I should check that too - I checked mappings for the LUKS-backed filesystems, but not for all of them17:45
apwwhich is why swapping might help as it were as it moves things to being 'not used'17:45
apwnow what is the rsstop thing called17:46
slangaseksmem?17:49
slangasek# smem -s rss -r | head -n217:50
slangasek  PID User     Command                         Swap      USS      PSS      RSS 17:50
slangasek 4320 vorlon   /usr/lib/firefox/firefox --        0   702624   709561   729028 17:50
slangaseknot really surprising17:50
slangasekexcept for the bit where that's a grotesque footprint17:51
slangasek(why are icon theme caches so big?)17:51
apwis that the best part of a 1G ?18:00
apw24050 apw      chromium-browser               30988    97560   100071   114064 18:01
slangasekayup18:01
apweven if i add all the chromium's together it is more like 200M18:02
apwwith 20 odd tabs18:02
=== danjared_ is now known as danjared
ckingbrowsing ain't cheap18:09
nsfxAhoy, I'm attempting to apply a patch to and re-install the kernel. I've followed https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel but I only end up with 1 deb instead of 3 as stated in the instructions18:12
nsfxAre there more up to date instructions somewhere?18:12
apwnsfx, i would expect those to be pretty close, which .deb did you end up with18:19
nsfxapw: I ended up with linux-headers-3.8.0-22_3.8.0-22.33_all.deb18:19
nsfxThe double version scares me a bit, aheh18:19
apwthat would be binary-headers, binary-generic did you include that ?18:20
apwthe double version is deliberate18:20
apwso you can install more than one kernel18:20
nsfxapw: Yeah I ran: fakeroot debian/rules clean binary-headers binary-generic18:20
nsfxActually the last step of that failed trying to stat a directory18:21
apwnsfx, then you probabally need to capture the output and pastebin it18:21
apwas it clearly failed18:21
nsfxapw: https://gist.github.com/adsr/7071d8f94e444525c92618:21
nsfxI'd named the kernel differently in menuconfig18:22
nsfxThe directory it tried to stat did not include the label I appended18:22
apwthe kernel packaging will not cope with that18:22
nsfxAck, ok18:22
apwadd something to debian.master/changelog, to the last version there18:22
apwlike ~mine118:23
=== fmasi is now known as fmasi_afk
=== fmasi_afk is now known as fmasi
nsfxapw: Cool, something like https://gist.github.com/adsr/ad558a541e9dbd29b0eb then ?18:25
nsfxWill that make it to the package name / allow me to differentiate between kernels in boot after installing?18:26
apwnsfx, not really no, that only shows up to the ABI number18:27
nsfxapw: Ah ok. If I make no modifications at all (besides applying the kernel patch) will it replace the current kernel or install alongside?18:29
apwit will replace the kernel of the same ABI number, whether you add ~foo or not18:29
nsfxAdding ~foo in changelog will change the ABI number? Sorry if I'm being thick :)18:30
apwno it will not18:31
apwthere is no easy way to do that, and maintain any semblance of 'being based on' an ubuntu version18:31
apwwe don't have a good derivative story there18:31
nsfxMaybe I should just wait for a bleeding edge release18:32
nsfxThe patch is from 2010 actually and applies to quirks-table in ALSA for getting a USB MIDI device to work18:33
=== fmasi is now known as fmasi_afk
nsfxapw: Do you suggest filing a bug on launchpad?18:37
nsfxNot sure if that is the appropriate channel18:37
=== fmasi_afk is now known as fmasi
=== nightwish is now known as wrayan
* rtg -> EOD20:20
=== fmasi is now known as fmasi_afk
=== kentb is now known as kentb-out

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