make-kpkg makes HUGE kernel packages??

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Wed Mar 7 22:48:54 UTC 2007


On Wed, Mar 07, 2007 at 03:32:58PM -0500, Matt Price wrote:
> 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?

Could you do:

df -h /lib/modules/*/*

> ~$ 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

Not sure if any of those are a problem.

--
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





More information about the Legacy mailing list