[opensuse-kernel] build of factory/kernel-xen fails to include "xennet" & "xenblk" kernel modules
i've installed -factory. trying to rebuild kernel-xen, i can't get req'd "xennet" & "xenblk" modules installed :-/ i've booted to a non-xen kernel, uname -a Linux server 2.6.25.4-2-default #1 SMP 2008-05-16 20:46:39 +0200 x86_64 x86_64 x86_64 GNU/Linux installed sources rpm -qa | grep kernel kernel-source-2.6.25.4-2 linux-kernel-headers-2.6.25-6 kernel-xen-2.6.25.4-2 kernel-default-2.6.25.4-2 understanding, from an earlier post, that,
There is no kernel-xen-source. xen ist just a configuration option of kernel-source.
checked, ls -ald /usr/src/linux* lrwxrwxrwx 1 root root 16 2008-05-20 06:20 /usr/src/linux -> linux-2.6.25.4-2/ drwxr-xr-x 22 root root 4096 2008-05-20 06:20 /usr/src/linux-2.6.25.4-2/ drwxr-xr-x 3 root root 4096 2008-05-17 13:31 /usr/src/linux-2.6.25.4-2-obj/ lrwxrwxrwx 1 root root 20 2008-05-20 06:20 /usr/src/linux-obj -> linux-2.6.25.4-2-obj/ copied the 'right' .config, cd /usr/src/linux cp /boot/config-2.6.25.4-2-xen ./.config then, make clean make menuconfig make rpm results in, cd /usr/src/packages ls -lt \ SRPMS/*kernel* \ RPMS/x86_64/*kernel* -rw-r--r-- 1 root root 120944462 2008-05-20 09:35 RPMS/x86_64/kernel-2.6.25.42xenCUSTOM-1.x86_64.rpm -rw-r--r-- 1 root root 65325843 2008-05-20 09:33 SRPMS/kernel-2.6.25.42xenCUSTOM-1.src.rpm install succeeds, rpm -ivh kernel-2.6.25.42xenCUSTOM-1.x86_64.rpm ls -al /boot/*CUSTOM* -rw-r--r-- 1 root root 81917 2008-05-20 09:33 /boot/config-2.6.25.4-2-xenCUSTOM -rw-r--r-- 1 root root 1135019 2008-05-20 09:33 /boot/System.map-2.6.25.4-2-xenCUSTOM -rw-r--r-- 1 root root 2034173 2008-05-20 09:33 /boot/vmlinuz-2.6.25.4-2-xenCUSTOM but mkinitrd depmod 2.6.25.4-2-xenCUSTOM mkinitrd -k "/boot/vmlinuz-2.6.25.4-2-xenCUSTOM" -i "/boot/initrd-2.6.25.4-2-xenCUSTOM" fails, reporting, Kernel image: /boot/vmlinuz-2.6.25.4-2-xenCUSTOM Initrd image: /boot/initrd-2.6.25.4-2-xenCUSTOM Root device: /dev/v_0/l_root (mounted on / as ext3) Resume device: /dev/v_0/l_swap WARNING Cannot determine dependencies of kernel module 'xennet'. Does it exist? If it does, try depmod -a. Continuing without xennet. WARNING Cannot determine dependencies of kernel module 'xenblk'. Does it exist? If it does, try depmod -a. Continuing without xenblk. Kernel Modules: dock scsi_mod libata sata_nv pata_amd processor thermal fan jbd mbcache ext3 raid1 dm-mod edd dm-snapshot sd_mod usbcore ohci-hcd uhci-hcd ehci-hcd ff-memless hid usbhid raid0 xor async_tx async_memcpy async_xor raid456 linear Features: dm block usb md lvm2 resume.userspace resume.kernel Bootsplash: No bootsplash for kernel flavor xenCUSTOM 64578 blocks node name not found node name not found node name not found reading (similar issue?) here, "[Bug 379727] New: mkinitrd broken for Dom0 Xen kernels ( lacking SCSI modules)" http://lists.opensuse.org/opensuse-bugs/2008-04/msg04450.html i retry, applying the patch, cd /usr/src wget -k -O mkinitrd_modules.patch "https://bugzilla.novell.com/attachment.cgi?id=207777" to, cd /lib/mkinitrd/scripts/ patch -p0 < /usr/src/mkinitrd_modules.patch but still, mkinitrd -k "/boot/vmlinuz-2.6.25.4-2-xenCUSTOM" -i "/boot/initrd-2.6.25.4-2-xenCUSTOM" fails as above. how do i correctly add "xennet" & "xenblock" to "Kernel Modules:"? something add'l to do? or something wrong/missing above? thanks! -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
participants (1)
-
snowcrash+opensuse