/srv/irclogs.ubuntu.com/2011/06/06/#ubuntu-kernel.txt

=== ogasawara_ is now known as ogasawara
=== _LibertyZero is now known as LibertyZero
ppisatimorning07:29
=== ericm|ubuntu is now known as ericm-afk
* apw yawns at ppisati 08:08
* smb finishes glancing over most past email08:51
apwsmb, heh that was quick08:53
smbapw, Yeah, not well done but quick08:54
apwppisati, yeah can hear08:54
ppisatiapw: ping09:35
apwppisati, yo09:35
apwppisati, lp:~canonical-kernel-team/ubuntu-cve-tracker/kernel-team/09:39
* apw steps out12:04
jwihm, was 2.6.38-10.44 copied to {lucid,maverick}-proposed by mistake?13:05
apwjwi i would say so13:07
apwjwi, thanks for the heads up, will investigate13:08
apwcommit 7467571f4480b273007517b26297c07154c73924 upstream.14:13
apwogasawara, yo ... you have added things to dublin adgenda, could you pm me a link?14:26
ogasawaraapw: yep, lemme get it14:27
apwogasawara, i think the janitor scripts could do with a slot if its not already there14:27
apwogasawara, good its already on there14:28
elmodid lucid ever get anything newer than a maverick kernel as a backport?14:33
tgardnerelmo, Natty should be there by now. I'd have to check if its in updates yet. apw?14:34
apwyeah i'd expect that to be in proposed by now14:35
apwhmmm14:35
apwhmmm not showing up, sconklin did say he was picking it up this round14:36
=== Quintasan_ is now known as Quintasan
apwsmb, subject: xhci: Fix full speed bInterval encoding.14:39
apwtgardner, elmo ok the natty branch was held up as it needs re-building for the USB 2.0 regression, i am going to sort that with steve14:40
elmoapw: cool, thanks14:41
Protector1981why does not exist an x86 3.0 kernel? or must i self compile?14:48
* ogasawara back in 2014:52
jwisforshee: re bug 787590 - you sure about that? latest -proposed seems to be based on 2.6.38.7, but the nvidia-fixup landed in 2.6.38.814:53
ubot2Launchpad bug 787590 in linux "USB power not turned off using nForce 590 SLI chipset" [Medium,Fix committed] https://launchpad.net/bugs/78759014:53
sforsheejwi, you're right. I must have been on the wrong branch when looking at the changelog, I'll add a correction to the bug.14:56
apwogasawara, hey 3.0-rc2 is in the house ...15:06
ogasawaraapw: am already rebasing it :)15:06
apwwhy am i not supprised, hopefully it'll fix my hp mini15:07
ogasawaraapw: yah, was gonna test it on there first thing15:07
apwogasawara, i'll get back to testing modprobe changes15:09
ogasawaraapw: were you able to get the fix applied and uploaded?15:10
ogasawaraapw: the m-i-t bits that is15:11
apwogasawara, in the intermin debian released a new m-i-t with the fix, and the recommendation was to sync whith that, which is complete and looking good, but the actual binaries need testing in anger15:11
apwand i need to get someone to review the bzr branch to make sure i did the merge right so that future merges work right15:12
apwhope to get it in today15:12
apwogasawara, actually if the -rc2 boots on the mini that would help my efforts a lot15:15
smbsconklin, Hm, could the create-tracker-script be affected by the lp api change you mentioned, too? It seemed at least quite unhappy when I called it...15:15
apwsconklin, i am wo15:16
sconklinpossibly but I doubt it's the same problem. Can you pastebin the failure?15:16
apwwondering what changed there, thats a little worrying that we're being broken without apparent warning15:16
smbsconklin, http://pastebin.ubuntu.com/619966/15:17
sconklinok, there were actually two problems - firstly, people who fetched the lpltk during a certain window got a bad validation check that resulted in a validation failure. That was subsequently fixed, and grabbing a new lpltk fixes it15:18
sconklinThe second is that launchpad used to return task names like this "kernel-sru-workflow  hyphenated-task-name"15:19
sconklinand now it started using the display name like this: "Kernel SRU Workflow hyphenated-task-name"15:19
sconklinwhich broke my task name parsing15:19
apwoh thats so very helpful15:20
sconklinI was so pleased to discover that at 9PM on a Sunday.15:20
sconklinor maybe it was only 7PM.15:20
sconklinsmb: that's the first problem. Fetch the newest python-launchpad-toolkit and reinstall15:21
smbOk, so I had been pulling kteam-tools before trying that. Now I pulled the lpltk... 15:21
smblooks better15:22
sconklinApparently code changes to the lpltk are not accompanied by unit tests . . .15:22
smbat least it takes a looong time now... :)15:22
apwtgardner, ppisati just notived that the fix we have committed for CVE-2010-4076/4077 is actually the fix for CVE-2010-4075 ... looks like you did that one, can you remember at all15:42
ubot2apw: The rs_ioctl function in drivers/char/amiserial.c in the Linux kernel 2.6.36.1 and earlier does not properly initialize a certain structure member, which allows local users to obtain potentially sensitive information from kernel stack memory via a TIOCGICOUNT ioctl call. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-4076)15:42
ubot2apw: The uart_get_count function in drivers/serial/serial_core.c in the Linux kernel before 2.6.37-rc1 does not properly initialize a certain structure member, which allows local users to obtain potentially sensitive information from kernel stack memory via a TIOCGICOUNT ioctl call. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-4075)15:42
tgardnerapw, hmm, looking...15:44
apwppisati, as the right fix for 4076/77 was applied via stable for natty and oneiric i think the right thing to do is just flip that one back en-toto and re-run over it15:44
apw(which i can do once tgardner confirms our findings)15:45
apwtgardner, if so, i will flip the bits back in the tracker so it gets done by somone15:45
sconklinapw, ogasawara: you'll probably also want to make sure that the patch mentioned in my email is in the development kernel asap15:46
ogasawarasconklin: which patch?  /me checks email15:47
sconklin [PRESTABLE] [PATCH] xhci: Fix full speed bInterval encoding.15:47
sconklinhttps://patchwork.kernel.org/patch/837082/15:47
sconklinogasawara: ^^15:47
ogasawarasconklin: yep, we got it when we rebased to 3.0-rc1 (not yet uploaded though)15:49
sconklinok, cool15:49
tgardnerapw, the commit referenced by http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-4076 appears to be the commit that was applied for 'tty: Make tiocgicount a handler, CVE-2010-4076, CVE-2010-4077'. Looks like the same commit _also_ fixes CVE-2010-4075.15:50
ubot2tgardner: The rs_ioctl function in drivers/char/amiserial.c in the Linux kernel 2.6.36.1 and earlier does not properly initialize a certain structure member, which allows local users to obtain potentially sensitive information from kernel stack memory via a TIOCGICOUNT ioctl call. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-4076)15:50
ubot2tgardner: The rs_ioctl function in drivers/char/amiserial.c in the Linux kernel 2.6.36.1 and earlier does not properly initialize a certain structure member, which allows local users to obtain potentially sensitive information from kernel stack memory via a TIOCGICOUNT ioctl call. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-4076)15:50
ubot2tgardner: The ntty_ioctl_tiocgicount function in drivers/char/nozomi.c in the Linux kernel 2.6.36.1 and earlier does not properly initialize a certain structure member, which allows local users to obtain potentially sensitive information from kernel stack memory via a TIOCGICOUNT ioctl call. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-4077)15:50
ubot2tgardner: The uart_get_count function in drivers/serial/serial_core.c in the Linux kernel before 2.6.37-rc1 does not properly initialize a certain structure member, which allows local users to obtain potentially sensitive information from kernel stack memory via a TIOCGICOUNT ioctl call. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-4075)15:50
apwtgardner, ok thats not what the cve tracker says15:50
apwactive/CVE-2010-4075: upstream: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d281da7ff6f70efca0553c288bb883e8605b386215:51
apwactive/CVE-2010-4076: upstream: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0587102cf9f427c185bfdeb2cef41e13ee0264b115:51
apwactive/CVE-2010-4077: upstream: http://git.kernel.org/linus/0587102cf9f427c185bfdeb2cef41e13ee0264b115:51
ubot2apw: The uart_get_count function in drivers/serial/serial_core.c in the Linux kernel before 2.6.37-rc1 does not properly initialize a certain structure member, which allows local users to obtain potentially sensitive information from kernel stack memory via a TIOCGICOUNT ioctl call. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-4075)15:51
ubot2apw: The rs_ioctl function in drivers/char/amiserial.c in the Linux kernel 2.6.36.1 and earlier does not properly initialize a certain structure member, which allows local users to obtain potentially sensitive information from kernel stack memory via a TIOCGICOUNT ioctl call. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-4076)15:51
ubot2apw: The ntty_ioctl_tiocgicount function in drivers/char/nozomi.c in the Linux kernel 2.6.36.1 and earlier does not properly initialize a certain structure member, which allows local users to obtain potentially sensitive information from kernel stack memory via a TIOCGICOUNT ioctl call. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-4077)15:51
* apw slaps ubot215:51
tgardnerapw, both cve.mitre.org reports reference the same commit 15:51
apwok so one or other is wrong ... will try and figure out which15:51
apwtgardner, only 75 has CONFIRM: next to it tho, the others are MISC:15:53
apwtgardner, but what you are syaing is that fix is the _one_ fix for 75 76 and 77, and the error is that 75 is not mentioned15:53
tgardnerapw, I think thats the case.15:54
ppisatiok, so the fix in master actualy fixes all thrre15:54
ppisatithree15:54
tgardnerif indeed d281da7ff6f70efca0553c288bb883e8605b3862 _does_ fix 7515:54
tgardneror rather, if indeed it _does_ fix 76/77 (which are _not_ maked CONFIRM)15:55
* ppisati -> linaro conf call15:58
ogasawaraapw: no joy for me on the hp-mini16:02
apwogasawara, dammit thats annoying, we'll prolly have to actually debug that one if its broke in -rc216:03
apwin my brief testing it was loading i915 which bust it16:03
apw(in -rc1)16:03
* ogasawara will try to dig in further16:03
ppisatiapw tgardner: so what was the outcome? i apply the fix in master and be done with all 3 (75/76/77)?16:05
apwppisati, give me another 5 mins, i am just confirming it does fix all three really16:06
apwthen i can fix the tracker too16:06
ppisatiapw: no rush, i'm in a conf call now16:06
apwtgardner, ok confirmed we need both commits for 76 and 77 to be fixed, i'll update the tracker to that effect16:17
tgardnerapw, ack16:18
sconklinapw, you wrote the update-from-natty-master script?16:21
apwsconklin, tim mostly, but i know it well, wassup16:23
apwsconklin, in theory you just use that and it finds the latest tag on <series>/master and uses that16:24
apwas a base for the rebase16:24
apwonce run you do need to commit the result16:24
sconklinapw: I may just look myself if I have time - it copied the changelog (as it should) but it leaves in the release tracker bug. If that were not removed manually it could cause some very confusing things to happen on our status pages16:25
apwsconklin, ahh ok, then that probabally should be fixed16:25
sconklinit's working fine, this is more a feature request16:25
apwhow to detect the one to remove i wonder16:25
sconklinwell, you can safely remove them all I think. And the text near it is generated by a script so is consistent16:26
apwsconklin, that sounds doable16:27
apwppisati, so that fix actually only fixed 4075, so when you copy it over mark it so16:30
ppisatiapw: k16:32
hertonI had one problem with update-from-*-master scripts too, its match usage was breaking mawk (which came by default in my natty install)16:34
hertonif (match($0, /UBUNTU: (Ubuntu-2\.6\.[0-9][0-9]*-([0-9][0-9]*)[^ ]*)/, a)) {16:35
hertonmawk doesn't have the third parameter, 'a'16:35
apwmawk! wtf16:35
* apw notes that'll all break hideously with 3.0 as welll sigh16:35
hertonit was default on natty, had to install gawk manually :)16:36
apwherton, did you work out a sensible non ,a form we could use which works with mawk or did you install gawk16:36
apwheh :)16:36
hertonjust installed gawk, don't know what could be done about mawk16:36
hertonapw: ", a" isn't being used, so could be removed16:40
apwherton, ahh ok, will look at that when i am fixing the 2.6 issue16:41
ppisatibut why did they switch awk interpreter?16:44
hertondunno, probably it's faster, and to break scripts :)16:48
smbcoolness... :.P16:48
smband its smaller...16:48
ppisatiactually i just found out that it's there since end of 200716:49
ppisatiat least16:49
ppisatihttp://ubuntuforums.org/showthread.php?t=61998516:49
apwpgraner, btw, that "30% power" issue may be found and a patch in stable17:10
pgranerapw, oh nice, what was it?17:10
apwrounding error in a time calculation leading to miss calculation on whether its worth slipping into lower c states17:11
pgranerapw, cool17:13
=== ikonia_ is now known as ikonia
apwogasawara, have a serious performance issue on kernel install with the new m-i-t, still working on them17:26
ogasawaraapw: ack17:26
apwand the -rc1 kernel doesn't work on either of my atoms, 32 and 64 bit respectivly17:27
ogasawaraapw: yuck17:27
apwogasawara, which is making mit testing very hard too17:28
apwogasawara, given all the problems i am likely going to just bodge the current mit and upload that17:28
apwogasawara, to unblock you and then i can fix mit at my leisure17:28
apwogasawara, though if we can't boot this on any atom i am worried about uploading it, as they are common scrappers for testing17:29
ogasawaraapw: yep, not sure if we really want to upload knowing it fails to boot on some common cases17:29
ogasawaraapw: I can at least work around the hp-mini booting with i915.modeset=117:30
apwogasawara, i managed to get it half working by booting init=/bin/bash, then it dies when modprobe i91517:30
apwwith =1 ?17:30
ogasawaraerr =017:30
apwwhich disabled i915 doesn't it?17:31
apwogasawara, but thats useful for testing here for mit17:31
apwogasawara, are you going to attmept to debug the mini while i finish mit ?  i presume i am not blocking you till then17:42
ogasawaraapw: yep gonna keep debugging, you're not blocking me17:44
sconklinsmb: please let us know when the ec2 branch is finished, and whether it's test built and been test booted? Then we can package it17:44
apwogasawara, ok will keep working this perf issue for the moement and get it uploaded my morning when i have reviewers17:44
smbsconklin, Well test booted not really yet (though I did that before the uhci addition) and its nearly compile done in the ckt ppa17:45
smbJust waiting for i386 currently17:45
smbsconklin, branch and meta branch pushed back already17:46
keesapw: for 720189, I thought the thing we agreed on was to make a new bug instead of reopening the old one?17:48
apwkees, hmmm good point, i'll un bork that17:49
smbsconklin, Ok, lucid-ec2 is prepared. Seems ec2-meta is waiting for some publishing step but should be there soon17:54
sconklinsmb: ok, thanks17:55
mpoirierogasawara: good morning18:00
ogasawarampoirier: morning18:00
apwogasawara, i can confirm you i915.modeset=0 'fix', which concurs with my feeling it was loading that which broke stuff18:00
mpoirierI took a look at the patches you identified18:00
mpoiriervdd_sdi, for omap processors.18:00
mpoirierogasawara: those patches have been refused upstream.  Arnd wanted an change to how the display subsystem was discovering the output, somehting I couldn't do.18:01
mpoirierogasawara: I'm sure it was fixed by someone but I don't have the HW anymore.18:02
ogasawarampoirier: do you know who has hw now?18:02
mpoirierogasawara: no clue - mobile team most likely.18:02
ogasawarampoirier: if it was indeed fixed, we could probably drop those patches, but would be good to test and confirm first.18:03
mpoirierogasawara: ya, I'd like to test before giving the go ahead.18:03
ogasawarampoirier: thanks, I'll make a note to carry them for now and drop only after testing18:03
mpoirierogasawara: ok.  on another front,18:04
mpoirierogasawara: on https://wiki.ubuntu.com/KernelTeam/Specs/KernelOneiricUbuntuDeltaReview it is said that we carry 534 patches on top of mainline.18:05
mpoirierogasawara: what is the suite of instruction you did to come up with that ?18:05
ogasawarampoirier: we have a script we use, it's in kteam-tools, lemme find the exact name18:06
mpoiriercool.18:06
ogasawarampoirier: kteam-tools/devel/reconcile-generic18:07
mpoirierogasawara: ok, I'll take a look - thanks.18:07
* tgardner --> lunch and server room18:36
* ppisati -> gym19:01
CarlFK "Could you add "pciehp.pciehp_debug" to kernel parameter"   add that to APPEND line, or stuff in some /etc conf file?19:07
ohsixtheres /etc/default/grub, but people typically mean editing the command line from grub, then booting with it19:09
CarlFKah right.  thaks19:09
ohsixif you modify /etc/default/grub you'll want to run update-initramfs19:10
CarlFKKernel command line: BOOT_IMAGE=/vmlinuz-2.6.39-3-generic root=UUID=7a5a1e63-19:29
CarlFK8e75-443f-b732-522709dd36d6 ro vt.handoff=7 pciehp.pciehp_debug19:29
CarlFKany idea why I don't see anything new in dmesg? 19:29
sconklinsarahsharp: hi!19:29
sarahsharpsconklin: hello!19:29
CarlFKOne of these did it: kernel ... pciehp=pciehp_debug -- pciehp.pciehp_debug19:34
mpoirierogasawara: can you show me the cmd line you used when calling reconcile-generic ?19:37
ogasawarampoirier: for example:  reconcile-generic master v2.6.3919:39
mpoiriermaster being the ubuntu code base ?19:40
ogasawarampoirier: yes19:41
keesI sent two patches for the kteam-tools branch but they haven't gotten in; can those get pulled?19:45
keessconklin: where can I find the scripts that are processing the workflow bugs?19:46
tgardnerkees, I bugged him about getting them reviewd19:46
bjfkees, i added part of the patch and commented on it19:46
keesI just wanted to see how he was fetching the list of open bugs for a given series19:46
sconklinkees: one sec19:46
bjfkees, kteam-tools/stable/sru-workflow-manager19:47
sconklinI'm multitasking badly19:47
bjfsconklin, np, i got it19:47
keesbjf: ah, sorry, I didn't see the email reply.19:47
sconklinthx19:47
keesbjf: ah, I see, you rewrote the verbosity bits. the CVE speed up wasn't added, should I resend that part?19:49
bjfkees, you could reply to my email about the patch :-)19:49
keesbjf: i will :)19:50
keesapw: any thoughts on https://lists.ubuntu.com/archives/kernel-team/2011-May/015693.html ?19:56
bjfkees, my questions about that patch were: 1, why have we not run into any problems using linkCVE ? and 2, you are turning that into a manual step for all CVEs is that overkill?20:02
keesbjf: because you've only created bugs after the CVE appeared in mitre and was imported into LP already. if I'm going to be using this, it may include CVEs that are not yet in mitre20:03
bjfkees, what does it do if you try to use linkCVE and the CVE doesn't exist?20:03
bjfkees, does it throw an exception or does it fail silently?20:04
keesbjf: one sec (phone)20:04
sforsheetgardner, bjf: can one of you approve my nomination on bug #762987?20:08
ubot2Launchpad bug 762987 in linux-firmware "RT2870 WLAN Stick (D-Link DWA 140) not working. firmware does not support detected chipset" [Undecided,Fix released] https://launchpad.net/bugs/76298720:08
bjfsforshee, done20:08
sforsheebjf, thanks20:08
keesbjf: afair, it throws an exception20:15
bjfkees, then wouldn't it be better to handle that exception, using linkCVE when we can and only adding the "comment" when necessary?20:16
keesbjf: walking the CVE list takes forever, though. doing a comment will hook the back-end logic that actually creates the link, so it's the best way to go, imo20:17
* jjohansen -> lunch20:18
bjfkees, you've worn me down, and i'll apply the patch, though it sounds like the justification is "LP is slow so do it manually"20:19
bjfkees, and it would seem that rule would apply to most LP things20:20
keesbjf: the problems are LP: #322560 and LP: #43947020:20
keesif 322560 was fixed, you could instantly look up a given CVE. instead, you're force to the the time-consuming walk20:21
keesif 439470 was fixed, you could just link immediately20:21
keesso, basically, we just skip both, and do a comment. it'll attach the CVE no matter what.20:21
bjfkees, it's a script, i don't care how long it takes to walk it20:21
keesbjf: heh. well, since I'll be using it, I'd like it to be fast since I'll be manually adding CVEs while doing CVE triage20:22
bjfkees, applied and pushed20:24
keesbjf: cool, thanks!20:24
=== yofel_ is now known as yofel
=== htorque__ is now known as htorque
sconklintgardner: do you know what's required for packaging lts-backports kernels? I have a few questions. Do we use the tarball from the first upload as the .orig or do we upload full source each time?21:53
sconklinand, we include the entire changelog each time because of the way it's rebased, right?21:54
tgardnersconklin, I think I did the full source upload. I can check though. gimme a sec.21:54
bjfogasawara, questions about the meeting agenda21:56
tgardnersconklin, there is no orig tarball in the archive21:56
ogasawarabjf: sure21:57
sconklintgardner: so basically package it without using -v and upload it . . .21:57
tgardnersconklin, I'd use the -v option 'cause there is always a delta from the package in -updates. It'll do the right thing using the -sa option, even when there is no orig tarball21:57
sconklinok, great, thanks21:58
* tgardner --> EOD22:00
=== Quintasan_ is now known as Quintasan
ohsixhi, getting panics i was getting on .39 on the newly released .38-10: http://img847.imageshack.us/img847/2017/dscn0955v.jpg22:37
ohsixok i can make it happen with some regularity if i write something to the drive (cat /dev/zero > /media/blah/temp for a few seconds), kill it then eject23:13
ohsixhow do i translate these numbers to something i can look at in git? 2.6.38-10.44 (other is -9.43, trying to track down something related to that panic)23:41

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