Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
If you want help, you are going to have to tell us why you are compiling your own kernel.
Evo2.
---------- Post added 2013-06-25 at 11:50 ----------
Hi,
So that you can make use off more than one cpu or core.
Evo2.
Because our company's source code were based on kernel 3.6.11 to Development. And its original platform was POWERPC.
I only want to make use of one cpu intel E250(??)
Thanks
Because our company's source code were based on kernel 3.6.11 to Development. And its original platform was POWERPC.
sorry I still don't understand why you are doing this, or why the kernel you compiled didn't drive the mouse or keyboard. What is your actual goal? Are you really sure that you need to be running a 3.6.11 kernel?
What is "your company's source code"? Is it a kernel module/driver?
Quote:
I only want to make use of one cpu intel E250(??)
If this is a reference to -j and/or concurrency then I guess you are stuck with compiling with just one cpu.
sorry I still don't understand why you are doing this, or why the kernel you compiled didn't drive the mouse or keyboard. What is your actual goal? Are you really sure that you need to be running a 3.6.11 kernel?
What is "your company's source code"? Is it a kernel module/driver?
If this is a reference to -j and/or concurrency then I guess you are stuck with compiling with just one cpu.
Evo2.
Our source program is not only a kernel module/driver, It is a totally solution of some buisness field.I mysely didn't see the
original program. I just to tell that I had to run kernel 3.6.11 in my VTC1000 industrial computer.
Oh~ Did you mean that I can't compile with only just one cpu? I had to set .config with each cpu that exists in .config?
Thks!
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Rep:
hmm, i could be wrong, but as i understand it, normally third party kernel drivers, if built properly don't require the entire kernel to be built, they just need a copy of the current kernel headers to compile against, then they get installed into the module directory and modpobed like any other module, but the build process for a third party module SHOULD be separate from the actual kernel source build. case in point the NVIDIA proprietary driver install process compiles the kernel module as part of the install process, but not the entire kernel, same goes with virtualbox.
Oh~ Did you mean that I can't compile with only just one cpu? I had to set .config with each cpu that exists in .config?
No. I meant that by using that option you can compile with more than one cpu. What .config are you starting with? Have you tried doing "make oldconfig" so that you start with something that should "just work"? Eg
Code:
cp /boot/config-$(uname -r) .config
make oldconfig
No. I meant that by using that option you can compile with more than one cpu. What .config are you starting with? Have you tried doing "make oldconfig" so that you start with something that should "just work"? Eg
Code:
cp /boot/config-$(uname -r) .config
make oldconfig
Evo2.
I start with copy the exist .config of Ubuntu 12.04 kernel 3.0.29.
So, you means that I shouldn't use the above one. I should doing "make oldconfig"
Code:
cp /boot/config-$(uname -r) .config
make oldconfig
Have you considered compiling the kernel on a more powerful machine?
Evo2.
Our solution is base on this VTC 1000, I wonder that if I compile on the other machine, the contents of device driver support
will be different.
like I already changed the kernel to 3.6.11 of My personal PC for long. It works very well.But I just can do it the same way
to my VTC 1000.
I had printed out for the .config file but don't catch point??
I had printed out all the data in .config, But still I can't catch point to change its content.
Could you suggest that which part of it I should marked(erase) for the VTC 1000 in the .config file?
that machine just runs a 32 bit atom processor. It is generic x86. You can compile it anywhere. For example if you want to compile it on another system that happens to be a 64 bit machine and are using the make-kpkg method, you could do:
I had printed out all the data in .config, But still I can't catch point to change its content.
You can change all the config options when you run
Code:
make menuconfig
Quote:
Could you suggest that which part of it I should marked(erase) for the VTC 1000 in the .config file?
Don't edit it by hand. Use the one of the standard tools like menuconfig as I've mentioned previously. If you know what that device will actually be used for there should be a huge number of things you don't need to build into the kernel.
that machine just runs a 32 bit atom processor. It is generic x86. You can compile it anywhere. For example if you want to compile it on another system that happens to be a 64 bit machine and are using the make-kpkg method, you could do:
That above line is actually from the README.gz that comes with the kernel-package package.
Evo2.
OK. let me try to do so, and after that I should have to do one thing, to copy for which files into my VTC 1000.
Is that vmlinuz-3.x , initrd.img-3.x, System.map-3.x abi-3.x config-3.x???
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.