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

ohsixsconklin: re #793796, i'm around if you want me to poke at stuff05:54
* apw yawns08:25
=== smb` is now known as smb
* smb joins apw08:28
apwi cannot be bothered to even drink my tea today08:29
* smb realizes he forgot his coffee in the machine...08:30
apwsmb doh doh doh08:30
jk--:)08:31
=== jk-- is now known as jk-
smb*slurp*08:31
* apw waves to jk-08:35
apwjust how many -'s do you have today08:35
jk-just the one now08:36
jk-apw/smb: OK if I target https://bugs.launchpad.net/800527 to maverick ?08:40
smbjk-, Not thinking so. Seems to be wrong number08:41
smbAt least lp does not find anything08:42
jk-https://bugs.launchpad.net/ubuntu/+source/linux/+bug/80052708:42
ubot2Ubuntu bug 800527 in linux "cx23885: Incorrect argument passed to videobuf_dma_unmap" [Undecided,New]08:42
smbbetter :)08:42
smbOk, why not. Seems to be maverick affected, right?08:43
jk-smb: yep, I've just never had to use the 'Nominate for a series' thing before, so wasn't sure what the etiquette/process is :)08:43
smbjk-, Ah, well if your not an uploader, you need one of us to accept the nomination.08:44
apwjk-: do we know why that original was applied even ?08:44
smbOr we do the whole thing for you08:44
apwjk-: it seems to be a sauce patch ?08:44
jk-apw: it was a backport of some updated IR stuff, and yes, SAUCE08:45
* smb Yeah, I think I remember some discussion on that lirc stuff08:46
apwjk-: then it was done badly and fixing it seems appropriate, i assume we get bangs without08:46
jk-apw: no bangs seen so far08:47
jk-probably leaks though08:47
jk-the other change to cx23885-core.c causes bangs on a particular ASUS MB though08:47
jk-but that's not *really* the driver's fault08:48
apwjk-: sounds awsome08:49
smbjk-, I wonder whether at least in the bug report it would help to point out that the faulty change was due to some sauce and that therefor does not affect any upstream stable 08:49
jk-apw: yeah:08:50
jk-grep MSI /proc/interrupts08:50
jk- 44:          0          0          0          0   PCI-MSI-edge      cx23885[0]08:50
jk-smb: noted08:52
apwsmb, ... i like commas better08:52
smbapw, huh?08:52
* smb thinks he misses some joke08:53
apwsmb, playing with settings ... trying out weechat for a bit08:53
apwsomething i saw being used at the QA sprint, trying it out08:53
smbapw, heh, so is it worth learning a new client08:53
apwa question indeed.  it does the split window thing, and its actually a terminal program08:54
apwso it has some advantages over xchat08:54
apwbut like all change, it is painful for the first person (me)08:54
* smb thinks its painful for every person trying08:54
apwwell less painful when someone can give you the one line you need to add specific new servers08:55
apwtook me a long time to even work out how to add one08:55
smbTrue. Its more about the attachment to some style. Used to be ok with mud. Now have been using tb for so long...08:55
apwexactly08:56
apwhas some nice features like hiding join part for people _unless_ they were talking recently when you might care08:56
apwand they are only filtered so you can hit a key to see them08:56
apwcking just appeared and dissappeared it seems ... network issues in his office perhaps08:57
smbSee I do the opposite with xchat. Hide them all but for people on my sh.. err friends list. :-P08:57
smbSounded like it08:58
smbOr we look scary this morning :)08:58
apwit would be funny if he can't get to his own wireless from the loft08:58
smbHope cking does not find out the only thing not being perfect in the new office is the lan cables08:58
apwtime for some ethernet over power adapters08:58
ckingapw, heh, did have a wireless fail - laptop worked last night, this morning wireless did not09:01
ckingI moved the latop 2 inches and it could then find the AP09:01
smbcking, Your neighbours started to use theirs. :)09:01
ckingthink I was not in a nodal point09:02
apwcking, i think you need some ethernet over power from your router to your desk09:02
apwthen you can have a shiny local AP for your stuff up there09:03
apwget one of those 20 dollar ones09:03
ckingapw, I've got that too, just wanted to make sure wireless worked before I hooked up my cheap and cheerful portable AP09:03
apwahh good09:03
Kanohi, firmware 1.54 is too old for ath9k10:43
Kanohttp://paste.debian.net/12062610:43
apwKano, does appear so, is that firmware update in upstream firmware tree?11:16
Kanoi fetched it from11:16
apwdon't suppose there is any hope you might file a bug11:17
Kanohttp://wireless.kernel.org/download/htc_fw/11:17
Kanono idea if it is somewhere else too11:19
Kanowhy is the module-init-tools depency still not removed from the daily/rc builds11:51
apwbecause i have not had time, have you had time?11:58
Kanoapw: i use dpkg-deb/sed of course, i had to do take thetime 11:58
ppisatiit seems there's a fix for the usb thing on omap12:11
apwppisati, yeah?  what sort of fix, got a pointer12:41
ppisatiapw: 1395401 linus tree13:26
apwppisati, looks 'ok' i guess, i assume you are going to get some test kernels together with that applied?13:30
ppisatiapw: doing it right now13:31
ppisatiapw: so far omap4 works13:31
ppisatiand indeed it works13:35
apwppisati, very good13:35
ogasawaratgardner: I wasn't able to reproduce that build failure14:03
apwmorning ogasawara 14:03
tgardnerogasawara, ok, I'll get back to it in a bit.14:03
ogasawaramornin14:03
apwtgardner, it is reported that ath9k needs updated firmware for oneiric: bug #80067814:08
ubot2Launchpad bug 800678 in linux-firmware "ath9k firmware out of date for kernel 3.0" [Undecided,New] https://launchpad.net/bugs/80067814:08
tgardnerapw, is it upstream yet?14:09
apwtgardner, i haven't checked, i actualy hoped it was the sort of thing you knew off the top of your head :)14:10
tgardnerapw, easy enough to check14:10
tgardnerapw, hmm, nothing jumping out at me.14:11
apwthere is a link to the firmware in the bug, but i have no idea of provenance14:11
tgardnerapw, I suspect provenance is fine. Atheros needs to get it into Woodhouse's repo14:12
* ogasawara back in 2014:31
tgardnerapw, re: CVE-2010-4526. You indicate in the preamble email that it applies to Lucid/ti-omap4, but then you sent a patch for lucid/fsl-imx51. confused...14:45
ubot2tgardner: Race condition in the sctp_icmp_proto_unreachable function in net/sctp/input.c in Linux kernel 2.6.11-rc2 through 2.6.33 allows remote attackers to cause a denial of service (panic) via an ICMP unreachable message to a socket that is already locked by a user, which causes the socket to be freed and triggers list corruption, related to the sctp_wait_for_connect function. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-4526)14:45
apwtgardner, sounds like i am confused ... /me checks14:45
apwthere is no lucid ti-omap4 is there ?14:46
tgardnerhence my confusion14:46
tgardnerjust wanted to be sure14:46
ppisatiapw: no14:46
ppisatiti-omap4 starts in maverick14:46
apwtgardner, the cover letter is in error14:46
tgardnerapw, ack14:46
apwtgardner, the titles of the patches are correcet14:47
* apw hates all the silly names of arm things14:47
* amitk too14:47
ppisatiouch14:47
ppisatiactually i already have CVE-2010-4256 for maverick/ti-omap414:47
ubot2ppisati: The pipe_fcntl function in fs/pipe.c in the Linux kernel before 2.6.37 does not properly determine whether a file is a named pipe, which allows local users to cause a denial of service via an F_SETPIPE_SZ fcntl call. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-4256)14:47
ppisation zinc14:47
apwppisati, so much for me trying to include arm14:49
apwkees, we need our bug thing sorted out so we have somewhere to interlock updates14:49
ppisatiapw: actually i've it only in mav/omap414:49
ppisatiapw: wait...14:49
ppisatiyes14:49
ppisatifsl-imx51 doesn't need it14:50
ppisatiapw: anyway, go ahead, no prob14:50
* apw is still using the 'awsome' tracker, but seemingy i am on the only one14:50
ppisatiah right, i should have updated it14:50
tgardnerppisati --> beers to apw14:50
apwppisati, no real blame, the process is in a massive mess while we wait on bugs being kept in sync14:50
smbtgardner, Sorry, I had been changing my mind about code cleanup just this morning14:51
* ppisati updates the cve tracker...14:51
tgardnersmb, s'alright. I think I have it figured out.14:51
smbOn the positive side, this is much smaller14:51
apwppisati, get your updates pushed up i recon, sooner rather than later14:51
tgardnersmb, have you tested this final version ?14:52
smbtgardner, Just passed the point it would have crashed before when I sent it14:52
tgardnersmb, ack14:52
ppisatiapw: ok, i push it now14:53
apwppisati, i don't mind a few extra pull requests, its mosrly the same amount of work -- reviewing the patches14:53
ppisatibtw, whats status can i use for "i have it in one of my tree but not pushed yet"?14:53
apwppisati, there isn't one, and thats why its a problem14:53
apwand why you and i are stepping on each other.  thats why we have yet a third place to track things14:54
ppisatiapw: yeah, but i was confused ny the "pull req only when the window opens" aka this morning discussion14:54
apwwe want to remove all that and make the bugs the primary copy14:54
ppisatiyep14:54
tgardnerppisati, apw: its 'In Progress' until pushed to the main repo when it becomes 'Fix Committed'14:54
apwBUT that needs kees stuff to work14:54
apwtgardner, right on the bugs yes14:54
ppisatitgardner: uhm... i did that transition on launchpad but not on the cve tracker14:54
ppisatitgardner: i was looking for a "in progress" state there too14:55
apwbut as i discovered yesterday searching for 'CVE-NNN-MMM' in launchpad does nto always find you a bug you know exists14:55
apwand its there that things go wrong, as we have an external list of bugs currently14:55
ppisatiapw: yep, i use two search the cve page, and then walk there the list of lacunhpad bugs attached until i find the right one (usualy it has the same title as the CVE)14:57
ppisatis/two/to/14:57
apwppisati, what search do you do, all mine make no sense and find nothing14:58
apwi hate launchpad search its almost useless14:58
ppisatiapw: https://launchpad.net/bugs/cve/14:59
apwOH its the damned 'if the main task is closed i don't exist bug'14:59
apwthats why i've missed the bugs and crossed with you14:59
apwppisati, have you got an example bug you are currently working on so is in an active state15:03
apwbah these searches just do not include bug tasks i can clearly see exist15:04
* tgardner back in 1015:04
ppisatiok, i borked the git url15:09
apwppisati, where ?15:09
ppisatiapw: lucid/fsl-imx51 pull req, but i sent another email with the right url15:10
apwppisati, ahh i see15:10
* apw bounces to fix some niggling bustness15:18
* ppisati -> out to buy a couple of usb cables15:19
=== jjohansen is now known as jj-afk
=== cnd` is now known as cnd
tgardnerapw, the buglink for CVE-2010-4163 is wrong. isn't that messing up your status page ?15:51
ubot2tgardner: The blk_rq_map_user_iov function in block/blk-map.c in the Linux kernel before 2.6.36.2 allows local users to cause a denial of service (panic) via a zero-length I/O request in a device ioctl to a SCSI device. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-4163)15:51
tgardnerit should not be bug #69073015:52
ubot2Launchpad bug 690730 in linux "Maverick update to 2.6.35.10 stable upstream" [Undecided,Fix released] https://launchpad.net/bugs/69073015:52
tgardneror maybe its the result of your CVE checker script15:53
apwtgardner, the bug links matter not to the cve updater15:56
apwtgardner, commonly where i take a backport and cherry-pick that i will leave the BugLu15:56
tgardnerapw, ack15:56
apwBugLink alone, and add anohter one at the bottom too15:56
apwtgardner, does it have two ?15:57
tgardnernope15:57
apwhrm, then i suspect i forgot it, thats naught15:57
apwnaghty15:57
apwtgardner, is there a bug do you know15:58
tgardnerapw, dunno, didn't check.15:58
tgardnerit was something that we got via stable, so likely not15:59
apwtgardner, now i am confused, according to the Awsome tracker there is one, but you are assigned to the row15:59
apwbug #72144116:00
tgardnerapw, maverick/ti-omap4 ?16:00
ubot2Launchpad bug 721441 in linux-ti-omap4 "CVE-2010-4162" [Undecided,In progress] https://launchpad.net/bugs/72144116:00
apwbah missed, bug #72150416:00
ubot2Launchpad bug 721504 in linux "CVE-2010-4163" [Undecided,Fix committed] https://launchpad.net/bugs/72150416:00
apwtgardner, if you are applying now do add it16:01
tgardnerapw, can do16:01
tgardnerapw, pushed maverick/ti-omap4. better now?16:03
apwtgardner, looks like you did only one of the pair of patches for -4163, not that i think it matters much16:05
tgardnerapw, likely. I only noticed one commit in error before I lost interest16:06
apwtgardner, fyi the cve updater uses only upstream commit ids from the logs and the ubuntu tags to work out the release correlations16:07
apwthats why its important those are maintained, of course it is policy to so maintain them16:07
apwppisati, thats looking pretty good, fix two more CVEs for arm and hardy will officially move into last place16:17
apwppetraki, would it be useful to have a matrix of just the arm kernels? 16:18
apwppisati, ^^ even16:19
tgardnerogasawara, what is the exact command you're using to build oneiric on tangerine ?16:21
apwtgardner, which build is failing for you ?16:21
ogasawaratgardner: I use the 'build-start --dist oneiric --branch master-next tangerine-amd64'16:22
tgardnerits still the ubuntu/rtl8192se stuff. the 2.4 kernel part modifies CFLAGS which kbuild hates.16:22
apwtgardner, for amd64 yes?16:22
tgardnerogasawara, try it with 'kteam-tools/buildscripts/ukb-make --arch=amd64 --release=oneiric --branch=master-next --clean'16:22
tgardnerapw, yes16:22
apwtgardner, and which flavour fails16:23
tgardnerbinary-generic16:23
* apw lets his tools build it too, to see if its tools related16:23
tgardnerapw, if I delete all of the Makefile code for 'KERNEL 2.4' then it works fine16:24
* tgardner thinks the rtl8192se makefile is hideously fucked.16:24
apwifeq ($(shell uname -r|cut -d. -f1,2), 2.6)16:24
apwifeq ($(shell uname -r|cut -d. -f1,2), 2.6)16:24
apwtgardner, ^^ EEK16:25
tgardneruh huh, indeed16:25
apwso if your _host_ kernel is 3.0 it will fail16:25
tgardner3.0-1-server16:25
apwso i suspect this will run on tangerine ok, and not on your local systems16:26
tgardnerright, so I guess I'll fix that16:27
apw2.6.35-25-server <- so tangerine indeed16:27
apwbut that is utter spack, and should be based on the kernel version... though just making that like like16:27
apwifeq (1, 1)16:28
apwwould likley be just as appropriate as we know it is NOT 2.416:28
tgardnernow, I like that kind of fix :)16:28
ppisatiapw: i'm ok with the big matrix16:28
tgardner!vi16:28
ubot2Text Editors: gedit (GNOME), Kate (KDE), mousepad (Xfce4) - Terminal-based: nano, vi/vim, emacs, ed - For HTML/CSS editors, see !html - For programming editors and IDE, see !code16:28
apwthe things ubot2 knows ... i ask you16:30
ppisatibug 80075816:43
ubot2Launchpad bug 800758 in linux-ti-omap4 "CVE-2011-1082" [Undecided,New] https://launchpad.net/bugs/80075816:43
ppisatiplease accept the nominations16:43
ppisatiapw: ^^^16:43
* apw looks16:43
apwppisati, done16:44
=== cking_ is now known as cking
* cking wonders how many euros to take to dublin16:50
tgardnercking, enough to buy bus fare to the hotel16:51
ckingtgardner, no beers or food in the evening?16:52
macocking: how'd you get system tap going with ubuntu? last i checked the wiki it was like "fedora: install it. ubuntu: jump through hoops!"16:52
tgardnercking, I think there is an ATM in the hotel16:52
macodid the hoop-jumping reasons go away?16:52
ckingmaco, let me find the runes...16:52
tgardnerlamont, are you still happy with the kernel herton built for you yesterday regarding bug #791512 ?16:54
ubot2Launchpad bug 791512 in linux "tcp connections hang in forwarding machine" [Undecided,New] https://launchpad.net/bugs/79151216:54
ckingmaco, part of this README is relevant to getting systemtap installed: http://kernel.ubuntu.com/git?p=cking/pmdebug.git;a=blob;f=systemtap/README;h=56ca292345a02dea722ffee603ca598af5403356;hb=a86d419fc92da76abb6ff6731cf43667de5c14b216:54
lamonttgardner: I have heard no complaints, and experienced no issues with it16:55
tgardnerlamont, great. I'll add that to the bug.16:55
lamonttgardner: likewise, upstream(?)'s reply to the email does concern me more than I'd like to admit16:56
ppisatiuhm... CVE-2011-1082 and CVE-2011-1083 point to the same fix16:56
ubot2ppisati: fs/eventpoll.c in the Linux kernel before 2.6.38 places epoll file descriptors within other epoll data structures without properly checking for (1) closed loops or (2) deep chains, which allows local users to cause a denial of service (deadlock or stack memory consumption) via a crafted application that makes epoll_create and epoll_ctl system calls. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-1082)16:56
ubot2ppisati: The epoll implementation in the Linux kernel 2.6.37.2 and earlier does not properly traverse a tree of epoll file descriptors, which allows local users to cause a denial of service (CPU consumption) via a crafted application that makes epoll_create and epoll_ctl system calls. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-1083)16:56
tgardnerlamont, me too. I'm gonna have to do some deep code dive. empiracal evidence suggests there is something going on the Eric has overlooked.16:56
ckingmaco, you may find that building a .ddeb kernel is required if there isn't an appropriate kernel .ddeb :-(16:57
lamonttgardner: I hope so.  because random data stomping is (1) scary, and (2) a cheap copout16:57
macocking: i feel like there should be an add-ddebs.deb that puts it in /etc/apt/sources.list.d/ and gets the key, like those rpms that install yum repos16:57
tgardnerlamont, we have some initial findings that the same patch affects 3.6.38.8, so the random code stomping theory is likely specious.16:58
macoor the key should be included by default and the ddebs repo in sources.list but commented16:58
macothatd be handy too16:58
lamonttgardner: very nice16:58
apwmaco, i think we might be able to add it by default if that pool is made one of those 'opt in only' repos16:58
ckingapw, is that a discussion point for the platform rally?16:59
macoapw: isnt commenting it out enough to make it count as "opt-in only"?17:01
apwmaco, not sure, they are talking about having things like backports enabled all the itme, and then you only getting packages you explicitly install updated17:01
apwwhich would fit well for the ddebs i suspect17:02
macoapw: with pinning?17:02
apwmaco, i think somehow its the default on the repo so you don't have to have anything locally, but functionally like the pinning yes17:02
=== jj-afk is now known as jjohansen
brodermaco, apw: we definitely talked about turning on ddebs by default at uds in one of the sessions17:46
broderyou shouldn't have to pin, though, since the packages all have different names17:46
broderno, wait, we talked about adding it by default, but commented out17:47
broderand including the key in the default keychain17:47
macooh, cool, so what i just said17:47
broderlet me go dig up the blueprint...17:47
broderhttp://summit.ubuntu.com/uds-o/meeting/foundations-o-dbgsym-integration/17:48
broderlooks like...nobody ever actually turned it into a spec. hmm...17:48
fowlduckWe have an Intel Xeon E5645 and we're not seeing the 2 threads per core in lscpu, cat /proc/cpuinfo, etc, despite the processor being capable of hyperthreading. Is there a way to determine what features are supported by the kernel? I'd like to check if hyperthreading is enabled but haven't a clue.18:27
fowlduckalso, not sure if this is the appropriate place for this question18:27
tgardnerfowlduck, hyper-threading is definitely enabled. what kernel  and HW are you using?18:29
fowlduckIntel Xeon E5645 and `uname -a` # => Linux 358015-domain 2.6.38-8-server #42-Ubuntu SMP Mon Apr 11 03:49:04 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux18:31
mjg59fowlduck: Your BIOS supports the processor?18:31
mjg59And put dmesg up somewhere18:32
tgardneryeah, this is likely a BIOS issue18:32
fowlduckhttp://pastie.org/private/hdib338al84ipuhgqetja18:33
fowlduckmjg59: I'm actually not even sure, we're using a bare-metal host that rhymes with shmackspace and don't have access to the BIOS 18:33
mjg59fowlduck: At a guess I'd say that hyperthreading is disabled in the bios18:34
mjg59The R710 should be new enough to handle those chips18:34
tgardnerlooks like a Dell Poweredge, and I know they are supported.18:34
fowlduckok, great, we'll push this back to our host18:35
fowlduckthanks guys18:35
tgardnermjg59, fowlduck:     0.228857] Booting Node   0, Processors  #1 #2 #3 #4 #518:38
tgardner[    1.126949] Brought up 6 CPUs18:38
tgardner[    1.126956] Total of 6 processors activated (28728.72 BogoMIPS).18:38
mjg59Yeah, that should mean that ACPI only gave us 618:39
tgardneran R710 has 6 physical cpus ?18:40
fowlduckyep, it's a hex-core, so with HT it should show 12: http://ark.intel.com/Product.aspx?id=4876818:40
tgardnerfowlduck, oh, 6 cores. I'm just a little slow today.18:41
fowlduck:)18:42
* tgardner --> lunch19:12
=== yofel_ is now known as yofel
* jjohansen -> lunch20:26
=== Quintasan_ is now known as Quintasan
hertontgardner: about that af_unix patch, after Eric responded I made this small testcase which that patch fixes: http://pastebin.ubuntu.com/630957/20:51
hertonjust in case it helps with something20:52
hertonmay be one of the applications lamont uses on that server has the same bug, recv before accept20:52
hertonsconklin: ^^20:53
tgardnerherton, looking...20:53
sconklinalso looking20:53
tgardnerherton, attach that to the bug with an appropriate explanation. I'd also summarize Eric's email about why the patch exists.20:54
hertonok20:54
sconklinIt never occurred to me that doing a receive before accept could ever work in anything . . .20:55
tgardnerherton, are you able to cause a kernel oops with that patch reverted ?20:55
hertontesting here on natty worked, previous to 10.4420:55
hertonon 10.44 it returns the ENOTCONN20:55
sconklinunless it's in some path that fails but another fallback path works20:55
hertontgardner: on my test machine it didn't oops20:55
sconklinoh, interesting20:55
sconklinMaybe cking knows whether SystemTap can be used to detect a userspace app that does this and point a finger20:57
=== yofel_ is now known as yofel
* tgardner --> EOD21:31

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