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

cjwatsonogasawara: heads-up on bug 89339500:25
ubot2Launchpad bug 893395 in linux "ext2 modular in precise but missing from fs-core-modules" [Undecided,New] https://launchpad.net/bugs/89339500:25
cjwatsonshame I missed today's upload00:25
=== BenC__ is now known as BenC
=== ericm-Zzz is now known as ericm
ogasawaracjwatson: pushed a fix for 893395, I'll upload once the current upload finishes building (eta 5hrs). will then get linux-meta uploaded as well.04:41
smbmorning .+08:25
aboganimorning08:27
* apw waves weakly08:58
ppisatismb`: http://bazaar.launchpad.net/~ubuntu-bugcontrol/qa-regression-testing/master/view/head:/scripts/kernel/guard-page/split-stack.c11:24
ppisatismb`: do you remember if it relates to a CVE or a particular kernel option?11:25
=== smb` is now known as smb
smbppisati, it had to do with a cve, but I cannot remember exactly what/which11:44
ppisatismb: found11:44
ppisatismb: https://bugs.launchpad.net/ubuntu/jaunty/+source/linux-mvl-dove/+bug/64611411:44
ubot2Launchpad bug 646114 in linux "mlock on stack will create guard page gap" [Undecided,Fix released]11:45
=== tkamppeter_ is now known as tkamppeter
smbppisati, Well, I believe that was a problem introduced by the attempted fix for the other problem11:45
smbThe guard page thing was supposed to prevent some bad collision but unfortunately the way this was shown to user-space was one-off (or so)11:47
smbHm, actually might have been that if the area was spanning more than one vm area the guard page hole was presented for each area11:48
smbwhich is a lie for anything but the lowest (if your stack grows downwards)11:48
ppisatismb: ok, seems to be 28d2e371327c8961ae593e1a3e275df32b35dd7d maverick/master11:50
smbppisati, That was the fix. It started with 52423b90e1f5b1bdbbcc6e32f4d37ada29b790c411:53
smbppisati, CVE-2010-224011:53
ubot2smb: The do_anonymous_page function in mm/memory.c in the Linux kernel before 2.6.27.52, 2.6.32.x before 2.6.32.19, 2.6.34.x before 2.6.34.4, and 2.6.35.x before 2.6.35.2 does not properly separate the stack and the heap, which allows context-dependent attackers to execute arbitrary code by writing to the bottom page of a shared memory segment, as demonstrated by a memory-exhaustion attack against the X.Org X server. (http://cve.mitre.org/c11:53
ppisaticool, i'll import it11:55
ppisatibtw, does that mean that secuiry test routine were not run on arm branches?11:55
ppisatibut first, lunch! :)11:56
smbppisati, We do security on arm? :-P11:56
smbWell it should be in there11:57
ppisatiwell, it seems we just started to do security on arm... :)11:57
smbThe CVE required a whole bunch of changes but for Maverick those seem to be in from upstream stable11:57
smbIt turned out that the minimal invasive patch was a maximum pain in the butt11:58
ppisatisounds like something to remember... :)11:58
* smb does not think that anything minimal invasive exists in memory management...11:59
ppisatismb: well, but you made my facebook status quote :)12:00
* smb tries to hide12:01
apwppisati, so did someone in qa just bring up that security failure ?13:50
apwppisati, cirtainly in the early days we didn't record derivative branches as well as we do now, and so they had not CVE tracker entries and didn't get updated always; and once missed that was it13:51
hertonapw, bug 893190 (first reported on tracking bug 888569)13:53
ubot2Launchpad bug 893190 in linux-ti-omap4 "Qa-testing failures for 2.6.35-903.27" [Undecided,New] https://launchpad.net/bugs/89319013:53
ubot2Launchpad bug 888569 in kernel-sru-workflow/verification-testing "linux-ti-omap4: 2.6.35-903.27 -proposed tracker" [Undecided,Fix released] https://launchpad.net/bugs/88856913:53
apwso it must be new testing i suspect then, a good thing if a little late13:53
apwherton, but if it is a missing CVE which simply is not applied to that branch, then its not a regression13:54
hertonindeed, I guess that's it also13:54
apwherton, and we'd not necessarily want to hold the update.  the previous release is as bad13:54
hertonapw, I was thinking about it as well, that's true, shouldn't hold if not a regression. If GrueMaster can confirm is not a regression, we could go forward with the update and release it13:55
apwppisati, is this just a cve we have missed on this branch, ie are the fixes simply missing?13:56
apwherton, if that is a yes ^^ then its defnatly not a regression13:56
apwlet me know if so so i can get the security team to pull that entry back from retired for the matrix too13:56
hertonok. There is more 1 test failure on the report, not sure if they are all missing cves, but if not a regression on all then ok13:58
herton*more than 113:58
apwahh ok, so ppisati any cves we find missing via this testing i need the numbers for to reopen the CVEs13:59
smbFrom past experience it can be worth looking at the failed test closely since some are doing statistical checks and sometimes those were to tightly checking13:59
smb(like the stack randomization checks)13:59
apwyep there is that, for the random placement checks they are poor13:59
apwand can fail once in a while without being broken14:00
smbYep, I guess with less memory random place is less random than with more...14:00
apwi believe that arm has less bits to be random with iirc14:01
ogasawaraapw: would you be able to stand in for me at the release meeting on fri14:11
apwogasawara, sure, i think there is a change to how its done which you'd have to get me up to speed on14:12
ogasawaraapw: yep, we send out our team specific bits to the ubuntu-release mailing list ahead of time.  then the meeting is just any follow up Q&A for what we sent out.14:12
apwogasawara, and we chose the bugs for the list as well ?14:13
ogasawaraapw: yep14:13
apwhow we been picking them14:13
ogasawaraapw: apw: I'll go ahead and send out the email to ubuntu-release.  that way you can just sit in on the meeting.14:13
apware we relying on jo for that, or do we have a tag14:13
apwogasawara, ok fair enough14:14
ogasawaraapw: mainly relying on the rls-p-tracking tag14:14
ogasawaraapw: but we're responsible for putting that on the bugs14:14
ogasawaraapw: but since we've just uploaded a 3.2 kernel, I haven't been real aggressive with using the tag just yet as it's not clear if some of the bugs will resolve themselves with the newer kernel.14:14
ogasawaraapw: but I've been keeping an eye on some, which I'll list in the email.14:15
apwyeah for sure, till that mess is in and stable we're spinning wheels14:15
ogasawaraapw: I also uploaded a new 3.2.0-1.3 to fix up bug 89339514:16
ubot2Launchpad bug 893395 in linux "ext2 modular in precise but missing from fs-core-modules" [Critical,Fix released] https://launchpad.net/bugs/89339514:16
ogasawaraapw: once that builds I'll hopefully want to upload linux-meta finally14:16
ogasawaratseliot: were you able to take a peek at wl?14:16
apwogasawara, yeah saw that on irc scroll back, a good decision me thinks14:17
tseliotogasawara: I'm working on it as we speak. I think I've found the change that causes the build to fail. I have to see if this is the only change though14:18
ogasawaratseliot: great, thanks.  please keep us posted.14:18
tseliotogasawara: sure14:18
=== ericm|ubuntu is now known as ericm-Zzz
ogasawarajsalisbury: think you'll you be ready to pick up chairing the weekly IRC meeting next week?14:38
tseliotogasawara, apw: my patch at least allows the module to build. Now I only need to test it on a device with broadcom14:48
apwsounds good14:48
tseliotnow remembering which one of the bazillion devices that I have around has broadcom is the main problem ;)14:50
jsalisburyogasawara, yes, next week is good for me14:51
ogasawarajsalisbury: and I haven't forgotten about the bug you pinged about yesterday, will get to it soon14:52
jsalisburyogasawara, cool.  thanks14:53
* herton -> lunch15:03
* ogasawara back in 2015:29
TeTeTapw: thanks for the dpms suggestion for the random freezes!15:40
apwhey np15:41
* tseliot has finally found a device with a broadcom chipset \o/15:49
mdeslaurherton: is this table accurate? https://wiki.ubuntu.com/Kernel/Dev/ABIPackages15:54
mdeslaurherton: is that what you use, or do you have a more authoritative source?15:55
hertonmdeslaur, yes, it's the official source15:56
mdeslaurherton: ok...can I correct everything that's inaccurate in it then?15:56
hertonmdeslaur, yep15:56
apwogasawara, we need to add a WI to update the above page and its friends when we are about to release, by kernel freeze we should know i'd think16:00
apwogasawara, with our standard ones like emailing out the config16:00
tseliotapw, ogasawara: unfortunately the only laptop (that works) which has a broadcom card only uses the open driver. I think the laptop that I used for testing is the one with the dead monitor...16:02
apwtseliot, if you have .debs i have brcm that works with wl i believe16:03
tseliotapw: sure, for amd64?16:03
apwsadly its 32bit16:03
tseliotapw: ok, let me create a 32bit chroot then16:03
apwtseliot, hang on16:05
apwtseliot, its a dkms package, isn't it an _all ?16:05
tseliotapw: no, as we only support i386 and amd6416:05
tseliotunfortunately16:05
apwtseliot, but the package would be identicle, as in its not a binary package?16:06
tseliotapw: the makefile is patched so that the right binary is used according to the architecture16:07
apwtseliot, yeah i mean if i just force the xmd64 binary on it'll work right ?16:07
tseliotthere are separate binaries in the same package for the two archs16:07
apwoh ick ok, i'll shut up now16:07
apwogasawara, is the meeting in an hour ?16:08
ogasawaraapw: yep16:08
apwyou or joe?16:08
ogasawaraapw: me.  joe will take over next week.16:08
tseliotapw: even if you force the installation I think dpkg --print-architecture would report the right architecture and things should be fine16:09
tseliotapw: so it's probably worth trying16:09
tseliot(the makefile is called by DKMS)16:09
apwtseliot, can do if you point me to a binary16:09
tseliotapw: sure let me upload the deb file16:09
tseliotapw: http://people.canonical.com/~amilone/bcmwl-kernel-source_5.100.82.112+bdcom-0ubuntu1_amd64.deb16:11
tseliotapw: no, wait16:12
tseliotit won't work16:12
apwtseliot, /me waits16:13
tseliotapw: some files are renamed when the package is built, therefore it's not gonna work16:13
apwtseliot, ok16:13
tseliotapw: hopefully my chroot will be ready in a few16:14
apwok16:14
tseliotapw: the creation of an i386 chroot failed (because of perl...). I'm using my Lucid 32bit chroot16:23
* tseliot keeps his fingers crossed16:24
apwheheh16:25
ppisatii didn't see the usual kernel meeting warning16:28
ppisatiit's still scheduler in 30mins, right?16:28
ppisati*scheduled16:29
apwppisati, indeed should be, ogasawara did we miss a 1hr warning?16:29
ogasawarayah, got sidetrack and didn't spam the channel16:29
ppisatinp16:30
ogasawara##16:30
ogasawara## Kernel team meeting today @ 17:00 UTC16:30
ogasawara##16:30
ckingeek16:30
apw(that is in 30 minutes people)16:30
smbhe lives...16:30
ckingwho me?16:30
smbyes16:30
smb:)16:30
ckingI've been grinding data all day16:30
apwcking, i expect you have half a dozen reports for the thing right ?16:30
ckingI'm still working on it16:31
smbI guess the meeting will take then a bit longer than usual... :)16:31
* cking keeps on finding weird corner cases which need double checking16:32
GrueMasterherton, apw.  Not a regression, definately.  I was just recently able to get the qrt kernel tests working on armel w/o a lot of false positives. 16:34
apwGrueMaster, ok cool, herton that sounds like we can at least release it16:37
ogasawarajsalisbury: just fyi, https://bugs.launchpad.net/ubuntu/+source/linux/+bug/892675/comments/216:37
ubot2Launchpad bug 892675 in linux "include/linux/usb.h missing" [Medium,Invalid]16:37
apwppisati, we do need to get a list of all the CVEs which are truly not fixed on there so i can get them active again16:37
hertonyep, GrueMaster can you tag it passing qa on the maverick ti-omap4 bug? ppisati opened a new bug to work on the failures16:37
GrueMasterWill do.16:38
jsalisburyogasawara, thanks!16:38
ppisatiapw: so far, only 1 seems good and it's not a CVE16:39
ppisatiapw: it's a fix for the fix of a CVE16:39
apwahh, it should probabally have had a CVE number and didn't16:39
ppisatiapw: 2 of the failing tests seem not applicable to maverick/omap416:40
tseliotapw: http://people.canonical.com/~amilone/bcmwl-kernel-source_5.100.82.112+bdcom-0ubuntu1_i386.deb16:40
ppisatiapw: and now i'm looking atthe last one16:40
apwogasawara, as the reporter is mentioning /usr/include those would be the copies in linux-libc-dev, are they in there too ?16:40
GrueMasterThere is one test that is failing (/dev/mem) that needs more research, but I am not counting it in the test failure results yet.16:41
apwogasawara, and indeed on my precise install there is no /usr/include/linux/usb.h16:41
ogasawarahrm, /me double checks16:42
apwogasawara, that it _is_ in headers and not linux-libc-dev doesn't mean its meant to be in /usr/include of course16:43
apwthere is a process in the kernel to copy it over ...16:43
apwogasawara, i can take a look if you like16:43
ogasawaraapw: sure, go for it16:43
ppisatiGrueMaster: SECCOMP and STRICT_DEVMEM are not applicable to that release16:43
ppisatiGrueMaster: i sent you a test kernel for the mlock split stuff16:43
ppisatiGrueMaster: and the only missing part are the PTRACE* checks16:44
GrueMasterppisati: Not seeing a kernel link16:45
ppisatiGrueMaster: i sent it in #ubuntu-arm16:46
ppisatiGrueMaster: anyway16:46
ppisatiGrueMaster: http://people.canonical.com/~ppisati/linux-image-2.6.35-903-omap4_2.6.35-903.27~mlockfix_armel.deb16:46
ppisatiGrueMaster: this should fix the16:46
HadiMhi16:46
ppisatiGrueMaster: "Make sure the stack guard page does not split the stack on mlock ... FAIL"16:46
ppisatiGrueMaster: in test-kernel.py16:46
HadiMI dont find iwlwifi / iwlagn modules in 3.2 ubuntu kernel16:47
HadiMhttp://kernel.ubuntu.com/~kernel-ppa/mainline/v3.2-rc2-oneiric/16:47
HadiMis that normal ?16:47
HadiM(sorry if I am on the wrong channel)16:48
ogasawaraHadiM: not sure about the mainline build (which is the url you posted), but I'm using the iwlwifi driver right now on a 3.2.0-1.2 Ubuntu kernel16:51
ogasawaramodinfo iwlwifi16:52
ogasawarafilename:       /lib/modules/3.2.0-1-generic/kernel/drivers/net/wireless/iwlwifi/iwlwifi.ko16:52
HadiM32bit or 64 ?16:52
ogasawaraHadiM: 6416:52
HadiMok same here16:52
HadiMI double check the deb16:52
HadiMin the url I gave you the kernel name is 3.2.0-030200rc2-generic/16:54
apwogasawara, when you did the rebase did you notice anything about those changing name16:54
HadiMand there is no iwlwifi dir in /lib/modules/3.2.0-030200rc2-generic/kernel/drivers/net/wireless/16:54
ogasawaraapw: not that I'm aware, but tgardner did the original v3.2-rc1 rebase16:54
HadiMoh youre using the precise kernel build16:55
ogasawaraHadiM: right16:55
HadiMI suppose it is not the same as http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.2-rc2-oneiric/16:55
HadiMthats strange16:55
HadiMI will try the precise build on my oneiric16:56
ogasawaraHadiM: that url is to the upstream vanilla v3.2-rc2 kernel.  although I'm not sure why it would be missing there.16:56
apwtseliot, on it16:56
HadiMit is missing in 3.2 rc1 and rc2 for sure16:56
tseliotapw: thanks16:56
GrueMasterppisati: Your kernel fixes that bug, but it must be an older spin.  It is giving me a different mac on boot, and the eth0 is now usb0.16:57
* apw notes a netbook is not the speedyiest16:58
ppisatiGrueMaster: no, i put the patches on top of maverick/omap4 tip16:58
GrueMasterWell, system came up with a different mac, so not sure what is different.16:59
* ppisati notes kernel.ubuntu.com is dead slow...16:59
ogasawarameeting time...17:00
smbalready17:00
ppisatiGrueMaster: http://kernel.ubuntu.com/git?p=ppisati/ubuntu-maverick.git;a=shortlog;h=refs/heads/ti-omap417:01
ppisatiGrueMaster: latest 4 patches are the fix17:01
ppisatiGrueMaster: and are on top of the rest17:01
GrueMasterWell it is failing my testmac test, which enables/disables the ethernet port 10 times and compares mac addresses in between.  I can't reach the system now until dns catches up with dhcp (I'm remote and the system is at home).17:03
GrueMasterWait, I think I see the problem.  It isn't polling the die id.17:05
GrueMasterLet me reboot to the proposed kernel and verify.17:07
GrueMasterppisati: Sorry, I guess I just never noticed it before.  I don't think 2.6.35 polls the die id for the mac address.  nevermind.17:09
GrueMasterI usually run sru tests on it locally.17:10
apwtseliot, not looking good on my machine here ... seems to partially think its a wired network and generally doesn't connect17:10
jsalisburyogasawara, followed along ok.  I should be fine to take over next week.  Will you update the runes file to include ckings power topic?  Or should I do it when updating it from the agenda next week?17:11
ogasawarajsalisbury: I'll go ahead and update it17:11
tseliotapw: did you reboot?17:11
jsalisburyogasawara, cool, thanks17:11
apwtseliot, yep17:11
ogasawarajsalisbury: I'm also thinking it would probably be good for you to take over reporting the "[TOPIC] Release Metrics and Incoming Bugs"17:12
jsalisburyogasawara, sure17:12
apwtseliot, also hand blacklisted the kernel modules which pick up this device otherwise17:12
ogasawarajsalisbury: it's just a copy and past of http://people.canonical.com/~kernel/reports/kt-meeting.txt17:12
jsalisburyogasawara, ok17:12
ogasawarajsalisbury: if there are any other bugs which you want us to look at as well, that's probably a good time time to raise them as well.17:13
jsalisburyogasawara, good idea.  I can add a reminder about the hot list.17:13
tseliotapw: I also updated the driver to a new release, so maybe we're facing 2 different problems here. I could write a patch against the old driver and see if it helps17:13
apwtseliot, ok whatever you think17:14
apwcirtainly something is odd cause nm is mistaking it for a wired port17:14
apwtseliot, though i have no idea how nm knows what sort of port any port is17:17
tseliotapw: this is all I did: http://pastebin.ubuntu.com/746118/17:18
apwyeah seems unlikely that would fookulize everything else, so we must suspect the new driver17:19
tseliotapw: right (hopefully). Let's see if the old driver works17:20
tseliotapw: is this any better? http://people.canonical.com/~amilone/bcmwl-kernel-source_5.100.82.38+bdcom-0ubuntu5_i386.deb17:31
* ppisati -> eod17:42
apwtseliot, ok with that one, after a reboot i get what appears to be working wiki17:43
apwwifi, done a bit of surfing so far, nothing hardcore17:43
tseliotapw: \o/17:46
* apw watches a movie on it17:46
tseliotapw: ok, I'll keep the old driver with my patch on top17:47
apwtseliot, seems like a good first step to me17:48
tseliotapw, ogasawara: ok, I've just uploaded the broadcom driver with my patch (in Precise)17:51
ogasawaratseliot: awesome, thanks17:51
tseliotyw17:56
tseliotapw: thanks for testing17:56
apwtseliot, thanks for fixing :)  at least we have a full set of binary drivers before the kernel goes live, that must be a first17:57
tseliotapw: hehe, nice :)17:57
icerootis it possible to build an amd64-kernel on an i386-cpu without amd64-instructions?19:42
iceroothttps://bugs.launchpad.net/ubuntu/+source/linux/+bug/869502/comments/118  then i can provide here the amd64 version too19:43
ubot2Launchpad bug 869502 in linux "Kernel-Panic with 3.0.0.12-generic on asus eee pcs and msi wind (both using rt2800 wifi chipset)" [High,Confirmed]19:43
icerootatm i am using skipabi=true skipmodule=true fakeroot debian/rules binary-iceroot and that is building i386 here19:45
ogasawarasmb: thanks for your review, I've reverted the "UBUNTU: SAUCE: xen: Do not use pv spinlocks on HVM" patch on Precise master-next.  I'll rebase it out of existence at the next rebase.19:48
cdhmHi. I have done a lot of kernel building, but not withinb Ubuntu. What I want to do is build logfs as a module and load it.20:16
cdhmThere are a lot of howtos, each different, and different for various versions. So here is what I did:20:17
cdhmmkdir /opt/ubuntu-kernel-src20:18
cdhmcd /opt/ubuntu-kernel-src20:18
cdhmsudo apt-get build-dep --no-install-recommends linux-image-$(uname -r)20:18
cdhmapt-get source linux-image-$(uname -r)20:18
cdhmcp /boot/config-2.6.38-12-generic-pae  .config 20:18
cdhmmake; make modules_install20:19
cdhmThat unfortunately builds and installs modules for 2.6.38.8 and not 2.6.38-12-generic-pae20:20
cdhmHints??20:20
tgardnercdhm, make oldconfig scripts prepare; make M=`pwd`/fs/logfs20:20
tgardnercdhm, oh, first do 'fakeroot debian/rules prepare-generic-pae;cp debian/build/*/.confg .'20:21
cdhmtgardner: So what's the order of operations... do the apt-gets, then do the fakeroot thing, then the make config, then make changes to .config to turn on CONFIG_LOGFS then make logfs. Is that correct?20:29
tgardnercdhm, no, you want to change the  CONFIG_LOGFS option in debian.master/config first, then the fakeroot thing20:31
cdhmtgardner: Ok, so the order is:do the apt-gets, then nobble the debian.master/config then  do the fakeroot thing, then regular make; make modules_install20:33
tgardnercdhm, not regular make, e.g., 'cp debian/build/build-generic-pae/.config .;make oldconfig scripts prepare;make M=`pwd`/fs/logfs'20:36
cdhmtgardner: So what then does the modules install?20:37
tgardnercdhm,  assuming you're running that kernel you can simply 'sudo insmod fs/logfs/logfs.o'20:37
cdhmtgardner: Not that easy... logfs wants other modules installed too. Doing the depmod/install would be neater.20:39
tgardnercdhm, well then perhaps you should just build the whole kernel and .deb, e.g., 'fakeroot debian/rules clean binary-generic-pae', then install the linux-image debian package that gets created.20:40
cdhmSo isn't there a middle ground without drinking the whole Debian KoolAid?20:42
tgardnercdhm, not really. welcome to building kernels...20:43
cdhmHmmm. Building kernels for embedded is a lot more straight-forward with a quicker turnaround.20:46
Q-FUNKhowdy!  would anyone have an ETA for applying the fix indicated for bug #892615 to the Precise kernel? 22:04
ubot2Launchpad bug 892615 in linux "3.2.0-1-generic: completely fails to boot on Geode LX" [High,Confirmed] https://launchpad.net/bugs/89261522:04
Q-FUNKsomeone spotted an upstream commit that allegedly fixes it.22:05
tgardnerQ-FUNK, presumably it will show up in the normal course of development before 3.2 is released22:07
Q-FUNKtgardner: it currently flat out prevents the kernel from loading.22:31

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