Re: kernel image path
On Tue, 08 May 2018 03:12:31 +0530, Sumit Kumar said: > My local kernel repository size has inflated to around 14 GB after > building kernel a few times. I was wondering if it keeps previous images > as well which could be taking a lot of disk space. Not sure what you mean by "local kernel repository". The kernel build directory should use pretty much the same amount of disk each time you build it (unless you're using O= pointing at a different place each time, in which case it's doing exactly what you told it to do...) Note that if you install a lot of kernels, you'll end up with lots of subdirectories in /lib/modules if you don't clear them out. Particularly a problem if you build a kernel a week (like I do) and use a "distro" config that builds almost everything (I don't do that). pgpunZGY8E5P2.pgp Description: PGP signature ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: where to send patch
On May 7, 2018 5:23 PM, Sumit Kumarwrote: > > Hi, > > When I use get_maintainer.pl script it give a list of names / addresses. > >1. Should I send to only one of them Send it to all of them, otherwise it's more likely it'll be lost in the noise. > 2. Should I put the first address in "To" field and the rest all in "CC" ? I believe you put the contributors in the To field and CC the relevant mailing list(s). There's a contribution guide you can read that explains this and more. (I'm paraphrasing so don't quote me) Regards, Alex ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: kernel image path
Hi Valdis, Thanks for the quick reply. I wanted to find out where the kernel images are stored to check their size. My local kernel repository size has inflated to around 14 GB after building kernel a few times. I was wondering if it keeps previous images as well which could be taking a lot of disk space. By looking into arch folder it seems kernel image takes around 8 MB. Max. space is used by drivers folder - I guess its the object files from all the drivers. I am again left wondering if building kernel drivers multiple times keeps the older driver object or replaces it with newer one. I am little bit short on disk space right and hence needed to clear few things out. -- Thanks and Regards, Sumit On Tuesday 08 May 2018 01:13 AM, valdis.kletni...@vt.edu wrote: On Tue, 08 May 2018 00:45:25 +0530, Sumit Kumar said: Sorry, there is a typo : I meant make -jX in a kernel sandbox. The same place it puts it if you don't use -jX. The exact answer will depend on what sort of sandbox you're using, and how exactly you're setting things up, and what system(s) you're building for. For example: on x86_64, by default the kernel ends up in arch/x86/boot/bzImage. If you have your build tree at /usr/src/linux, that means it ends up in /usr/src/linux/arch/x86/boot/bzImage. If you're building in a directory called '/source/kernel' inside a chroot based at '/containers/build-kernel', it will end up in /containers/build-kernel/source/kernel/arch/x86/boot/bzImage (as viewed from outside the chroot). Being more specific will require knowing what exactly you're trying to do ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
where to send patch
Hi, When I use get_maintainer.pl script it give a list of names / addresses. 1. Should I send to only one of them ? 2. Should I put the first address in "To" field and the rest all in "CC" ? -- Thanks and Regards, Sumit ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Compiler lacks asm go-to support
On Tue, 08 May 2018 01:11:51 +0530, Bhanusree Pola said: > I have cloned kernel from > git clone -b staging-testing > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging > while configuring the following error is shown > > arch/x86/Makefile:184: *** Compiler lacks asm-goto support.. Stop. You're using an ancient gcc (older than gcc 4.5) or some other compiler that doesn't support goto a C label inside an asm() statement. pgpYS2z5ShZJU.pgp Description: PGP signature ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Compiler lacks asm go-to support
On Tue, May 08, 2018 at 01:11:51AM +0530, Bhanusree Pola wrote: > Hi all, > > I have cloned kernel from > git clone -b staging-testing > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging > while configuring the following error is shown > > arch/x86/Makefile:184: *** Compiler lacks asm-goto support.. Stop. > > I have tried all possible debugging with the help of internet,but could > not solve the problem. > > Please help me in this regard What compiler version are you using? Justin ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: kernel image path
On Tue, 08 May 2018 00:45:25 +0530, Sumit Kumar said: > Sorry, there is a typo : I meant make -jX in a kernel sandbox. The same place it puts it if you don't use -jX. The exact answer will depend on what sort of sandbox you're using, and how exactly you're setting things up, and what system(s) you're building for. For example: on x86_64, by default the kernel ends up in arch/x86/boot/bzImage. If you have your build tree at /usr/src/linux, that means it ends up in /usr/src/linux/arch/x86/boot/bzImage. If you're building in a directory called '/source/kernel' inside a chroot based at '/containers/build-kernel', it will end up in /containers/build-kernel/source/kernel/arch/x86/boot/bzImage (as viewed from outside the chroot). Being more specific will require knowing what exactly you're trying to do pgpNiZ2HwZbKL.pgp Description: PGP signature ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Compiler lacks asm go-to support
Hi all, I have cloned kernel from git clone -b staging-testing git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging while configuring the following error is shown arch/x86/Makefile:184: *** Compiler lacks asm-goto support.. Stop. I have tried all possible debugging with the help of internet,but could not solve the problem. Please help me in this regard Thanks & regards, Bhanusree Pola ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: kernel image path
Sorry, there is a typo : I meant make -jX in a kernel sandbox. On 8 May 2018 at 00:39, Sumit Kumarwrote: > Hi, > When I do sb make in a Kernel sand box where is the resultant image stored > ? > > -- > Thanks and Regards, > Sumit > ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies