/srv/irclogs.ubuntu.com/2012/11/16/#ubuntu-kernel.txt

BenCapw: I've purposely disabled ABI until the package settled down…will enable it on next upload and do a -1 ABI bump00:56
dlbike76Hi I'm seeing logs in kern.log like the following immediately before OMM-Killer kills my chromium task.04:38
dlbike76Nov 15 20:41:09 artemis kernel: [ 1980.410410] type=1701 audit(1353030069.602:24): auid=4294967295 uid=1000 gid=1000 ses=4294967295 pid=2060 comm="chromium-browse" reason="seccomp" sig=0 syscall=20 compat=0 ip=0xb2f76424 code=0x5000004:38
dlbike76what does the above kernel message indicate?04:39
dlbike76A link to documention would be appreciated.04:39
RAOFdlbike76: That's the seccomp security filtering system kicking in. I'm not sure if there *is* documentation to point you at, sorry.04:44
RAOFIt's unlikely to be the cause of the OOM killer going on a rampage.04:45
dlbike76RAOF: I just see it immediately before the OOM-killer.04:46
dlbike76RAOF: and I'm partly just curious what the log is indicating.04:47
SarvattI really wish I knew how to disable seccomp with a kernel command line option instead of having to launch chrome with --disable-seccomp-filter-sandbox so it didn't spam dmesg so bad :P04:47
RAOFIt's indicating that the process tried to do something that it shouldn't.04:47
dlbike76RAOF: What does the debugging information in the log point to?04:49
RAOFIt says that pid 2060 (chromium-browse) from user uid=1000 (ie: you) had a syscall (specifically, syscall 20) denied.04:49
dlbike76RAOF: What do the numbers in parens after audit refer to?04:52
RAOFNo idea :)04:52
dlbike76RAOF: If I looked up the syscall number correctly then it refers to the epoll_create1 syscall.  Does that sound right?05:20
RAOFEntirely plausible05:21
dlbike76RAOF: I'm really wondering if that failed syscall is somehow indirectly causing the OMM-kill later.05:38
RAOFI think that's unlikely.05:39
RAOFMore likely is that chromium is spawning a process, which during its initialisation harmlessly tries to do something that seccomp denies, then allocates too much memory.05:40
dlbike76RAOF: Just to be clear, I wasn't suggesting that this was necessarily a problem in the kernel.  At least not at this point.06:00
dlbike76RAOF: I am curious about what's going on in Chromium around the time that syscall is blocked though.06:00
RAOFProbably process startup.06:01
RAOFWhich is going to dirty a bunch of memory, which is going to cause the OOM killer to kick in if you've got memory pressure.06:01
dlbike76RAOF: I guess the docs referring to file descriptors are throwing me off.  I also haven't done any low level programming in awhile, so...06:03
dlbike76RAOF: I can't reproduce the same thing in either firefox or midori, but then again neither of them spawn a bunch of child processes.06:07
RAOFNor do they use seccomp :)06:07
dlbike76RAOF: I'm assuming that's related to the chrome-sandbox?06:08
RAOFChrome's sandbox uses seccomp, yes.06:08
dlbike76RAOF: 06:08
dlbike76RAOF: Yeah, that's what I meant.06:08
dlbike76RAOF: Thanks for patiently answering my questions.06:10
dlbike76RAOF: Oh, and I agree now that the seccomp thing and the OMM-killer thing are unrelated.  I think you described the situation pretty well.06:21
* ppisati notes that the messages indicator doesn't show up anymore...09:26
* apw finally finds his cve 'rebase' issue ... sigh09:58
apwppisati, as in no envelope at all?09:58
ppisatiapw: rigt09:59
ppisatiapw: right, i don't have the envelope icon at all09:59
ppisatii just moved my desktop to the haswell box and reinstalled Q from scratch09:59
apwhmmm ... try an apt-get install ubuntu-desktop^10:00
apwppisati, did you say Q ... i notice its gone here too 10:00
apwppisati, i hadn't noticed as i don't use any apps which use it10:00
ppisati:(10:00
ppisatiskype is somehow broken10:00
ppisatimsn too10:01
ppisatiok, i'm disconnected...10:01
apwppisati, /me is asking about the envelope on #ubuntu-unity10:04
ppisatilemme join10:06
apwppisati, it seems it is normal if you have not yet run anything which uses it, trying to work out of this is a change or we are just unobservant10:08
ppisati?!?!10:08
ppisatino no10:08
ogra_ppisati, now that you mention it, i dont have the message indicator either on my raring install (on a chromebook though, i thought it was just arm fallout)10:10
ppisati:(10:11
* ppisati wants to die10:11
ogra_geez, you italians are always so fatal :)10:11
ckingits that bad is it?10:11
ckingapw, I want to build a kernel using "debian/rules build" and also set CHECK and CC so I can run smatch at compile time, any idea how I can easily do that?10:36
apwcking, without modding debian/rules i don't think so10:38
apwyou might look at how CROSSCOMPILE is done for something we could apply10:39
ckingyeah, if only it was that easy 10:39
ckingno worries, I will hack around a bit more10:39
anon3hello everyone10:41
apwcking, ok there is a CC override, see LOCAL_ENV_CC10:43
anon3can somebody give me adive? i would like to change the active sending behavior of IEEE 802.11 probe requests for an active ap search10:43
* cking looks10:43
apwcking, see how that is done in debian/rules.d/0*10:43
ckingapw, thanks!10:43
apwcking, and there might be where to add a new stanza for it too, as kmake is the right thing to mod10:43
anon3my laptop is using the iwlwifi driver, i guess =)10:43
apwanon3, hi10:43
anon3hey apw10:44
anon3the reason why i want to change the interval of sending probe requests: i'm writing my thesis about fingerprinting of individual devices with help of probe requests..(sorry about my bad english). therefore i have to analyze how a device is sending the probe requests and where is the sending behavior implemented10:46
apwcking, i recon a LOCAL_ENV_SMATCH or something would work pretty well10:46
* cking nods10:47
anon3i've found some interesting variable in /net/mac80211/scan.c   10:47
anon3IEEE80211_CHANNEL_TIME (HZ / 33) and IEEE80211_PROBE_DELAY (HZ / 33)10:47
anon3but, in nearly every kernel version the definition of these variables are the same, but the devices are sending in different intervals10:48
anon3is here anybody who is well schooled in this topic? =)10:50
apwanon3, well some devices do background scanning in firmware, so perhaps that is what you are seeing10:50
apwthose may only be used for devices with no firmware suppotr10:50
apwbut then i am no expert10:50
anon3you mean those two variables i have wrote down?10:52
anon3in scan.c?10:52
anon3if the sending behavior is implemented in the firmware i won't have a chance to see the implementation?10:53
apwyeah, i am pretty sure a lot of devices do scanning on their own10:53
apwfrom the firmware, not necessarily from higher levels10:53
anon3okay10:54
anon3i've tried to edit theses variables and recompiled the kernel10:54
anon3but that didn't make much effect10:54
anon3so apw, thank you for your help and hints!10:56
anon3have a nice day!10:56
* ppisati -> out for lunch11:45
hrwhi13:02
hrwI know that armel is dropped in raring but could kernel support it at least for headers?13:02
hrwI need them for armhf/armel cross compiler13:03
ogra-cbhrw, wouldnt that require that there is a buildd that builds the source targeted for armel ?13:05
ogra-cbi dotn think we have that in raring13:05
hrwogra-cb: not necessary13:06
hrwogra-cb: I take linux-source-3.7.0 package and run dpkg-buildpackage -aarmel with some options just to get headers13:08
hrwdo not need it to be able to build kernel13:08
* ogra-cb doesnt think thats something you can easily do on a buildd13:12
ogra-cbbut i might be wrong13:12
ogra-cbalso how would you publish the resulting binary ? the archive doesnt have any armel support anymore13:14
hrwarmel-cross-toolchain-base does it13:18
ogra-cbwhat ? publish a non existing arch ?13:18
hrwcheck which binaries it generates13:18
ogra-cbthere is no more Packages.gz for armel, how would you provide it ?13:18
* ogra-cb thinks this discussion would be better suited for #ubuntu-release13:19
hrwI do not publish arch:armel but arch:all packages13:19
ogra-cbah13:19
hrwarmel-cross-toolchain-base (actb in short) generates linux-libc-dev-armel-cross from linux-source-3.x.0 package as arch:all13:21
hrwbut for that I need partial support for armel13:21
ogra-cbah, k13:21
hrwand this blocks whole arm{el,hf} cross compiler stuff13:23
hrwaarch64 one is now pbuilding13:24
ppisatihas anyone ever experienced fs corption on the haswell box?14:01
ppisati*corruption14:01
ckingppisati, nope, not yet14:50
ppisatiwhen i came back, the fs was in ro and the screen was full of 'sda retry failed blablabla"14:50
ppisatibut not panic or oops14:51
ppisatii'll try to catch it early next time, and scroll to the beginning of the carnage14:51
ckingppisati, my earlier SDPs had flaky SATA connector plugs which caused errors like this14:53
ppisatiweird14:53
ppisatibecasue yesterday i had no prob at all14:53
ckingi blame every problem now on entropy14:54
ppisati:)14:54
rtgapw, here is a puzzler: https://launchpad.net/~ubuntu-x-swat/+archive/q-lts-backport/+build/3988532/+files/buildlog_ubuntu-precise-amd64.linux-lts-raring_3.7.0-2.8%7Eprecise1_FAILEDTOBUILD.txt.gz15:14
rtgI've seen this error before but can't remember what it was.15:15
apwCompiling 49 OIDs15:16
apwpresumably that was meant to make the .c15:16
rtgoid_registry.c is just a regular file15:17
rtgoid_registry_data.c is the one that is generated15:17
apwerp, then no that cannot happen :)15:18
rtgmaybe I'll just rerun the build15:18
apwrtg maybe, i cannot see any reason it would go missing ... sigh15:20
rtgi386 is already past that point in the build.15:20
apwdouble erp15:20
rtgI kind of hate instabilities on the buildds15:20
apwi have heard of removing the /build directory being an approved way to stop a build; maybe something like that happened15:21
apwi wish there was some way to tell if human intervention was the cause15:21
rtgapw, well whats weird is that I've seen this exact same build failure before15:22
apwrtg, so it has to be a parallel race somehow then ... but quite how15:22
rtgapw, don't think so. its -j115:23
rtgapw, oh well, maybe I'll start grinding through all of the firmware issues15:24
* apw utterly fails to test steam15:25
apwutter fail on my system, 3.7gb download to say "not compatible with your system"15:25
rtgya gotta love it :)15:25
* ogasawara back in 2015:58
TheodorosIs the plan to ship 3.5 by default in 12.04.2?16:10
rtgTheodoros, yes. The Raring kernel will get shipped in 12.04.316:12
bjfRaring != 3.516:13
rtgbjf, and 12.04.3 != 12.04.216:13
TheodorosOkay so after some false starts I was able to fully understand my issues with samba and 3.5 in precise16:13
Theodoroshttps://bugs.launchpad.net/ubuntu/+source/linux/+bug/107567016:13
ubot2Launchpad bug 1075670 in linux (Ubuntu) "samba panics with sys_setgroups failed" [High,Incomplete]16:13
bjfrtg, so "yes" meant what exactly? :-)16:14
rtgbjf, yes meant that we _are_ shipping 3.5 in 12.04.216:14
bjfack16:14
TheodorosThanks for the prompt answer btw :D16:15
* bjf is going to go soak his head16:16
=== rsalveti_ is now known as rsalveti
* ppisati -> EOW17:45
apwbjf, herton, fyi i have just uploaded an emergency linux-lowlatency identicle to that in -updates but with -pae enabled, this is going round the back and you can ignore it17:47
apwi'll be doing the -34 version as soon as that is out of the way17:47
ogra_so i heard there will be config 2normalization" for the nexus7 kernel17:53
ogra_*s/2/\"/17:54
ogra_it would be good to restrict that to modules for HW you can actualy attach to the device than making it to ubuntu generic like17:54
rtgograjust USB mostly, right ?17:55
ogra_yeah17:55
ogra_probably some BT 17:55
ogra_not swure the kernel has anything for the client side 17:55
* rtg -> lunch18:18
* apw wanders off for beer ...18:19
infinityapw: emergency lowlatency is in proposed, so the new rebase can head to the PPA whenever you're appropriately drunk.18:58
=== bryceh_ is now known as bryce
* rtg -> EOW19:47
=== yofel_ is now known as yofel
patr|ckis there a newer kernel package for testing a graphics driver issue, than the one that ships with Ubuntu 12.10?22:29
infinitypatr|ck: There's the one in 13.04, of course.22:43
patr|ckinfinity, can that package be installed on 12.10 or would that require other packages to be updated, too?22:45
infinitypatr|ck: Should install fine on 12.10, I don't think any deps got bumped.22:53
patr|cknice, thank you22:53

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