|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-users] mkinitrd --omit-scsi-modules does not work
Hi,
I am trying to create an initrd image without scsi modules enabled
(and with xenblk preloaded) to fix a "Kernel panic: Not syncing.
Trying to kill init" error when I boot DomU.
The command I am running is
mkinitrd --omit-scsi-modules --with=xennet --with=xenblk
--preload=xenblk initrd-$(uname -r).img $(uname -r)
However when I extract the initrd image, I see that scsi_mod included.
It looks like it is a dependency for other modules. Please see below.
Is there a way I can reliably remove scsi-modules from the initrd image?
Thanks,
vns
-------------------------
# mkinitrd -f -v --with=xenblk --with=xennet --preload=xenblk
--preload=xennet --omit-scsi-modules
/boot/initrd-2.6.18-92.el5xen-no-scsi-1.img 2.6.18-92.el5xen | grep
scsi
WARNING: using /tmp for temporary files
Looking for deps of module
pci:v000010DEd0000037Fsv0000103Csd000012FEbc01sc01i85: scsi_mod libata
sata_nv
Looking for deps of module scsi_mod
Looking for deps of module libata: scsi_mod
Looking for deps of module sata_nv: scsi_mod libata
Using modules:
/lib/modules/2.6.18-92.el5xen/kernel/drivers/xen/blkfront/xenblk.ko
/lib/modules/2.6.18-92.el5xen/kernel/drivers/xen/netfront/xennet.ko
/lib/modules/2.6.18-92.el5xen/kernel/drivers/usb/host/ehci-hcd.ko
/lib/modules/2.6.18-92.el5xen/kernel/drivers/usb/host/ohci-hcd.ko
/lib/modules/2.6.18-92.el5xen/kernel/drivers/usb/host/uhci-hcd.ko
/lib/modules/2.6.18-92.el5xen/kernel/fs/jbd/jbd.ko
/lib/modules/2.6.18-92.el5xen/kernel/fs/ext3/ext3.ko
/lib/modules/2.6.18-92.el5xen/kernel/drivers/scsi/scsi_mod.ko
/lib/modules/2.6.18-92.el5xen/kernel/drivers/ata/libata.ko
/lib/modules/2.6.18-92.el5xen/kernel/drivers/ata/sata_nv.ko
/lib/modules/2.6.18-92.el5xen/kernel/drivers/md/dm-mod.ko
/lib/modules/2.6.18-92.el5xen/kernel/drivers/md/dm-mirror.ko
/lib/modules/2.6.18-92.el5xen/kernel/drivers/md/dm-zero.ko
/lib/modules/2.6.18-92.el5xen/kernel/drivers/md/dm-snapshot.ko
copy from `/lib/modules/2.6.18-92.el5xen/kernel/drivers/scsi/scsi_mod.ko'
[elf64-x86-64] to `/tmp/initrd.H10245/lib/scsi_mod.ko' [elf64-x86-64]
Adding module scsi_mod
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-users] mkinitrd --omit-scsi-modules does not work,
Vijay Subramanian <=
|
|
|
|
|