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

issue with netcard of dock gen2 of lenovo l390

Scheduled Pinned Locked Moved
Hardware Compatibility
5
51
8.4k
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.
  • G
    george1421 Moderator @JJ Fullmer
    last edited by george1421 Nov 14, 2019, 8:26 AM Nov 14, 2019, 2:25 PM

    @JJ-Fullmer Ok well I added it because it wasn’t in the updated driver from realtek. As long as the hardware chip IDs are the same it should work no matter what model the dongle is.

    https://drive.google.com/open?id=1RBLVzsFmXfTrn1sG0GE18usD-QOBs7Y6

    File name is bzImageRT2

    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!

    J 2 Replies Last reply Nov 14, 2019, 2:57 PM Reply Quote 0
    • J
      JJ Fullmer Testers @george1421
      last edited by Nov 14, 2019, 2:57 PM

      @george1421 I was able to boot into a debug session on the surface go with this new kernel.
      I don’t have the lenovo l390 to test on at the moment but should be able to test it today. I’ll test it on my lenovo x390 too, but gotta make sure they all work.

      Here is the lsusb of the surface go usb-c ethernet adapter

      lsusb
      Bus 002 Device 002: ID 045e:0955
      Bus 001 Device 020: ID 045e:096f
      Bus 001 Device 001: ID 1d6b:0002
      Bus 001 Device 003: ID 0cf3:e302
      Bus 001 Device 002: ID 045e:0957
      Bus 002 Device 003: ID 045e:0927
      Bus 002 Device 001: ID 1d6b:0003
      

      Have you tried the FogApi powershell module? It's pretty cool IMHO
      https://github.com/darksidemilk/FogApi
      https://fogapi.readthedocs.io/en/latest/
      https://www.powershellgallery.com/packages/FogApi
      https://forums.fogproject.org/topic/12026/powershell-api-module

      1 Reply Last reply Reply Quote 0
      • J
        JJ Fullmer Testers @george1421
        last edited by Nov 14, 2019, 3:19 PM

        @george1421 I was able to nab an L390 I put into production before the user got here and do a quick test with the adapter on this new kernel. Great success it worked! So this kernel appears to be working on both the usb-c ethernet adapters I have that are manufacturer specific Microsoft and Lenovo.

        Which thing did you change then?

        Have you tried the FogApi powershell module? It's pretty cool IMHO
        https://github.com/darksidemilk/FogApi
        https://fogapi.readthedocs.io/en/latest/
        https://www.powershellgallery.com/packages/FogApi
        https://forums.fogproject.org/topic/12026/powershell-api-module

        G 1 Reply Last reply Nov 14, 2019, 3:27 PM Reply Quote 0
        • G
          george1421 Moderator @JJ Fullmer
          last edited by Nov 14, 2019, 3:27 PM

          @JJ-Fullmer I just added the microsoft hardware ID to the downloaded realtek driver per Sebastian’s request in the linked thread. No other changes were made.

          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!

          J 1 Reply Last reply Nov 14, 2019, 3:30 PM Reply Quote 1
          • J
            JJ Fullmer Testers @george1421
            last edited by Nov 14, 2019, 3:30 PM

            @george1421 So this one is good to be tested as the default kernel now?

            Have you tried the FogApi powershell module? It's pretty cool IMHO
            https://github.com/darksidemilk/FogApi
            https://fogapi.readthedocs.io/en/latest/
            https://www.powershellgallery.com/packages/FogApi
            https://forums.fogproject.org/topic/12026/powershell-api-module

            G 1 Reply Last reply Nov 14, 2019, 3:49 PM Reply Quote 0
            • G
              george1421 Moderator @JJ Fullmer
              last edited by Nov 14, 2019, 3:49 PM

              @JJ-Fullmer Yes until the next thing goes wrong.

              That wasn’t meant to sound bad. Its all part of kernel development. As new hardware comes out the drivers need to be updated to accommodate the new hardware IDs, even if the new device is exactly the same as the old devices.

              So just to roll things up what was done with this kernel.

              1. Activated the usb-c code in the kernel.
              2. Updated the realtek 8152 driver from version 1.9.9 to 2.12.0
              3. Added the microsoft 8152 compatible hardware code to the downloaded r8152.c file
              4. Recompiled the kernel using FOG configuration base file against the linux kernel 4.19.65.

              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!

              J 1 Reply Last reply Nov 14, 2019, 5:44 PM Reply Quote 1
              • J
                JJ Fullmer Testers @george1421
                last edited by Nov 14, 2019, 5:44 PM

                @george1421 Any reason you didn’t want to try compiling kernel version 5.1.16 ? Noticed that there’s one of those in the kernel update screen of fog configuration.

                Have you tried the FogApi powershell module? It's pretty cool IMHO
                https://github.com/darksidemilk/FogApi
                https://fogapi.readthedocs.io/en/latest/
                https://www.powershellgallery.com/packages/FogApi
                https://forums.fogproject.org/topic/12026/powershell-api-module

                G 1 Reply Last reply Nov 14, 2019, 5:53 PM Reply Quote 0
                • G
                  george1421 Moderator @JJ Fullmer
                  last edited by Nov 14, 2019, 5:53 PM

                  @JJ-Fullmer said in issue with netcard of dock gen2 of lenovo l390:

                  Any reason you didn’t want to try compiling kernel version 5.1.16

                  Well there are a few reasons.

                  1. The 5.1.16 kernel is radically different than 4.19.65 and it hasn’t been fully tested with fog and imaging. It was created to see if an updated kernel would address a slow nvme imaging issue that impacts a specific nvme drive. It didn’t resolve the issue by the way.
                  2. FOG 1.5.7 (the latest GA release) ships with 4.19.64, I wanted to build one off kernels using the kernel version closest to 1.5.7 release so if we have a difference in operation we could tell if it was the one off kernel or something within FOG.
                  3. The config file on the fogproject github site is configured for FOG 4.19.64 it would probably work on the 5.x.x series, but sometimes the linux folks restructure the kernel and retire some options and bring on new options requiring different parameters.

                  The intent of me building these one off kernels is to test new ideas and see if certain hardware need specific changes. Its possible based on testing these changes can be integrated into the FOG main line kernel. If I go off willy-nilly on my own using random bits it would be impossible for the developers to reintegrate these changes back into the main line kernel.

                  I know it was a long answer to a simple question, but the intent is with a specific purpose.

                  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 2
                  • J
                    JJ Fullmer Testers
                    last edited by JJ Fullmer Nov 15, 2019, 9:43 AM Nov 14, 2019, 9:13 PM

                    @george1421 So I made the new one the default kernel and am Re-imaging the same surfacego that worked this morning and found something odd.
                    For reference when I imaged it with the same image before it took 3 minutes (according to the image history).

                    This is where it is at now…

                    1114191407[1].jpg

                    The speed has progressively dropped and is still dropping a little at a time. It’s been running for nearly an hour. It’s using the same storagenode and all that. Only difference is the kernel. Sadly I’m not actually 100% sure which kernel I used that was successful. Pretty sure it was the fog 1.5.7 shipped kernel though. I should really give them better names and take extra notes when testing kernels, so easy to mix them up. At any rate though, this is not a normal behavior.

                    also, side note that I just noticed, it is frozen in the gui task progress bar at 65% which I assume is when it must have started to crazy slowdown, I had optimistically left it to run.
                    0a7dd448-e160-4f4b-9002-64e34e068364-image.png

                    edit : We discovered a network issue that may have caused the computer to lose its dhcp address and or connection during imaging (rouge dhcp server), will test again when that’s worked out.

                    Have you tried the FogApi powershell module? It's pretty cool IMHO
                    https://github.com/darksidemilk/FogApi
                    https://fogapi.readthedocs.io/en/latest/
                    https://www.powershellgallery.com/packages/FogApi
                    https://forums.fogproject.org/topic/12026/powershell-api-module

                    J 1 Reply Last reply Nov 14, 2019, 9:38 PM Reply Quote 0
                    • J
                      JJ Fullmer Testers @JJ Fullmer
                      last edited by Nov 14, 2019, 9:38 PM

                      @george1421 I re-imaged the device with the original fog 1.5.7 kernel and it worked as normal again. So Although I can boot into fog on the new kernel, imaging freezes. It is not impossible that it was a network problem though, so the next surface I test, I’ll use the new kernel and a different switch.

                      Have you tried the FogApi powershell module? It's pretty cool IMHO
                      https://github.com/darksidemilk/FogApi
                      https://fogapi.readthedocs.io/en/latest/
                      https://www.powershellgallery.com/packages/FogApi
                      https://forums.fogproject.org/topic/12026/powershell-api-module

                      1 Reply Last reply Reply Quote 0
                      • J
                        JJ Fullmer Testers
                        last edited by Nov 15, 2019, 3:45 PM

                        @jps Have you had a chance to try the kernel @george1421 made?

                        Have you tried the FogApi powershell module? It's pretty cool IMHO
                        https://github.com/darksidemilk/FogApi
                        https://fogapi.readthedocs.io/en/latest/
                        https://www.powershellgallery.com/packages/FogApi
                        https://forums.fogproject.org/topic/12026/powershell-api-module

                        1 Reply Last reply Reply Quote 0
                        • J
                          jps
                          last edited by Nov 18, 2019, 9:53 AM

                          Hello,
                          OK that works. Thank you.

                          1 Reply Last reply Reply Quote 0
                          • J
                            JJ Fullmer Testers
                            last edited by Nov 18, 2019, 9:49 PM

                            Another fun side note for anyone interested that also has both the microsoft usb-c adapter for the surface devices and the lenovo usb-c type adapters for lenovos. I know that the microsoft adapter will Not pxe boot the lenovo. However I just discovered that the lenovo usb-c adapter will pxe boot the microsoft surface go. So if there is a problem with the kernel and the microsoft adapter, you could just use the lenovo adapter instead. Or theoretically a device with the same realtek ids mentioned earlier on.

                            Have you tried the FogApi powershell module? It's pretty cool IMHO
                            https://github.com/darksidemilk/FogApi
                            https://fogapi.readthedocs.io/en/latest/
                            https://www.powershellgallery.com/packages/FogApi
                            https://forums.fogproject.org/topic/12026/powershell-api-module

                            1 Reply Last reply Reply Quote 0
                            • J
                              JJ Fullmer Testers
                              last edited by Nov 18, 2019, 11:55 PM

                              @george1421
                              Did another test of the surface go with the surface usb-c adapter on the new kernel.
                              It did technically finish the image but at the very end of imaging this db error stuff happened

                              IMG_5404 (002).jpg

                              The image got to 100% complete and thus far everything looks like it’s working, the only thing I can see thus far that didn’t work was writing the image history to the host. Could be unrelated to the kernel and such but this didn’t happen on the other 2 surfaces I imaged today with the lenovo usb-c adapter and a usb 2.0 ethernet adapter.

                              Have you tried the FogApi powershell module? It's pretty cool IMHO
                              https://github.com/darksidemilk/FogApi
                              https://fogapi.readthedocs.io/en/latest/
                              https://www.powershellgallery.com/packages/FogApi
                              https://forums.fogproject.org/topic/12026/powershell-api-module

                              1 Reply Last reply Reply Quote 0
                              • S
                                Sebastian Roth Moderator
                                last edited by Nov 19, 2019, 1:52 PM

                                @JJ-Fullmer Do you still see the task in the web UI? It sounds like someone canceled the task at some point after the Surface started to deploy.

                                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

                                J 1 Reply Last reply Nov 20, 2019, 7:31 PM Reply Quote 0
                                • J
                                  JJ Fullmer Testers @Sebastian Roth
                                  last edited by Nov 20, 2019, 7:31 PM

                                  @Sebastian-Roth While not impossible, that is very unlikely. We have only 2 people with access to do that and we were both watching this happen.
                                  It did go away in the webui though, so perhaps something caused it to cancel.

                                  Have you tried the FogApi powershell module? It's pretty cool IMHO
                                  https://github.com/darksidemilk/FogApi
                                  https://fogapi.readthedocs.io/en/latest/
                                  https://www.powershellgallery.com/packages/FogApi
                                  https://forums.fogproject.org/topic/12026/powershell-api-module

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Sebastian Roth Moderator
                                    last edited by Nov 20, 2019, 10:35 PM

                                    @JJ-Fullmer Are you able to reproduce that very issue again and again?

                                    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

                                    J 1 Reply Last reply Nov 21, 2019, 8:10 PM Reply Quote 0
                                    • J
                                      JJ Fullmer Testers @Sebastian Roth
                                      last edited by Nov 21, 2019, 8:10 PM

                                      @Sebastian-Roth Sadly I am out of surface go’s to test at this time. Gotta get the ones we have in production.

                                      Have you tried the FogApi powershell module? It's pretty cool IMHO
                                      https://github.com/darksidemilk/FogApi
                                      https://fogapi.readthedocs.io/en/latest/
                                      https://www.powershellgallery.com/packages/FogApi
                                      https://forums.fogproject.org/topic/12026/powershell-api-module

                                      1 Reply Last reply Reply Quote 0
                                      • 1
                                      • 2
                                      • 3
                                      • 3 / 3
                                      3 / 3
                                      • First post
                                        43/51
                                        Last post

                                      223

                                      Online

                                      12.0k

                                      Users

                                      17.3k

                                      Topics

                                      155.2k

                                      Posts
                                      Copyright © 2012-2024 FOG Project