WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Trying to compile IT821X driver for 2.6.18 -- but can't conf

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Trying to compile IT821X driver for 2.6.18 -- but can't configure it
From: Bruce McKenzie <brucem@xxxxxxxxxxxxxxxx>
Date: Wed, 10 Sep 2008 22:51:02 -0700
Delivery-date: Wed, 10 Sep 2008 22:51:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Trying to compile IT821X driver for 2.6.18 -- but can't configure it, Bruce McKenzie <=