How to test vanilla kernel
I'm wondering how you folks, install and run the latest vanilla kernel. I guess that people install their prefered distrib as a start point and then download the kernel sources. But each distrib patch and update the kernel, is it safe to forget them ?
BTW, is there a 'best' distrib to achieve that ?
Francis
___________________________________________________________________________
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international. Téléchargez sur http://fr.messenger.yahoo.com
Quoted 1 line · moreau francis
I'm wondering how you folks, install and run the latest vanilla kernel.
There are many ways to test a kernel.
The most basic test would be to grab the kernel sources, build a new kernel, install it, boot it & see if it blows up.
If you want to get a bit more advanced the kernel sources include a few modules to stress test different parts of the infrastructure. You can run those.
You can build your kernels with different (sometimes unusual) configuration options to test if some combination of options produce bad results.
You can also write a few apps that test the various syscalls. Use fuzzers to pass in random values to syscalls and check for errors. Write scripts/apps to create/delete lots of random files, dirs etc to test filesystems.
Run benchmark apps on different kernel versions to test for performance regressions.
In short, use your imagination and try to crash the kernel in various ways. If you happen to provoke a crash, bug, other unwanted behaviour; gather all the info, and send in a bug report - see Documentation/ReportingBugs.
Quoted 2 lines
I guess
that people install their prefered distrib as a start point
Ofcourse, you need a working install before you start replacing your kernel.
Quoted 2 lines
and then download
the kernel sources.
Yup.
Quoted 1 line
But each distrib patch and update the kernel,
Many do, but not all of them, some ship vanilla kernels, like my personal favorite, Slackware.
Quoted 3 lines
is it safe to
forget them ?
Unless you have something setup on your box which depends on functionality patched into the kernel by your vendor, then yes, running a vanilla kernel is perfectly OK - if it was not we'd never get it tested ;-)
Quoted 2 lines
BTW, is there a 'best' distrib to achieve that ?
No.
Use whatever distro you happen to prefer.
--
Jesper Juhl <[email protected]>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
Hi Jesper,
Quoted 5 lines · --- Jesper Juhl
Quoted 3 lines
is it safe to
forget them ?Unless you have something setup on your box which depends on functionality patched into the kernel by your vendor, then yes,
but how will I know that some shipped patchs are necessary ?
Quoted 3 lines
running a vanilla kernel is perfectly OK - if it was not we'd never get it tested ;-)
well, last time I tried to replace fedora core 3 kernel with a vanilla 2.6.15 kernel I have some troubles with my USB controller, I got some unhandled IRQ. And some devices like UART have their minor numbers changed. So I'm wondering when upgrading the kernel, some configurations must be done ?
Francis
___________________________________________________________________________
Nouveau : téléphonez moins cher avec Yahoo! Messenger. Appelez le monde entier à partir de 0,012 €/minute ! Téléchargez sur http://fr.messenger.yahoo.com