I am experiencing a problem compiling 2.3.10 modules which I did not
experience when compiling 2.3.9. (identical .config file, identical
hardware and software in system). The kernel compiles ok, but a make
modules fails fairly early on.
Running Redhat 6.0 - egcs-1.1.2-12/Intel Pentium MMX 166/2.3.9 krnl patched
to 2.3.10/IDE udma drive. I've tried with and without block devices turned
on, but it makes no difference.
Any ideas?
>[root@tornado linux]# make modules
>make -C kernel CFLAGS="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
>-pipe
> -fno-strength-reduce -DCPU=586 -DMODULE" MAKING_MODULES=1 modules
>make[1]: Entering directory `/usr/src/linux-2.3.10/kernel'
>make[1]: Nothing to be done for `modules'.
>make[1]: Leaving directory `/usr/src/linux-2.3.10/kernel'
>make -C drivers CFLAGS="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
>-pip
>e -fno-strength-reduce -DCPU=586 -DMODULE" MAKING_MODULES=1 modules
>make[1]: Entering directory `/usr/src/linux-2.3.10/drivers'
>make -C block modules
>make[2]: Entering directory `/usr/src/linux-2.3.10/drivers/block'
>gcc -D__KERNEL__ -I/usr/src/linux-2.3.10/include -Wall -Wstrict-prototypes
>-O2 -
>fomit-frame-pointer -pipe -fno-strength-reduce -DCPU=586 -DMODULE
>-DEXPORT_SYM
>TAB -c loop.c
>loop.c: In function `loop_set_fd':
>loop.c:378: structure has no member named `bmap'
>make[2]: *** [loop.o] Error 1
>make[2]: Leaving directory `/usr/src/linux-2.3.10/drivers/block'
>make[1]: *** [_modsubdir_block] Error 2
>make[1]: Leaving directory `/usr/src/linux-2.3.10/drivers'
>make: *** [_mod_drivers] Error 2
My config file is as follows:
># Code maturity level options
>#
>CONFIG_EXPERIMENTAL=y
>
>#
># Processor type and features
>#
># CONFIG_M386 is not set
># CONFIG_M486 is not set
># CONFIG_M586 is not set
>CONFIG_M586TSC=y
># CONFIG_M686 is not set
>CONFIG_X86_WP_WORKS_OK=y
>CONFIG_X86_INVLPG=y
>CONFIG_X86_BSWAP=y
>CONFIG_X86_POPAD_OK=y
>CONFIG_X86_TSC=y
>CONFIG_1GB=y
># CONFIG_2GB is not set
># CONFIG_MATH_EMULATION is not set
># CONFIG_MTRR is not set
># CONFIG_SMP is not set
>
>#
># Loadable module support
>#
>CONFIG_MODULES=y
># CONFIG_MODVERSIONS is not set
>CONFIG_KMOD=y
>
># General setup
>#
>CONFIG_NET=y
>CONFIG_PCI=y
># CONFIG_PCI_GOBIOS is not set
># CONFIG_PCI_GODIRECT is not set
>CONFIG_PCI_GOANY=y
>CONFIG_PCI_BIOS=y
>CONFIG_PCI_DIRECT=y
>CONFIG_PCI_QUIRKS=y
># CONFIG_PCI_OPTIMIZE is not set
>CONFIG_PCI_OLD_PROC=y
># CONFIG_MCA is not set
># CONFIG_VISWS is not set
>CONFIG_SYSVIPC=y
>CONFIG_BSD_PROCESS_ACCT=y
>CONFIG_SYSCTL=y
>CONFIG_BINFMT_AOUT=m
>CONFIG_BINFMT_ELF=y
>CONFIG_BINFMT_MISC=m
># CONFIG_PARPORT is not set
># CONFIG_APM is not set
># Block devices
>#
>CONFIG_BLK_DEV_FD=m
>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_IDEDISK=y
>CONFIG_IDEDISK_MULTI_MODE=y
>CONFIG_BLK_DEV_IDECD=m
># CONFIG_BLK_DEV_IDETAPE is not set
># CONFIG_BLK_DEV_IDEFLOPPY is not set
># CONFIG_BLK_DEV_IDESCSI is not set
># CONFIG_BLK_DEV_CMD640 is not set
># CONFIG_BLK_DEV_RZ1000 is not set
>CONFIG_BLK_DEV_IDEPCI=y
>CONFIG_BLK_DEV_IDEDMA_PCI=y
>CONFIG_IDEDMA_PCI_AUTO=y
>IDEDMA_NEW_DRIVE_LISTINGS=y
># CONFIG_IDEDMA_ULTRA_66 is not set
>IDEDMA_PCI_EXPERIMENTAL=y
># CONFIG_BLK_DEV_OFFBOARD is not set
># CONFIG_BLK_DEV_AEC6210 is not set
># CONFIG_BLK_DEV_ALI15X3 is not set
># CONFIG_BLK_DEV_CMD646 is not set
># CONFIG_BLK_DEV_CY82C693 is not set
># CONFIG_BLK_DEV_HPT34X is not set
># CONFIG_BLK_DEV_PIIX is not set
># CONFIG_BLK_DEV_NS87415 is not set
># CONFIG_BLK_DEV_OPTI621 is not set
># CONFIG_BLK_DEV_PDC202XX is not set
># CONFIG_BLK_DEV_TRM290 is not set
>CONFIG_BLK_DEV_VIA82C586=y
>CONFIG_BLK_DEV_IDEDMA=y
>CONFIG_IDEDMA_AUTO=y
># CONFIG_IDE_CHIPSETS is not set
># CONFIG_BLK_CPQ_DA is not set
>
>#
># Additional Block Devices
>#
>CONFIG_BLK_DEV_LOOP=m
>CONFIG_BLK_DEV_NBD=m
># CONFIG_BLK_DEV_MD is not set
># CONFIG_BLK_DEV_RAM is not set
># CONFIG_BLK_DEV_XD is not set
>CONFIG_PARIDE_PARPORT=y
># CONFIG_PARIDE is not set
># CONFIG_BLK_DEV_IDE_MODES is not set
># CONFIG_BLK_DEV_HD is not set
etc...if there's anything else I need to include pls let me know :)
Reuben
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/