"Hard Disk not Found!" Lenovo
-
Model: Lenovo Thinkstation S30
Fog Kernel: 3.6.9Trying to register the machine on FOG but getting the “Hard Disk not found!” error. Using the latest kernel available. Took a look at this thread because it was a similar issue but the solution in the thread did not solve my problem.
[url]http://fogproject.org/forum/threads/hard-disk-not-detecting-in-think-station-s30-model.3894/[/url]I have one SATA hard drive on the system. Also, I have this link: [URL=‘http://www.fogproject.org/wiki/index.php/Troubleshooting_Driver_Issues’]http://www.fogproject.org/wiki/index.php/Troubleshooting_Driver_Issues [/URL]
What device should I look for to troubleshoot this error?[URL=‘http://www.fogproject.org/wiki/index.php/Troubleshooting_Driver_Issues’][/URL]
-
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.
-
[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.
-
Hi,
[quote=“Ozzy, post: 11404, member: 3595”][B]SOLVED both issues:[/B][/quote]
that’s making me hope and courage that my test with self made kernels went to good,
i have some Fujitsu CAD Workstations and HP 6305 MT that doesn’t work.Good to hear it’s working for u [I]*thumbs up[/I]
Where is exactly the C600 driver? can you navigate me from entry point of config?
Greetz X23
-
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!
-
I’ve got the same problem, and it looks like you have the solution!
Would you care to share that kernel? You’d be my hero -
Hi,
i can build the kernel this evening if i came home, i have a 3.9.2-4 kernel but haven’t included that C600 driver yet,
but that is no problem. i will upload it later today.But i have to say it’s really easy to compile a kernel by yourself
Greetz X23
-
[quote=“x23piracy, post: 12298, member: 3982”]Hi,
i can build the kernel this evening if i came home, i have a 3.9.2-4 kernel but haven’t included that C600 driver yet,
but that is no problem. i will upload it later today.But i have to say it’s really easy to compile a kernel by yourself
Greetz X23[/quote]
Very kind of you. I’ve never done it before, I’m trying now, I’ll see how it goes and will let you know.
I should probably learn how to do it myself -
Hi,
[quote=“ttcircus, post: 12299, member: 984”]I should probably learn how to do it myself :)[/quote]
try this link: [url]http://www.fogproject.org/wiki/index.php/Building_a_Custom_Kernel[/url]
instead of 2.6 kernel sources grab the latest 3.x ones
also you don’t need to install a x server call the menu with make menuconfig instead of make xconfig.Greetz X23
-
No luck so far, I try to boot using the kernel i’ve compiled but it says ‘decompressing linux… Parsing ELF… done. Booting the kernel.’ and gets stuck.
I’ll try and compile again later.
Thanks all for your help though, much appreciated! -
Hi,
[quote=“ttcircus, post: 12308, member: 984”]No luck so far…[/quote]
try this: [url]http://www.multiupload.nl/4SQKNW21OC[/url]
linux 3.9.2 kernel with enabled C600 driver.Greetz X23
-
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]
-
[quote=“x23piracy, post: 12310, member: 3982”]Hi,
try this: [url]http://www.multiupload.nl/4SQKNW21OC[/url]
linux 3.9.2 kernel with enabled C600 driver.Greetz X23[/quote]
didn’t work for me but thanks a lot for your time though, really appreciate it!
-
[quote=“Ozzy, post: 12317, member: 3595”]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][/quote]
That kernel didn’t work for me. I get a ‘kernel panic - not syncing’ but thanks anyway! Very kind of you.
I’ll follow your tutorial to try and build it myself. Thanks for taking the time to write all that down! -
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.
-
Hi,
[quote=“ttcircus, post: 12322, member: 984”]didn’t work for me but thanks a lot for your time though, really appreciate it![/quote]
didn’t work for me too i tried it before two minutes on the destination machine, i will try to figure out why.
EDIT:
I will try a make clean and then compile again!
Greetz X23
-
Hi,
i cannot get my kernels to boot in the machine that is using the c600 sas controller, the hp 6305 will work now but
i mentioned the following my kernels are only about 5-6MB your kernels are about 11-12MB.If i try the kernel you uploaded i will also get a kernel panic.
Do you use other kernel sources or why is it so big or my just so tiny?
Why does no one enable everything available? Instable? to big?
Edit:
oh while reading your howto i see there is a ks and core cfg umpf
will try whit core!Greetz X23
-
Hey Ozzy, this is awesome of you to do! 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. I’m curious as to how you get yours to be 12 mb? I can enable everything basically and it doesn’t seem to change the file size, any idea what is going wrong? I did not start off with enabling everything fyi, just wanted to see if that made a difference and it didn’t.
Thank you Ozzy!
-
Hi,
is QT4 really needed? i mean i can remember that i’ve seen a message like qt4 not available using qt3.
Jason do you have qt4 installed? me not!
I also don’t want to enable everything, i think the better way is to add slowly.Greetz X23
-
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]