LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 06-24-2013, 08:12 PM   #16
Angela Wu
Member
 
Registered: Jun 2013
Location: Taiwan
Posts: 99

Original Poster
Rep: Reputation: Disabled
Question i didn't success !


The keyboard and mouse doesn't mount.
I got only the screen with log in screen~
 
Old 06-24-2013, 09:50 PM   #17
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,
Quote:
Originally Posted by Angela Wu View Post
The keyboard and mouse doesn't mount.
I got only the screen with log in screen~
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,

Quote:
Originally Posted by Angela Wu View Post
And what's the -j use for command? What's the CONCURRENCY_LEVEL equal to my number? I didn't understand??
So that you can make use off more than one cpu or core.

Evo2.
 
Old 06-24-2013, 09:54 PM   #18
Angela Wu
Member
 
Registered: Jun 2013
Location: Taiwan
Posts: 99

Original Poster
Rep: Reputation: Disabled
Question

Quote:
Originally Posted by evo2 View Post
Hi,

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
 
Old 06-24-2013, 10:37 PM   #19
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,
Quote:
Originally Posted by Angela Wu View Post
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.

Evo2.
 
Old 06-24-2013, 10:50 PM   #20
Angela Wu
Member
 
Registered: Jun 2013
Location: Taiwan
Posts: 99

Original Poster
Rep: Reputation: Disabled
Question

Quote:
Originally Posted by evo2 View Post
Hi,

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!
 
Old 06-24-2013, 11:01 PM   #21
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
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.

Last edited by frieza; 06-24-2013 at 11:02 PM.
 
Old 06-25-2013, 12:45 AM   #22
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,
Quote:
Originally Posted by Angela Wu View Post
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.
So it's a kernel module...

Quote:
I just to tell that I had to run kernel 3.6.11 in my VTC1000 industrial computer.
This? http://datarespons.com/Products-new/...om-VTC-7110-B/
If so, AFAIKS it's just a basic 32 bit atom. Nothing particularly exotic.

Quote:
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
Evo2.
 
Old 06-25-2013, 01:02 AM   #23
Angela Wu
Member
 
Registered: Jun 2013
Location: Taiwan
Posts: 99

Original Poster
Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by evo2 View Post
Hi,


This? http://datarespons.com/Products-new/...om-VTC-7110-B/

Yes, this one


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
 
Old 06-25-2013, 01:04 AM   #24
Angela Wu
Member
 
Registered: Jun 2013
Location: Taiwan
Posts: 99

Original Poster
Rep: Reputation: Disabled
Question But how can I minize the compile time?

It will take me at least 5 hours!!
Can I change the content of .config to achieve so???
 
Old 06-25-2013, 01:18 AM   #25
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,
Quote:
Originally Posted by Angela Wu View Post
It will take me at least 5 hours!!
Have you considered compiling the kernel on a more powerful machine?

Quote:
Can I change the content of .config to achieve so???
Yes.

Evo2.

Last edited by evo2; 06-25-2013 at 01:21 AM.
 
Old 06-25-2013, 01:25 AM   #26
Angela Wu
Member
 
Registered: Jun 2013
Location: Taiwan
Posts: 99

Original Poster
Rep: Reputation: Disabled
Question

Quote:
Originally Posted by evo2 View Post
Hi,

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.
 
Old 06-25-2013, 01:29 AM   #27
Angela Wu
Member
 
Registered: Jun 2013
Location: Taiwan
Posts: 99

Original Poster
Rep: Reputation: Disabled
Question 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?
 
Old 06-25-2013, 01:33 AM   #28
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

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:
Code:
DEB_HOST_ARCH=i386 make-kpkg --arch i386 --cross-compile - <other options>
That above line is actually from the README.gz that comes with the kernel-package package.


Evo2.
 
Old 06-25-2013, 01:36 AM   #29
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,
Quote:
Originally Posted by Angela Wu View Post
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.

Evo2.
 
Old 06-25-2013, 01:42 AM   #30
Angela Wu
Member
 
Registered: Jun 2013
Location: Taiwan
Posts: 99

Original Poster
Rep: Reputation: Disabled
Question

Quote:
Originally Posted by evo2 View Post
Hi,

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:
Code:
DEB_HOST_ARCH=i386 make-kpkg --arch i386 --cross-compile - <other options>
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???
 
  


Reply

Tags
kernel



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Backup of complete linux system eprabhat08 Linux - Newbie 5 02-05-2013 11:32 PM
Backup system ala rdiff-backup, but without mirror and with dst encryption dr_dex Linux - Software 0 08-04-2008 03:39 AM
How can I backup a linux system ? chu2654 Linux - General 6 11-16-2006 01:16 PM
backup for linux system in CF lbdgwgt Linux - Newbie 2 10-23-2006 06:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 04:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration