make-kpkg makes HUGE kernel packages??
Matt Price
matt.price-H217xnMUJC0sA/PxXw9srA at public.gmane.org
Wed Mar 7 20:32:58 UTC 2007
On Wed, 2007-03-07 at 12:41 -0500, Lennart Sorensen wrote:
> On Wed, Mar 07, 2007 at 12:15:24PM -0500, Matt Price wrote:
> > On Wed, 2007-03-07 at 07:51 -0500, Ian Petersen wrote:
> > > I've never used make-kpkg before, so this is a shot in the dark, but
> > > it sounds like you're building every module under the sun, or
> > > something similar. Can you modify the .config file that's used when
> > > make-kpkg builds the kernel?
> > > \
> > yes, i thought of that, but i've looked at the .config of the packages
> > thus produced and they aren't crazy--they're just the standard ubuntu
> > configs modified slightly (in the case of ubuntu's 2.6.20. have to
> > investigate more closely with other flavours).
> >
> > i do find it really weird...
>
> I don't even think there is that many modules in the kernel that it
> could end up that big. Sounds like either 2.6.20 changed something that
> make-kpkg needs to know about, or there is some other bug happening.
>
> Did you check which part of /lib/modules for the package is using all
> the space? Maybe you can find which files are so big.
>
> The only time I ever got a kernel anywhere near that size was when I
> enabled the full kernel debug symbols, which bloated the kernel about
> 10x the normal size.
>
i looked through /lib/modules, and the hugeness is pretty evenly
distributed throughout. i don't know tyhat much about debug settings,
but i did a grep for DEBUg in my .config and came up with the below --
is this likely the source of my problem?
thanks,
matt
~$ grep -i debug /usr/src/.config
CONFIG_PM_DEBUG=y
# CONFIG_ACPI_DEBUG is not set
# CONFIG_CPU_FREQ_DEBUG is not set
# CONFIG_PCI_DEBUG is not set
# CONFIG_PCMCIA_DEBUG is not set
# CONFIG_NETDEBUG is not set
# CONFIG_IP_VS_DEBUG is not set
# CONFIG_NETFILTER_DEBUG is not set
# CONFIG_IP_DCCP_CCID2_DEBUG is not set
# CONFIG_IP_DCCP_CCID3_DEBUG is not set
# CONFIG_IP_DCCP_DEBUG is not set
# CONFIG_TIPC_DEBUG is not set
CONFIG_IRDA_DEBUG=y
# CONFIG_IEEE80211_DEBUG is not set
# CONFIG_IEEE80211_SOFTMAC_DEBUG is not set
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_MTD_DEBUG is not set
# CONFIG_MTD_PMC551_DEBUG is not set
# CONFIG_PNP_DEBUG is not set
# CONFIG_SCSI_SAS_LIBSAS_DEBUG is not set
CONFIG_AIC7XXX_DEBUG_ENABLE=y
CONFIG_AIC7XXX_DEBUG_MASK=0
CONFIG_AIC79XX_DEBUG_ENABLE=y
CONFIG_AIC79XX_DEBUG_MASK=0
# CONFIG_AIC94XX_DEBUG is not set
CONFIG_SCSI_DEBUG=m
# CONFIG_DM_DEBUG is not set
# CONFIG_IEEE1394_VERBOSEDEBUG is not set
# CONFIG_IPW2100_DEBUG is not set
# CONFIG_IPW2200_DEBUG is not set
# CONFIG_ZD1211RW_DEBUG is not set
# CONFIG_ATM_ENI_DEBUG is not set
# CONFIG_ATM_ZATM_DEBUG is not set
# CONFIG_ATM_IDT77252_DEBUG is not set
# CONFIG_ATM_AMBASSADOR_DEBUG is not set
# CONFIG_ATM_HORIZON_DEBUG is not set
# CONFIG_ATM_IA_DEBUG is not set
CONFIG_ATM_FORE200E_DEBUG=0
# CONFIG_HISAX_DEBUG is not set
# CONFIG_GIGASET_DEBUG is not set
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
# CONFIG_I2C_DEBUG_CHIP is not set
# CONFIG_SPI_DEBUG is not set
# CONFIG_HWMON_DEBUG_CHIP is not set
# CONFIG_VIDEO_ADV_DEBUG is not set
# CONFIG_VIDEO_PVRUSB2_DEBUGIFC is not set
# CONFIG_USB_PWC_DEBUG is not set
# CONFIG_DVB_USB_DEBUG is not set
# CONFIG_DVB_B2C2_FLEXCOP_DEBUG is not set
# CONFIG_FB_RIVA_DEBUG is not set
# CONFIG_FB_INTEL_DEBUG is not set
# CONFIG_FB_RADEON_DEBUG is not set
# CONFIG_SND_DEBUG is not set
# CONFIG_USB_DEBUG is not set
# CONFIG_USB_STORAGE_DEBUG is not set
CONFIG_USB_SERIAL_DEBUG=m
# CONFIG_USB_GADGET_DEBUG_FILES is not set
# CONFIG_MMC_DEBUG is not set
CONFIG_INFINIBAND_MTHCA_DEBUG=y
CONFIG_INFINIBAND_AMSO1100_DEBUG=y
CONFIG_INFINIBAND_IPOIB_DEBUG=y
# CONFIG_INFINIBAND_IPOIB_DEBUG_DATA is not set
# CONFIG_EDAC_DEBUG is not set
# CONFIG_IPW3945_DEBUG is not set
# CONFIG_BCM43XX_D80211_DEBUG is not set
# CONFIG_D80211_DEBUG is not set
# CONFIG_JBD_DEBUG is not set
# CONFIG_JFS_DEBUG is not set
# CONFIG_NTFS_DEBUG is not set
# CONFIG_BEFS_DEBUG is not set
CONFIG_JFFS2_FS_DEBUG=0
# CONFIG_UFS_DEBUG is not set
# CONFIG_CIFS_DEBUG2 is not set
# CONFIG_LDM_DEBUG is not set
# CONFIG_DLM_DEBUG is not set
# CONFIG_DEBUG_FS is not set
CONFIG_DEBUG_KERNEL=y
# CONFIG_DEBUG_SLAB is not set
# CONFIG_DEBUG_RT_MUTEXES is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_MUTEXES is not set
# CONFIG_DEBUG_RWSEMS is not set
# CONFIG_DEBUG_LOCK_ALLOC is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
# CONFIG_DEBUG_KOBJECT is not set
# CONFIG_DEBUG_HIGHMEM is not set
CONFIG_DEBUG_BUGVERBOSE=y
CONFIG_DEBUG_INFO=y
# CONFIG_DEBUG_VM is not set
# CONFIG_DEBUG_LIST is not set
# CONFIG_DEBUG_STACKOVERFLOW is not set
# CONFIG_DEBUG_STACK_USAGE is not set
# CONFIG_DEBUG_PAGEALLOC is not set
# CONFIG_DEBUG_RODATA is not set
# CONFIG_DEBUG_PARAVIRT is not set
# CONFIG_KEYS_DEBUG_PROC_KEYS is not set
> --
> Len Sorensen
> --
> The Toronto Linux Users Group. Meetings: http://gtalug.org/
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
--
Matt Price
History Dept
University of Toronto
matt.price-H217xnMUJC0sA/PxXw9srA at public.gmane.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://gtalug.org/pipermail/legacy/attachments/20070307/12e1eb23/attachment.sig>
More information about the Legacy
mailing list