• Register
    • Login
    • Search
    • Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. AsciiReign
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 13
    • Best 0
    • Controversial 0
    • Groups 0

    AsciiReign

    @AsciiReign

    2
    Reputation
    672
    Profile views
    13
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Age 36

    AsciiReign Unfollow Follow

    Latest posts made by AsciiReign

    • RE: Kernel panic after upgrading to trunk

      It seems that the problem was the networkcard in our server.
      Replaced it and it works.
      But thank you for your support.
      And merry christmas.
      How do i mark the thread as solved?

      posted in FOG Problems
      A
      AsciiReign
    • RE: Kernel panic after upgrading to trunk

      Thank you.
      So it seems the download is correct.
      I will try to register the host tomorrow.
      Anything else i should check or info we could use if it still does not work?

      posted in FOG Problems
      A
      AsciiReign
    • RE: Kernel panic after upgrading to trunk

      i redownload them and did an md5sum check.

      af352fa8f5dbbe61816e79237aa482ae  bzImage
      307ab9fbbb94ca7c92c7af968c0c5009  bzImage32
      5e9736c8a79aaeb0816e183c83bae782  init_32.xz
      603850d41de476102156ca19164b31f3  init.xz
      

      Could you verify that those are correct?

      posted in FOG Problems
      A
      AsciiReign
    • Kernel panic after upgrading to trunk

      I tryed updating one of our fog server which was still running 0.32 to trunk (5786) and everything worked fine.
      OS is still Ubuntu 12.04.5

      0_1450798803607__var_www_fog_service_ipxe.png

      until i tried to register a client. then i get the ‘famous’

      kernel panic-not syncing: VFS: unable to mount root fs on 
      unknown block(0,0)
      

      error.

      i searched the forum and checked that i did not save bzImage as bzImage32 or vice versa

      i tryedlooking into the grub settings and also tryed dropping the database after i backed it up.

      didnt help. i got the error on two different clients so i guess they are not broken.

      i downloaded the kernels and inits using wget:

      • wget https://fogproject.org/kernels/bzImage
        wget https://fogproject.org/kernels/bzImage32
        wget https://fogproject.org/inits/init.xz
        wget https://fogproject.org/inits/init_32.xz
      posted in FOG Problems bzimage kernel panic trunk
      A
      AsciiReign
    • RE: Intel I219-LM bzImage

      @Tom-Elliott
      I know that.
      I am just irritated that the network card seems to work with the same kernel version on one server and not on the other. and coming down to wich arch it uses seems kind of strange to me.

      Are there any information or screenshot i could provide that could help to further look into that?

      thanks a lot.

      posted in Hardware Compatibility
      A
      AsciiReign
    • RE: Intel I219-LM bzImage

      Thank you for your reply.

      Guess u meant to link to:
      https://fogproject.org/kernels/

      Tryed it. Strangely it did not work. The networkcard is working on the client connected to the trunk server but not on the one with 0.32.

      Maybe it just works with the 64bit kernel which is strange.
      How does fog determine which kernel (32 or 64) to load on the client?

      posted in Hardware Compatibility
      A
      AsciiReign
    • Intel I219-LM bzImage

      We are using Fog .32 in most of our Offices and plan to migrate to the trunk release soon. But we have gotten a new pc model with the Intel® Ethernet Connection I219-LM Chipset.
      So i tried to compile the 4.3 kernel for the old bzImage with the buildconfig provided on github.
      Which was kind of successful but it does not realize the networkchipset (the harddrive controller gets a pass).
      On our test fog running the trunk release and the 4.3 kernel the client is compatible.

      Can anyone provide me with a bzImage for 0.32 which is build on a newer kernel then those provided on sourceforge?
      Or tell me what i might have done wrong in the building process.

      Kernel used: https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.3.tar.xz

      Instructions followed: https://wiki.fogproject.org/wiki/index.php/Build_TomElliott_Kernel#Build_TomElliott_Kernel_for_FOG_0.32_and_earlier

      posted in Hardware Compatibility 0.32 bzimage i219 kernel 4.3
      A
      AsciiReign
    • RE: Imaging systems in remote offices

      We have Fog-servers in all of our 150 branch offices spread all over germany, which are connected
      to our main office via ipsec tunnels so we can access them from our main office.
      images are put on an central ftp server and downloaded over night.

      posted in General
      A
      AsciiReign
    • RE: Search Host by Image

      It worked. Thanks.

      /var/www/{FOGWEB}/lib/fog/HostManager.class.php:
      [PHP]
      …
      left outer join
      inventory
      on ( iHostId = hostID )
      left outer join
      images
      on ( hostImage = imageID )

      WHERE
      hostName like ‘%" . $this->db->escape($crit) . "%’ or
      hostDesc like ‘%" . $this->db->escape($crit) . "%’ or
      hostIP like ‘%" . $this->db->escape($crit) . "%’ or
      hostMAC like ‘%" . $this->db->escape($crit) . "%’ or
      hmMAC like ‘%" . $this->db->escape($crit) . "%’ or
      iSysSerial like ‘%" . $this->db->escape($crit) . "%’ or
      iPrimaryUser like ‘%" . $this->db->escape($crit) . "%’ or
      iOtherTag like ‘%" . $this->db->escape($crit) . "%’ or
      iOtherTag1 like ‘%" . $this->db->escape($crit) . "%’ or
      iSysman like ‘%" . $this->db->escape($crit) . "%’ or
      imageName like ‘%" . $this->db->escape($crit) . "%’ or
      iSysproduct like ‘%" . $this->db->escape($crit) . "%’
      GROUP BY
      hostID " . $this->getSortingOptions( $sortingOpts );
      …
      [/PHP]

      posted in General
      A
      AsciiReign
    • Search Host by Image

      I tried to modify the fog 0.32 webgui to enable searching for hosts associated with a specified image.
      I managed to display the image in the host search but i still cannot search for the image name.
      I added the changes i made in the files in this post.

      Can anyone point me to what i am missing?
      Maybe this can be useful for other people too.

      fog.main.js
      [CODE]Host Search
      $(‘#host-search’).fogAjaxSearch({
      ‘URL’: ‘ajax/host.search.php’,
      ‘Template’: function(data, i)
      {
      return ‘<tr id="host-’ + data[‘id’] + ‘"><td><input type=“checkbox” name="HID’ + data[‘id’] + ‘" checked=“checked” /></td><td><span class=“icon ping”></span></td><td><a href="?node=host&sub=edit&id=’ + data[‘id’] + ‘" title=“Edit”>’ + data[‘hostname’] + ‘</a></td><td>’ + data[‘mac’] + ‘</td><td>’ + (data[‘ip’] ? data[‘ip’] : ’ ') + ‘</td><td>’ + data[‘image’] + ‘</td><td class=“c”><a href="?node=host&sub=edit&id=’ + data[‘id’] + ‘"><span class=“icon icon-edit” title=“Edit: ’ + data[‘hostname’] + '”></span></a></td></tr>’;
      }
      });[/CODE]

      host.search.include.php
      [PHP] <input id=“host-search” type=“text” value=“<?php echo(_(‘Search’)); ?>” class=“search-input” />

      <form method="POST" name="hosts" action="?node=host">   
          <table width="100%" cellpadding="0" cellspacing="0" id="search-content" border="0">
              <thead>
                  <tr class="header">
                      <td width="22"><input type="checkbox" name="no" checked="checked" /></td>
                      <td width="20"></td>
                      <td><?php print _('Host Name'); ?></td>
                      <td width="120"><?php print _('MAC'); ?></td>
                      <td width="120"><?php print _('IP Address'); ?></td>
                      <td width="120"><?php print _('Host Image'); ?></td>
                      <td class="c" width="40"><?php print _('Edit'); ?></td>
                  </tr>
              </thead>[/PHP]
      

      host.search.php
      [PHP]$host = $arHosts[$i];
      $mac = $host->getMAC();
      $strMac = “”;
      $Image = $host->getImage();
      if ( $Image != null ) $strImage = $Image->getName();
      else ($strImage = “”);
      if ( $mac != null ) $strMac = $mac->getMACWithColon();

              // Minimum fields
              $x = array(   
                      'id'        =>    $host->getID(),
                      'hostname'    =>    $host->getHostname(),
                      'image'        =>  $strImage,
                      'mac'        =>    $strMac
                      );
              [/PHP]
      
      posted in General
      A
      AsciiReign