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

Kernel(-package) mysteries



Dear Debs,
this is my second list of questions about kernel compilation and modules
mysteries. I apologize for repeating part of the content of the previous
message, but I prefer to leave it for clarity.

I have just succeeded in compiling a new kernel using
make menuconfig
make-kpkg --revision=custom.1.0 kernel_image
dpkg -i ../kernel-image...

My old /lib/modules/2.0.34 had previously been renamed to *.save and it
contained a subdirectory pcmcia; the new /lib/modules/2.0.34 doesn't:

/lib/modules/2.0.34
drwxr-xr-x   2 root     root         1024 Sep 17 10:35 cdrom
drwxr-xr-x   2 root     root         1024 Sep 17 10:35 fs
drwxr-xr-x   2 root     root         1024 Sep 17 10:35 ipv4
drwxr-xr-x   2 root     root         1024 Sep 17 10:35 ipv6
drwxr-xr-x   2 root     root         1024 Sep 17 10:35 misc
-rw-r--r--   1 root     root          133 Sep 17 12:41 modules.dep
drwxr-xr-x   2 root     root         1024 Sep 17 10:37 net
drwxr-xr-x   2 root     root         1024 Sep 17 10:35 scsi

Moreover, some of these directories are empty, while the corresponding ones
for the original Debian-2.0.34 modules were not: e.g.,  ./cdrom is empty;
the old one had 12 files (I have an IBM Thinkpad 760 CD, usually with the
floppy drive in it, not the CD drive: is cdrom.o the file I should have
here?). Even worse: fs is empty, the old one had lots of files (I have
selected only a few with make menuconfig, e.g., nls_cp850 and nls_iso8859_1,
but they are not there). Finally, ./net contains
-rw-r--r--   1 root     root         5364 Sep 17 10:35 bsd_comp.o
-rw-r--r--   1 root     root         2064 Sep 17 10:35 dummy.o
-rw-r--r--   1 root     root        25620 Sep 17 10:35 ppp.o

Hence, something has been written into these directories, after all: by
which program?
Do I need to do some ``make modules'', ``make install_modules'' or is
make-kpkg followed by dpkg -i newkernel.deb enough?
I left the original Debian kernel in /boot and I can indeed boot with
it using lilo: how does this kernel find (make use of) "its"
/lib/modules/whatever if this directory has been renamed to
/lib/modules/2.0.34.save?
If the kernel does not need to read /lib/modules/2.0.34 in order to work,
who uses it?

All I need is
1) an ethernet PCMCIA card (ACCTON EN 2212) once a week while at my institute;
2) ISDN from home (not tried yet);
3) the cdrom drive (very rarely, hopefully not for a full reinstall);
4) a dos directory (which works);
5) dosemu (not yet tried).

I have selected the necessary compiler options for all of these, I think.
My /etc/modules contains the following:

#auto
cdrom
ppp

This is my /boot/config-2.0.34 file: is it all right for my needs?
Please notice that
CONFIG_BLK_DEV_IDE_PCMCIA=y and CONFIG_BLK_DEV_IDECD=y, not m: is this
right (neither the PCMCIA, nor the CD are usually in the machine)?

# Automatically generated make config: don't edit
#

#
# Code maturity level options
#
# CONFIG_EXPERIMENTAL is not set

#
# Loadable module support
#
CONFIG_MODULES=y
# CONFIG_MODVERSIONS is not set
CONFIG_KERNELD=y

#
# General setup
#
# CONFIG_MATH_EMULATION is not set
CONFIG_NET=y
# CONFIG_MAX_16M is not set
# CONFIG_PCI is not set
# CONFIG_MCA is not set
CONFIG_SYSVIPC=y
CONFIG_BINFMT_AOUT=y
CONFIG_BINFMT_ELF=y
CONFIG_KERNEL_ELF=y
# CONFIG_M386 is not set
# CONFIG_M486 is not set
CONFIG_M586=y
# CONFIG_M686 is not set
# CONFIG_BIGPHYS_AREA is not set

#
# Floppy, IDE, and other block devices
#
CONFIG_BLK_DEV_FD=y
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_BLK_DEV_IDESCSI is not set
CONFIG_BLK_DEV_IDE_PCMCIA=y
CONFIG_BLK_DEV_CMD640=y
# CONFIG_BLK_DEV_CMD640_ENHANCED is not set
# CONFIG_IDE_CHIPSETS is not set

#
# Additional Block Devices
#
# CONFIG_BLK_DEV_LOOP is not set
# CONFIG_BLK_DEV_MD is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_BLK_DEV_XD is not set
# CONFIG_BLK_DEV_HD is not set

#
# Networking options
#
# CONFIG_FIREWALL is not set
# CONFIG_NET_ALIAS is not set
CONFIG_INET=y
# CONFIG_IP_FORWARD is not set
# CONFIG_IP_MULTICAST is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_IP_ACCT is not set
# CONFIG_IP_ROUTER is not set
# CONFIG_NET_IPIP is not set

#
# (it is safe to leave these untouched)
#
# CONFIG_INET_PCTCP is not set
# CONFIG_INET_RARP is not set
# CONFIG_NO_PATH_MTU_DISCOVERY is not set
CONFIG_IP_NOSR=y
CONFIG_SKB_LARGE=y

#
#  
#
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_AX25 is not set
# CONFIG_NETLINK is not set

#
# SCSI support
#
# CONFIG_SCSI is not set

#
# Network device support
#
CONFIG_NETDEVICES=y
CONFIG_DUMMY=m
# CONFIG_EQUALIZER is not set
# CONFIG_PLIP is not set
CONFIG_PPP=m

#
# CCP compressors for PPP are only built as modules.
#
# CONFIG_SLIP is not set
# CONFIG_NET_RADIO is not set
CONFIG_NET_ETHERNET=y
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_PCI is not set
# CONFIG_NET_ISA is not set
# CONFIG_NET_MCA is not set
# CONFIG_NET_EISA is not set
# CONFIG_NET_POCKET is not set
# CONFIG_TR is not set
# CONFIG_FDDI is not set
# CONFIG_ARCNET is not set

#
# ISDN subsystem
#
CONFIG_ISDN=y
CONFIG_ISDN_PPP=y
CONFIG_ISDN_PPP_VJ=y
CONFIG_ISDN_MPP=y
# CONFIG_ISDN_AUDIO is not set
# CONFIG_ISDN_DRV_ICN is not set
# CONFIG_ISDN_DRV_PCBIT is not set
CONFIG_ISDN_DRV_HISAX=y
CONFIG_HISAX_EURO=y
# CONFIG_HISAX_1TR6 is not set
# CONFIG_HISAX_16_0 is not set
# CONFIG_HISAX_16_3 is not set
CONFIG_HISAX_AVM_A1=y
# CONFIG_HISAX_ELSA_PCC is not set
# CONFIG_HISAX_ELSA_PCMCIA is not set
# CONFIG_HISAX_IX1MICROR2 is not set
# CONFIG_ISDN_DRV_AVMB1 is not set

#
# CD-ROM drivers (not for SCSI or IDE/ATAPI drives)
#
# CONFIG_CD_NO_IDESCSI is not set

#
# Filesystems
#
# CONFIG_QUOTA is not set
CONFIG_MINIX_FS=y
# CONFIG_EXT_FS is not set
CONFIG_EXT2_FS=y
# CONFIG_XIA_FS is not set
CONFIG_NLS=y
CONFIG_ISO9660_FS=y
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
# CONFIG_UMSDOS_FS is not set
# CONFIG_VFAT_FS is not set
# CONFIG_NLS_CODEPAGE_437 is not set
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
CONFIG_NLS_CODEPAGE_850=y
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
CONFIG_NLS_ISO8859_1=y
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_KOI8_R is not set
CONFIG_PROC_FS=y
# CONFIG_NFS_FS is not set
# CONFIG_SMB_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set

#
# Character devices
#
CONFIG_SERIAL=y
# CONFIG_DIGI is not set
# CONFIG_CYCLADES is not set
# CONFIG_STALDRV is not set
# CONFIG_RISCOM8 is not set
# CONFIG_PRINTER is not set
# CONFIG_SPECIALIX is not set
CONFIG_MOUSE=y
# CONFIG_ATIXL_BUSMOUSE is not set
# CONFIG_BUSMOUSE is not set
# CONFIG_MS_BUSMOUSE is not set
CONFIG_PSMOUSE=y
# CONFIG_82C710_MOUSE is not set
# CONFIG_UMISC is not set
# CONFIG_QIC02_TAPE is not set
# CONFIG_FTAPE is not set
CONFIG_APM=y
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
# CONFIG_APM_DO_ENABLE is not set
# CONFIG_APM_CPU_IDLE is not set
# CONFIG_APM_DISPLAY_BLANK is not set
CONFIG_APM_POWER_OFF=y
CONFIG_APM_IGNORE_MULTIPLE_SUSPEND=y
# CONFIG_WATCHDOG is not set
# CONFIG_RTC is not set

#
# Sound
#
# CONFIG_SOUND is not set

#
# Kernel hacking
#
# CONFIG_PROFILE is not set

Thank you.
Remo


Reply to: