@Sebastian-Roth I completed the changes to the kernel build as you suggested. I copied over the new bzImage file. I booted the machine over iPXE and chose “Debug Mode”. I am able to verify that the newly compiled kernel is active as the print statement that was defined is being printed to the screen. Unfortunately, that is the only output I receive. The screen just hangs with the print statement displayed and never progresses past that statement. The station Model is a Lenovo ThinkPad L380, here is some information from Lenovo on the model. How can I further troubleshoot this issue? Thank you!
Posts made by mpmackenna
-
RE: Unable to build FOS
-
RE: Unable to build FOS
@Sebastian-Roth Your build instructions work! I am the proud owner of a freshly built bzImage! Thank you.
Setup is 16124 bytes (padded to 16384 bytes). System is 8169 kB CRC 8c40e932 Kernel: arch/x86/boot/bzImage is ready (#1) mike@VLIN-018987 11:57:46 0 :~/fos/fos[master] $ find . -name bzImage ./kernelsourcex64/arch/x86/boot/bzImage ./kernelsourcex64/arch/x86_64/boot/bzImage ./dist/bzImage mike@VLIN-018987 11:58:18 0 :~/fos/fos[master] $
-
RE: Unable to build FOS
@george1421 Thanks so much for the bootable FOS image. I was able to boot to the debug option on the FOS stick and get an interactive shell in the FOS environment. Networking is working too. Which makes me wonder why the bootable USB is working on this drive but when I choose the debug option on the same model after PXE booting I see bzimage and init.xz download and then I just get a black screen. The only difference I noticed between the two environments is that my FOG installation lists the bzimage kernel as 4.19.1. When I run
uname -a
in the debug environment from your USB boot media it lists kernel version as 4.19.6. Do you have a recommendation on how I can further troubleshoot this issue? Are there changes to the kernel between 4.19.1 and 4.19.6 that contain items that might be making the difference for this host?
Thanks again for the bootable FOS image and all your help! -
RE: Unable to build FOS
@Sebastian-Roth The issue with the link was by default my connection is not allowing traffic to Taiwan. I made an exception and was able to download from the link in the build process. The build is running now. Thank you.
-
RE: Unable to build FOS
@george1421 I think I would like to do both. If I could add the init.xz as a pxe boot option to boot to a live FOS install that would be pretty sweet. I would also like to make a bootable FOS USB stick for debug as well. If you already have a valid img for use with RUFUS I will happily take a download of that. I hope I am understanding the questions correctly. My current issue is related to video going black when I boot a Lenovo L380 but I am interested in the tools for various uses going forward. Thank you for your help.
-
RE: Unable to build FOS
@Sebastian-Roth Build appears to be running still but CPU has dropped off. When I look at the end of the log file the build seems to be stalled and showing the following output.
/bin/bash ../libtool --quiet --mode=install ../install-sh -o root -g root -m 755 xfs_db /usr/sbin ../install-sh -o root -g root -m 755 xfs_admin.sh /usr/sbin/xfs_admin ../install-sh -o root -g root -m 755 xfs_ncheck.sh /usr/sbin/xfs_ncheck ../install-sh -o root -g root -m 755 xfs_metadump.sh /usr/sbin/xfs_metadump ./install-sh -o root -g root -m 755 -d /usr/share/doc/xfsprogs ./install-sh -o root -g root -m 644 README /usr/share/doc/xfsprogs >>> partclone 0.2.89 Downloading --2019-03-08 09:46:43-- http://partclone.nchc.org.tw/download/stable/old/0.2.89/partclone_0.2.89.orig.tar.gz Resolving partclone.nchc.org.tw (partclone.nchc.org.tw)... 140.110.240.54 Connecting to partclone.nchc.org.tw (partclone.nchc.org.tw)|140.110.240.54|:80... failed: Connection timed out. Retrying. --2019-03-08 09:48:53-- (try: 2) http://partclone.nchc.org.tw/download/stable/old/0.2.89/partclone_0.2.89.orig.tar.gz Connecting to partclone.nchc.org.tw (partclone.nchc.org.tw)|140.110.240.54|:80... failed: Connection timed out. Retrying. --2019-03-08 09:51:05-- (try: 3) http://partclone.nchc.org.tw/download/stable/old/0.2.89/partclone_0.2.89.orig.tar.gz Connecting to partclone.nchc.org.tw (partclone.nchc.org.tw)|140.110.240.54|:80...
Thank you.
-
RE: Unable to build FOS
@Sebastian-Roth I omitted all the docker stuff and started the build on my Ubuntu station. It is off and running. I will check back on it in a number of hours. I am looking forward to testing it out. I will post back once the build is complete and I get the opportunity to try it. Thank you for your help.
-
Unable to build FOS
I am trying to build a FOS USB boot disk for troubleshooting an issue I am having with a Lenovo L380. I am following the information I found at https://github.com/FOGProject/fos When I get to the build everything command and I run
docker run -v /path/to/fos/repo:/home/builder/fos:Z -u builder -it fogproject/fos-builder /home/builder/fos/build.sh -n
I get the error
Checking packages needed for building No buildroot version, set environment BUILDROOT_VERSION
I am new to docker and also new to Buildroot. I know how to set an environment variable on my Linux station but not clear on what value to use for the variable. Any help is appreciated.
Thank you.
-
RE: Install hangs at "Ensuring node username and passwords match"
@george1421 I replicated my images using rsync and verified that all images are in both locations. I also have a backup of my images off of both of the nodes. I went in and I created a new Storage Group. I associated the Storage Node that is not the Master Server with the new Storage Group. I then associated a number of my images with that Storage Group. My goal is to have some images only reside on the node in the new Storage Group and some only reside on the other Storage Group. I set both servers to be the Master Node for their Storage Group. Based on the warning I read about setting a server to the Master Node I half-way expected for any images that were not associated with that Storage Group to be purged from the Master Node but that didn’t seem to happen, which is fine. Is it now safe to go back and purge images from servers via cli if they reside in an image store on a node that is not in the Storage Group that is associated with that image? Thank you!
-
RE: Install hangs at "Ensuring node username and passwords match"
@george1421 Got it. I am on a systemd based system. I am still getting used to systemd. Why would services that are listed in systemd not be listed under the output of the services command (not really asking, I can Google that on my own)? Just venting as I continue to relearn all that I thought I knew about Linux. Thanks again! Don’t think I ever would have got this sorted out without your help.
-
RE: Install hangs at "Ensuring node username and passwords match"
@george1421 Use to be all the FOG services were listed with a “service --status-all” command with previous versions of FOG, but now I don’t see them. If I want to stop the replication service while I run rsync how would I do that? Thank you!
-
RE: Install hangs at "Ensuring node username and passwords match"
@george1421 I checked my storage node this morning and it appears some of my images did not sync. I have a number of them that did but there are definitely some that are missing. Syncing has stopped so it’s not matter of not enough time to sync. Can you point me to a document or offer assistance as to how I can troubleshoot this issue? My first thought was to just use rsync but I am concerned that perhaps there are files in the folder that are supposed to differ between a master node in a storage group and a slave node in the same group? Thank you!
-
RE: Install hangs at "Ensuring node username and passwords match"
@george1421 I followed your instructions and the new Storage Node seems to be working. I put them in the same storage group and I am replicating the images to the new node. Thank you for your help!
-
RE: Install hangs at "Ensuring node username and passwords match"
@george1421 said in Install hangs at "Ensuring node username and passwords match":
@mpmackenna Lets keep working through on this one.
Now when/if you have a storage node. If you are going to change modes on that Normal Node -> Storage Node. You need to delete the /opt/fog/.fogsettings file. Understand when you do that you may have issues with the local linux
fog
user accont. The fog installer script should keep everything sane, but if things go wrong then you have a place to look.Also you will need to make the edits to the www.conf file on every storage node too. Also you will need to downgrade the FOS kernel. I know its a pain, but it is what we have until 1.5.5 is released.
You can copy from your master node to the storage nodes. The files are in /var/www/html/fog/service/ipxe You can use scp to copy and the files you need to copy are bzImage and bzImage32 to all of your storage nodes in the same location.
That sounds great! I am going to run the installer on my Storage Node. This server will be the Normal/Master install. I will make the edits listed and let you know how it goes. Thank you!
-
RE: Install hangs at "Ensuring node username and passwords match"
@george1421 said in Install hangs at "Ensuring node username and passwords match":
To see if php-fpm is hooked into apache correctly, launch top from the linux console. Then sort by CPU usage by keying in P. The top 2 or 3 processes should be php-fpm. If it is apache then something isn’t hooked correctly.
I checked this and it seems to be correct. Top processes are php-fpm7.1. Thanks!
-
RE: Install hangs at "Ensuring node username and passwords match"
@george1421 Things seem to be running well now. Thank you so much for your help! I am going to go back read the docs for adding a storage node and attempt to attach a clean install of a storage node to my working primary installation. Should I mark this thread resolved and start a new one if I have an issue with the storage node? Or, perhaps you/moderator mark as resolved? I don’t see that option. Thanks again!
-
RE: Install hangs at "Ensuring node username and passwords match"
@george1421 Oh I fiddled with it. Charlie Daniels has got nothing on me. I am completing the steps you outlined to repair. Thank you!
Update: I ran your repair and the installer finished properly. I then was able to roll back the kernel without issue. -
RE: Install hangs at "Ensuring node username and passwords match"
@george1421 Got this when trying to roll back the kernel “Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 463, Message: ftp_login(): Login incorrect., Host: 10.10.2.8, Username: fog”. I know I’ve changed the FOG user password when trying to setup the storage node. Now I am unable to ssh to the box with the fog account using the passwords that I thought it was set to a while back. I also tried every other password I could think it may be including what used to the default of “password”. I still have ssh access with other accounts and root access. Should I set the FOG account password to something? Thank you!
Also, the changes made to www.conf made all the difference with the web interface. It is working well at this point. -
RE: Install hangs at "Ensuring node username and passwords match"
@george1421 1.5.4, yes, that is the one with the unresponsive web interface. Thank you for your help!
-
RE: Install hangs at "Ensuring node username and passwords match"
@george1421 I would like a central pxe server and storage nodes at the different locations.