[Bug 393142] New: build of factory/kernel-xen fails to include "xennet" & " xenblk" kernel modules
https://bugzilla.novell.com/show_bug.cgi?id=393142 User schneecrash+opensuse@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=393142#c1 Summary: build of factory/kernel-xen fails to include "xennet" & "xenblk" kernel modules Product: openSUSE 11.0 Version: Factory Platform: x86-64 OS/Version: openSUSE 11.0 Status: NEW Severity: Major Priority: P5 - None Component: Kernel AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: schneecrash+opensuse@gmail.com QAContact: qa@suse.de Found By: --- opensuse-factory 11beta3plus is installed/fully_updated on x86_64. a rebuild of kernel-xen, fails @mkinitrd to install "xennet" & "xenblk" modules. details ... 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 (*is* it, in fact, a related 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. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=393142
snow crash
https://bugzilla.novell.com/show_bug.cgi?id=393142
Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=393142
User schneecrash+opensuse@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393142#c1
--- Comment #1 from snow crash
https://bugzilla.novell.com/show_bug.cgi?id=393142
User jeffm@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393142#c2
Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=393142
User schneecrash+opensuse@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393142#c3
--- Comment #3 from snow crash
https://bugzilla.novell.com/show_bug.cgi?id=393142
User schneecrash+opensuse@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393142#c4
--- Comment #4 from snow crash
https://bugzilla.novell.com/show_bug.cgi?id=393142
User schneecrash+opensuse@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393142#c5
--- Comment #5 from snow crash
Yeah, I think the problem here is actually in mkinitrd, not the kernel. The modules are created, just not found by mkinitrd.
since, obviously, the released rpms are getting built with those modules, that seems to imply that the system on which the release rpms are built has a different set of mkinitrd scripts. it'd be useful to compare ... can you ID the OS/ver of the build system (i'm guessing it's *not* a opensuse-factory box ...), &/or 'point' to a repo with the relevant source? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=393142
User hare@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393142#c6
Hannes Reinecke
https://bugzilla.novell.com/show_bug.cgi?id=393142
User schneecrash+opensuse@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393142#c7
snow crash
https://bugzilla.novell.com/show_bug.cgi?id=393142
User jeffm@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393142#c8
--- Comment #8 from Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=393142
User schneecrash+opensuse@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393142#c9
snow crash
------- Comment #2 From Jeff Mahoney 2008-05-21 18:02:10 MDT [reply] ------- Yeah, I think the problem here is actually in mkinitrd, not the kernel. The modules are created, just not found by mkinitrd.
i'd offer that it isn't immediately obvious that the user should simply inherently know to "ignore the warning. They aren't errors." and "remove those modules from $DOMU_INITRD_MODULES in /etc/sysconfig/kernel" without breaking something else ... as to "which we can't be expected to support" ... noone's "expecting" you to support anything. i'm spending my time and politely asking -- after all you *do* invite us to test your betas, no? in the end, i don't think it's unreasonably bad practice to suggest that a script that *specifically* checks for *specific* modules' existence might also perhaps check for them being compiled-in -- in particular, in a case where the kernel HAS to be rebuilt because what you've delivered is otherwise (currently) not properly configured. but clearly we disagree. np. :-) all that said, thanks for the suggestion -- and I'll "remove those modules from $DOMU_INITRD_MODULES in /etc/sysconfig/kernel", and figure out whether the still present node name not found node name not found node name not found should also be 'ignored' or not. thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com