Bug 294419

Summary: initrd doesn't load needed modules when booting XEN enabled kernel natively
Product: [openSUSE] openSUSE 10.2 Reporter: Forgotten User 42maXmOW7B <forgotten_42maXmOW7B>
Component: KernelAssignee: Hannes Reinecke <hare>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: aj, jbeulich
Version: Final   
Target Milestone: ---   
Hardware: x86   
OS: openSUSE 10.2   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: patch to /sbin/mkinitrd for XEN baremetal startup

Description Forgotten User 42maXmOW7B 2007-07-25 09:14:05 UTC
When installing a kernel.org 2.6.23-rc kernel built with CONFIG_XEN=y, mkinitrd inserts into the initrd init script a check whether the kernel is loaded as a dom0 or domU, skipping loading of various modules in the latter case.

When booting the so installed kernel on the bare machine, that check incorrectly concludes that it is running in a domU. Consequently, the system start fails because essential drivers for accessing the root filesystem are missing.

For details, see:
http://www.gossamer-threads.com/lists/linux/kernel/798891
Comment 1 Forgotten User 42maXmOW7B 2007-07-25 09:19:49 UTC
Created attachment 152888 [details]
patch to /sbin/mkinitrd for XEN baremetal startup

A quick hack to permit starting a Xen enabled vanilla kernel. Probably not the definitive solution.
Comment 2 Forgotten User 42maXmOW7B 2007-09-08 21:25:29 UTC
ping?
Comment 3 Hannes Reinecke 2007-09-27 10:55:39 UTC
Yes, patch looks good.
AJ, ok to update?
Comment 4 Andreas Jaeger 2007-09-27 11:10:56 UTC
This is an update for 10.2 - and we do not have the 2.6.23-rc kernel on 10.2.

If you release another update for mkinitrd, please include this one - but we're not doing a separate update for this issue.
Comment 5 Hannes Reinecke 2008-01-29 14:16:37 UTC
Updated mkinitrd rpm & patchinfo submitted for maintenance.
Comment 6 Anja Stock 2008-02-05 14:41:56 UTC
released