Navigation

    FOG Project

    • Register
    • Login
    • Search
    • Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. MarkG
    M
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    MarkG

    @MarkG

    0
    Reputation
    18
    Posts
    123
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    MarkG Follow

    Best posts made by MarkG

    This user hasn't posted anything yet.

    Latest posts made by MarkG

    • RE: Hard Disk not recognised on 2018 Macbook Pro

      @george1421 Thanks for the help … ohh Apple… on booting to the debug kernel I’m asked to ‘press Enter to continue’. However, it appears that as well no driver for the nvme, there’s also no driver for the keyboard. So, locating a USB keyboard I was able to determine the following:

      [Wed Apr 03 root@fogclient ~]# lsblk
      NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
      sda      8:0    1  1.9G  0 disk 
      `-sda1   8:1    1  121M  0 part 
      [Wed Apr 03 root@fogclient ~]# lspci -nn
      00:00.0 Host bridge [0600]: Intel Corporation Device [8086:3ec4] (rev 07)
      00:01.0 PCI bridge [0604]: Intel Corporation Skylake PCIe Controller (x16) [8086:1901] (rev 07)
      00:01.1 PCI bridge [0604]: Intel Corporation Skylake PCIe Controller (x8) [8086:1905] (rev 07)
      00:01.2 PCI bridge [0604]: Intel Corporation Skylake PCIe Controller (x4) [8086:1909] (rev 07)
      00:12.0 Signal processing controller [1180]: Intel Corporation Device [8086:a379] (rev 10)
      00:14.0 USB controller [0c03]: Intel Corporation Device [8086:a36d] (rev 10)
      00:14.2 RAM memory [0500]: Intel Corporation Device [8086:a36f] (rev 10)
      00:16.0 Communication controller [0780]: Intel Corporation Device [8086:a360] (rev 10)
      00:1b.0 PCI bridge [0604]: Intel Corporation Device [8086:a340] (rev f0)
      00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:a338] (rev f0)
      00:1e.0 Communication controller [0780]: Intel Corporation Device [8086:a328] (rev 10)
      00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:a313] (rev 10)
      00:1f.4 SMBus [0c05]: Intel Corporation Device [8086:a323] (rev 10)
      00:1f.5 Serial bus controller [0c80]: Intel Corporation Device [8086:a324] (rev 10)
      01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Radeon RX 460] [1002:67ef] (rev e3)
      01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:aae0]
      02:00.0 Mass storage controller [0180]: Apple Inc. Device [106b:2005] (rev 01)
      02:00.1 Non-VGA unclassified device [0000]: Apple Inc. Device [106b:1801] (rev 01)
      02:00.2 Non-VGA unclassified device [0000]: Apple Inc. Device [106b:1802] (rev 01)
      02:00.3 Multimedia audio controller [0401]: Apple Inc. Device [106b:1803] (rev 01)
      03:00.0 Network controller [0280]: Broadcom Limited Device [14e4:4464] (rev 03)
      04:00.0 PCI bridge [0604]: Intel Corporation DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015] [8086:1578] (rev 06)
      05:00.0 PCI bridge [0604]: Intel Corporation Device [8086:15ea] (rev 06)
      05:01.0 PCI bridge [0604]: Intel Corporation Device [8086:15ea] (rev 06)
      05:02.0 PCI bridge [0604]: Intel Corporation Device [8086:15ea] (rev 06)
      05:04.0 PCI bridge [0604]: Intel Corporation Device [8086:15ea] (rev 06)
      06:00.0 System peripheral [0880]: Intel Corporation Device [8086:15eb] (rev 06)
      07:00.0 USB controller [0c03]: Intel Corporation Device [8086:15ec] (rev 06)
      7a:00.0 PCI bridge [0604]: Intel Corporation DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015] [8086:1578] (rev 06)
      7b:00.0 PCI bridge [0604]: Intel Corporation Device [8086:15ea] (rev 06)
      7b:01.0 PCI bridge [0604]: Intel Corporation Device [8086:15ea] (rev 06)
      7b:02.0 PCI bridge [0604]: Intel Corporation Device [8086:15ea] (rev 06)
      7b:04.0 PCI bridge [0604]: Intel Corporation Device [8086:15ea] (rev 06)
      7c:00.0 System peripheral [0880]: Intel Corporation Device [8086:15eb] (rev 06)
      7d:00.0 USB controller [0c03]: Intel Corporation Device [8086:15ec] (rev 06)
      
      posted in FOG Problems
      M
      MarkG
    • RE: Hard Disk not recognised on 2018 Macbook Pro

      @Tom-Elliott That’s just command-line system_profiler, which is used by the GUI version and only gives me the exact same info I posted in the images earlier. No hardware IDs at all.

      posted in FOG Problems
      M
      MarkG
    • RE: Hard Disk not recognised on 2018 Macbook Pro

      @george1421 Thanks, but no chance. I don’t have a license to install Windows, Linux won’t boot, and MacOS system profiler no longer displays hardware IDs.

      It’s really like Apple don’t want people to mess with their hardware 😄

      posted in FOG Problems
      M
      MarkG
    • RE: Hard Disk not recognised on 2018 Macbook Pro

      @Sebastian-Roth I think this is the answer. No drivers for Apple’s nvme controller in the kernel yet 😞

      https://askubuntu.com/questions/1052373/install-ubuntu-bionic-18-04-on-macbook-pro-2018

      posted in FOG Problems
      M
      MarkG
    • RE: FOG API

      @Tom-Elliott unfortunately this is in a production environment and we can’t currently afford the down time, but I appreciate your efforts and thanks for the reply - at least it has given me confidence that I’m not doing it “wrong”.

      As it happens I’m currently automating the entire FOG process by writing entries directly into the database and that is working fine for now, but I was looking at moving to the API as I’m sure it will be better for forwards compatibility - so when time allows I’l update my test server for 1.6 and work with that until we can update the production server.

      Thanks for the advice.

      posted in General
      M
      MarkG
    • RE: Hard Disk not recognised on 2018 Macbook Pro

      @Sebastian-Roth Hmmm. Good call. Ubuntu 18.10 won’t even boot let alone recognise a disk. I get the initial GRUB menu but then very little after that. Black screen now for ~ 5 minutes.

      posted in FOG Problems
      M
      MarkG
    • RE: FOG API

      @Tom-Elliott Sorry, should have mentioned that, 1.5.5

      posted in General
      M
      MarkG
    • RE: FOG API

      @Tom-Elliott By “I can’t clear them” I mean that I’d expect sending an empty array would clear all snapin associations from that host, but it doesn’t, as evidenced by me looking in the FOG GUI and seeing the snapin association still there.

      Here’s your GET command after my PUT with an empty array.

      { "id": "52", "name": "HPProDesk", "description": "Created by FOG Reg on April 1, 2019, 2:19 pm", "ip": "", "imageID": "85", "building": "0", "createdTime": "2019-04-01 14:19:01", "deployed": "0000-00-00 00:00:00", "createdBy": "fog", "useAD": "", "ADDomain": "", "ADOU": "", "ADUser": "", "ADPass": "", "ADPassLegacy": "", "productKey": "", "printerLevel": "", "kernelArgs": "", "kernel": "", "kernelDevice": "", "init": "", "pending": "", "pub_key": "72c8515c7251f909e54b10ccfa26776a118fba25c333f7f9c3c3021c6d53e8f6", "sec_tok": "c3cd9236c7c2f3ea4d8f90e93b4b910179759f30af2cf47b4a3b3b2b24ea2afc6419d0ede3a0b465f354299c7a027999defd59bd11f93902382f3e827c8a3aa4", "sec_time": "2019-04-01 15:25:55", "pingstatus": "<i class=\"icon-ping-down fa fa-exclamation-circle red\" data-toggle=\"tooltip\" data-placement=\"right\" title=\"Connection timed out\"><\/i>", "biosexit": "grub", "efiexit": "refind_efi", "enforce": "", "primac": "a0:d3:c1:4e:49:45", "imagename": "HPProDesk_Win8_64_Pro_Prepped", "hostscreen": { "id": "", "hostID": "", "width": "", "height": "", "refresh": "", "orientation": "", "other1": "", "other2": "" }, "hostalo": { "id": "", "hostID": "", "time": "" }, "inventory": { "id": "50", "hostID": "52", "primaryUser": "fog", "other1": "", "other2": "", "createdTime": "2019-04-01 14:19:01", "deleteDate": "0000-00-00 00:00:00", "sysman": "Hewlett-Packard", "sysproduct": "HP ProDesk 405 G2 MT", "sysversion": "", "sysserial": "CZC43626MJ", "sysuuid": "8d1f307a-6b12-7ee0-d0c5-d2601e0e7c03", "systype": "Type: Desktop", "biosversion": "02.28", "biosvendor": "AMI", "biosdate": "09\/05\/2018", "mbman": "Hewlett-Packard", "mbproductname": "2240", "mbversion": "1.0", "mbserial": "CZC43626MJ", "mbasset": "CZC43626MJ", "cpuman": "AuthenticAMD", "cpuversion": "AMD A4-6250J APU with AMD Radeon R3 Graphics", "cpucurrent": "Current Speed: 2000 MHz", "cpumax": "Max Speed: 2000 MHz", "mem": "MemTotal: 3440588 kB", "hdmodel": "Hitachi HDS721616PLA380", "hdserial": "PVE331Z9RYDSZU", "hdfirmware": "P22OAB3A", "caseman": "Hewlett-Packard", "casever": "", "caseserial": "CZC43626MJ", "caseasset": "CZC43626MJ", "memory": "3.28 GiB" }, "image": { "imageTypeID": "1", "imagePartitionTypeID": "1", "id": "85", "name": "HPProDesk_Win8_64_Pro_Prepped", "description": "", "path": "HPProDesk_Win8_64_Pro_Prepped", "createdTime": "2018-11-21 09:49:17", "createdBy": "fog", "building": "0", "size": "366997504.000000:19634143232.000000:", "osID": "7", "deployed": "2018-11-21 12:15:29", "format": "0", "magnet": "", "protected": "0", "compress": "6", "isEnabled": "1", "toReplicate": "1", "srvsize": "4096", "os": {}, "imagepartitiontype": {}, "imagetype": {} }, "macs": [ "a0:d3:c1:4e:49:45" ]
      
      
      posted in General
      M
      MarkG
    • RE: FOG API

      I’m struggling somewhat with the format of the API requests

      I know I can list all snapin associations with (assume I’m sending correct token headers, just for clarity)

      curl  http://localhost/fog/snapinassociation
      

      and this returns

      { "count": 1, "snapinassociations": [ { "id": "6135", "hostID": "52", "snapinID": "2484" } ]
      

      Now, what I want to do is to remove ALL snapins from hostID 52, but I can’t find a way to do this

      The closest I’ve come is to do the above query, then parse the output and do

       curl -X DELETE http://localhost/fog/snapinassociation/6135/delete
      

      But this feels clunky and I’m sure I’m missing something fundamental. The URIs aren’t quite making sense in my head, because I know I can create a snapin association with

      curl  -X PUT -d '{"snapins":[2484]}' http://localhost/fog/host/52/edit
      

      but I can’t clear them with

      curl  -X PUT -d '{"snapins":[]}' http://localhost/fog/host/52/edit
      

      What am I missing?

      posted in General
      M
      MarkG
    • RE: Hard Disk not recognised on 2018 Macbook Pro

      @Sebastian-Roth Here are some relevant screen grabs. At a guess, I’d say the dreaded T2 security chip might be the cause of the problem, it’s caused us no end of grief in other areas. (This is the fist Mac where I’ve had to user recovery mode to disable Secure Boot before I can boot from the USB stick, for example)
      Screenshot 2019-04-01 at 10.00.14.png

      Screenshot 2019-04-01 at 10.00.35.png

      Screenshot 2019-04-01 at 10.00.52.png

      Screenshot 2019-04-01 at 10.01.18.png

      posted in FOG Problems
      M
      MarkG