#3038 intirid fail to mount rootimg on sles11.2 x86

2.8.1
closed
yangsong
6
2015-01-30
2012-08-17
hanjing
No

during the regression of sles11.2 nfs_based statelite on x86 , initrid fail to mount rootimg for the following details:

(Wdt) DisableTimer
[ 1.293205] i8042: No controller found
warning: can't open /etc/fstab: No such file or directory
insmod: can't read '/lib/exportfs.ko': No such file or directory
insmod: error inserting '/lib/libcrc32c.ko': -1 Unknown symbol in module
insmod: error inserting '/lib/bnx2x.ko': -1 Unknown symbol in module
insmod: can't read '/lib/mlx_en.ko': No such file or directory
Creating device nodes with udev
udevd[162]: specified group 'dialout' unknown

udevd[162]: specified group 'tty' unknown

udevd[162]: specified group 'kmem' unknown

udevd[162]: specified group 'video' unknown

udevd[162]: specified group 'audio' unknown

udevd[162]: specified group 'lp' unknown

udevd[162]: specified group 'disk' unknown

udevd[162]: specified group 'floppy' unknown

udevd[162]: specified group 'cdrom' unknown

udevd[162]: specified group 'tape' unknown

udevd[163]: error resolving group 'dialout': Resource temporarily unavailable

udevd[163]: error resolving group 'tty': Resource temporarily unavailable

udevd[163]: error resolving group 'kmem': Resource temporarily unavailable

udevd[163]: error resolving group 'video': Resource temporarily unavailable

udevd[163]: error resolving group 'audio': Resource temporarily unavailable

udevd[163]: error resolving group 'lp': Resource temporarily unavailable

udevd[163]: error resolving group 'disk': Resource temporarily unavailable

udevd[163]: error resolving group 'floppy': Resource temporarily unavailable

udevd[163]: error resolving group 'cdrom': Resource temporarily unavailable

udevd[163]: error resolving group 'tape': Resource temporarily unavailable

udevd[163]: error resolving group 'dialout': Resource temporarily unavailable

udevd[163]: error resolving group 'tty': Resource temporarily unavailable

udevd[163]: error resolving group 'kmem': Resource temporarily unavailable

udevd[163]: error resolving group 'video': Resource temporarily unavailable

udevd[163]: error resolving group 'audio': Resource temporarily unavailable

udevd[163]: error resolving group 'lp': Resource temporarily unavailable

udevd[163]: error resolving group 'disk': Resource temporarily unavailable

udevd[163]: error resolving group 'floppy': Resource temporarily unavailable

udevd[163]: error resolving group 'cdrom': Resource temporarily unavailable

udevd[163]: error resolving group 'tape': Resource temporarily unavailable

udevadm settle - timeout of 10 seconds reached, the event queue contains:
/sys/devices/pci0000:00/0000:00:1c.0/0000:06:00.1/net/eth1 (1131)
debug: before netstart
err, eth1: fopen `/var/run/ntp/servers.eth1': No such file or directory
inet addr:9.114.34.237 Bcast:9.114.34.255 Mask:255.255.255.0

         ..                                               :iiii,
       :tLL;                                             .,:...,.
      .j;:tLt.   :.                               .;j:   ij::::;.
    :tt;:::,ii:.jEEGi                           :tDEEG:.ti,::::;t:
   .,,,,,,,,,,,tLEEEEj:                        tDEEEEDtj;,,,::::::
    .:,,::::::,;fDEEEEEL,.                .,ijDEDDDEEGt,,,,:,ijj;
      ....   ..:;jDDLGDEEEGGGfjjjjjjfffLGDEEDEEDLjfGDt,:..
                 .iftffGDLLDEEEDDDEEDDDDEDEEGLfLjjtti:
                   ,fii;jGDGffLjifLGLjtfffffGDEDGfji
                    ;DEEGffDDDjiii;;ii;,tGDEGjfEEEEf.
                   ,GEGGftiGEEEDt:,;,;;LEEDGjLEEEEEEG
                  ;DEDGjtjfitjGGjfDGj;jLLiitfGDEGjEEDj
                  fGjjtfLfji;itjfGDjLDfjjjji;tGGLDEEDj
                  fEDGffjti;ittjjjjtjjjjt:,,iiGGGGjtf.
                  :fGGLfLLfLGf;i;ijffj,,tjLGDDGLfjtf,
                :;tLfjiiffLGDDDGLGEEEEjfGDDGGLfjfff:
         .. ,;tLLLLLL,;tijfLGGGjfDEEEEDLLGGGLLLjtjLLfi,.
     .jffLLLLGGLfjj;:  :,;ijLGLfjGEDDEGtfGGLfjj:.,jjLGGLti;,,;fj,
     ,fGGGGGGLj,.          ;jGGGGLLjffftjLj;..     .,tfGGGGGGGGGGi
      ,jGDDDj,.              :tLGLGGLGDLjt,           :iLGGDDDDGLif
      ,LDDDL,                 .;LDDDDGfff,              ,;iGDDj;,..
      ;fGGGf,                    ,;;;;,:                 tf;jL,
       ;.:::,               Powered by xCAT               ,j.:;

                        _________     ________________
                 ___  __\_   ___ \   /  _  \__    ___/
                 \  \/  /    \  \/  /  /_\  \|    |   
                  >    <\     \____/    |    \    |   
                 /__/\_ \\______  /\____|__  /____|   
                       \/       \/         \/

Setting up Statelite
mount.nfs: Protocol not supported
Couldn't mount dx360m3n04:/install/netboot/sles11.2/x86_64/compute on /sysroot
Trying again in 1 seconds
mount.nfs: Protocol not supported
Couldn't mount dx360m3n04:/install/netboot/sles11.2/x86_64/compute on /sysroot
Trying again in 5 seconds
mount.nfs: Protocol not supported
Couldn't mount dx360m3n04:/install/netboot/sles11.2/x86_64/compute on /sysroot
Trying again in 8 seconds
mount.nfs: Protocol not supported
Couldn't mount dx360m3n04:/install/netboot/sles11.2/x86_64/compute on /sysroot
Trying again in 18 seconds
mount.nfs: Protocol not supported
Couldn't mount dx360m3n04:/install/netboot/sles11.2/x86_64/compute on /sysroot
Trying again in 9 seconds
mount.nfs: Protocol not supported
Couldn't mount dx360m3n04:/install/netboot/sles11.2/x86_64/compute on /sysroot
Trying again in 9 seconds
mount.nfs: Protocol not supported
Couldn't mount dx360m3n04:/install/netboot/sles11.2/x86_64/compute on /sysroot
Trying again in 7 seconds
mount.nfs: Protocol not supported
Couldn't mount dx360m3n04:/install/netboot/sles11.2/x86_64/compute on /sysroot
Trying again in 2 seconds
mount.nfs: Protocol not supported
Couldn't mount dx360m3n04:/install/netboot/sles11.2/x86_64/compute on /sysroot
Trying again in 17 seconds
mount.nfs: Protocol not supported
Couldn't mount dx360m3n04:/install/netboot/sles11.2/x86_64/compute on /sysroot
Trying again in 3 seconds
mount.nfs: Protocol not supported
Couldn't mount dx360m3n04:/install/netboot/sles11.2/x86_64/compute on /sysroot
Trying again in 26 seconds
mount.nfs: Protocol not supported
Couldn't mount dx360m3n04:/install/netboot/sles11.2/x86_64/compute on /sysroot
Trying again in 4 seconds
mount.nfs: Protocol not supported
Couldn't mount dx360m3n04:/install/netboot/sles11.2/x86_64/compute on /sysroot
Trying again in 0 seconds
mount.nfs: Protocol not supported
Couldn't mount dx360m3n04:/install/netboot/sles11.2/x86_64/compute on /sysroot
Trying again in 28 seconds
mount.nfs: Protocol not supported
You're dead. rpower dx360m4n01 boot to play again.
Possible problems:
1. This initrd wan't created for the statelite node?
2. IS DNS set up? Maybe that's why I can't mount dx360m3n04.
3. The nfs modules aren't set right in this initial ramdisk?

Entering rescue/debug init shell.
Exit shell to continue booting.
sh-3.2# [disconnect]
x3550m3n02:~ #

BTW,sles11 sp1 can work in the same environment

Discussion

  • yangsong

    yangsong - 2012-08-24

    This defect is caused by a sles11.2 bug, mount.nfs can mount exported directory on nfs server with option "nfsvers=4" but failed with "nfsvers=3" in sles11.2 initrd. I have submitted a bug to sles(https://bugzilla.linux.ibm.com/show_bug.cgi?id=84567).

    The work around is simply to replace the "/sbin/mount.nfs" in statelite initrd with "mount.nfs" in nfs-client-1.2.1-2.6.6.x86_64.rpm after "genimage". nfs-client-1.2.1-2.6.6.x86_64.rpm can be found in sles11.1 os packages.

    The steps are:
    ...

    genimage sles11.2-x86_64-statelite-compute

    gzip -cd /install/netboot/sles11.2/x86_64/compute/initrd-statelite.gz | (rm -rf /tmp/initrd && mkdir -p /tmp/initrd && cd /tmp/initrd && /bin/cpio -idum)

    rpm2cpio [ #specify the path of nfs-client-1.2.1-2.6.6.x86_64.rpm here#] | (cd /tmp/initrd && cpio -idmu ./sbin/mount.nfs)

    (cd /tmp/initrd && find .)|(cd /tmp/initrd && cpio -H newc -o)|gzip -9 -c - > /install/netboot/sles11.2/x86_64/compute/initrd-statelite.gz

    nodeset dx360m3n04 osimage=sles11.2-x86_64-statelite-compute

    rsetboot dx360m3n04 net

    rpower dx360m3n04 reset

     
    Last edit: Lissa Valletta 2013-01-15
  • yangsong

    yangsong - 2012-08-27

    nfs-clients rpm in sles11.1 to replace the mount.nfs in sles11.2

     
  • yangsong

    yangsong - 2012-08-27

    I attached nfs-client-1.2.1-2.6.6.x86_64.rpm here, so that you can download it then perform the workaround

     
  • Guang Cheng Li

    Guang Cheng Li - 2012-08-27

    This bug is not fixed, still waiting for the bugzilla fix, should not set to "pending",

     
  • Guang Cheng Li

    Guang Cheng Li - 2012-10-17
    • milestone: 2.7.5 --> 2.7.6
     
  • Brian  Croswell

    Brian Croswell - 2012-11-28

    We will need to use xCAT code workaround until Bugziia is fixed . Movep bug in xCAT 2.7.7 stream for tracking

     
  • Brian  Croswell

    Brian Croswell - 2012-11-28
    • milestone: 2.7.6 --> 2.7.7
     
  • Brian  Croswell

    Brian Croswell - 2012-11-29
    • priority: 7 --> 4
     
  • Brian  Croswell

    Brian Croswell - 2012-11-29

    Since we have provided a workround in xCAT code for customer I am placing this as priority 4 so we can keep track of the bugzilla fix

     
  • hanjing

    hanjing - 2013-01-29
    • milestone: 2.7.7 --> 2.8.1
    • priority: 4 --> 6
     
  • ting ting li

    ting ting li - 2013-02-27

    Hit this issue on sles11 sp2 on xCAT 2.7.6. Is there any response for this issue from suse?

    Need to add liteimg sles11.2-x86_64-statelite-compute in workaround before command nodeset.

     
  • yangsong

    yangsong - 2013-04-08

    the defect is caused by the lack of /lib64/libnss_files.so.2 in statelite initrd, checked-in in xcat 2.8.x(r15873), xcat 2.9(r15872), xcat 2.7.x(r15871)

     
  • yangsong

    yangsong - 2013-04-08
    • status: open --> pending
     
  • hanjing

    hanjing - 2013-04-25
    • status: pending --> closed