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

Re: Question about my Ethernet Cards

On Wed, Jan 14, 2009 at 09:10:01PM -0500, Boxuan Gu wrote:
> Hello, Ben,
> Thank you for your email very much! However, when I used apt-get
> source linux-2.6, it seemed that the patch 12 has been applied
> automatically. Do I need to apply patch 12 again?

Since there are many different and mostly independent patches, they
are not included directly in the Debian patch (.diff.gz) which apt-get
applies automatically.  Instead they are created as separate files
under debian/patches, which are applied as part of the build process
controlled by debian/rules.  By using the kernel build system directly
you have avoided applying those patches.

> What I am confused is that, the kernel image gotten from "updating"
> can support tg3 but the kernel image built from its source codes
> (Linux Kernel 2.6.26) can't. I don't know why.

The package is built using dpkg-buildpackage, which calls debian/rules,
which applies those patches.  But this takes a very long time because it
builds several configurations and each of those enables most of the
drivers and optional features.  If you want just a single configuration,
use linux-source-2.6.26.


Ben Hutchings
Usenet is essentially a HUGE group of people passing notes in class.
                      - Rachel Kadel, `A Quick Guide to Newsgroup Etiquette'

Reply to: