On a pure SuSE Linux system (i.e. no guarantees if you changed lilo.conf or did other things):
rpm -Uvh k_(deflt|smp).rpm mk_initrd lilo reboot |
To create from sources:
rpm -Uvh kernel-sources*.rpm cd /usr/src/linux [edit Makefile and set EXTRAVERSION, if you like] # "cloneconfig" uses data from /proc/config.gz # you may have to say Y/N/M for options new in the new kernel # sources, i.e. not found in /proc/config.gz make cloneconfig dep clean bzlilo modules modules_install mk_initrd lilo reboot |
2. Where can I see which patches to apply to SuSEify my brand new kernel downloaded from kernel.org ?
Try looking on the ftp site in the people directory...look in mantel. You should find a complete list of patches....or at least he use to keep them there.
Do a
uname -a
|
Fired up Install/Remove module of YAST2 (or the Las Vegal Girl...whatever you wanna call it)
In the 'Group' List box, select System/kernel
select k_deflt and unselect k_smp (YAST2 should display a 'd' right next to k_smp and should display an 'X' right next to 'k_deflt'
Let it install it
Run mk_initrd and lilo again before step five.
Reboot
Your computer will be a complete screw up at this time. Nothing will run. Your computer will turn into a worthless piece of junk sitting on your desktop not being able to do anything whatsoever. At this step, call 1-800-BILL-GATES to fix the problem.
BTW, when I carried Step 1 - 5, everything was OK. You may or may not encounter Step 6.
Before you compile your module you must prepare the sources, so they reflect the running kernel However, a lot of information can be found in /usr/src/linux/Documentation
cd /usr/src/linux |
make mrproper |
make cloneconfig |
make dep |
touch /usr/src/linux/include/linux/modversions.h |
The command creates an empty file of that name, which seems to be all that's needed. As I say, I'm not sure about this one, but it's worked for me so far.
After that you can compile yor module, and it will fit nicely into the running kernel
These are packets which orginate on the planet Mars ;-).
These have IP numbers which should never apear in the wild. For example IP range 192.168.0.0/24 is a reserved IP range for local networks and these IP numbers should never reach the Internet.