Bruce McKenzie
2008-Sep-11 05:51 UTC
[Xen-users] Trying to compile IT821X driver for 2.6.18 -- but can''t configure it
Sorry if this is too linux-kernely, but I thought I should start here. I was formerly using Xen 3.2 / 2.6.21 (gentoo) as my dom0. 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> I posted the .config that boots (but does not have this driver) at: http://www.doublepup.com/gentoo-xen0-2.6.18.config - 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 --- Bruce McKenzie brucem@dynamicrange.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users