Re: Need to Add Documents in Linux kernel

2012-12-26 Thread Prashant Shah
On Wed, Dec 26, 2012 at 8:57 PM, Javed Iqbal  wrote:
> Hi,
> I just want to know that can I add documents in linux kernel version
> 3.x.x.??  If yes then please tell me the procedure to add the documents?
>

'Documentation' folder inside the kernel source tree.

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


Re: Need to Add Documents in Linux kernel

2012-12-26 Thread amit mehta
On Wed, Dec 26, 2012 at 8:57 PM, Javed Iqbal  wrote:
> Hi,
> I just want to know that can I add documents in linux kernel version
> 3.x.x.??  If yes then please tell me the procedure to add the documents?
>

I guess it won't be any different than sending those as patches.

-Amit

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


Need to Add Documents in Linux kernel

2012-12-26 Thread Javed Iqbal
Hi,
I just want to know that can I add documents in linux kernel version
3.x.x.??  If yes then please tell me the procedure to add the documents?


Thanks & Regards
Javed Iqbal
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Fedora kernel rpmbuild query

2012-12-26 Thread Shraddha Kamat
On Wed, 2012-12-26 at 14:50 +0530, devendra.aaru wrote:
> On Wed, Dec 26, 2012 at 1:35 PM, Shraddha Kamat  wrote:
> > Hi List,
> >
> > I do the following on Fedora kernel src rpm :
> > (1) rpm -ivh kernel-xxx.rpm
> > (2) Go to ~/rpmbuild/SPECS dir
> > (2) rpmbuild -bp kernel.specs --nodeps
> >
> > then in the ~/rpmbuild/BUILD/ dir I get kernel-xxx dir
> > where in there are two source dir -
> > (1) linux-xxx   < A
> > (2) vanilla-xxx < B
> >
> > Why are these two dir created - How do I use the configuration file
> > /boot/config-xxx to build vmlinuz and initrd image ?
> >
> > Which dir A or B sould I use for building ?
> >
> >
> 
> i dunno why you are doing these things, all these look hard path.
> 
> this is what i do:
> 
> take new kernel from ftp.kernel.org or git.kernel.org.
> make defconfig
> make -j10
> make modules_install
> make install

I am not building upstream kernel - this is a kernel supplied by 
the distro with custom patches.
> 
> there are some gliches to it, say
> 
> you have to select the filesystems correctly like if you have ext2, in
> .config enable CONFIG_EXT2_FS=y or what ever the filesystem currently
> you have.
> and your ethernet driver (as of now compile the ethernet drivers as
> modules) (make menuconfig  then networking then ethernet )
> same with the wireless drivers too, (make menuconfig then networking
> then wireless )
> 
> the names i mentioned may change but please go through google once
> posting here :)
> 
Thank you very much for you reply.
> thanks,
> > -- Shraddha
> >
> >
> > ___
> > 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


Re: Fedora kernel rpmbuild query

2012-12-26 Thread Shraddha Kamat
On Wed, 2012-12-26 at 14:29 +0530, Pritam Bankar wrote:
> Hi Shraddha,
> 
> Please find my comments below,
> 
> On Wed, Dec 26, 2012 at 1:35 PM, Shraddha Kamat  wrote:
> > Hi List,
> >
> > I do the following on Fedora kernel src rpm :
> > (1) rpm -ivh kernel-xxx.rpm
> > (2) Go to ~/rpmbuild/SPECS dir
> > (2) rpmbuild -bp kernel.specs --nodeps
> >
> > then in the ~/rpmbuild/BUILD/ dir I get kernel-xxx dir
> > where in there are two source dir -
> > (1) linux-xxx   < A
> > (2) vanilla-xxx < B
> >
> > Why are these two dir created - How do I use the configuration file
> > /boot/config-xxx to build vmlinuz and initrd image ?
> 
> Directory B is vanilla kernel source which is standard kernel source.
> This is a same source which is available on kernel.org
> 
> Directory A is actually for source which has been modified by user. In
> this case it will have patches from FEDORA above standard kernel from
> kernel.org.
> 
> To build vmlinuz and initrd image copy /boot/config-xxx  to Directory
> A (linux-xxx) and run "sudo make oldconfig" then follow normal
> compilation steps
> >
> > Which dir A or B sould I use for building ?
> 
> You should be using directory A
> 
> 
Sure, I guessed so and did this only, but just to confirm I posted in
the list It worked ! 
Thank you very much for you reply!
> >
> >
> > -- Shraddha
> >
> >
> > ___
> > Kernelnewbies mailing list
> > Kernelnewbies@kernelnewbies.org
> > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> 
> Thanks,
> Pritam




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


Re: Fedora kernel rpmbuild query

2012-12-26 Thread devendra.aaru
On Wed, Dec 26, 2012 at 1:35 PM, Shraddha Kamat  wrote:
> Hi List,
>
> I do the following on Fedora kernel src rpm :
> (1) rpm -ivh kernel-xxx.rpm
> (2) Go to ~/rpmbuild/SPECS dir
> (2) rpmbuild -bp kernel.specs --nodeps
>
> then in the ~/rpmbuild/BUILD/ dir I get kernel-xxx dir
> where in there are two source dir -
> (1) linux-xxx   < A
> (2) vanilla-xxx < B
>
> Why are these two dir created - How do I use the configuration file
> /boot/config-xxx to build vmlinuz and initrd image ?
>
> Which dir A or B sould I use for building ?
>
>

i dunno why you are doing these things, all these look hard path.

this is what i do:

take new kernel from ftp.kernel.org or git.kernel.org.
make defconfig
make -j10
make modules_install
make install

there are some gliches to it, say

you have to select the filesystems correctly like if you have ext2, in
.config enable CONFIG_EXT2_FS=y or what ever the filesystem currently
you have.
and your ethernet driver (as of now compile the ethernet drivers as
modules) (make menuconfig  then networking then ethernet )
same with the wireless drivers too, (make menuconfig then networking
then wireless )

the names i mentioned may change but please go through google once
posting here :)

thanks,
> -- Shraddha
>
>
> ___
> 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


Re: Fedora kernel rpmbuild query

2012-12-26 Thread Pritam Bankar
Hi Shraddha,

Please find my comments below,

On Wed, Dec 26, 2012 at 1:35 PM, Shraddha Kamat  wrote:
> Hi List,
>
> I do the following on Fedora kernel src rpm :
> (1) rpm -ivh kernel-xxx.rpm
> (2) Go to ~/rpmbuild/SPECS dir
> (2) rpmbuild -bp kernel.specs --nodeps
>
> then in the ~/rpmbuild/BUILD/ dir I get kernel-xxx dir
> where in there are two source dir -
> (1) linux-xxx   < A
> (2) vanilla-xxx < B
>
> Why are these two dir created - How do I use the configuration file
> /boot/config-xxx to build vmlinuz and initrd image ?

Directory B is vanilla kernel source which is standard kernel source.
This is a same source which is available on kernel.org

Directory A is actually for source which has been modified by user. In
this case it will have patches from FEDORA above standard kernel from
kernel.org.

To build vmlinuz and initrd image copy /boot/config-xxx  to Directory
A (linux-xxx) and run "sudo make oldconfig" then follow normal
compilation steps
>
> Which dir A or B sould I use for building ?

You should be using directory A


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

Thanks,
Pritam

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


Fedora kernel rpmbuild query

2012-12-26 Thread Shraddha Kamat
Hi List,

I do the following on Fedora kernel src rpm :
(1) rpm -ivh kernel-xxx.rpm
(2) Go to ~/rpmbuild/SPECS dir
(2) rpmbuild -bp kernel.specs --nodeps 

then in the ~/rpmbuild/BUILD/ dir I get kernel-xxx dir 
where in there are two source dir - 
(1) linux-xxx   < A
(2) vanilla-xxx < B

Why are these two dir created - How do I use the configuration file 
/boot/config-xxx to build vmlinuz and initrd image ?

Which dir A or B sould I use for building ?


-- Shraddha 


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