Make sure you have the following RPMs installed inside the stateless 
image before running packimage:

dracut-kernel-004-303.el6.noarch
dracut-network-004-303.el6.noarch
dracut-004-303.el6.noarch

Your version numbers may differ.  These are from CentOS 6.4.

On 3/20/14, 8:51 AM, Christian Caruthers wrote:
> Trying to set up the default compute stateless template in v2.8.3 on
> rhel 6.4. This system was first upgraded from xCAT 2.7.3 to 2.8.3 w/
> latest deps. We took the default compute.pkglist and compute.exlist from
> $XCATROOT/share/xcat/netboot/rh. When genimage is building the initrd, I
> see the following:
>
> Try to load drivers: pps_core mlx4_core mdio libcrc32c ptp dca
> virtio_ring virtio mlx4_en tg3 bnx2 bnx2x e1000 e1000e igb mlx_en
> virtio_net be2net ext3 ext4 to initrd.
> W: Cannot load dracut module "xcat", dependencies failed.
> W: Dracut module "xcat" cannot be found.
> W: Dracut module "nfs" cannot be found.
> W: Dracut module "network" cannot be found.
> the initial ramdisk for statelite is generated successfully.
> Try to load drivers: pps_core mlx4_core mdio libcrc32c ptp dca
> virtio_ring virtio mlx4_en tg3 bnx2 bnx2x e1000 e1000e igb mlx_en
> virtio_net be2net ext3 ext4 to initrd.
> W: Cannot load dracut module "xcat", dependencies failed.
> W: Dracut module "xcat" cannot be found.
> W: Dracut module "nfs" cannot be found.
> W: Dracut module "network" cannot be found.
> the initial ramdisk for stateless is generated successfully.
>
> After running packimage, we boot the system and see the following in the
> console:
>
> Initalizing network drop monitor service
> Freeing unused kernel memory: 1264k freed
> Write protecting the kernel read-only data: 10240k
> Freeing unused kernel memory: 904k freed
> Freeing unused kernel memory: 1676k freed
> dracut: FATAL: No or empty root= argument
> dracut: Refusing to continue
> dracut Warning: Signal caught!
> /lib/dracut-lib.sh: line 83: /emergency/01-die.sh: No such file or directory
>
> Kernel panic - not syncing: Attempted to kill init!
> Pid: 1, comm: init Not tainted 2.6.32-358.el6.x86_64 #1
> Call Trace:
> ? panic+0xa7/0x16f
> ? do_exit+0x862/0x870
> ? do_group_exit+0x58/0xd0
> ? sys_exit_group+0x17/0x20
> ? system_call_fastpath+0x16/0x1b
>
>
> The management node has a patched kernel, and it appears the stateless
> image is running the stock rhel 6.4 kernel. Could this be the problem,
> or am I missing something:
>
> [root@mgt01 modules]# ls
> /install/netboot/rhels6.4/x86_64/compute/rootimg/lib/modules
> *2.6.32-358.el6.x86_64*
> [root@mgt01 modules]# uname -a
> Linux mgt01.cluster.net *2.6.32-358.18.1.el6.x86_64* #1 SMP Fri Aug 2
> 17:04:38 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux
> [root@mgt01 modules]#
>
> Regards,*
> Christian Caruthers*
> Senior Consultant - System x Linux HPC
> Mobile: 757-289-9872
> _Find me on LinkedIn_
> <http://www.linkedin.com/profile/view?id=14378571&trk=tab_pro>
>

-- 
Jonathan Mills
Systems Administrator
Renaissance Computing Institute
UNC-Chapel Hill

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to