Mailinglist Archive: opensuse-kernel (77 mails)

< Previous Next >
Re: [opensuse-kernel] scheduling while atomic with
  • From: Takashi Iwai <tiwai@xxxxxxx>
  • Date: Wed, 16 Dec 2009 14:36:55 +0100
  • Message-id: <s5hmy1jf3bc.wl%tiwai@xxxxxxx>
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- 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
(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:

3. Make

% make -j4

4. Install kernel and modules

% sudo su -
# make modules_install
# cp arch/x86/boot/bzImage /boot/vmlinuz-$RELEASE
# cp /boot/$RELEASE
# mkinitrd -k vmlinuz-$RELEASE -i initrd-$RELEASE
# update-bootloader --add --image /boot/vmlinuz-$RELEASE --initrd
# 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

To unsubscribe, e-mail: opensuse-kernel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kernel+help@xxxxxxxxxxxx

< Previous Next >