Bug 294419 - initrd doesn't load needed modules when booting XEN enabled kernel natively
Summary: initrd doesn't load needed modules when booting XEN enabled kernel natively
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 10.2
Classification: openSUSE
Component: Kernel (show other bugs)
Version: Final
Hardware: x86 openSUSE 10.2
: P5 - None : Normal with 8 votes (vote)
Target Milestone: ---
Assignee: Hannes Reinecke
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-25 09:14 UTC by Forgotten User 42maXmOW7B
Modified: 2008-02-05 14:41 UTC (History)
2 users (show)

See Also:
Found By: Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
patch to /sbin/mkinitrd for XEN baremetal startup (420 bytes, patch)
2007-07-25 09:19 UTC, Forgotten User 42maXmOW7B
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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