Re: Help with Kernel Build Installer and Rescue CD

2013-01-12 Thread Ganesh B
 I have a live CD for it and Ubuntu, but I am not impressed when comparing to 
 just the shell. One reason I am building this.

 Let me try what Tshar said. I think it will not be of use since all the 
 modules that I see are built already. Building up lilo/ grub for make install.

 Tushar: What steps after this? I still see a lot of things missing.

TnR,
Ganesh




 From: Henrique Rodrigues henriquesil...@gmail.com
To: Tushar Dave tush...@gmail.com 
Cc: Ganesh B ganeshsu...@yahoo.com; kernelnewbies@kernelnewbies.org 
kernelnewbies@kernelnewbies.org 
Sent: Saturday, January 12, 2013 1:18 AM
Subject: Re: Help with Kernel Build  Installer and Rescue CD
 

What exactly you want to do? If you just want to learn linux, I'd recommend you 
to try installing Gentoo (www.gentoo.org) using its Handbook: 
http://www.gentoo.org/doc/en/handbook/


I believe it is a valuable step-by-step basic guide on how to install gnu/linux 
and understand how it works (not only the kernel, but the entire system) from 
scratch.

--Henrique Rodrigues

http://www.dcc.ufmg.br/~hsr

On Thu, Jan 10, 2013 at 8:09 PM, Tushar Dave tush...@gmail.com wrote:



 
On Fri, Jan 11, 2013 at 9:03 AM, Ganesh B ganeshsu...@yahoo.com wrote:

Hello,


Building a install-able build for linux Kernel, that is it.


I have done these:
$ make help

$ make ARCH=x86 defconfig This is incorrect you need to give a defconfig 
file name example for arm the configs are in 
KERNEL_SOURCE_TREE/arch/arm/configs
$ make ARCH=x86  once the config is done properly you dont need to give the 
ARCH option


$ make ARCH=x86 module_install
gave error nothing to make



$ make ARCH=x86 install  command is make modules_install install
gave error lilo needs to to be installed.


The kernel is built (for all processor types along with multiprocessor 
support as well), vmlinux.iso and bzimage.iso is there, the libraries are 
built, modules need to be configured though with grub/ lilo. Will get Lilo 
installed or a grub creator (what do I use for this?).  I use grub because 
on giving make modules_install install the grub gets updated automatically


/boot, /kernel, /library, / are there. I do not have /bin, /usr, /etc 
folders in this. Am I missing something or will that be built during the 
process. You are compiling a kernel the /kernel, /boot are part of your 
kernel source code directory and /usr, /etc ,/bin are part of the file system



Can someone help me with the steps and syntax's just ahead step by step (like 
above) further to make a Installer CD and workable boot to be written to a 
system? The system does not boot with the above, even with a complete copy 
paste to USB or to a CD. i will take care of complexities myself, just 
mention any dont's or do's for configuration that is all, I will need help 
with.



TnR,
Ganesh


___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Kernelnewbies Digest, Vol 26, Issue 28

2013-01-10 Thread Ganesh B
Hello,

Building a install-able build for linux Kernel, that is it.

I have done these:
$ make help

$ make ARCH=x86 defconfig
$ make ARCH=x86

$ make ARCH=x86 module_install
gave error nothing to make


$ make ARCH=x86 install
gave error lilo needs to to be installed.

The kernel is built (for all processor types along with multiprocessor support 
as well), vmlinux.iso and bzimage.iso is there, the libraries are built, 
modules need to be configured though with grub/ lilo. Will get Lilo installed 
or a grub creator (what do I use for this?). 

/boot, /kernel, /library, / are there. I do not have /bin, /usr, /etc 
folders in this. Am I missing something or will that be built during the 
process.


Can someone help me with the steps and syntax's just ahead step by step (like 
above) further to make a Installer CD and workable boot to be written to a 
system? The system does not boot with the above, even with a complete copy 
paste to USB or to a CD. i will take care of complexities myself, just mention 
any dont's or do's for configuration that is all, I will need help with.


TnR,
Ganesh___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Help with Kernel Build Installer and Rescue CD

2013-01-10 Thread Ganesh B
Hello,

Building a install-able build for linux Kernel, that is it.

I have done these:
$ make help

$ make ARCH=x86 defconfig
$ make ARCH=x86

$ make ARCH=x86 module_install
gave error nothing to make


$ make ARCH=x86 install
gave error lilo needs to to be installed.

The kernel is built (for all processor types along with multiprocessor support 
as well), vmlinux.iso and bzimage.iso is there, the libraries are built, 
modules need to be configured though with grub/ lilo. Will get Lilo installed 
or a grub creator (what do I use for this?). 

/boot, /kernel, /library, / are there. I do not have /bin, /usr, /etc 
folders in this. Am I missing something or will that be built during the 
process.


Can someone help me with the steps and syntax's just ahead step by step (like 
above) further to make a Installer CD and workable boot to be written to a 
system? The system does not boot with the above, even with a complete copy 
paste to USB or to a CD. i will take care of complexities myself, just mention 
any dont's or do's for configuration that is all, I will need help with.


TnR,
Ganesh
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Cross Compiling a different architechture

2013-01-09 Thread Ganesh B
Okay makes sense let me try clean before building different arch. I am not 
doing this at the moment. Would I need to have different toolchains for same 
architecture, I was trying to build for all processor types for an arch using a 
different toolchain but it failed?
Ones that passed the different cross-compile arch failed at some modules 
speciially the net, sound, video, or built_in sections. Let me check this and 
revert. 


Have you ever compiled a complete end to end allyesconfig for a same or 
cross-compile build? allyesconfig gave me dependency/ missing/ invalid entry 
errors for cross-compile arch like arm.

 
TnR,
Ganesh



 From: Anuz Pratap Singh Tomar chambilketha...@gmail.com
To: Ganesh B ganeshsu...@yahoo.com 
Cc: kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org 
Sent: Wednesday, January 9, 2013 11:19 AM
Subject: Re: Cross Compiling a different architechture
 




On Wed, Jan 9, 2013 at 3:30 AM, Ganesh B ganeshsu...@yahoo.com wrote:

I do not know why but whether ncurses or menuconfig the build fails at some 
modules (specially hardware architecture ones), specially at cross compiling 
architecture build stage. It went smoothly for same system architecture like 
i386 or x86 but not for arm or arm64.


Where is the doc's for Kernel defconfig and kconfig in Kernel.org? I am trying 
to make and edit each manually for each architecture and then run make all. 
The problem is it is not allowing me to assemble all sub-architectures for say 
arm or arm64 as a dynamic module. I have to specify and select each option 
(sub-hardware architecture) specifically during build of defconfig for the 
architecture. My x86 is also blocking the build at times. I did not get 
anything good on my google search.


I would say a wiser choice would be getting a .config from somewhere and 
editing options which you really need to change. 
I am not sure if you understand this or not, but you need to have a series of 
toolchains for each arch you need to cross compile at different locations.
For different binaries of different arch, I would suggest you use different 
directories of same source code. Generally make clean or distclean should get 
rid of most binaries, but starting a clean build is always the best idea. 
Toolchains can be bit of a pain to get right. 

w.r.t. Knoppix, Thank you, let me check the informit link for the architecture 
and usage relevance. 
 
TnR,
Ganesh





 From: Anuz Pratap Singh Tomar chambilketha...@gmail.com
To: Ganesh B ganeshsu...@yahoo.com 
Cc: Mulyadi Santosa mulyadi.sant...@gmail.com; 
kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org 
Sent: Tuesday, January 8, 2013 8:44 PM

Subject: Re: Cross Compiling a different architechture






On Tue, Jan 8, 2013 at 2:39 PM, Ganesh B ganeshsu...@yahoo.com wrote:

Creating Defconfig and menuconfig (options) for all in one system from kernel. 
I want a clean build rather than an external mount, most I found did not have 
documentation.
there is extensive documentation under Documentation/ directory in kernel 
source.
on simple search I got this link about building kernel on knoppix:
 http://www.informit.com/articles/article.aspx?p=422949seqNum=3
pretty much on most distribution, you  can install ncurses and go for make 
menuconfig and then just make(i.e. if you are native compiling the kernel). 
However the config for distributions are fairly complex these days, so you may 
require to build few other things like initrd and create devices files and 
all.  Please refer to distro documentation for knoppix: 
http://knoppix.net/wiki/Main_Page

I would recommend that you read these guidelines before asking any question on 
this list
http://kernelnewbies.org/mailinglistguidelines


 
TnR,
Ganesh





 From: Mulyadi Santosa mulyadi.sant...@gmail.com
To: Ganesh B ganeshsu...@yahoo.com 
Cc: Anuz Pratap Singh Tomar chambilketha...@gmail.com; 
kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org 
Sent: Tuesday, January 8, 2013 9:18 AM

Subject: Re: Cross Compiling a different architechture

Hi


On Tue, Jan 8, 2013 at 10:36 AM, Ganesh B ganeshsu...@yahoo.com wrote:
 Hello,

 Any help with some doc's. I see a defconfig for all, but the tree is not
 clear. Any documentation support for this in .Kconfig and .defconfig?

Which config option you're not clear? Asking like this will only put
you in the blue, you know


-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




-- 
Thank you 
Warm Regards
Anuz





-- 
Thank you 
Warm Regards
Anuz___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http

Re: Cross Compiling a different architechture

2013-01-09 Thread Ganesh B
Yes, you touch the pain area I am facing. I could build x86 as well as i386 
toolchain. Though I have not tried the image yet. 


But when cross compiling arm and arm64 say for example, I receive .config 
related errors which either does not create the .config or gives errors like I 
mentioned. Would I be able to do a allyesconfig for this? If yes, what options 
needs to be missed or edited to get the processor selection at runtime.


 using i386 machine

$make ARCH=arm defconfig  - ends up with errors of hardware conpatibility of 
i386, .config not created

$make ARCH=arm allyesconfig  - ends up with errors of hardware conpatibility 
specially sub-architecture of processor, .config not created

$make ARCH=arm menuconfig - all options enabled gives while building, .config 
created but kernel not built while using make


TnR,
Ganesh



 From: Anuz Pratap Singh Tomar chambilketha...@gmail.com
To: Ganesh B ganeshsu...@yahoo.com 
Cc: kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org 
Sent: Wednesday, January 9, 2013 12:20 PM
Subject: Re: Cross Compiling a different architechture
 




On Wed, Jan 9, 2013 at 12:06 PM, Ganesh B ganeshsu...@yahoo.com wrote:

Okay makes sense let me try clean before building different arch. I am not 
doing this at the moment. Would I need to have different toolchains for same 
architecture, I was trying to build for all processor types for an arch using a 
different toolchain but it failed?
You _may_ require different toolchains for different processor with same arch 
types, for example under x86, i386 and i586 toolchains _may_ be used 
interchangably but not ia64 or x86_64 or may not even for atom. Similarly in 
ARM, there are different families of processor and there may be big endian or 
small endian processor. So you may have to find the correct toolchain for the 
given config.

Ones that passed the different cross-compile arch failed at some modules 
speciially the net, sound, video, or built_in sections. Let me check this and 
revert. 



Have you ever compiled a complete end to end allyesconfig for a same or 
cross-compile build? allyesconfig gave me dependency/ missing/ invalid entry 
errors for cross-compile arch like arm.

Why would you do enable all config options? There may be incompatible 
dependencies, which will ofcourse lead to compilation errors.
I generally get .config files from elsewhere, sometimes there are files inside 
the source somewhere or sometimes you just do make ARCH=XXX menuconfig and then 
configure the options selectively. 
I may try to build toolchain for raspberry pi in few days and see if I face 
such issues or not(but that is highly tentative. ) 

 

 
TnR,
Ganesh




 From: Anuz Pratap Singh Tomar chambilketha...@gmail.com
To: Ganesh B ganeshsu...@yahoo.com 
Cc: kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org 
Sent: Wednesday, January 9, 2013 11:19 AM

Subject: Re: Cross Compiling a different architechture
 





On Wed, Jan 9, 2013 at 3:30 AM, Ganesh B ganeshsu...@yahoo.com wrote:

I do not know why but whether ncurses or menuconfig the build fails at some 
modules (specially hardware architecture ones), specially at cross compiling 
architecture build stage. It went smoothly for same system architecture like 
i386 or x86 but not for arm or arm64.


Where is the doc's for Kernel defconfig and kconfig in Kernel.org? I am 
trying to make and edit each manually for each architecture and then run make 
all. The problem is it is not allowing me to assemble all sub-architectures 
for say arm or arm64 as a dynamic module. I have to specify and select each 
option (sub-hardware architecture) specifically during build of defconfig for 
the architecture. My x86 is also blocking the build at times. I did not get 
anything good on my google search.


I would say a wiser choice would be getting a .config from somewhere and 
editing options which you really need to change. 
I am not sure if you understand this or not, but you need to have a series of 
toolchains for each arch you need to cross compile at different locations.
For different binaries of different arch, I would suggest you use different 
directories of same source code. Generally make clean or distclean should get 
rid of most binaries, but starting a clean build is always the best idea. 
Toolchains can be bit of a pain to get right. 

w.r.t. Knoppix, Thank you, let me check the informit link for the architecture 
and usage relevance. 
 
TnR,
Ganesh





 From: Anuz Pratap Singh Tomar chambilketha...@gmail.com
To: Ganesh B ganeshsu...@yahoo.com 
Cc: Mulyadi Santosa mulyadi.sant...@gmail.com; 
kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org 
Sent: Tuesday, January 8, 2013 8:44 PM

Subject: Re: Cross Compiling a different architechture






On Tue, Jan 8, 2013 at 2:39 PM, Ganesh B ganeshsu...@yahoo.com wrote:

Creating Defconfig and menuconfig (options

Re: Kernelnewbies Digest, Vol 26, Issue 24

2013-01-09 Thread Ganesh B
Peter,

This was the best. I was struggling to find this. Thank you.

 
TnR,
Ganesh



 From: kernelnewbies-requ...@kernelnewbies.org 
kernelnewbies-requ...@kernelnewbies.org
To: kernelnewbies@kernelnewbies.org 
Sent: Wednesday, January 9, 2013 5:00 PM
Subject: Kernelnewbies Digest, Vol 26, Issue 24
 
Send Kernelnewbies mailing list submissions to
    kernelnewbies@kernelnewbies.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
or, via email, send a message with subject or body 'help' to
    kernelnewbies-requ...@kernelnewbies.org

You can reach the person managing the list at
    kernelnewbies-ow...@kernelnewbies.org

When replying, please edit your Subject line so it is more specific
than Re: Contents of Kernelnewbies digest...


Today's Topics:

   1. Linux Kernel Map (Peter Teoh)
   2. Re: /usr/ld Not enough room for program headers (horseriver)


--

Message: 1
Date: Wed, 9 Jan 2013 21:25:11 +0800
From: Peter Teoh htmldevelo...@gmail.com
Subject: Linux Kernel Map
To: kernelnewbies@kernelnewbies.org
    kernelnewbies@kernelnewbies.org
Message-ID:
    CAHnt0GVj=t-e39dlvcyxbl2o48ejzotemquftkk4dkxzrig...@mail.gmail.com
Content-Type: text/plain; charset=iso-8859-1

http://www.makelinux.net/kernel_map/

-- 
Regards,
Peter Teoh
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130109/5703ac6d/attachment-0001.html
 

--

Message: 2
Date: Wed, 9 Jan 2013 12:56:51 +0800
From: horseriver horseriv...@gmail.com
Subject: Re: /usr/ld Not enough room for program headers
To: Peter Teoh htmldevelo...@gmail.com
Cc: kernelnewbies@kernelnewbies.org
Message-ID: 20130109045651.GB3236@debian.localdomain
Content-Type: text/plain; charset=us-ascii

On Wed, Jan 09, 2013 at 08:51:36PM +0800, Peter Teoh wrote:
 On Wed, Jan 9, 2013 at 6:36 AM, horseriver horseriv...@gmail.com wrote:
 
  On Wed, Jan 09, 2013 at 01:28:12PM +0800, Peter Teoh wrote:
   On Sun, Jan 6, 2013 at 11:17 AM, horseriver horseriv...@gmail.com
  wrote:
  
  VSYSCALL_BASE = 0xe000;
 
  SECTIONS
  {
    . = VSYSCALL_BASE ;
 
    .hash           : { *(.hash) }                :text
    .dynsym         : { *(.dynsym) }
    .dynstr         : { *(.dynstr) }
    .gnu.version    : { *(.gnu.version) }
    .gnu.version_d  : { *(.gnu.version_d) }
    .gnu.version_r  : { *(.gnu.version_r) }
 
 
 
 I suspect something wrong with VSYSCALL_BASE + value here.
 
 look at this:
 
 http://marcbug.scc-dc.com/svn/repository/trunk/linuxkernel/linux-2.6.16-mcemu/arch/x86_64/ia32/vsyscall.lds
 
 and doing a diff with your ld script, there is not much diff, except for
 the VSYSCALL_BASE + SIZEOF_HEADER

thanks!

    I do not understand what this error /usr/ld Not enough room for program 
headers really mean ?
    
    if I add SIZEOF_HEADER , this error is still reproted ,

    when ld link files , does it only need a ld-script file ? or more than one 
ld-script files ?




 
 portion.
 
 Read here to understand how SIZEOF_HEADER is calculated:
 
 http://www.math.utah.edu/docs/info/ld_3.html#SEC13
 
 Not sure why do u want to shift the whole section by SIZEOF_HEADER down in
 bytes?
 
 -- 
 Regards,
 Peter Teoh



--

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


End of Kernelnewbies Digest, Vol 26, Issue 24
*___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Cross Compiling a different architechture

2013-01-09 Thread Ganesh B
 x86 build is done but wont boot up using the build using the vmlinux image. 
 using usb stick. any tips?

 
TnR,
Ganesh



 From: Ganesh B ganeshsu...@yahoo.com
To: Anuz Pratap Singh Tomar chambilketha...@gmail.com 
Cc: kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org 
Sent: Wednesday, January 9, 2013 1:09 PM
Subject: Re: Cross Compiling a different architechture
 

Yes, you touch the pain area I am facing. I could build x86 as well as i386 
toolchain. Though I have not tried the image yet. 


But when cross compiling arm and arm64 say for example, I receive .config 
related errors which either does not create the .config or gives errors like I 
mentioned. Would I be able to do a allyesconfig for this? If yes, what options 
needs to be missed or edited to get the processor selection at runtime.


 using i386 machine

$make ARCH=arm defconfig  - ends up with errors of hardware conpatibility of 
i386, .config not created

$make ARCH=arm allyesconfig  - ends up with errors of hardware conpatibility 
specially sub-architecture of processor, .config not created

$make ARCH=arm menuconfig - all options enabled gives while building, .config 
created but kernel not built while using make


TnR,
Ganesh



 From: Anuz Pratap Singh Tomar chambilketha...@gmail.com
To: Ganesh B ganeshsu...@yahoo.com 
Cc: kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org 
Sent: Wednesday, January 9, 2013 12:20 PM
Subject: Re: Cross Compiling a different architechture
 




On Wed, Jan 9, 2013 at 12:06 PM, Ganesh B ganeshsu...@yahoo.com wrote:

Okay makes sense let me try clean before building different arch. I am not 
doing this at the moment. Would I need to have different toolchains for same 
architecture, I was trying to build for all processor types for an arch using a 
different toolchain but it failed?
You _may_ require different toolchains for different processor with same arch 
types, for example under x86, i386 and i586 toolchains _may_ be used 
interchangably but not ia64 or x86_64 or may not even for atom. Similarly in 
ARM, there are different families of processor and there may be big endian or 
small endian processor. So you may have to find the correct toolchain for the 
given config.

Ones that passed the different cross-compile arch failed at some modules 
speciially the net, sound, video, or built_in sections. Let me check this and 
revert. 



Have you ever compiled a complete end to end allyesconfig for a same or 
cross-compile build? allyesconfig gave me dependency/ missing/ invalid entry 
errors for cross-compile arch like arm.

Why would you do enable all config options? There may be incompatible 
dependencies, which will ofcourse lead to compilation errors.
I generally get .config files from elsewhere, sometimes there are files inside 
the source somewhere or sometimes you just do make ARCH=XXX menuconfig and then 
configure the options selectively. 
I may try to build toolchain for raspberry pi in few days and see if I face 
such issues or not(but that is highly tentative. ) 

 

 
TnR,
Ganesh




 From: Anuz Pratap Singh Tomar chambilketha...@gmail.com
To: Ganesh B ganeshsu...@yahoo.com 
Cc: kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org 
Sent: Wednesday, January 9, 2013 11:19 AM

Subject: Re: Cross Compiling a different architechture
 





On Wed, Jan 9, 2013 at 3:30 AM, Ganesh B ganeshsu...@yahoo.com wrote:

I do not know why but whether ncurses or menuconfig the build fails at some 
modules (specially hardware architecture ones), specially at cross compiling 
architecture build stage. It went smoothly for same system architecture like 
i386 or x86 but not for arm or arm64.


Where is the doc's for Kernel defconfig and kconfig in Kernel.org? I am 
trying to make and edit each manually for each architecture and then run make 
all. The problem is it is not allowing me to assemble all sub-architectures 
for say arm or arm64 as a dynamic module. I have to specify and select each 
option (sub-hardware architecture) specifically during build of defconfig for 
the architecture. My x86 is also blocking the build at times. I did not get 
anything good on my google search.


I would say a wiser choice would be getting a .config from somewhere and 
editing options which you really need to change. 
I am not sure if you understand this or not, but you need to have a series of 
toolchains for each arch you need to cross compile at different locations.
For different binaries of different arch, I would suggest you use different 
directories of same source code. Generally make clean or distclean should get 
rid of most binaries, but starting a clean build is always the best idea. 
Toolchains can be bit of a pain to get right. 

w.r.t. Knoppix, Thank you, let me check the informit link for the architecture 
and usage relevance. 
 
TnR,
Ganesh





 From

Re: Cross Compiling a different architechture

2013-01-08 Thread Ganesh B
Creating Defconfig and menuconfig (options) for all in one system from kernel. 
I want a clean build rather than an external mount, most I found did not have 
documentation.
 
TnR,
Ganesh




 From: Mulyadi Santosa mulyadi.sant...@gmail.com
To: Ganesh B ganeshsu...@yahoo.com 
Cc: Anuz Pratap Singh Tomar chambilketha...@gmail.com; 
kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org 
Sent: Tuesday, January 8, 2013 9:18 AM
Subject: Re: Cross Compiling a different architechture
 
Hi

On Tue, Jan 8, 2013 at 10:36 AM, Ganesh B ganeshsu...@yahoo.com wrote:
 Hello,

 Any help with some doc's. I see a defconfig for all, but the tree is not
 clear. Any documentation support for this in .Kconfig and .defconfig?

Which config option you're not clear? Asking like this will only put
you in the blue, you know

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Cross Compiling a different architechture

2013-01-08 Thread Ganesh B
I do not know why but whether ncurses or menuconfig the build fails at some 
modules (specially hardware architecture ones), specially at cross compiling 
architecture build stage. It went smoothly for same system architecture like 
i386 or x86 but not for arm or arm64.

Where is the doc's for Kernel defconfig and kconfig in Kernel.org? I am trying 
to make and edit each manually for each architecture and then run make all. The 
problem is it is not allowing me to assemble all sub-architectures for say arm 
or arm64 as a dynamic module. I have to specify and select each option 
(sub-hardware architecture) specifically during build of defconfig for the 
architecture. My x86 is also blocking the build at times. I did not get 
anything good on my google search.

w.r.t. Knoppix, Thank you, let me check the informit link for the architecture 
and usage relevance. 
 
TnR,
Ganesh




 From: Anuz Pratap Singh Tomar chambilketha...@gmail.com
To: Ganesh B ganeshsu...@yahoo.com 
Cc: Mulyadi Santosa mulyadi.sant...@gmail.com; 
kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org 
Sent: Tuesday, January 8, 2013 8:44 PM
Subject: Re: Cross Compiling a different architechture





On Tue, Jan 8, 2013 at 2:39 PM, Ganesh B ganeshsu...@yahoo.com wrote:

Creating Defconfig and menuconfig (options) for all in one system from kernel. 
I want a clean build rather than an external mount, most I found did not have 
documentation.
there is extensive documentation under Documentation/ directory in kernel 
source.
on simple search I got this link about building kernel on knoppix:
 http://www.informit.com/articles/article.aspx?p=422949seqNum=3
pretty much on most distribution, you  can install ncurses and go for make 
menuconfig and then just make(i.e. if you are native compiling the kernel). 
However the config for distributions are fairly complex these days, so you may 
require to build few other things like initrd and create devices files and all. 
 Please refer to distro documentation for knoppix: 
http://knoppix.net/wiki/Main_Page

I would recommend that you read these guidelines before asking any question on 
this list
http://kernelnewbies.org/mailinglistguidelines


 
TnR,
Ganesh





 From: Mulyadi Santosa mulyadi.sant...@gmail.com
To: Ganesh B ganeshsu...@yahoo.com 
Cc: Anuz Pratap Singh Tomar chambilketha...@gmail.com; 
kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org 
Sent: Tuesday, January 8, 2013 9:18 AM

Subject: Re: Cross Compiling a different architechture

Hi


On Tue, Jan 8, 2013 at 10:36 AM, Ganesh B ganeshsu...@yahoo.com wrote:
 Hello,

 Any help with some doc's. I see a defconfig for all, but the tree is not
 clear. Any documentation support for this in .Kconfig and .defconfig?

Which config option you're not clear? Asking like this will only put
you in the blue, you know


-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




-- 
Thank you 
Warm Regards
Anuz___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Cross Compiling a different architechture

2013-01-07 Thread Ganesh B
Hello,

Can someone suggest any good auto installer for Installation CD and Recovery 
CD? I have seen Knoppix without any documentation. Any support?
 
TnR,
Ganesh___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Cross Compiling a different architechture

2013-01-07 Thread Ganesh B
Hello,

Any help with some doc's. I see a defconfig for all, but the tree is not clear. 
Any documentation support for this in .Kconfig and .defconfig?

Any documentation for Knoppix or any other Installation and Recovery CD Creator 
extension with good documentation?
 
TnR,
Ganesh




 From: Ganesh B ganeshsu...@yahoo.com
To: Anuz Pratap Singh Tomar chambilketha...@gmail.com 
Cc: kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org 
Sent: Saturday, January 5, 2013 11:09 PM
Subject: Re: Cross Compiling a different architechture
 

Anuz Singh Tomar,

Basically do I copy it in to separate folder or into specific folders. I am 
talking about buildroot.

Never used the kernel image till now, so do I need an auto-configuration/ 
installer tool for an installation and recovery CD. This is for my system so do 
not want to take chance with Data.
 
Warm Regards,
Ganesh


 From: Ganesh B ganeshsu...@yahoo.com
To: Anuz Pratap Singh Tomar chambilketha...@gmail.com 
Cc: kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org 
Sent: Saturday, January 5, 2013 11:07 PM
Subject: Re: Cross Compiling a different architechture
 

Anuz Singh Tomar,

Basically do I copy it in to separate folder or into specific folders.

Never used the kernel image till now, so do I need an auto-configuration/ 
installer tool for an installation and recovery CD. This is for my system so do 
not want to take chance with Data.
 
Warm Regards,
Ganesh




 From: Ganesh B ganeshsu...@yahoo.com
To: Anuz Pratap Singh Tomar chambilketha...@gmail.com 
Cc: kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org 
Sent: Saturday, January 5, 2013 10:52 PM
Subject: Re: Cross Compiling a different architechture
 

Anuz Singh Tomar,

Do I use the tool chain directly or do I need to compile them from their root 
folders, or as a separate folders and config file in the mainfolder chain. Just 
trying to download this.

Does this have an auto-configuration or rapper utility for installation CD like 
an guided installer or any separate installer is needed?

TnR,

Ganesh




 From: Anuz Pratap Singh Tomar chambilketha...@gmail.com
To: Ganesh B ganeshsu...@yahoo.com 
Cc: kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org 
Sent: Saturday, January 5, 2013 10:43 PM
Subject: Re: Cross Compiling a different architechture





On Sat, Jan 5, 2013 at 4:55 PM, Ganesh B ganeshsu...@yahoo.com wrote:

Are there rapers for them, or any alternatives for my question? Did not find 
any relevant things in codeaurora and codesourcery. Let me check buildroot 
though.


What I need actually is how to compile a ARM or ARM64 from i386 Machine. 
Facing issues making .config and make arch= for other architecture in i386.
you need a crosstool chain, which is provided by one of these sites. There are 
no wrappers(not that I am aware of). There may be few pre-compiled binary 
toolchans, and there may be few which can compile using the configuration like 
buildroot one.
And please do not top post. 

 
Warm Regards,
Ganesh





 From: Anuz Pratap Singh Tomar chambilketha...@gmail.com
To: Ganesh B ganeshsu...@yahoo.com 
Cc: kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org 
Sent: Saturday, January 5, 2013 4:31 PM
Subject: Re: Cross Compiling a different architechture





On Sat, Jan 5, 2013 at 5:05 AM, Ganesh B ganeshsu...@yahoo.com wrote:

Hello,


I am receiving a configuration and CC1 Errors when cross compiling ARM64 
machine from a i386 version. Any help on correct cross compiling a 
architechture from a different machine. A weblink is also fine. Been trying 
the docs and some scripts did not work.



Is there a method to compile all architectures at the same to save time? I 
have not been able to do that.


try buildroot or codesourcery or codeaurora(I think it only supports specific 
tool chains) 

TnR,
Ganesh

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




-- 
Thank you 
Warm Regards
Anuz





-- 
Thank you 
Warm Regards
Anuz___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Cross Compiling a different architechture

2013-01-05 Thread Ganesh B
Are there rapers for them, or any alternatives for my question? Did not find 
any relevant things in codeaurora and codesourcery. Let me check buildroot 
though.

What I need actually is how to compile a ARM or ARM64 from i386 Machine. Facing 
issues making .config and make arch= for other architecture in i386.
 
Warm Regards,
Ganesh




 From: Anuz Pratap Singh Tomar chambilketha...@gmail.com
To: Ganesh B ganeshsu...@yahoo.com 
Cc: kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org 
Sent: Saturday, January 5, 2013 4:31 PM
Subject: Re: Cross Compiling a different architechture
 




On Sat, Jan 5, 2013 at 5:05 AM, Ganesh B ganeshsu...@yahoo.com wrote:

Hello,


I am receiving a configuration and CC1 Errors when cross compiling ARM64 
machine from a i386 version. Any help on correct cross compiling a 
architechture from a different machine. A weblink is also fine. Been trying 
the docs and some scripts did not work.



Is there a method to compile all architectures at the same to save time? I 
have not been able to do that.


try buildroot or codesourcery or codeaurora(I think it only supports specific 
tool chains) 

TnR,
Ganesh

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




-- 
Thank you 
Warm Regards
Anuz___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Cross Compiling a different architechture

2013-01-05 Thread Ganesh B
Anuz Singh Tomar,

Buildroot has the details of config I need. let me see if I am able to use this.
 
TnR,
Ganesh




 From: Ganesh B ganeshsu...@yahoo.com
To: Anuz Pratap Singh Tomar chambilketha...@gmail.com 
Cc: kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org 
Sent: Saturday, January 5, 2013 10:25 PM
Subject: Re: Cross Compiling a different architechture
 

Are there rapers for them, or any alternatives for my question? Did not find 
any relevant things in codeaurora and codesourcery. Let me check buildroot 
though.

What I need actually is how to compile a ARM or ARM64 from i386 Machine. Facing 
issues making .config and make arch= for other architecture in i386.
 
Warm Regards,
Ganesh




 From: Anuz Pratap Singh Tomar chambilketha...@gmail.com
To: Ganesh B ganeshsu...@yahoo.com 
Cc: kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org 
Sent: Saturday, January 5, 2013 4:31 PM
Subject: Re: Cross Compiling a different architechture
 




On Sat, Jan 5, 2013 at 5:05 AM, Ganesh B ganeshsu...@yahoo.com wrote:

Hello,


I am receiving a configuration and CC1 Errors when cross compiling ARM64 
machine from a i386 version. Any help on correct cross compiling a 
architechture from a different machine. A weblink is also fine. Been trying 
the docs and some scripts did not work.



Is there a method to compile all architectures at the same to save time? I 
have not been able to do that.


try buildroot or codesourcery or codeaurora(I think it only supports specific 
tool chains) 

TnR,
Ganesh

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




-- 
Thank you 
Warm Regards
Anuz___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Cross Compiling a different architechture

2013-01-05 Thread Ganesh B
Anuz Singh Tomar,

Do I use the tool chain directly or do I need to compile them from their root 
folders, or as a separate folders and config file in the mainfolder chain. Just 
trying to download this.

Does this have an auto-configuration or rapper utility for installation CD like 
an guided installer or any separate installer is needed?

TnR,

Ganesh




 From: Anuz Pratap Singh Tomar chambilketha...@gmail.com
To: Ganesh B ganeshsu...@yahoo.com 
Cc: kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org 
Sent: Saturday, January 5, 2013 10:43 PM
Subject: Re: Cross Compiling a different architechture





On Sat, Jan 5, 2013 at 4:55 PM, Ganesh B ganeshsu...@yahoo.com wrote:

Are there rapers for them, or any alternatives for my question? Did not find 
any relevant things in codeaurora and codesourcery. Let me check buildroot 
though.


What I need actually is how to compile a ARM or ARM64 from i386 Machine. 
Facing issues making .config and make arch= for other architecture in i386.
you need a crosstool chain, which is provided by one of these sites. There are 
no wrappers(not that I am aware of). There may be few pre-compiled binary 
toolchans, and there may be few which can compile using the configuration like 
buildroot one.
And please do not top post. 

 
Warm Regards,
Ganesh





 From: Anuz Pratap Singh Tomar chambilketha...@gmail.com
To: Ganesh B ganeshsu...@yahoo.com 
Cc: kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org 
Sent: Saturday, January 5, 2013 4:31 PM
Subject: Re: Cross Compiling a different architechture





On Sat, Jan 5, 2013 at 5:05 AM, Ganesh B ganeshsu...@yahoo.com wrote:

Hello,


I am receiving a configuration and CC1 Errors when cross compiling ARM64 
machine from a i386 version. Any help on correct cross compiling a 
architechture from a different machine. A weblink is also fine. Been trying 
the docs and some scripts did not work.



Is there a method to compile all architectures at the same to save time? I 
have not been able to do that.


try buildroot or codesourcery or codeaurora(I think it only supports specific 
tool chains) 

TnR,
Ganesh

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




-- 
Thank you 
Warm Regards
Anuz





-- 
Thank you 
Warm Regards
Anuz___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Cross Compiling a different architechture

2013-01-05 Thread Ganesh B
Anuz Singh Tomar,

Basically do I copy it in to separate folder or into specific folders.

Never used the kernel image till now, so do I need an auto-configuration/ 
installer tool for an installation and recovery CD. This is for my system so do 
not want to take chance with Data.
 
Warm Regards,
Ganesh




 From: Ganesh B ganeshsu...@yahoo.com
To: Anuz Pratap Singh Tomar chambilketha...@gmail.com 
Cc: kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org 
Sent: Saturday, January 5, 2013 10:52 PM
Subject: Re: Cross Compiling a different architechture
 

Anuz Singh Tomar,

Do I use the tool chain directly or do I need to compile them from their root 
folders, or as a separate folders and config file in the mainfolder chain. Just 
trying to download this.

Does this have an auto-configuration or rapper utility for installation CD like 
an guided installer or any separate installer is needed?

TnR,

Ganesh




 From: Anuz Pratap Singh Tomar chambilketha...@gmail.com
To: Ganesh B ganeshsu...@yahoo.com 
Cc: kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org 
Sent: Saturday, January 5, 2013 10:43 PM
Subject: Re: Cross Compiling a different architechture





On Sat, Jan 5, 2013 at 4:55 PM, Ganesh B ganeshsu...@yahoo.com wrote:

Are there rapers for them, or any alternatives for my question? Did not find 
any relevant things in codeaurora and codesourcery. Let me check buildroot 
though.


What I need actually is how to compile a ARM or ARM64 from i386 Machine. 
Facing issues making .config and make arch= for other architecture in i386.
you need a crosstool chain, which is provided by one of these sites. There are 
no wrappers(not that I am aware of). There may be few pre-compiled binary 
toolchans, and there may be few which can compile using the configuration like 
buildroot one.
And please do not top post. 

 
Warm Regards,
Ganesh





 From: Anuz Pratap Singh Tomar chambilketha...@gmail.com
To: Ganesh B ganeshsu...@yahoo.com 
Cc: kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org 
Sent: Saturday, January 5, 2013 4:31 PM
Subject: Re: Cross Compiling a different architechture





On Sat, Jan 5, 2013 at 5:05 AM, Ganesh B ganeshsu...@yahoo.com wrote:

Hello,


I am receiving a configuration and CC1 Errors when cross compiling ARM64 
machine from a i386 version. Any help on correct cross compiling a 
architechture from a different machine. A weblink is also fine. Been trying 
the docs and some scripts did not work.



Is there a method to compile all architectures at the same to save time? I 
have not been able to do that.


try buildroot or codesourcery or codeaurora(I think it only supports specific 
tool chains) 

TnR,
Ganesh

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




-- 
Thank you 
Warm Regards
Anuz





-- 
Thank you 
Warm Regards
Anuz___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Cross Compiling a different architechture

2013-01-05 Thread Ganesh B
Anuz Singh Tomar,

Basically do I copy it in to separate folder or into specific folders. I am 
talking about buildroot.

Never used the kernel image till now, so do I need an auto-configuration/ 
installer tool for an installation and recovery CD. This is for my system so do 
not want to take chance with Data.
 
Warm Regards,
Ganesh


 From: Ganesh B ganeshsu...@yahoo.com
To: Anuz Pratap Singh Tomar chambilketha...@gmail.com 
Cc: kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org 
Sent: Saturday, January 5, 2013 11:07 PM
Subject: Re: Cross Compiling a different architechture
 

Anuz Singh Tomar,

Basically do I copy it in to separate folder or into specific folders.

Never used the kernel image till now, so do I need an auto-configuration/ 
installer tool for an installation and recovery CD. This is for my system so do 
not want to take chance with Data.
 
Warm Regards,
Ganesh




 From: Ganesh B ganeshsu...@yahoo.com
To: Anuz Pratap Singh Tomar chambilketha...@gmail.com 
Cc: kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org 
Sent: Saturday, January 5, 2013 10:52 PM
Subject: Re: Cross Compiling a different architechture
 

Anuz Singh Tomar,

Do I use the tool chain directly or do I need to compile them from their root 
folders, or as a separate folders and config file in the mainfolder chain. Just 
trying to download this.

Does this have an auto-configuration or rapper utility for installation CD like 
an guided installer or any separate installer is needed?

TnR,

Ganesh




 From: Anuz Pratap Singh Tomar chambilketha...@gmail.com
To: Ganesh B ganeshsu...@yahoo.com 
Cc: kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org 
Sent: Saturday, January 5, 2013 10:43 PM
Subject: Re: Cross Compiling a different architechture





On Sat, Jan 5, 2013 at 4:55 PM, Ganesh B ganeshsu...@yahoo.com wrote:

Are there rapers for them, or any alternatives for my question? Did not find 
any relevant things in codeaurora and codesourcery. Let me check buildroot 
though.


What I need actually is how to compile a ARM or ARM64 from i386 Machine. 
Facing issues making .config and make arch= for other architecture in i386.
you need a crosstool chain, which is provided by one of these sites. There are 
no wrappers(not that I am aware of). There may be few pre-compiled binary 
toolchans, and there may be few which can compile using the configuration like 
buildroot one.
And please do not top post. 

 
Warm Regards,
Ganesh





 From: Anuz Pratap Singh Tomar chambilketha...@gmail.com
To: Ganesh B ganeshsu...@yahoo.com 
Cc: kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org 
Sent: Saturday, January 5, 2013 4:31 PM
Subject: Re: Cross Compiling a different architechture





On Sat, Jan 5, 2013 at 5:05 AM, Ganesh B ganeshsu...@yahoo.com wrote:

Hello,


I am receiving a configuration and CC1 Errors when cross compiling ARM64 
machine from a i386 version. Any help on correct cross compiling a 
architechture from a different machine. A weblink is also fine. Been trying 
the docs and some scripts did not work.



Is there a method to compile all architectures at the same to save time? I 
have not been able to do that.


try buildroot or codesourcery or codeaurora(I think it only supports specific 
tool chains) 

TnR,
Ganesh

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




-- 
Thank you 
Warm Regards
Anuz





-- 
Thank you 
Warm Regards
Anuz___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Cross Compiling a different architechture

2013-01-04 Thread Ganesh B
Hello,

I am receiving a configuration and CC1 Errors when cross compiling ARM64 
machine from a i386 version. Any help on correct cross compiling a 
architechture from a different machine. A weblink is also fine. Been trying the 
docs and some scripts did not work.


Is there a method to compile all architectures at the same to save time? I have 
not been able to do that.

TnR,
Ganesh
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Kernelnewbies Digest, Vol 26, Issue 1

2013-01-03 Thread Ganesh B
I am trying to build the Kernel 3.7 and there are some files which have to be 
overwritten when uncompressing. One of the same files, ipt_ECN.c, gives an 
error stopping the build process. Any suggestions?

net/ipv4/netfilter/ipt_ECN.c:20:42: fatal error: 
linux/netfilter_ipv4/ipt_ECN.h: No such file or directory
compilation terminated.
make[3]: *** [net/ipv4/netfilter/ipt_ECN.o] Error 1
make[2]: *** [net/ipv4/netfilter] Error 2
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2
 
TnR,
Ganesh B




 From: kernelnewbies-requ...@kernelnewbies.org 
kernelnewbies-requ...@kernelnewbies.org
To: kernelnewbies@kernelnewbies.org 
Sent: Wednesday, January 2, 2013 10:30 PM
Subject: Kernelnewbies Digest, Vol 26, Issue 1
 
Send Kernelnewbies mailing list submissions to
    kernelnewbies@kernelnewbies.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
or, via email, send a message with subject or body 'help' to
    kernelnewbies-requ...@kernelnewbies.org

You can reach the person managing the list at
    kernelnewbies-ow...@kernelnewbies.org

When replying, please edit your Subject line so it is more specific
than Re: Contents of Kernelnewbies digest...


Today's Topics:

   1. Re: trace_console function definition not found in Linux
      kernel v3.5 (jiangtao.jit)
   2. compile linux kernel 2.6.0 failed! (horse_rivers)


--

Message: 1
Date: Wed, 02 Jan 2013 11:45:38 +0800
From: jiangtao.jit jiangtao@gmail.com
Subject: Re: trace_console function definition not found in Linux
    kernel v3.5
To: siddharth goel siddharth98...@gmail.com
Cc: kernelnewbies kernelnewbies@kernelnewbies.org
Message-ID: 50e3ad65.8abe440a.56a1.b...@mx.google.com
Content-Type: text/plain; charset=utf-8

siddharth goel:

defined in include/trace/event/printk.h

refer to macro TRACE_EVENT_CONDITION(...)


2013-01-02



jiangtao.jit



siddharth goel
?2012-12-28 15:43
???trace_console function definition not found in Linux kernel v3.5
kernelnewbieskernelnewbies@kernelnewbies.org
???

In file kernel/printk.c in Linux Kernel 3.5 there is a function call 
trace_console(text, 0, len, len); @line 1219 . 
But I could not find the definition for same. Am I missing any concept ?


-- 
Thanks and Regards,
Siddharth Goel
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130102/46a96f21/attachment-0001.html
 

--

Message: 2
Date: Wed, 2 Jan 2013 14:50:26 +0800 (CST)
From: horse_rivers horse_riv...@126.com
Subject: compile linux kernel 2.6.0 failed!
To: kernelnewbies@kernelnewbies.org
    kernelnewbies@kernelnewbies.org
Message-ID: 57a6aed1.b519.13bfa067778.coremail.horse_riv...@126.com
Content-Type: text/plain; charset=UTF-8

hi,

? ?I am compiling kernel 2.6.0 with gcc 4.4.5, when linking , here comes the 
error :

??/usr/bin/ld: arch/i386/kernel/vsyscall-int80.so: Not enough room for program 
headers, try linking with -N

? I suspect that ?gcc version is not compitable for ld , my ld is 2.20 version .

? I want to know what does this error mean ? and the general reason for this ?

?thanks!




--

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


End of Kernelnewbies Digest, Vol 26, Issue 1
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Kernelnewbies Digest, Vol 26, Issue 1

2013-01-03 Thread Ganesh B
Hello Dave,

So I have to do the kernelversion.xz extraction in linux OS and then build, 
right? I am extracting this in another OS, got the problem. Thank you very much.
 

Why would I get the following errors, though they would not stop the build 
process? Any help?

1 Where do I change the annotation of snd_hda_build_pcms?

WARNING: sound/pci/hda/built-in.o(.text+0x54bc5): Section mismatch in reference 
from the function azx_probe_continue() to the function 
.devinit.text:snd_hda_build_pcms()
The function azx_probe_continue() references
the function __devinit snd_hda_build_pcms().


This is often because azx_probe_continue lacks a __devinit 
annotation or the annotation of snd_hda_build_pcms is wrong.

OR

WARNING: sound/built-in.o(.text+0x266d0d): Section mismatch in reference from 
the function azx_probe_continue() to the function 
.devinit.text:snd_hda_build_pcms()
The function azx_probe_continue() references
the function __devinit snd_hda_build_pcms().
This is often because azx_probe_continue lacks a __devinit 
annotation or the annotation of snd_hda_build_pcms is wrong.

2

sound/pci/rme9652/hdspm.c: In function ‘snd_hdspm_create_controls’:
sound/pci/rme9652/hdspm.c:4597:20: warning: ‘limit’ may be used 
uninitialized in this function

TnR,

Ganesh B




 From: Dave Hylands dhyla...@gmail.com
To: Ganesh B ganeshsu...@yahoo.com 
Cc: kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org 
Sent: Thursday, January 3, 2013 2:07 PM
Subject: Re: Kernelnewbies Digest, Vol 26, Issue 1
 

Hi Ganesh,




On Wed, Jan 2, 2013 at 11:55 PM, Ganesh B ganeshsu...@yahoo.com wrote:

I am trying to build the Kernel 3.7 and there are some files which have to be 
overwritten when uncompressing. One of the same files, ipt_ECN.c, gives an 
error stopping the build process. Any suggestions?


net/ipv4/netfilter/ipt_ECN.c:20:42: fatal error: 
linux/netfilter_ipv4/ipt_ECN.h: No such file or directory
compilation terminated.

There is an ipt_ecn.c file and an ipt_ECN.c file (which differ only by case), 
so it sounds like there was a case-insensitive file system involved somewhere 
in what you're doing.


Normal linux filesystems (like ext2/3/4) are case-sensitive, so these are 2 
different files.


Dave Hylands___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies