My standard laptop config won't link for 2.0.25. The setup uses the OLD
ide driver (I don't have tape or cd and I only have one 172M disk)...
has somebody inadvertently inserted calls to ide_xlateBLAH outside of
the appropriate IDE #ifdef's elsewhere in the kernel? This setup
compiled fine under 2.0.0. Yes, I did make clean, make dep, make config.
xconfig _knows_ something funny is up because it won't let me save.
make[2]: Leaving directory `/usr/src/linux-2.0.25/arch/i386/math-emu'
make[1]: Leaving directory `/usr/src/linux-2.0.25/arch/i386/math-emu'
ld -m elf_i386 -Ttext 0x100000 -e stext arch/i386/kernel/head.o init/main.o init/version.o \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o net/network.a \
fs/filesystems.a \
drivers/block/block.a drivers/char/char.a drivers/net/net.a drivers/pcsnd/pcsp.a drivers/pci/pci.a arch/i386/math-emu/math.a \
/usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a /usr/src/linux/arch/i386/lib/lib.a -o vmlinux
init/main.o: In function `checksetup':
init/main.o(.text+0x2ef): undefined reference to `ide_setup'
drivers/block/block.a(ll_rw_blk.o): In function `blk_dev_init':
ll_rw_blk.o(.text+0xd4c): undefined reference to `ide_init'
drivers/block/block.a(genhd.o): In function `msdos_partition':
genhd.o(.text+0x45e): undefined reference to `ide_xlate_1024'
genhd.o(.text+0x488): undefined reference to `ide_xlate_1024'
genhd.o(.text+0x531): undefined reference to `ide_xlate_1024'
make: *** [vmlinux] Error 1
config
# Loadable module support
#
CONFIG_MODULES=y
# CONFIG_MODVERSIONS is not set
CONFIG_KERNELD=y
#
# General setup
#
CONFIG_MATH_EMULATION=y
CONFIG_NET=y
# CONFIG_MAX_16M is not set
CONFIG_PCI=y
CONFIG_PCI_OPTIMIZE=y
CONFIG_SYSVIPC=y
CONFIG_BINFMT_AOUT=m
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_JAVA=m
CONFIG_KERNEL_ELF=y
# CONFIG_M386 is not set
CONFIG_M486=y
# CONFIG_M586 is not set
# CONFIG_M686 is not set
#
# Floppy, IDE, and other block devices
#
CONFIG_BLK_DEV_FD=m
# CONFIG_BLK_DEV_IDE is not set
#
# Please see Documentation/ide.txt for help/info on IDE drives
#
CONFIG_BLK_DEV_HD_ONLY=y
#
# Additional Block Devices
#
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_MD=y
CONFIG_MD_LINEAR=m
# CONFIG_MD_STRIPED is not set
CONFIG_BLK_DEV_RAM=m
# CONFIG_BLK_DEV_XD is not set
CONFIG_BLK_DEV_HD=y
[...]
#
CONFIG_APM=y
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
# CONFIG_APM_DO_ENABLE is not set
CONFIG_APM_CPU_IDLE=y
# CONFIG_APM_DISPLAY_BLANK is not set
# CONFIG_APM_POWER_OFF is not set
CONFIG_WATCHDOG=y
# CONFIG_WATCHDOG_NOWAYOUT is not set
# CONFIG_WDT is not set
# CONFIG_SOFT_WATCHDOG is not set
# CONFIG_PCWATCHDOG is not set
# CONFIG_RTC is not set
[...]
There is also a problem connected with pcmcia 2.8.17 requiring
apm_[un]register_calback and it not being there. This all worked fine under
2.0.0.
Peter T. Breuer
,---------------------------------------------------------------------------
|Departamento de Ingenieria de Sistemas Telematicos, Universidad Politecnica
|de Madrid, Escuela Tecnica Superior de Ingenieros de Telecomunicacion,
|Ciudad Universitaria, E--28040 Madrid, SPAIN.
|Tel. Office : +34 (1)336 6831 Fax : +34 (1)543 2077 or 336 7333
|Internet : <ptb@eng.cam.ac.uk, ptb@comlab.ox.ac.uk, ptb@dit.upm.es>
| URL : http://www.dit.upm.es:80/~ptb/
`---------------------------------------------------------------------------