[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#638887: udev: cdrom_id process can not be killed



Hi Jamie,

Jameson Graef Rollins wrote:

> Hey, Jonathan.  I haven't done much kernel rebuilding at all, so I'm not
> sure what's the best way to rebuild my kernel with this patch reverted.
> If you can give me a few pointers on a good way to do that it would be
> much appreciated.  Presumably I should start by apt-getting source
> linux-image-3.0.0-1-amd64?  Is a straight debuild then the best way to
> rebuild the kernel after applying the change?

You have a few choices, described at http://kernel-handbook.alioth.debian.org/
(the content of which is also in the debian-kernel-handbook package).

My favorite way is the following:

 1. Get the upstream kernel source, either by downloading a tarball
    from kernel.org or with

    git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

 2. Apply your change.

 3. Configure it:

	cp /boot/config-$(uname -r) ./.config

	# optional: simplify by only building modules you use
	make localmodconfig;

	yes "" | make silentoldconfig

 4. Build it:

	make deb-pkg; # with -j<n> for parallel builds

There are more details on at
http://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s-kernel-org-package

Hope that helps,
Jonathan



Reply to: