At Wed, 16 Dec 2009 11:59:20 +0100, Andreas Jaeger wrote:
On Wednesday 16 December 2009 11:46:15 Takashi Iwai wrote:
The GA kernel (kernel-desktop-2.6.31.5-0.1.1.x86_64.rpm) works fine (just tested),
OK, that's good to know.
Any chance to revert the commits above? Building a local kernel wouldn't take so much time.
If anybody builds a kernel-desktop for x86-64 for me, I'll happily test it - but I won't be able to do so myself,
Why not? It's easy. 1. Copy the kernel tree to a local directory % mkdir -p /my/kernel % cp -a /usr/src/linux-$VERSION /my/kernel where $VERSION is the kernel version number, e.g. "2.6.32". 1a. Modify or patch the kernel code % cd /my/kernel/linux-$VERSION % patch -p1 < some-patch 2. For 2.6.32, run "make localmodconfig" % make localmodconfig Simply return ENTER for asked options. For older versions, you can use my diet-kconfig script available at ftp://ftp.suse.com/pub/people/tiwai/misc/diet-kconfig (Maybe this will also result in less modules even on 2.6.32) 3. Modify $CONFIG_LOCALVERSION in .config file to avoid the name conflict For example, change like below: CONFIG_LOCALVERSION="-test" 3. Make % make -j4 4. Install kernel and modules % sudo su - # make modules_install # cp arch/x86/boot/bzImage /boot/vmlinuz-$RELEASE # cp System.map /boot/System.map-$RELEASE # mkinitrd -k vmlinuz-$RELEASE -i initrd-$RELEASE # update-bootloader --add --image /boot/vmlinuz-$RELEASE --initrd /boot/initrd-$RELEASE # update-bootloader --refresh where $RELEASE is $VERSION-$CONFIG_LOCALVERSION, such as "2.6.32-test". This step can be simplified by my script ~tiwai/bin/install-kernel: % sudo su - # ~tiwai/bin/install-kernel 5. Reboot Takashi -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org