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

MBP 13" 2017 Touchbar - OSX Mojave - Fog can't find a disk

Scheduled Pinned Locked Moved Solved
Mac Problems
4
39
5.9k
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.
  • R
    rhulet @Sebastian Roth
    last edited by Aug 28, 2019, 9:48 PM

    @Sebastian-Roth Keyboard doesn’t work. I have a USB to USB-c that I have a keyboard plugged into, use that to get ssh working, and then ssh in from another machine.

    G 1 Reply Last reply Aug 28, 2019, 9:51 PM Reply Quote 0
    • G
      george1421 Moderator @rhulet
      last edited by Aug 28, 2019, 9:51 PM

      @rhulet If you are still in debug mode the echo command that Sebastian mentioned was this:
      echo 106b 2005 > /sys/bus/pci/drivers/nvme/new_id

      (I did see that Sebastian posted the exact command below)

      What others have said is the system runs for about 10 seconds, hangs and you get high fan spin. Others said it worked, but most said not.

      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!

      R 1 Reply Last reply Aug 28, 2019, 9:52 PM Reply Quote 0
      • R
        rhulet @george1421
        last edited by Aug 28, 2019, 9:52 PM

        @george1421 Yeah last time I used it the machine shut down after about 10 seconds

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Aug 28, 2019, 10:02 PM

          @rhulet said in MBP 13" 2017 Touchbar - OSX Mojave - Fog can't find a disk:

          Yeah last time I used it the machine shut down after about 10 seconds

          Ok, so we are back to the points of the github topic. So what I would suggest is that I compile a 5.x kernel including the patch mentioned and we’ll see what happens. Won’t get to that tonight though I think. Late here and little sleep.

          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
          • S
            Sebastian Roth Moderator
            last edited by Sebastian Roth Aug 28, 2019, 4:16 PM Aug 28, 2019, 10:15 PM

            @rhulet Oh well, just started the compilation and when I got back from the bathroom it was done already: https://fogproject.org/kernels/Kernel.TomElliott.5.1.16_mac-nvme-fix.64

            Edit: echo 106b 2005 > /sys/bus/pci/drivers/nvme/new_id should not be needed with this one as far as I understand the patch.

            No guarantee this will run with our inits… untested kernel!!

            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
            • G
              george1421 Moderator
              last edited by Aug 28, 2019, 10:40 PM

              I would download the new 5.x kernel and place it in the /var/www/html/fog/service/ipxe directory as bzImage5116 Then go into the host definition for this mac and set the kernel parameter to bzImage5116…

              Crud I forgot you are using a usb stick. Copy that to the usb stick as bzImage in the /boot directory (you might want to save the original kernel). Then boot into debug mode again and do a lsblk command to see if the nvme disk is seen.

              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 29, 2019, 6:32 PM

                @rhulet Any news on this?

                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
                • S
                  Sebastian Roth Moderator
                  last edited by Sep 5, 2019, 8:42 PM

                  @rhulet We’ve pushed this quite far and I’d hope you read this and test the kernel I compiled for you!

                  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
                  • R
                    rhulet
                    last edited by Sep 17, 2019, 4:35 PM

                    So sorry Sebastian! I was out of the office and got put on another project. I will test this today! Thank you!

                    1 Reply Last reply Reply Quote 1
                    • R
                      rhulet
                      last edited by Sep 20, 2019, 7:18 PM

                      When I boot into debug, I get an unable to access /index.php for connection testing

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by Sep 21, 2019, 4:37 AM

                        @rhulet Sounds like a network driver issue. But network did work earlier, right? Can you please take a picture of that error 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

                        1 Reply Last reply Reply Quote 0
                        • R
                          rhulet
                          last edited by rhulet Sep 23, 2019, 1:06 PM Sep 23, 2019, 6:44 PM

                          Nevermind I’m dumb. I forgot the butterfly keyboard doesn’t work with the kernal. I plugged in a usb and hit enter and its working. I can see the nvme drive. Lets see if I can drop an image!

                          1 Reply Last reply Reply Quote 1
                          • R
                            rhulet
                            last edited by Sep 23, 2019, 11:19 PM

                            Update. Good news, I was able successfully capture and deploy an image from one 2017 mbp to another. Thanks!

                            1 Reply Last reply Reply Quote 0
                            • G
                              george1421 Moderator
                              last edited by Sep 23, 2019, 11:55 PM

                              OK so where did we end up here? Did applying the T2 kernel github patch resolve the issue or just adding subsystem ID to the nvme driver kernel parameter fix the issue?

                              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!

                              R 1 Reply Last reply Sep 23, 2019, 11:56 PM Reply Quote 0
                              • R
                                rhulet @george1421
                                last edited by Sep 23, 2019, 11:56 PM

                                @george1421 Using the kernal provided by @Sebastian-Roth at https://fogproject.org/kernels/Kernel.TomElliott.5.1.16_mac-nvme-fix.64 was all I needed. Worked like a charm.

                                1 Reply Last reply Reply Quote 1
                                • S
                                  Sebastian Roth Moderator
                                  last edited by Sep 24, 2019, 5:03 AM

                                  It’s been almost a months and I am not 100% sure which patch I added. I think it was the one mentioned here: https://github.com/Dunedan/mbp-2016-linux/issues/71#issuecomment-510715810 (patch)

                                  Will check later on today on the build server. Should still be there.

                                  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
                                  • S
                                    Sebastian Roth Moderator
                                    last edited by Sep 24, 2019, 6:38 AM

                                    @george1421 Yes indeed it was this patch I used. I don’t really fancy having it in our official build.

                                    @rhulet Would you mind being the housekeeper for this special Mac patch? We can show you how to build and add the patch. It’s not very hard if you know how to use the Linux terminal.

                                    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
                                    • Q
                                      Quazz Moderator
                                      last edited by Sep 24, 2019, 7:41 AM

                                      As an aside, Linux kernel 5.3 has added native support for keyboard in these models.

                                      1 Reply Last reply Reply Quote 1
                                      • R
                                        rhulet
                                        last edited by Sep 26, 2019, 1:48 PM

                                        @Sebastian-Roth yeah I’d be happy to take it, just show me what to do.

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          Sebastian Roth Moderator
                                          last edited by Sep 26, 2019, 2:29 PM

                                          @rhulet I’ll show you how to bake your own kernel. Though George suggested adding the patch to our official kernel. I am still not sure if it’s wise to do or not.

                                          Use any kind of Linux machine you have at hand:

                                          git clone https://github.com/FOGProject/fos
                                          cd fos
                                          grep KERNEL_VERSION Jenkinsfile
                                          export KERNEL_VERSION=4.19.64
                                          ./build.sh -kn -a x64
                                          

                                          See if that runs trough withou an issue.

                                          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
                                          • 2
                                          • 2 / 2
                                          • First post
                                            Last post

                                          162

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project