On Wed, 2009-08-05 at 02:40 +0800, Yi Zhao wrote: > hello: > > I got the kernel source by command apt-get source linux-2.6, I got the > files: > drwxr-xr-x 22 zhaoyi zhaoyi 4096 2009-08-05 02:04 linux-2.6-2.6.26 > -rw-r--r-- 1 zhaoyi zhaoyi 7379386 2009-07-27 03:55 > linux-2.6_2.6.26-17lenny1.diff.gz > -rw-r--r-- 1 zhaoyi zhaoyi 5777 2009-07-27 03:55 > linux-2.6_2.6.26-17lenny1.dsc > -rw-r--r-- 1 zhaoyi zhaoyi 61818969 2009-03-14 00:40 > linux-2.6_2.6.26.orig.tar.gz > > But, I can't find tg3 option from "make menuconfig", I have found > infomation from /usr/src/linux_2_6_26/drivers/net/Kconfig: > > config TIGON3 > > tristate "Broadcom Tigon3 support" > > depends on BROKEN > > depends on PCI > > I think this module is broken. > > my question is that: > 1. Do I need to apply patch linux-2.6_2.6.26-17lenny1.diff.gz again > manually?
The Debian patches are stored under the subdirectory debian/patches as this makes it easier to manage them. > 2. how could I build tg3 into kernel when I do kernel compile? > 3. I have got another souce by "apt-get install linux-source-2.6.26", > but, I can build tg3 from this source code, what is the different > between this tow source which is got by apt-get install and apt-get > source, the version is different?? That is the kernel source with the Debian patches applied. If you want to customise a kernel for your own use then it is probably easier to use this. If you want to use the same method as the official kernel image patches, see <http://wiki.debian.org/HowToRebuildAnOfficialDebianKernelPackage>. Ben. -- Ben Hutchings Unix is many things to many people, but it's never been everything to anybody.
signature.asc
Description: This is a digitally signed message part