• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Add HDD Controller option to Host

Scheduled Pinned Locked Moved
Feature Request
5
10
2.7k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L
    lukebarone
    last edited by Aug 25, 2016, 10:19 PM

    Hi team,

    I’d like to request that during the capture process, FOG looks at the BIOS/UEFI setting to see if the hard drive is set to IDE (legacy) mode or AHCI mode. Saving this with the image can help prevent boot up problems if the option gets changed.

    G 1 Reply Last reply Aug 26, 2016, 1:04 AM Reply Quote 0
    • W
      Wayne Workman
      last edited by Aug 25, 2016, 10:31 PM

      Just adding my opinion - I store this and other things in the image description.

      Usually something like this:

      Captured with 1.3.0 RC-8
      has FOG Client 0.11.5
      Firmware in UEFI mode
      HDD in RAID mode
      
      Has Firefox, Office 2016, Chrome, VLC
      
      Needs snapins associated:
      activate Office
      Chrome
      Avast
      Meraki
      SmartNotebook
      

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      1 Reply Last reply Reply Quote 0
      • G
        george1421 Moderator @lukebarone
        last edited by Aug 26, 2016, 1:04 AM

        @lukebarone I think I understand the post. You want fog to record the firmware settings and then on a deploy reset the firmware setting to the captured values(??)

        Unless you use Dell computers, not many hardware vendors have the tools required to read and set the firnware setting, period. On top of that the FOS engine (the operating system that captures and deploys images) is linux based. So what ever tool that may be available, its typically windows based, not linux compatible. Dell does have the cctk kit for linux that allows rhel/debian based linux to read and write to the firmware. So on the outside its possible to do. You do have to be careful since some firmware changes will only be active after a reboot. So it would be almost impossible to set/reset these setting during image deployment. It would be a cool concept if the hardware vendors supported this type of external “adjustments” of the firmware with a consistent API.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Aug 26, 2016, 6:19 AM

          @george1421 I guess Luke just means reading the setting and storing it together with the other information. Then on deploy you could also read the setting on the new PC and fail or at least warn if settings don’t match. At first I was going to go with what George said about tools not being available for linux across all platforms but then I remembered a tool called dmidecode. While I am not sure if this will actually help I stumbled upon the information possibly being available as simple as using lspci.

          I tested three different computers (Lenovo and ACER workstation and Lenovo x230 laptop) and all gave me similar results:

          # old Lenovo workstation
          lspci | grep AHCI
          00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family SATA AHCI Controller (rev 05)
          
          # ACER workstation
          lspci | grep AHCI
          00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
          
          # Lenovo x230
          lspci | grep AHCI
          00:1f.2 SATA controller: Intel Corporation 7 Series/C210 Series Chipset Family 4-port SATA Controller 1 [AHCI mode] (rev 05)
          

          Switching the later one to IDE (compatibility) in BIOS the output changed to [IDE mode] when running lspci again. So I am pretty sure we should be able to add a detection without much fuzz. Not sure how reliable this is but to me this sounds pretty “stable” as we run a very recent kernel version. What do you think @Senior-Developers and @Developers?

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          G 1 Reply Last reply Aug 26, 2016, 9:56 AM Reply Quote 2
          • G
            george1421 Moderator @Sebastian Roth
            last edited by george1421 Aug 26, 2016, 3:57 AM Aug 26, 2016, 9:56 AM

            @Sebastian-Roth Great catch, I was only thinking about read/catch.

            for reference this is the output from a Dell 6410 on ubuntu. Parsing the response may be tricky to get right every time.

             sudo lspci | grep SATA
            00:1f.2 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 05)
            
            

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Sebastian Roth Aug 30, 2016, 3:31 AM Aug 30, 2016, 9:31 AM

              @george1421 Thanks for posting yours!
              @lukebarone @Testers @Developers @Moderators Could you all please do the same and post here?

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              Q L 2 Replies Last reply Aug 30, 2016, 9:39 AM Reply Quote 0
              • Q
                Quazz Moderator @Sebastian Roth
                last edited by Quazz Aug 30, 2016, 3:57 AM Aug 30, 2016, 9:39 AM

                @Sebastian-Roth

                On FOG Server:

                lspci | grep AHCI
                00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family SATA AHCI Controller (rev 04)
                

                On Virtualbox VM (now easier for me to test things in now that Tom (thanks!) has managed to get keymaps working in debug mode):

                lspci | grep SATA
                00:0d.0 SATA controller: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode] (rev 02)
                

                Couldn’t run it on our VPS, but that’s to be expected I think.

                G 1 Reply Last reply Aug 30, 2016, 2:46 PM Reply Quote 0
                • G
                  george1421 Moderator @Quazz
                  last edited by Aug 30, 2016, 2:46 PM

                  @Quazz

                  Dell e6430

                  lspci | grep SATA
                  00:1f.2 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 04)
                  

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                  1 Reply Last reply Reply Quote 0
                  • L
                    lukebarone @Sebastian Roth
                    last edited by Aug 31, 2016, 7:08 PM

                    @Sebastian-Roth I will do that on all the Dell computers we have, and post the output (sorry, working on School Startup, and dealing with the teacher laptops right now). Can I somehow use FOG to boot to a shell and run those commands? Or do I need to boot up Debian and run it from the Live environment?

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by Sep 1, 2016, 1:05 PM

                      @lukebarone Great to hear that you intend to participate in this! You can do it either way. I am pretty sure both ways should give us the same results but I’d recommend using the FOG debug mode as you are using the very same tools as would be used in the initrd later on anyway.

                      Schedule a task for those clients you want to check. Does not really matter if it’s an upload or deploy task. But just before you create the task check “Run as debug task”. The PC will boot up as normal into the FOG system but then drop you to a shell. The you can just run the command and post results here. Please make sure to double check when typing the results. Thanks!

                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      1 / 1
                      • First post
                        3/10
                        Last post

                      161

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project