How can I keep Yast or whomever from deleting my 2.2.7 kernel sources when I install the 2.2.15 kernel sources. I want to compare the IDE tape drivers on the two and see if I can figure why it doesn't work on 2.2.15. TIA, Jeffrey -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Jeffrey Taylor wrote:
How can I keep Yast or whomever from deleting my 2.2.7 kernel sources when I install the 2.2.15 kernel sources. I want to compare the IDE tape drivers on the two and see if I can figure why it doesn't work on 2.2.15.
TIA, Jeffrey
No problem, mv the kernel-tree to a unique dir i.e. /usr/src/linux-2.2.7 and when you need the 2.2.7 sources, make a link from that directory to /usr/src/linux. When upgrading or installing the sources with yast, delete the link first. Greets, Erland. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hello, Jeffrey Taylor wrote:
How can I keep Yast or whomever from deleting my 2.2.7 kernel sources when I install the 2.2.15 kernel sources. I want to compare the IDE tape drivers on the two and see if I can figure why it doesn't work on 2.2.15.
(from Memory): cd /usr/src/ mv linux linux-2.2.7 mkdir linux-2.2.15 # PS: 2.2.16 is out, mostly security fixes ;) ln -s linux-2.2.15 linux rpm -i /<somepath>/<kernel-sources>.rpm Oh, and you can install the two different Kernels after this scheme: configure and make the Kernel as usual, but DON'T do the "make (b)zlilo" step. use e.g.: time make dep clean bzImage modules modules_install 2>&1 | tee make.out We'll copy and install the Kernel and System.map by hand... 1. Add the version extension to the Kernelimage AND System.map in /boot i.e. (assuming the current '/boot/System.map' is the one from/for your 2.2.7 and that the 2.2.7 Kernel-image is named '/boot/vmlinuz'. Oh, and that you have a x86 PC ;) cd /boot/ mv System.map System.map-2.2.7 cp vmlinuz vmlinuz-2.2.7 cp /usr/src/linux/System.map /boot/System.map-2.2.15 cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-2.2.15 It is important, that no "/boot/System.map" exists, as the Kernel defaults to using that, and only if it can't find one it uses /boot/System.map-`uname -r`. a Kernel image w/o a -<version> may exist (and can be used as usual) 2. edit /etc/lilo.conf so that 'image=' matches the actual image names e.g. 'image=/boot/vmlinuz-2.2.7' and 'image=/boot/vmlinuz-2.2.15'. The label is (as usual) your's to choose. 3. edit /boot/greetings to match the new config 4. run lilo 5. assuming a conf.modules: cd /etc cp conf.modules conf.modules-2.2.7 mv conf.modules conf.modules-2.2.15 cat << EOF > conf.modules
# include config depending on Kernelversion, default to # using conf.modules-2.2.7
if test -f /etc/conf.modules-`uname -r` include /etc/conf.modules-`uname -r` else include /etc/conf.modules-2.2.7 endif EOF
Ah yes, I should mention that I found this if .. else .. endif and include stuff in man conf.modules ;) 6. edit /etc/conf.modules-2.2.15 to match the 2.2.15 Kernel. The above scheme runs well here with a couple of 2.2.14s, a few 2.2.15s and a 2.3.99-preX and (since yesterday) with a 2.4.0-test1. Mail me if you need more explanations or samples. CU David -- Aber was ist JavaScript? Eine Sprache zum Ausspionieren fremder Daten und zum Nerven anderer Leute (etwa durch Pop-up-windows). (Boris Piwinger in de.comm.infosystems.www.browsers) email: David@dhaller.de www: www.dhaller.de -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (3)
-
erland@pandora.be
-
muskrat@texas.net
-
SuSE-ML@dhaller.de