It permitted me to configure and compile the IT821X driver that I need for my disk controller: (this output from a non-Xen 2.6.25 kernel)
---------
11:04.0 Mass storage controller: Integrated Technology Express, Inc. IT/ITE8212 Dual channel ATA RAID controller (rev 13)
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 23
I/O ports at 2448 [size=8]
I/O ports at 243c [size=4]
I/O ports at 2440 [size=8]
I/O ports at 2438 [size=4]
I/O ports at 2410 [size=16]
[virtual] Expansion ROM at d4140000 [disabled] [size=128K]
Capabilities: [80] Power Management version 2
Kernel driver in use: ITE821x IDE
I decided to upgrade to Xen 3.3 / 2.6.18 (gentoo r12).
But now the CONFIG_BLK_DEV_IT821X setting is not in .config and does not show up in menuconfig. It is hidden...except here:
---------
./drivers/ide/pci/Makefile:obj-$(CONFIG_BLK_DEV_IT821X) += it821x.o
./buildconfigs/linux-defconfig_xen_x86_32:CONFIG_BLK_DEV_IT821X=m
./buildconfigs/linux-defconfig_xen0_x86_64:# CONFIG_BLK_DEV_IT821X is not set
./buildconfigs/linux-defconfig_xen0_ia64:# CONFIG_BLK_DEV_IT821X is not set
./buildconfigs/linux-defconfig_xen_ia64:# CONFIG_BLK_DEV_IT821X is not set
./buildconfigs/linux-defconfig_xen0_x86_32:# CONFIG_BLK_DEV_IT821X is not set
./buildconfigs/linux-defconfig_xen_x86_64:CONFIG_BLK_DEV_IT821X=m
So if I manually add the setting it is automatically removed. <sigh>
I can compile the driver to a .o:
---------
ring linux # make0 drivers/ide/pci/it821x.ko
Using /usr/src/linux-2.6.18-xen-r12 as source for kernel
GEN /usr/src/linux-2.6.18-xen-r12/_dom0/Makefile
CHK include/linux/version.h
CHK include/linux/utsrelease.h
make[2]: `drivers/ide/pci/it821x.o' is up to date.
MODPOST
---------
but it doesn't make a ".ko". <sigh>
- What do I do/set in my config to make this setting show up?
- How can I compile this module standalone as a loadable kernel module?
- Where should I go next?
TIA....
Bruce