|
Kernel Summit 2007 - an advance viewKernel Summit 2007 - an advance viewPosted Aug 26, 2007 17:22 UTC (Sun) by mingo (subscriber, #31122)In reply to: Kernel Summit 2007 - an advance view by error27 Parent article: Kernel Summit 2007 - an advance view
Yeah - or worse, it would force developers to go elsewhere. I think the right approach to high-flux development is three-fold: 1) decrease the latency of getting the latest kernel to the user. 2-3 months release cycle pushes human limits but is doable. 2-3 _days_ is doable latency for the -git kernel, for bleeding-edge testers: today a fully packaged up rpm kernel of latest -git is yum-upgradable 1-2 days after Linus commits a change into his tree. 2) increase the likelyhood of users to report back a bug and for them to test fixes. This one has many aspects: good debugging infrastructure (many automated debugging features, automatic bisectability), meaningful (and early enough) debug output, and rewards to testers who report back, responsive maintainers, etc. This is where we have the biggest technical deficiencies right now. 3) maintainers must push back on unrobust code, as a function of how stable the _previous_ release was. If the previous release was too unstable, be stricter in the next release. If the previous release was too boring, risk more changes. 2-3 months of a delay to a feature is not the end of the world - with a release cycle longer than that it can be lethal to motivation. The biggest problem is the fundamental lability of this dynamic system: if the kernel gets buggier then users go away, due to that the kernel gets _even more_ buggier (and kernel developers wont even notice initially), then developers go away too, etc. It quickly spirals out of control and detaches the kernel developer community from the user community. That is what happened with Linux 2.5 and it took years to fix up and get Linux 2.6.0 out of the door. Sticking to the "90 days max" release cycle is key. That is what keeps us all honest. If we mess up then the only true recourse is to release a buggier kernel, and the punishment for that is much more direct (and unpleasant to the kernel developer) "your kernel is buggy" (or "your subsystem is buggy") impression than a "slip in the release date" action is - so it's a far more efficient method of feeding back the true quality of the kernel back to the developer community and thus keeping the quality of the kernel up high enough.
(Log in to post comments)
Kernel Summit 2007 - an advance view Posted Aug 27, 2007 11:03 UTC (Mon) by balbir_singh (subscriber, #34142) [Link] Hi, Ingo,
Good suggestions, I agree with all of the three. But, I might add that it might be a good idea to have
1. A feature reviewer for every new feature added (as a backup for the
Kernel Summit 2007 - an advance view Posted Aug 28, 2007 11:53 UTC (Tue) by pointwood (subscriber, #2814) [Link] === CUT ===2) increase the likelyhood of users to report back a bug and for them to test fixes. This one has many aspects: good debugging infrastructure (many automated debugging features, automatic bisectability), meaningful (and early enough) debug output, and rewards to testers who report back, responsive maintainers, etc. This is where we have the biggest technical deficiencies right now. === CUT ===
I'm just a mere user, but I would like help out if/where I can. I have no idea how to test a new kernel on my systems, but if it was made easy (LiveCD's?) and/or there was a guide that provided me with relevant info (what to report back, etc.), then I'd be happy to test new kernels. I bet much of it can be automated. Create a mailing list used for announcing new kernels to be tested. I think that would get you a lot more testers and get the kernel tested on a lot more hardware.
Kernel Summit 2007 - an advance view Posted Aug 30, 2007 10:53 UTC (Thu) by intgr (subscriber, #39733) [Link] There indeed appears to be no documentation on kernel testing fornon-developers; Linus is always asking for more testers of release candidates, but it is often not straightforward without guidance on getting the kernel installed and reporting problems.
Publishing LiveCDs for every release candidate would really be a waste,
This is the "short" guide to testing kernels: follow Linus's release
Preferably you would use git because it allows regressions to be bisected
If that's too complicated for you, get tarballs from www.kernel.org; build
Even if the kernel runs fine, keep your eye on dmesg for OOPSes -- these
If there is no release candidate, you can try running the -mm kernel tree;
Kernel Summit 2007 - an advance view Posted Aug 30, 2007 18:57 UTC (Thu) by aegl (subscriber, #37581) [Link] "Even if the kernel runs fine, keep your eye on dmesg for OOPSes -- theseare definitely bugs regardless of whether they cause you problems."
If you are regularly testing development kernels, it is really useful to save the dmesg(1) output from every kernel that you boot. I added this to my /etc/rc.local
REL=`uname -r`
Then when I notice something odd happening I can check whether anything new and interesting showed up in the boot messages.
I've spotted a lot of issues by simply running diff(1) on the current and previous dmesg output.
Kernel Summit 2007 - an advance view Posted Sep 1, 2007 14:12 UTC (Sat) by kreutzm (subscriber, #4700) [Link] Or use a tool to scan your log files (like logcheck). When I try out a new kernel, I immediately get all new lines which I can then add to the log check rules after I acknowledged them (and possibly took other action).
Kernel Summit 2007 - an advance view Posted Aug 31, 2007 1:41 UTC (Fri) by rddunlap (subscriber, #27065) [Link] Have you seen the "Linux Kernel Tester's Guide" ?
http://www.stardust.webpages.pl/files/handbook/handbook-e...
|
Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.