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

Stuck at bg.png / Issues with Lenovo X1 Carbon (6th gen) & Lenovo Onelink+ dock (RTL8135 USB)

Scheduled Pinned Locked Moved Unsolved
FOG Problems
6
16
4.6k
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.
  • S
    Shadow00Caster
    last edited by Shadow00Caster Aug 2, 2016, 5:17 PM Aug 2, 2016, 11:15 PM

    I have been trying to image a new Lenovo X1 Carbon (6th gen) using the Lenovo Onelink+ dock (as well as a Lenovo USB 3.0 eth adapter) and have not been able to get past initial loading; Adapter is Realtek RTL8135 USB.

    Initially my DHCP option was set to undionly.kpxe and I was stuck and initializing devices, so a little searching led to switching to undionly.kkpxe which got me past that problem. The next issue was I was getting stuck at http://<ip>/fog/service/ipxe/boot.php (note that the tftp of default.ipxe prior to the http was “ok”) at 90%. After some more searching I found something that noted to turn off the ipxe menu options for hide and hide menu, I only had hide menu and advanced menu login enabled so I disabled both. With those disabled, I now got past boot.php stuck at 90% and get stuck at http://<ip>/fog/service/ipxe/bg.png at 12%.

    My setup works with varying other systems through a wide range of dated hardware without issues, this is the only device giving me a boot problem.

    I am running:
    Debian 7
    FOG version 1.3.0-RC-5 (git) / SVN Revision: 5943
    bzImage version: 4.6.4
    bzImage32 version: 4.6.4

    I have tried all the different kernel variants to no avail, undionly.kkpxe gets the furthest, any advice is greatly appreciated.

    FOG System: Debian 7 32bit
    FOG Version: 1.3.1-RC-5 (Git) | SVN Rev: 6052
    bzImage Versions: 4.9.1

    Q 1 Reply Last reply Aug 8, 2016, 9:28 AM Reply Quote 0
    • W
      Wayne Workman
      last edited by Aug 2, 2016, 11:55 PM

      remove the background setting, I guess. See if that helps.

      Web interface -> FOG Configuration -> iPXE Boot Menu -> Menu Background File

      Just blank out the value and try that. You won’t have the pretty background picture, but I suppose that comes second to imaging.

      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
      • S
        Sebastian Roth Moderator
        last edited by Aug 3, 2016, 4:15 PM

        @Shadow00Caster Sorry to say this but I think those USB NIC adapters (not just the Realtek RTL8135) are mostly all a nightmare! The iPXE project is doing an awesome job trying to add drivers for those USB NICs but it’s just hell.

        In this case we can just try to navigate around this I am afraid. As Wayne said try blanking out the background file setting. I am not exactly sure how this behaves in RC5 version but give it a go!

        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 1
        • G
          george1421 Moderator
          last edited by Aug 3, 2016, 4:37 PM

          As Sebastian said, these setup a trouble from the moment that you power on the device.

          There are a few things you didn’t post in your OP. These Lenovo carbon units, are then in uefi or bios mode?

          Lets first identify the mode this device is booting in, that will dictate which ipxe boot kernel you can use. I could read more into your OP, but lets start with the facts.

          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 1
          • S
            Shadow00Caster
            last edited by Aug 3, 2016, 7:32 PM

            @george1421 It’s set in legacy buis mode, uefi is “disabled”, secure boot is disabled, os defaults is disabled.
            @Wayne-Workman I remove the bg.png file as suggested, however now after the boot.php… ok, it’s stuck at /fog/service/ipxe/… 80%

            FOG System: Debian 7 32bit
            FOG Version: 1.3.1-RC-5 (Git) | SVN Rev: 6052
            bzImage Versions: 4.9.1

            W 1 Reply Last reply Aug 3, 2016, 7:33 PM Reply Quote 0
            • W
              Wayne Workman @Shadow00Caster
              last edited by Aug 3, 2016, 7:33 PM

              @Shadow00Caster Just problem after problem… man.

              You are most likely going to run into one that we can’t just throw out.

              Can you please provide a photo of where it’s hanging now?

              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
              • S
                Shadow00Caster
                last edited by Aug 3, 2016, 7:41 PM

                @Wayne-Workman
                Image: http://i.imgur.com/ipu55xH.jpg

                Output from boot.php in browser:

                #!ipxe
                set fog-ip 10.1.1.254
                set fog-webroot fog
                set boot-url http://${fog-ip}/${fog-webroot}
                cpuid --ext 29 && set arch x86_64 || set arch i386
                goto get_console
                :console_set
                colour --rgb 0x00567a 1 ||
                colour --rgb 0x00567a 2 ||
                colour --rgb 0x00567a 4 ||
                cpair --foreground 7 --background 2 2 ||
                goto MENU
                :alt_console
                cpair --background 0 1 ||
                cpair --background 1 2 ||
                goto MENU
                :get_console
                console --picture http://10.1.1.254/fog/service/ipxe/ --left 100 --right 80 && goto console_set || goto alt_console
                :MENU
                menu
                colour --rgb 0xff0000 0 ||
                cpair --foreground 1 1 ||
                cpair --foreground 0 3 ||
                cpair --foreground 4 4 ||
                item --gap Host is NOT registered!
                item --gap – -------------------------------------
                item fog.local Boot from hard disk
                item fog.memtest Run Memtest86+
                item fog.reginput Perform Full Host Registration and Inventory
                item fog.reg Quick Registration and Inventory
                item fog.deployimage Deploy Image
                item fog.multijoin Join Multicast Session
                item fog.sysinfo Client System Information (Compatibility)
                choose --default fog.local --timeout 5000 target && goto ${target}
                :fog.local
                sanboot --no-describe --drive 0x80 || goto MENU
                kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=10.1.1.254/fog/ consoleblank=0 rootfstype=ext4 loglevel=4
                imgfetch init_32.xz
                boot || goto MENU
                :fog.memtest
                kernel memdisk iso raw
                initrd memtest.bin
                boot || goto MENU
                kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=10.1.1.254/fog/ consoleblank=0 rootfstype=ext4 loglevel=4
                imgfetch init_32.xz
                boot || goto MENU
                :fog.reginput
                kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=10.1.1.254/fog/ consoleblank=0 rootfstype=ext4 loglevel=4 mode=manreg
                imgfetch init_32.xz
                boot || goto MENU
                :fog.reg
                kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=10.1.1.254/fog/ consoleblank=0 rootfstype=ext4 loglevel=4 mode=autoreg
                imgfetch init_32.xz
                boot || goto MENU
                :fog.deployimage
                login
                params
                param mac0 ${net0/mac}
                param arch ${arch}
                param username ${username}
                param password ${password}
                param qihost 1
                isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                :fog.multijoin
                login
                params
                param mac0 ${net0/mac}
                param arch ${arch}
                param username ${username}
                param password ${password}
                param sessionJoin 1
                isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                :fog.sysinfo
                kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=10.1.1.254/fog/ consoleblank=0 rootfstype=ext4 loglevel=4 mode=sysinfo
                imgfetch init_32.xz
                boot || goto MENU
                :bootme
                chain -ar http://10.1.1.254/fog/service/ipxe/boot.php##params ||
                goto MENU
                autoboot

                FOG System: Debian 7 32bit
                FOG Version: 1.3.1-RC-5 (Git) | SVN Rev: 6052
                bzImage Versions: 4.9.1

                W 2 Replies Last reply Aug 4, 2016, 2:18 AM Reply Quote 0
                • W
                  Wayne Workman @Shadow00Caster
                  last edited by Wayne Workman Aug 3, 2016, 8:19 PM Aug 4, 2016, 2:18 AM

                  @Shadow00Caster It’s dying while trying to download the kernel and init from the server.

                  I keep thinking this is some sort of memory issue on the device, I’ve been thinking that the whole time through this thread. Like it just can’t handle the files with this boot ROM you’re using.

                  I’d suggest trying other boot ROMs. You have it in BIOS mode, so you have a lot of solid ones to try. Basically you can try any file inside /tftpboot that doesn’t end with .efi and isn’t default.ipxe Just go through all of them, one by one. Make sure you completely turn off the device between each try.

                  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/

                  G 1 Reply Last reply Aug 4, 2016, 10:00 AM Reply Quote 0
                  • W
                    Wayne Workman @Shadow00Caster
                    last edited by Wayne Workman Aug 3, 2016, 8:28 PM Aug 4, 2016, 2:27 AM

                    @Shadow00Caster Also please provide the output of this:
                    ls -lat /var/www/html/fog/service/ipxe

                    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 @Wayne Workman
                      last edited by Aug 4, 2016, 10:00 AM

                      @Wayne-Workman said in Stuck at bg.png / Issues with Lenovo X1 Carbon (6th gen) & Lenovo Onelink+ dock (RTL8135 USB):

                      @Shadow00Caster It’s dying while trying to download the kernel and init from the server.

                      We had another poster a while ago with the same exact issue. During debugging we commented out the bg.png file and the issue moved to the next file that got downloaded. I can’t seem to find that in the forum yesterday on how we solved that issue. I was thinking that at that time the OP was using dnsmasq and somehow was pulling and old iPXE kernel.

                      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 4, 2016, 1:30 PM

                        From what I see in the picture it is not trying to load the kernel but still hanging on the image. As the setting was blanked in the web gui it just says http://10.1.1.254/fog/service/ipxe/ without any filename in the end. So blanking the setting has not helped. As George said you can go ahead and edit PHP files to comment out that console ... line. /var/www/html/fog/lib/fog/bootmenu.class.php (line 873).

                        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
                          Shadow00Caster
                          last edited by Aug 4, 2016, 7:56 PM

                          @Sebastian-Roth @george1421
                          I commented out the line and was able to get to the boot menu, as soon as I hit perform full registration its just a black screen with bzImage… 0% at the bottom.

                          @Wayne-Workman
                          I tried a few of the different ROMs, mostly to the same conclusion :/.
                          Output of ls:
                          root@fog:~# ls -lat /var/www/fog/service/ipxe/
                          total 48684
                          -rwxr-xr-x 1 fog www-data 6995328 Aug 2 13:56 bzImage32
                          -rwxr-xr-x 1 fog www-data 7097776 Aug 2 13:56 bzImage
                          -rw-r–r-- 1 fog www-data 16501540 Aug 2 13:56 init_32.xz
                          -rw-r–r-- 1 fog www-data 18507592 Aug 2 13:56 init.xz
                          -rw-r–r-- 1 fog www-data 1221 Aug 2 13:55 advanced.php
                          -rw-r–r-- 1 fog www-data 21280 Aug 2 13:55 bg.png
                          -rw-r–r-- 1 fog www-data 719 Aug 2 13:55 boot.php
                          -rw-r–r-- 1 fog www-data 234697 Aug 2 13:55 grub.exe
                          -rw-r–r-- 1 fog www-data 25340 Aug 2 13:55 memdisk
                          -rw-r–r-- 1 fog www-data 1839104 Aug 2 13:55 memtest.bin
                          -rw-r–r-- 1 fog www-data 20958 Aug 2 13:55 refind.conf
                          -rw-r–r-- 1 fog www-data 205192 Aug 2 13:55 refind.efi
                          drwxr-xr-x 3 fog www-data 4096 Aug 2 13:55 .
                          drwxr-xr-x 3 www-data www-data 4096 Aug 2 13:55 …
                          drwxr-xr-x 2 fog www-data 4096 Aug 2 13:55 old

                          At this point I think I am just going to old school this thing since it’s the only instance of this particular machine and every other machine that I image regularly has no issues.

                          FOG System: Debian 7 32bit
                          FOG Version: 1.3.1-RC-5 (Git) | SVN Rev: 6052
                          bzImage Versions: 4.9.1

                          G 1 Reply Last reply Aug 4, 2016, 8:47 PM Reply Quote 0
                          • G
                            george1421 Moderator @Shadow00Caster
                            last edited by Aug 4, 2016, 8:47 PM

                            @Shadow00Caster That is what we saw in the other thread. The download issue just moved to the next item downloaded.

                            How many of these systems do you need to image? I have a way to boot the FOS engine via usb and bypass all of the iPXE logic.

                            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
                            • sudburrS
                              sudburr
                              last edited by sudburr Aug 4, 2016, 8:56 PM Aug 5, 2016, 2:53 AM

                              Boy does this thread sound familiar 😎

                              [ Standing in between extinction in the cold and explosive radiating growth ]

                              1 Reply Last reply Reply Quote 2
                              • S
                                Sebastian Roth Moderator
                                last edited by Aug 5, 2016, 9:47 AM

                                @Shadow00Caster You might want to try changing the device to UEFI and see if ipxe.efi works for you? But possibly it does not even netboot in UEFI mode?!?!

                                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 1
                                • Q
                                  Quazz Moderator @Shadow00Caster
                                  last edited by Aug 8, 2016, 9:28 AM

                                  @Shadow00Caster Any news on this?

                                  1 Reply Last reply Reply Quote 1
                                  • 1 / 1
                                  1 / 1
                                  • First post
                                    7/16
                                    Last post

                                  238

                                  Online

                                  12.0k

                                  Users

                                  17.3k

                                  Topics

                                  155.2k

                                  Posts
                                  Copyright © 2012-2024 FOG Project