Yep linux-3.10-rc2 is what I used in the tutorial.
Latest posts made by Ozzy
-
RE: "Hard Disk not Found!" Lenovo
-
RE: "Hard Disk not Found!" Lenovo
I believe its the Quadro 4000. My buddy had a similar issue with a Quadro 2000d, Kernel Panic Error. What he said he did was remove the video driver on the kernel and it should go generic. He was then able to FOG with the vid card on the system.
-
RE: "Hard Disk not Found!" Lenovo
A few answers I do have. First, you don’t need qt4 because, yes, if you have qt3 installed I believe that will work. Next, if you use the kitchen sink to compile, the file size is much smaller than the core compile. I’m not sure what determines the file size except maybe the kernel source you use and how many additional drivers are selected. For the file I uploaded I used Linux-3.10-rs1 and the latest is 3.10-rs2. What have you guys been using? Core? Ks? And what Linux kernel?
[SIZE=13px][FONT=Tahoma][COLOR=#141414][quote=“Jason Garrison, post: 12352, member: 1188”]I have the same problem as x23piracy with the Kernel I compile being 8 mb and the default one is 12 mb. Why is there a difference? I tried both the Kitchensink and the Core kernel configs and it makes no difference on the size.[/quote][/COLOR][/FONT][/SIZE]
Jason,
I compiled a new kernel using Linux kernel 3.9.3 (stable) and Kitchen Sink. The file size is around 5 Mb and I only added the C600 SCSI driver. I then used the same Linux kernel (3.9.3) and used Core instead and just selected the C600 driver. The CORE kernel is almost 12 Mb. Additionally, the CORE kernel took over twice as long to compile versus the kitchen sink one. I believe that CORE utilizes many more drivers hence the file size and processing time.Core Kernel (Linux 3.9.3):
[url]https://dl.dropboxusercontent.com/u/61767344/ozzy_core_3.9.3-bzImage[/url]Kitchen Sink Kernel (Linux 3.9.3):
[url]https://dl.dropboxusercontent.com/u/61767344/ozzy_KS_3.9.3-bzImage[/url] -
RE: "Hard Disk not Found!" Lenovo
All you have to do now is find out which driver is missing on the kernel that is causing the panic. I would first start with the video card driver.
-
RE: Request for Kernel Compiling info. Please read.
Chad,
Hope this can be used to update the wiki.
[B]How to Build a Custom Kernel for FOG Server using Ubuntu 12.04[/B]
First, make sure you have [B]G++ (GNU C++ compiler) and QT4 (Qt 4 Designer) [/B]installed through the Ubuntu software center.
Next, pick a Linux kernel you want to use to compile the kernel at [URL=‘http://www.kernel.org’]www.kernel.org[/URL]. (Used linux-3.10-rc2.tar.xz for this document; [url]https://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-3.10-rc2.tar.xz[/url]) Download the file to the ‘home/user/Downloads/’ directory. (default)
Then, download the Fog installation package installer. (Current version 0.32;[url]http://sourceforge.net/projects/freeghost/files/FOG/fog_0.32/fog_0.32.tar.gz/download[/url]) Make sure to download to the ‘home/user/Downloads/’ directory. (default)
Now we will extract the files to their proper locations.
First, extract the FOG installer to the download folder. (see below for command)
[B]sudo [/B][B][FONT=Tahoma]tar -xvf /home/user/Downloads/fog_0.32.tar.gz[/FONT][/B]Then, we will want to extract the kernel to the ‘/usr/src/kernels/’ directory. If the directory does not exist create it. You will also need to copy the tar.gz file to the kernels directory in order to extract properly. (see below for commands)
[B]sudo mkdir /usr/src/kernels/[/B]
[B]sudo cp /home/user/Downloads/linux-3.10-rc2.tar.xz /usr/src/kernels/[/B]
[B]cd /usr/src/kernels/[/B]
[B]sudo tar –xvf linux-3.10-rc2.tar.xz[/B]Now we can either use CORE or Kitchen Sink to create the kernel.
To use [B]Core[/B] use the following command:
[B]sudo cp [/B][B][FONT=Tahoma]/home/username/Downloads/fog_0.32/kernel/core.config /usr/src/kernels/linux-3.10-rc2/.config[/FONT][/B]To use [B]Kitchen Sink[/B] use the following command:
[B]sudo cp [/B][B][FONT=Tahoma]/home/username/Downloads/fog_0.32/kernel/kitchensink.config /usr/src/kernels/linux-3.10-rc2/.config[/FONT][/B]Once the .config file is copied to /usr/src/kernels/ you can now run the make xconfig command.
[B]cd /usr/src/kernels/linux-3.10-rc2[/B]
[B]sudo make xconfig[/B]Now the kernel editor should pop-up after a few seconds. Here is where you will locate and select/deselect drivers you want to load to your custom kernel. (see screenshot for example)
[IMG]http://i.imgur.com/a49MUxh.jpg?1[/IMG]
Once you are done with your selections just [B]save and quit[/B].
Now you have to run one final command to write the kernel file.
For 64-bit systems:
[B][FONT=Tahoma]sudo make ARCH=i386 bzImage[/FONT][/B][FONT=Tahoma]For 32-bit systems:[/FONT]
[B][FONT=Tahoma]sudo make bzImage[/FONT][/B][FONT=Tahoma]You may get a few prompts during the compile, I just used default options (enter). It will take a while (10-30 minutes) to compile the kernel so be patient.[/FONT]
[FONT=Tahoma]Now that you have created a custom kernel you will need to copy/cut the file to your FOG server.[/FONT]
[FONT=Tahoma]Go to the [B]/usr/src/kernels/linux-3.10-rc2/arch/x86/boot/[/B] directory to find the new [B]bzImage[/B] file you created. That is the file you need to import to your FOG server kernels directory in order to use it. (You can rename it or use the new kernel as the default kernel for FOG to use if you leave the name bzImage)[/FONT][FONT=Tahoma]The directory where you should paste the new kernel is /tftpboot/fog/kernel/ on the FOG server.[/FONT]
[FONT=Tahoma]Make sure you assign the custom kernel to the proper host in the FOG management GUI and then you should be able to Upload/Deploy. You might need to add the host manually; you’ll just need the MAC address of the NIC for the host.[/FONT]
[B][I][FONT=Tahoma]Written by Ozzy[/FONT][/I][/B]
-
RE: Trying to DEPLOY Image on HP DL160 G4 (no disk found)
You may want to make a custom kernel. I don’t have experience with the HP DL160 G4 but I had ‘no disk found’ error on a Lenovo system and it was that the current default FOG kernel was missing a SCSI driver for my HD controller.
See my post here: [url]http://fogproject.org/forum/threads/hard-disk-not-found-lenovo.4159/[/url]
-
RE: "Hard Disk not Found!" Lenovo
Are you having the hard drive not found error or the NIC issue? Either way, I’ll get my kernel uploaded.
Here is my custom kernel. I used CORE and linux-3.10-rc1 kernel and selected the SAS C600 driver and intel NIC drivers, I left the rest default. Let me know if it worked or not.
[url]https://dl.dropboxusercontent.com/u/61767344/ozzy_custom_bzImage[/url]
PS: I’m going to actually write a step-by-step Ubuntu tutorial for kernel building the way I did mine.
DONE If you see any instruction that needs to be updated please let me know.[B]How to Build a Custom Kernel for FOG Server using Ubuntu 12.04[/B]
First, make sure you have [B]G++ (GNU C++ compiler) and QT4 (Qt 4 Designer) [/B] installed through the Ubuntu software center.
Next, pick a Linux kernel you want to use to compile the kernel at [URL=‘http://www.kernel.org’]www.kernel.org[/URL]. (Used linux-3.10-rc2.tar.xz for this document; [url]https://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-3.10-rc2.tar.xz[/url]) Download the file to the ‘home/user/Downloads/’ directory. (default)
Then, download the Fog installation package installer. (Current version 0.32; [url]http://sourceforge.net/projects/freeghost/files/FOG/fog_0.32/fog_0.32.tar.gz/download[/url]) Make sure to download to the ‘home/user/Downloads/’ directory. (default)
Now we will extract the files to their proper locations.
First, extract the FOG installer to the download folder. (see below for command)
[B]sudo [/B][B][FONT=Tahoma]tar -xvf /home/user/Downloads/fog_0.32.tar.gz[/FONT][/B]Then, we will want to extract the kernel to the ‘/usr/src/kernels/’ directory. If the directory does not exist create it. You will also need to copy the tar.gz file to the kernels directory in order to extract properly. (see below for commands)
[B]sudo mkdir /usr/src/kernels/[/B]
[B]sudo cp /home/user/Downloads/linux-3.10-rc2.tar.xz /usr/src/kernels/[/B]
[B]cd /usr/src/kernels/[/B]
[B]sudo tar –xvf linux-3.10-rc2.tar.xz[/B]Now we can either use CORE or Kitchen Sink to create the kernel.
To use [B]Core[/B] use the following command:
[B]sudo cp [/B][B][FONT=Tahoma]/home/username/Downloads/fog_0.32/kernel/core.config /usr/src/kernels/linux-3.10-rc2/.config[/FONT][/B]To use [B]Kitchen Sink[/B] use the following command:
[B]sudo cp [/B][B][FONT=Tahoma]/home/username/Downloads/fog_0.32/kernel/kitchensink.config /usr/src/kernels/linux-3.10-rc2/.config[/FONT][/B]Once the .config file is copied to /usr/src/kernels/ you can now run the make xconfig command.
[B]cd /usr/src/kernels/linux-3.10-rc2[/B]
[B]sudo make xconfig[/B]Now the kernel editor should pop-up after a few seconds. Here is where you will locate and select/deselect drivers you want to load to your custom kernel. (see screenshot for example)
[IMG]http://i.imgur.com/a49MUxh.jpg?1[/IMG]
Once you are done with your selections just [B]save and quit[/B].
Now you have to run one final command to write the kernel file.
For 64-bit systems:
[B][FONT=Tahoma]sudo make ARCH=i386 bzImage[/FONT][/B][FONT=Tahoma]For 32-bit systems:[/FONT]
[B][FONT=Tahoma]sudo make bzImage[/FONT][/B][FONT=Tahoma]You may get a few prompts during the compile, I just used default options (enter). It will take a while (10-30 minutes) to compile the kernel so be patient.[/FONT]
[FONT=Tahoma]Now that you have created a custom kernel you will need to copy/cut the file to your FOG server.[/FONT]
[FONT=Tahoma]Go to the [B]/usr/src/kernels/linux-3.10-rc2/arch/x86/boot/[/B] directory to find the new [B]bzImage[/B] file you created. That is the file you need to import to your FOG server kernels directory in order to use it. (You can rename it or use the new kernel as the default kernel for FOG to use if you leave the name bzImage)[/FONT][FONT=Tahoma]The directory where you should paste the new kernel is /tftpboot/fog/kernel/ on the FOG server.[/FONT]
[FONT=Tahoma]Make sure you assign the custom kernel to the proper host in the FOG management GUI and then you should be able to Upload/Deploy. You might need to add the host manually; you’ll just need the MAC address of the NIC for the host.[/FONT]
[B][I][FONT=Tahoma]Written by Ozzy[/FONT][/I][/B]
-
RE: "Hard Disk not Found!" Lenovo
Hey x23piracy,
Here is a screenshot of the C600 driver that I needed to select. I used Linux Kernel linux-3.10-rc1 so your config file may look different but should still be similar. Good luck to you!
-
RE: "Hard Disk not Found!" Lenovo
[B]SOLVED both issues:[/B]
IMPORTANT: Used Linux Kernel [B]3.9-rc4[/B]Created my custom kernel doing the following:
Used another harddrive and installed Ubuntu 0.32 on the Lenovo S30. Could possibly use a different PC but I didn’t try.
Used Linux Kernel 3.9-rc4 and FOG 0.32 tar files.
Extracted the Fog 0.32 tar installation files in the download folder : tar -xvf fog_0.32.tar.gz
Created a DIR on /usr/src/ named kernels : mkdir /usr/src/kernels/Copied the Linux kernel tar file to the /usr/src/kernels/ directory and then extracted it.
cp /home/username/Downloads/linux-3.9-rc4.tar.xz /usr/src/kernels/
tar -xvf linux-3.9-rc4.tar.xzUsed [B]Core[/B] to build the kernel.
cp /home/username/Downloads/fog_0.32/kernel/core.config /usr/src/kernels/linux-3.9-rc4/.config
cd /usr/src/kernels/linux-3.9-rc4
make xconfigSelected the SCSI driver for C600 SAS that was not selected. Also selected all the Intel drivers under the Network Devices. Used System Profiler and Benchmark to find the information on the SCSI harddrive controller that was missing.
Saved and closed file.make ARCH=i386 bzImage
Finally, copied the newly created bzImage file, renamed, and place it in the FOG SERVER’s /tftpboot/fog/kernel/
Added the Host manually, assigned it the custom kernel, and scheduled a basic task to upload. Success. Imaged at accurate speeds.
-
RE: "Hard Disk not Found!" Lenovo
Update:
Made a custom kernel using the latest version of core.config and added the Intel C600 Series Chipset SAS Controller driver. The 'Hard Disk not Found" error is gone and I am able to image
New issue arose, now the NIC is crawling at 200Mbpm taking 7 hours for a Windows 7 image to upload.*NIC informationIntel 82579LM Gigabit Network Connection
Found this post that sounds similar to my problem. Used the latest driver from intel (2.3.2) now having connection issues. [url]http://fogproject.org/forum/threads/nic-intel-82579lm-pxe-issue.687[/url]It is an onboard NIC not PCI-E. I used the src files from Intel’s download and replaced the ones on FOG but that broke my connection entirely. Error “Network is unreachable”. Going to downgrade the Intel driver to an older version to see if that works. (2.2.14)
EDIT: Using PCI-E Intel Driver 2.2.14 for NIC also failed.