/srv/irclogs.ubuntu.com/2010/01/18/#ubuntu-kernel.txt

=== cooloney_ is now known as cooloney
=== asac_ is now known as asac
akshayHello.. Is it possible to shutdown the linux system from a kernel IRQ.?05:27
csurbhihello smb :)09:39
csurbhiis the default option for ext4 fs ordered ?09:39
* apw suspects he'll ask you09:40
* csurbhi looks09:40
smbcsurbhi, it was09:41
smbbut when they added an option, it defaulted to writeback09:41
smbthats how we got it09:41
csurbhibut should it not be ordered again ?09:41
apwsmb that is ext3 right?09:41
ckingperhaps we need a per-release table of fs default mount options written up somewhere09:43
smbapw, yes09:43
* csurbhi is cursing the slow laptop09:43
smbcsurbhi, exactly09:43
csurbhiok, i will make one 09:43
smbcking, The problem was it slipped in09:43
apwthere are two questions, should we change the default back for ext3, and is ext4 affected09:43
apwi assume 1) is yes, and 2) is don't know09:43
csurbhiyes, i think ext4 is affected as well09:43
smbAs the default without having an option was ordered and the default with the option was writeback09:43
smbext4 has no option as far as I can tell09:43
smbbut I might be mistaken09:44
* csurbhi thinks, ext4 has options of ordered, journal, writeback and now guarded too09:45
* maco agrees with csurbhi09:45
apwyeah they are mount options though right, which is the default if you don't say09:45
csurbhii think that the default mount option is writeback09:47
csurbhiand it ought to be ordered09:47
smbYou always can tweak them on or after creation as well. I just did not find one compile option as clearly related to that than for ext309:47
csurbhiyes, there does not seem to be any compile time option 09:47
smbProbably for ext4 we should think about which mode is best for us, after figuring out the exact implications09:48
apwcking, yeah thats not a bad idea09:48
csurbhiok09:49
apwcsurbhi, ok this machibne is a standard install.  i took no action09:49
apw/dev/disk/by-uuid/5fdffa9d-a806-4009-930a-bf637c8f5cfa / ext4 rw,relatime,errors=remount-ro,barrier=1,data=ordered 0 009:49
apwit seems to be in ordered mode09:49
csurbhiok09:49
ckingapw, and perhaps any known bugs against these fs defaults too09:50
smbAt least that is (between ordered and writeback) the mode that sounded less quick but safer09:50
csurbhiapw, thanks !09:50
apwand i note there are no options in my fstab09:52
apwUUID=5fdffa9d-a806-4009-930a-bf637c8f5cfa /               ext4    errors=remount-ro 0       109:52
smbsame here09:52
apwso ... i assume the default is ordered in _lucid_09:52
smbin Karmic09:52
apwanyone got a karmic install they can confirm09:52
apwwicked09:52
smbSo ext4 looks ok (though might get checked whether the other two look more appealing)09:53
apwsmb, sounds liek a job for super-csurbhi to me09:53
smbSounds good to me. :)09:54
ckingperhaps we need to keep an eye on the default mount options over the lucid alpha/beta cycles too09:54
csurbhii think ordered with barrier=1 is the best09:54
csurbhior safest09:54
smbcsurbhi, So if you can get us a dummy-style wrapup of the pros and cons of those to the kernel team list? ;-)09:55
csurbhismb, sure i will do that today :)09:55
ckingcool09:55
=== cking_ is now known as cking
csurbhismb, so few questions ..need your help !10:01
smbNo problem10:01
csurbhican you please tell me the tasks that are involved in taking a lead on a stable kernel ?10:02
smbSo have you cloned the upstream repo10:02
csurbhinot yet10:02
smbI guess that would go first10:02
csurbhiok10:02
smbWe got up to 2.6.31.9 in the ubuntu Karmic tree10:03
smbIf unsure you would see that by the subversion number in the makefile10:03
csurbhiok10:03
smbSo basically you look at the changes between 2.6.31.9 and 10 and then at those between 10 and 11 (which is easy as its only one patch)10:04
* csurbhi is cloning the tree10:04
csurbhiok10:04
smbWhen you look up the mails Leann wrote, you can see there is one bug report related to each update from stable10:05
smbYou can take the things she wrote in the mail and the bug report as a reference 10:05
csurbhiok10:05
csurbhiand then ?10:07
smbYou do a review as you did with the ext4 patches and then send an email like Leann which announces the update and all (including your review notes)10:09
smbAt the same time have the patches applied to a Karmic branch of yours and push that to your repos for review10:10
csurbhiok10:11
smbDuring that process you might find some patches already applied. There it depends on whether we got that through a security update or a sru/before release. In the case of a security release you drop the upstream stable patch10:11
smbotherwise you revert the one we carry and apply the new one. But I think you just ask again when that happens10:12
csurbhiyes, i will do that.. so basically the patch should mention whether its come from a SRU or security ?10:13
smbIts part of the process to find out. When we apply it to a tree it usually has a CVE number in the description. But you also can look into the changelog to see whether the patch was part of *-proposed or *-security updates10:15
csurbhiok, thanks :)10:15
csurbhione more question, last time i got the patches directly from your dir.. 10:15
csurbhiare the patches stored in somewhere ? 10:16
smbThat is what you download from the 2.6.31.y repo. I usually export the range from there and apply them to a working tree in Karmic for myself. Or you have it as a remote and cherry pick them. But the source is always the upstream repo10:18
csurbhiso you get the patches out of the kernel 10:19
csurbhiok10:19
gnarlcsurbhi, If you look at the 2.6.31.y tree. That is an upstream tree which has been branched of 2.6.31 and then gets the stable patches applied.10:21
csurbhiok10:21
gnarlSo you can easily get a range of patches that are new10:22
gnarlThere are tags on that tree for every release10:22
gnarlso a "git log v2.6.31.9..v2.6.31.10" works10:22
csurbhiok10:24
* csurbhi thanks gnarl profusely :)10:27
gnarlcsurbhi, Don't worry too much about the later steps. You can get back about them when you are there. The first thing is to have the upstream tree, extract the patches that come as new ones and look over them making your notes. 10:27
csurbhiok10:27
=== gnarl is now known as smb
=== yofel_ is now known as yofel
apwsmb, you know that fix you did way back when for the mmc exploding on suspend/resume15:01
apwdid anything come of that?15:01
smbapw, Nothing. And it reminds me to try out latest Lucid to see whether it can still erase on resume15:02
apwsmb could this be the fix for it?15:02
apwcommit 5fa83ce284a4b7cd9dcfadd01500b0ed4ab9b74015:02
apwAuthor: Adrian Hunter <adrian.hunter@nokia.com>15:02
apwDate:   Fri Jan 8 14:43:00 2010 -080015:02
apw    mmc_block: fix queue cleanup15:02
apwthis sounds a bit like a fix for what you were seeing to me15:03
smbapw, Lemme look at that15:03
smbapw, Yeah, it looks pretty similar to what I remember. 15:06
smbBoth the description and the patch15:06
apwsmb, so should i be dropping yours in favour of that?  its coming in via stable for 3215:07
smbapw, I guess yes. It likely should not apply with mine on. Right?15:08
apwit seems to collide only on the comments amazingly but feels like a bad idea to fix it15:08
apwok will try dropping yours and applying this one15:09
smbapw, Yeah. Interesting. But yes, drop mine and I test with that kernel15:09
apwobviously a more successful approach :(15:10
=== bjf is now known as bjf-afk
smbapw, As long as the problem is fixed I don't care. But I obviously must remember that one can sneak into any place through mm :)15:13
apwheh yeah ... a side road round a road-block and no mistake15:15
apwsmb, we doing the review today?16:51
smbapw, yup16:51
apwbah16:55
=== BenC1 is now known as BenC
=== BenC2 is now known as BenC
ivoksapw: ping18:00
ivoksapw: bug 47466018:00
ubot3Malone bug 474660 in linux "drbd8-utils not dependent on drbd8-source" [Medium,Triaged] https://launchpad.net/bugs/47466018:00
ivoksapw: that's actually bug in karmic18:00
=== BenC2 is now known as BenC

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