Quote:
Just a simple question which may bore you:
To recompile ( and slightly modify) the kernel, I do:
make mrproper
make cloneconfig
make all
make modules_install
.. and than I make the zImage ready for boot.
That would work, yes.
There is a clever way of generating a zImage with the right kernel version appended (so that you may keep them around) using the /sbin/get_kernel_version script;
Code:
mkzimage --vmlinux vmlinux --initrd initrd --output zImage-`/sbin/get_kernel_version vmlinux`
ln -sf zImage-`/sbin/get_kernel_version vmlinux` zImage
You should modify some of the paths to the correct ones for your system (you did not install the kernel with make install, so no system.map etc. will be in your /boot - you may not NEED to do this though).
Quote:
Is this correct ?
( I ask this question, because I ran into trouble with ATA-drives ... )
The correct, correct way would be to install the kernel-source RPM, and use the rpm "build" script - in /usr/src/RPM/ you will find the scripts to achieve this, and in /usr/src/linux-version-obj there are some directories with the default configuration which is built using the RPM scripts.
That way you get a nice, fancy kernel RPM and all the special toys SuSE wants to build for you.
One day I think we're going to have to write this up, since I have to produce a custom kernel at some point to support 8610/8641D from kernel-source, I will probably do it while I am going through the process myself to make sure I pick up all the mistakes and breakages as I hit them.
Quote:
BTW: Is there a way to disable udev ? It's very annoying that my eth1 is now named "eth1_rename...."
There are two scripts in /etc/udev/rules.d/ or some subdirectory called 70-persistent-net.rules and a companion script to generate THIS script.
If you wish to disable it completely, delete the "generate" script and the rules for persistent naming. What might be better is to simply modify the persistent-net.rules script and delete all the lines you don't like, and make sure it only refers to the devices you want - eth0 and eth1 (or you can change them to, I like to use the FreeBSD device names because it's more descriptive, like rl0 for old Realtek cards or vr0 for the Via port on your Pegasos)