/srv/irclogs.ubuntu.com/2009/12/10/#ubuntu-kernel.txt

=== bjf is now known as bjf-afk
dtchenapw: in trawling older bug reports, when you see mentions of four-digit Ubuntu bug numbers, they're bugzilla entries. I do not know if there's a read-only mapping available, though purportedly they were all migrated over to Launchpad.00:28
dtchen(patching sound/pci/intel8x0.c ATM)00:28
bjf-afkdtchen, I plan on requesting a pull of that prealloc-4mb-dmabuffer patch right after alpha1 (maybe tomorrow)00:31
dtchenbjf-afk: oh, good; I was just cloning ubuntu-lucid.git to do that00:32
dtchenbjf-afk: thanks!00:32
bjf-afkdtchen, in fact I may as well do it now00:33
dtchenall right00:33
bjf-afkdtchen, I just submitted the pull request, feel free to add your $.02 whenever it hits the mailing list :-)00:48
Kanohi, did you see 2.6.31.7? it has now 3 webcam fixes too which you didnt like to accept as patch...11:27
=== ogra_ is now known as ogra
rtgapw, was 'ext4: Fix insufficient checks in EXT4_IOC_MOVE_EXT' the result of surbhi's debug work?14:25
apwrtg that one came down from on high14:25
mdzrtg, the server team will need bug 495060 fixed to support their hardware test setup (USB ethernet); can you see that the trivial fix gets applied?14:27
ubot3Malone bug 495060 in linux "nic-usb-modules should include cdc_ether" [Undecided,New] https://launchpad.net/bugs/49506014:27
rtgmdz, just Lucid?14:29
mdzrtg, yes14:29
mdzno point in doing it anywhere else, since it would need new CDs anyway14:29
apwrtg i'll do that one14:29
rtgapw, ack14:29
apwsmb, ok i've got the first stab at a config enforcer going14:39
apwhow does this look as a syntax14:39
apwvalue CONFIG_DEBUG_RODATA y14:40
apw( arch armel & value CONFIG_DEFAULT_MMAP_MIN_ADDR 32768 ) | \14:40
apw        ( value CONFIG_DEFAULT_MMAP_MIN_ADDR 65536)14:40
smbI looks like a reasonable starter14:42
smbUnderstandable at least to me14:42
amitkapw: this would be used when rebasing to newer kernels?14:43
smbwould undefined be take as "value CONFIG_x n"?14:43
apwamitk, this is a build check14:43
apwchecked at prepare-generic time14:43
smbamitk, No anytime you compile after fiddling around with options14:43
apwsmb, yes 14:43
amitkaaah, k14:43
smbactually anytime on  build, yes14:44
smbIts to make us remember why certain things are the way they are14:44
amitkwill it be a free form text file with a parser then? Can it take comments?14:45
smbamitk, I would assume comments are not a problem. Though free from sounds a bit too... free14:46
amitkwell, free form meants no restrictions wrt to white spacing, ordering, etc.14:47
amitkso I assume this is to sanity check that certain CONFIG option values don't change automatically14:48
amitkbut these 'rules' can be in any order in the file14:49
amitkwith comments and all14:49
smbThat for one and stuff like USB_DEVICEFS remains off even with all the users lament because otherwise other stuff breaks (udev)14:49
amitkok14:50
smbI would think, but I don't want to speak too much for apw (as he is coding it)14:50
apwamitk, yeah has commet syntax and line continuations14:51
apw+#14:51
apw+# SECURITY items14:51
apw+#14:51
apw+value CONFIG_CC_STACKPROTECTOR y14:51
apw+value CONFIG_COMPAT_BRK n14:51
apw+value CONFIG_COMPAT_VDSO n14:51
apw+value CONFIG_DEBUG_RODATA y14:51
apw+( arch armel & value CONFIG_DEFAULT_MMAP_MIN_ADDR 32768 ) | \14:51
apw+       ( value CONFIG_DEFAULT_MMAP_MIN_ADDR 65536)14:51
researcher1I did everything as suggested here https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows  but still cant boot from hard disk.HELP please?14:52
amitkresearcher1: you will have more success asking this on #ubuntu14:52
researcher1ok14:53
apwamitk, smb, i've also integrated the thing into updateconfigs so you get a slapping when you break it15:07
rtgapw, and this slapping will be sufficiently verbose that its painfully obvious what you've done wrong?15:08
* smb is glad apw cannot cause physical harm by programs15:08
rtgapw, the ABI and module checks are a bit terse15:09
apwrtg yep its in your face about it15:09
apwit is also an early build failure, i've added 'prepare' checks which stop the build too15:10
apwcheck-config: /tmp/tmp.RiQ9ZiuYbW/armel-config.flavour.versatile-full: loading config15:10
apwcheck-config: /home/apw/git2/ubuntu-lucid/debian.master/config/enforce: loading checks15:10
apwcheck-config: FAIL: value CONFIG_SYN_COOKIES y15:10
apwcheck-config: 13/14 checks passed -- exit 115:10
apw*** ERROR: 1 config-check failures detected15:10
apwthat is the bottom of the updateconfigs output with this applied15:10
smbapw, does that mean the actual value is y and it fails because its supposed to be n or the other way round?15:13
apwit means the predicate 'value CONFIG_SYN_COOOKIES y' failed15:13
apwie the value is not that value, but it could be more like15:14
smb<hint>maybe it can use a bit more verbosity?</hint>15:14
apw(value A y | value A b | value B c)15:14
apwwhich is hard for the parset to tell you which bit failed, as they all did15:15
amitkapw: can't you just dump the comments for a predicate when it fails?15:16
apwwe could consider that yes15:16
apwperhaps each needs a 'WHY' field15:17
apwgenerally they are not complex though and it should be obvious what the failure15:17
smbright or "FAIL: the following expression was not true"15:18
* amitk nods, since in this case we are imposing policy on our configs15:18
amitkapw: sometimes the historical perspective is missing when team members change or get shuffled around.15:18
apwyep and the comments should be in the file for sure15:18
apwi am unsure if it makes much difference if they are visible at fail time15:19
rtgamitk, what, you're saying I don't remember _everything_ thats gone on in the last 3 years?15:19
apwas the only way to fix them is to edit the enforce file, which should have comments15:19
apwso we may need a policy to say that we should have damn good comments for each15:19
* apw finds lots of issues in the ports configs15:19
amitkrtg: no no. Not you. Ofcourse you'd remember. I was talking about us old farts. :)15:23
rtgamitk, man, sometimes I can't remember what I had for breakfast15:23
amitkheh15:24
apwrtg whats breakfast?15:26
=== bjf-afk is now known as bjf
smbapw, Thats the first cup of tea you have in the morning15:27
apwahhh ... life15:27
smbbrain the size of a planet?15:28
apwcirtainly my diodes are shot15:29
* apw applies heat to water15:29
=== JEEBsv_ is now known as JEEBsv
dandelapw, bug 338701 has found the final cause of it, (see kernel bugzilla bug #14736  for details )16:05
ubot3Malone bug 338701 in linux "acpi_irq is not set properly." [Medium,In progress] https://launchpad.net/bugs/33870116:05
ubot3Malone bug 14736 in linux-source-2.6.15 "Sluggish performance unless ACPI is disabled" [Medium,Fix released] https://launchpad.net/bugs/1473616:05
Kanocould somebody explain me way the v4l updates where not merged?16:09
Kanoor basically 2.6.31.7 not at all16:10
apwKano, cause it released yesterday and we had a pending security update and a pending proposed update, and there are over a hundred patches to review16:12
Kanowell when will it be there16:12
Kanojust in git, no package needed16:13
apwa few days depending on how mind mangling the patches are16:13
smbits done when its done16:13
sconklinapw: if I have several remotes in a git tree and have a commit SHA1, is there a way to get git to tell me which remote(s) it's in?16:51
apwyou can ask which heads lead to it16:51
sconklinhow?16:51
apwgit describe --contains sha116:51
apwi think --all gives you them all16:52
sconklinohh, so easy and sensible16:52
* sconklin needs to study everything that describe can do 16:52
rtgsconklin needs to buy a book on git16:52
sconklinrtg: recommend one16:52
rtgof which there are 216:53
rtgsconklin, Oreilley - Version control with git16:53
sconklinI think I can search within a set of 216:53
rtgsconklin, Pragmatic version control using git, Travis Swicegood16:54
syn-ackjjohansen, You notice anything with the current mainline aa kernel where the ld avg sky rockets into the high high 1.'s when particular profiles are running?16:55
syn-ackstop the app or put the profile into complain and the avg goes to where it's supposed to be16:56
jjohansensyn-ack: I hadn't noticed, which apps?17:00
syn-ackjjohansen, skype... I'm kinda hacking that one up to get it running and that's what it's happening with17:01
jjohansenhrmm, can you send me the profile you are using and I'll give it a try17:02
syn-acksure.17:02
jjohansenwhich version of skype?17:02
syn-ack2.1.0.47 17:02
syn-ackjj sent off to ya17:03
jjohansenthanks17:04
syn-acknp17:04
syn-ackjjohansen, I even checked it against a production kernel and it still does it though not *quite* as bad17:04
jjohansensyn-ack: okay I'll look at both17:05
syn-ackYou don't notice anything in that profile that I may have fscked up on do ya?17:06
jjohansensyn-ack: not at first glance17:09
syn-ackhrm17:09
* syn-ack goes back to pulling audits against that profile then17:10
syn-ackdid you notice that spike though?17:10
jjohansensyn-ack: haven't gotten that far yet, I am just pulling that version of skype now17:13
syn-ackah. sorry to rush you then. :P17:13
jjohansensyn-ack: another question 32bit, or 64bit?  Or 32 bit app under 64 bit OS17:14
syn-ack32 under 64. :/17:14
jjohansenokay, well I will try 64/64 first and then can move to 32/6417:15
syn-ackjjohansen, I've been obsessing over this particular profile for the last 3 days trying to bug it out. >:|17:19
jjohansenhrmm, any particular usage pattern?17:21
syn-acknot really. I have set as a service which starts when Gnome loads17:22
syn-ackjjohansen, Most of the time it's just sitting waiting for an incoming.17:23
syn-ackDude, standby17:23
jjohansenok17:23
syn-ackI have a 5 month old17:23
syn-ackANYWAY... when I start it with the profile enabled, it goes from a 0.0 to about a 1.78 where it will stay, eatting one of my cores17:24
syn-ackStart video on it and it spikes up to 2.5 to 317:25
jjohansenouch17:26
syn-ackYeah, I was wondering why my keyboard was literally getting hot to the touch... tracked it down to that17:27
syn-ackAnd if you grep your current audit of the profile you'll notice trivial denials that shouldnt cause that17:28
syn-ackThat's something I was working on till I found the spike issue17:28
jjohansenwell, you would think that but denials can do strange things to apps17:29
syn-ackyeah?17:29
syn-ackhrm17:29
jjohansennot saying that is the case hear, just I have seen where apps didn't like a deny and went into loops etc17:30
jjohansennot properly handling error cases17:30
syn-ackhrn17:30
jjohansenso it is certainly pegging my cpu, some denies in the audit log, so have reproduced now to figure what is going on17:32
syn-ackwell, as long as it's reproduced thats what I care about. 17:33
syn-ackThat way I know *I'm* not losing it17:33
jjohansenhehe no.  It looks to be spinning on a request to clock_gettime17:34
syn-ackSince I'm still learning, how did you find that?17:35
jjohansenstrace skype17:37
syn-ackDammit, next time I'm going with my gut17:38
jjohansenhehe17:39
syn-ackI did'nt think that'd work since well... it's not open source17:42
jjohansennah its will work on any app, well at least for the syscall layer17:44
syn-ackjjohansen, I think I've taken enough of your time. I know you've got quite a bit going on so I'll leave you alone for now. I really appreciate your help and mentoring.17:44
syn-ackjjohansen, That's good to know.17:44
jjohansensyn-ack: np, and it isn't taking up my time.  I need to make sure it is working properly it looks like we are missing an audit message17:45
jjohansenso the tools can't learn the behavior17:45
jjohansenits is great having a reproducable test case17:46
syn-ackheh17:46
syn-ackI'm sure it is17:46
syn-ackI can only imagine some of the crap you guys get17:46
syn-ack"Y IT NO WERK ON MAH BOX?!!!??!1?"17:46
jjohansen:)17:51
syn-ackjjohansen, I'm still really just going off the techdoc from Novell for app armor and with the way it's laid out it can be kinda confusing for me17:55
Kanowill the new openfww be in u too or not18:09
Kanoit is in fedora 1218:09
Kanoopenfwwf i mean18:10
syn-ackin me?18:13
jjohansensyn-ack: well the tech doc isn't the best laid out, but it is okay18:13
jjohansenwhat we need to do is get a new wiki up and start updating the documentation18:14
syn-ackyeah18:14
syn-ackjjohansen, basically what I did was see that the profile was in "not stable" profiles, pulled it and started working on by going off the doc, and sec 3.9 doesn't really go into any detail which would explain why I missed that strace18:16
jjohansenyeah they skip lots of things18:20
hifiI have a .patch and apt-get sourced 2.6.32, whats a simple way to add this patch that applies to this code into the build process?18:20
syn-ackjjohansen, btw that mainline kernel source... has it been updated since the last time we talked about it?18:37
jjohansensyn-ack: hrmm, I think tuesday afternoon was the last update I did18:38
* syn-ack pulls the new source then18:38
jjohansengive me a minute18:38
syn-ackkk18:38
jjohansenI pulled in linus upstream, when I did that and it was failing to build18:38
syn-ackThen I'll just wait a bit18:39
syn-ackYeah, I pulled in linus' upstream too and it wasn't building either, come to think of it18:39
jjohansenI am going to rebase and do a test build, hopefully the breakage has been fixed18:39
syn-ackk18:40
jjohansenyeah that is the danger of the merge window18:40
hifithanks for the quick reply!18:40
syn-ackhifi, I would imagine just using patch18:44
hifiI did, I thought there would be a debian/patches18:44
syn-ackThen again, I'm not a kernel dev proper so I probably shouldnt be answering that one.18:44
syn-ackiirc, there is18:45
hifibtw. is the kernel compiled only once?18:46
syn-ackLinux Neptune 2.6.31-16-generic #52-Ubuntu SMP Thu Dec 3 22:07:16 UTC 2009 x86_64 GNU/Linux18:46
syn-ackI'd say not18:46
hifiuh18:49
hifihow long it would approximately take on "slow" dual core system to rebuild the whole package?18:49
hifi-j4 applied18:49
syn-ackDepends on what's in it18:49
rtghifi, I suggest you follow the instructions in https://wiki.ubuntu.com/KernelTeam/KernelMaintenance to get and build from source.18:50
hifilast time I build the kernel was when forcedeth was experimental18:50
hifibuilt*18:50
hifioh, I should've read that before18:51
hifiI just want a relatively quick -generic build18:52
hififor the love of god, out of disk space while building19:02
hifinot my day today19:02
hifiis it possible to continue the build somehow19:02
ghostcubeapw: i checked now that after a day not booting machine the cam was dark after boot up, then i updated and new kernel and other updates came in now the cam works i will tell you when i boot up tomorrow if the cam is dark.19:21
ghostcubeand if it comes up as i think after any update like you mentioned at the beginning 19:21
ghostcube:)19:21
syn-acksecond monitor == goodness.19:34
jjohansensyn-ack: the apparmor repo has been updated to latest kernel and is building again19:53
syn-ackOh goodie19:54
* syn-ack kills the kernel compile. :P19:54
syn-ackjjohansen, Pulling it down now. Thanks.19:59
syn-ackjjohansen, This new kernel built and boots quite nicely and aa loaded nicely too21:15
jjohansen:)21:17

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