> 2. Looked into .config I have(generated via make menuconfig) and there
> isn't anything on IDEDISK. I cross checked config file that comes with xcp
> source code it has
> ...
> CONFIG_BLK_DEV_IDEDISK=m
> CONFIG_IDEDISK_MULTI_MODE=y
> ...
>
XCP default kernel is 2.6.27. You're trying to use 2.6.32.
There might have been changes between the kernel versions.
> I copied above configs into my .config and when I run make(it asks some
> IDE config related questions ) and these configs are deleted after that. I
> have tried all options "y/n/m" to the questions and same result.
>
> 3. I downloaded .config file from
> [1]http://pasik.reaktio.net/xen/pv_ops-dom0-debug/config-2.6.32.10-pvops-dom0-xen-stable-x86_32
>
> there isn't IDEDISK config in it either and in addition "make tar-pkg"
> doesn't work with this .config file. I get following errors
>
If ide-disk module is not used/required anymore in 2.6.32, then you should
remove it from /etc/modprobe.conf so that mkinitrd doesn't try to include it!
(replace it with the proper new module name).
> DEPMOD 2.6.32
>
> /bin/sh: line 1: 3341 Killed /sbin/depmod -ae -F
> System.map -b /root/kernel/linux-2.6.32/tar-install 2.6.32
> make[3]: *** [_modinst_post] Error 137
> make[2]: *** [sub-make] Error 2
> make[1]: *** [tar-pkg] Error 2
> make: *** [tar-pkg] Error 2
>
> 4. I tried with the vmlinuz and initrd image built from "2" above(I know
> initrd image is not correct, I just wanted to try) and I get
>
> [0.000000] ERROR: Unable to locate IOAPIC for GSI 2
> [0.000000] ERROR: Unable to locate IOAPIC for GSI 9
> [0.000000] ERROR: Unable to locate IOAPIC for GSI 2
> [0.000000] ERROR: Unable to locate IOAPIC for GSI 9
> [0.493572] registering netback
> Red Hat nash version 5.1.19.6 starting
> einsmod: error inserting 'lib/ide-disk.ko': -1 Invalid module format
>
"Invalid module format" means it's from a different kernel and cannot be
used with this kernel.
> indmos: error inserting '/lib/dm-region-hash.ko': -1 File Exists
> mount: could not fine filesystem '/dev/root'
> setuproot: moving /dev failed: No such file or directory
> setuproot: error mounting /proc: No such file or directory
> setuproot: error mounting /sys: No such file or directory
> switchroot: mount failed: No such file or directory
> [0.905987] Kernel panic - not syncing: Attempted to kill init!
>
> Let me know how to proceed on this.
>
Install for example Fedora 12, or any other distro that has 2.6.32 kernel
as a default, and check which modules are used for your hardware,
then replace "ide-disk" in modprobe.conf with the actual module.