WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] mkinitrd --omit-scsi-modules does not work

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] mkinitrd --omit-scsi-modules does not work
From: "Vijay Subramanian" <vnssports@xxxxxxxxx>
Date: Mon, 24 Nov 2008 11:04:42 -0800
Delivery-date: Mon, 24 Nov 2008 11:09:28 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=Ifa768k1h0T6HMBAWJq7OCfNgJ3Xg0O1AED+cquXZEI=; b=qqPlOkcKKAf+EwRkJAku9LppGydiFDVIFhXAg9eBkFMnoP+CtDdAX5u7aE7KLGaNJj IzP/q9SLsZQ4OiLG7zIubm4ZW5s0WEUGXytWa1eSV8kstSgczIbyd5exNcZ5NSqOW88O kgqOwLocRNClH3nNaV0FKt9QWs9nmXdwzruvw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=NQTpxc9TYEAsYtFBpw5NkQNwnAJL77fOY0OfAuckp5LydzO3VQs7a3D4jx5WIrRLjq 0gerU/QEzyt7oqoJEU4ehZ85hWj0PWyTOGuJPtNaBipkG49ema07XAVKwFaQ55v24D1y XnX362MSm0+6JLvHCWshegtbxXKsjHCDkT1t0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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 <=