"Hard Disk not Found!" Lenovo
-
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] -
Alright, idk why my files were the same size. I must have done something wrong, but no matter I will try again. Thank you for the download links, hopefully they will point me in the right direction as to where I went wrong. I appreciate it Ozzy! Have a good day.
-
Hi,
has someone of you guys wiki write access to add some information to the howto compile a kernel page?
I think the information that menuconfig can be used instead of xconfig if no xserver is installed is important!Greetz X23
-
Hi,
i’ve now compiled a new kernel with 3.10-rc3 sources, i still cannot get it to boot,
i enabled the intel c600 driver.I have the following system:
Nvidia Quadro 4000
Intel C600/X79
Xeon E5This is what i get when i try to boot the kernel, the kernel works fine on other or older hardware:
[IMG]http://i.imgur.com/eF1WcdY.jpg[/IMG]
Any idea what is missing or must be enabled through the kernel?
Greetz X23
-
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.
-
Hi,
[quote=“Ozzy, post: 12399, member: 3595”]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.[/quote]
i will first try to remove the quadro and boot then lets see what will happen, i will report back.
Similar machines that work have a Quadro 2000 and there is my kernel working, it’s only the Quadro 4000.
Greetz X23