* OT: compilation
@ 2010-10-07 20:14 Grzesiek Sójka
[not found] ` <4CAE2A1B.1000105-t9zbU3WrWHI@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Grzesiek Sójka @ 2010-10-07 20:14 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
I have two problems with the kernel compilation.
1. I have a small rootfs. It is too small to put all the modules there
without gzipping it first. So installing it requires lots of sweating.
That is why I was wondering if there is a (more/less easy) way to make
the "make modules_install" command gzip the modules "on the fly".
2. I modified the sources and after compilation the string
"g76f6e1f-dirty" was appended to the kernel version. It is a bit
annoying because of the lack of the space at the rootfs. Is there a way
to avoid this kind of a version extension??
Thanks for your help in advance.
^ permalink raw reply [flat|nested] 7+ messages in thread[parent not found: <4CAE2A1B.1000105-t9zbU3WrWHI@public.gmane.org>]
* Re: OT: compilation [not found] ` <4CAE2A1B.1000105-t9zbU3WrWHI@public.gmane.org> @ 2010-10-07 20:34 ` Pekka Paalanen [not found] ` <20101007233420.1f763477-cxYvVS3buNOdIgDiPM52R8c4bpwCjbIv@public.gmane.org> 2010-10-07 20:50 ` Xavier Chantry 1 sibling, 1 reply; 7+ messages in thread From: Pekka Paalanen @ 2010-10-07 20:34 UTC (permalink / raw) To: Grzesiek Sójka; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW On Thu, 07 Oct 2010 22:14:19 +0200 Grzesiek Sójka <pld-t9zbU3WrWHI@public.gmane.org> wrote: > I have two problems with the kernel compilation. > > 1. I have a small rootfs. It is too small to put all the modules > there without gzipping it first. So installing it requires lots > of sweating. That is why I was wondering if there is a (more/less > easy) way to make the "make modules_install" command gzip the > modules "on the fly". Wait, does modprobe support compressed kernel modules? I've never heard of that. If you really do not want to touch the partitioning, how about symlinking some directories elsewhere? Be careful on what is needed to boot, though. > 2. I modified the sources and after compilation the string > "g76f6e1f-dirty" was appended to the kernel version. It is a bit > annoying because of the lack of the space at the rootfs. Is there > a way to avoid this kind of a version extension?? Yes, it is CONFIG_LOCALVERSION_AUTO as far as I recall, disable that. -- Pekka Paalanen http://www.iki.fi/pq/ ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <20101007233420.1f763477-cxYvVS3buNOdIgDiPM52R8c4bpwCjbIv@public.gmane.org>]
* Re: OT: compilation [not found] ` <20101007233420.1f763477-cxYvVS3buNOdIgDiPM52R8c4bpwCjbIv@public.gmane.org> @ 2010-10-07 20:38 ` Grzesiek Sójka 2010-10-07 20:46 ` Grzesiek Sójka 1 sibling, 0 replies; 7+ messages in thread From: Grzesiek Sójka @ 2010-10-07 20:38 UTC (permalink / raw) To: Pekka Paalanen, nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW On 10/07/10 22:34, Pekka Paalanen wrote: > On Thu, 07 Oct 2010 22:14:19 +0200 > Grzesiek Sójka<pld-t9zbU3WrWHI@public.gmane.org> wrote: > >> I have two problems with the kernel compilation. >> >> 1. I have a small rootfs. It is too small to put all the modules >> there without gzipping it first. So installing it requires lots >> of sweating. That is why I was wondering if there is a (more/less >> easy) way to make the "make modules_install" command gzip the >> modules "on the fly". > > Wait, does modprobe support compressed kernel modules? I've Yes, it does. I thing that most of the distribution pre-compiled kernels does have gziped modules. > never heard of that. If you really do not want to touch > the partitioning, how about symlinking some directories > elsewhere? Be careful on what is needed to boot, though. Wrong idea. I already tried this. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: OT: compilation [not found] ` <20101007233420.1f763477-cxYvVS3buNOdIgDiPM52R8c4bpwCjbIv@public.gmane.org> 2010-10-07 20:38 ` Grzesiek Sójka @ 2010-10-07 20:46 ` Grzesiek Sójka [not found] ` <4CAE3198.3020405-t9zbU3WrWHI@public.gmane.org> 1 sibling, 1 reply; 7+ messages in thread From: Grzesiek Sójka @ 2010-10-07 20:46 UTC (permalink / raw) To: Pekka Paalanen; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW On 10/07/10 22:34, Pekka Paalanen wrote: > Yes, it is CONFIG_LOCALVERSION_AUTO as far as I recall, disable that. Where is it?? Which file?? ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <4CAE3198.3020405-t9zbU3WrWHI@public.gmane.org>]
* Re: OT: compilation [not found] ` <4CAE3198.3020405-t9zbU3WrWHI@public.gmane.org> @ 2010-10-08 0:21 ` walt 0 siblings, 0 replies; 7+ messages in thread From: walt @ 2010-10-08 0:21 UTC (permalink / raw) To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW On 10/07/2010 01:46 PM, Grzesiek Sójka wrote: > On 10/07/10 22:34, Pekka Paalanen wrote: >> Yes, it is CONFIG_LOCALVERSION_AUTO as far as I recall, disable that. > Where is it?? Which file?? It is part of your kernel configuration. Go to the directory containing the source code of your kernel, usually /usr/src/linux-2.6.xx, and then run 'make menuconfig'. When the configuration menu appears, type the '/' character to enter the 'search' mode and then type 'localversion' (for example) to find the list of matching items. I find two items: Symbol: LOCALVERSION [=] │ │ Type : string │ │ Prompt: Local version - append to kernel release │ │ Defined at init/Kconfig:87 │ │ Location: │ │ -> General setup │ │ │ │ │ │ Symbol: LOCALVERSION_AUTO [=y] │ │ Type : boolean │ │ Prompt: Automatically append version information to the version string │ │ Defined at init/Kconfig:97 │ │ Location: │ │ -> General setup │ The difference between the two is not obvious, but the second item is what you were (correctly) advised to look for. Notice that the "Location" of both items is "General setup". Exit the search function. You should now be back in the kernel configuration menu and , just by luck, the "General setup" item should already be highlighted (for me it is colored blue). Hit Enter to see the the "General setup" menu. On my machine the item you want is on line number four. Hit the SPACE bar to select the item and then use the TAB key to navigate to "Exit" and hit Enter to go back to the main menu and then hit "Exit" again. You should see a dialog asking you if you want to save your new kernel configuration, and, of course, you do want to save it. Now recompile and install your new kernel. _______________________________________________ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: OT: compilation [not found] ` <4CAE2A1B.1000105-t9zbU3WrWHI@public.gmane.org> 2010-10-07 20:34 ` Pekka Paalanen @ 2010-10-07 20:50 ` Xavier Chantry [not found] ` <AANLkTi=HO9rxCTOXdhagYm7WB-pF73C8_eipMCrYeGOG-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 1 sibling, 1 reply; 7+ messages in thread From: Xavier Chantry @ 2010-10-07 20:50 UTC (permalink / raw) To: Grzesiek Sójka; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW 2010/10/7 Grzesiek Sójka <pld-t9zbU3WrWHI@public.gmane.org>: > I have two problems with the kernel compilation. > > 1. I have a small rootfs. It is too small to put all the modules there > without gzipping it first. So installing it requires lots of sweating. That > is why I was wondering if there is a (more/less easy) way to make the "make > modules_install" command gzip the modules "on the fly". > No idea if you can do that but here are some possible alternatives : 1) increase the size of your rootfs 2) remove modules you don't need and change from modules to builtin for features or drivers that you don't need to unload/reload 3) a quick googling showed me this patch : http://www.mail-archive.com/linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org/msg271865.html However it seems to install first then compress so if that's the case, you will need to adapt it to your need 4) set INSTALL_MOD_PATH to a prefix , compress modules , then move to /lib/modules/ LOCALVERSION_AUTO is found in : make menuconfig General Setup Automatically append version information to the version string ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <AANLkTi=HO9rxCTOXdhagYm7WB-pF73C8_eipMCrYeGOG-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: OT: compilation [not found] ` <AANLkTi=HO9rxCTOXdhagYm7WB-pF73C8_eipMCrYeGOG-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2010-10-07 21:04 ` Grzesiek Sójka 0 siblings, 0 replies; 7+ messages in thread From: Grzesiek Sójka @ 2010-10-07 21:04 UTC (permalink / raw) To: Xavier Chantry; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW On 10/07/10 22:50, Xavier Chantry wrote: > 2010/10/7 Grzesiek Sójka<pld-t9zbU3WrWHI@public.gmane.org>: >> I have two problems with the kernel compilation. >> >> 1. I have a small rootfs. It is too small to put all the modules there >> without gzipping it first. So installing it requires lots of sweating. That >> is why I was wondering if there is a (more/less easy) way to make the "make >> modules_install" command gzip the modules "on the fly". >> > > No idea if you can do that but here are some possible alternatives : > 1) increase the size of your rootfs Veeeeeeeeeeeeery difficult in my case. > 2) remove modules you don't need and change from modules to builtin > for features or drivers that you don't need to unload/reload I'm trying to do this. Unfortunately I did not compile the kernel by myself for at lest 5 yeas and it is a big in my a%$#. > 3) a quick googling showed me this patch : > http://www.mail-archive.com/linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org/msg271865.html > However it seems to install first then compress so if that's the case, > you will need to adapt it to your need If I'm right it compress every module _just_after_ imstalling it. So it should be fine for me. > 4) set INSTALL_MOD_PATH to a prefix , compress modules , then move to > /lib/modules/ If 3) don't helps I try to do this. > LOCALVERSION_AUTO is found in : > make menuconfig > General Setup > Automatically append version information to the version string Supper thanks ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-10-08 0:21 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-07 20:14 OT: compilation Grzesiek Sójka
[not found] ` <4CAE2A1B.1000105-t9zbU3WrWHI@public.gmane.org>
2010-10-07 20:34 ` Pekka Paalanen
[not found] ` <20101007233420.1f763477-cxYvVS3buNOdIgDiPM52R8c4bpwCjbIv@public.gmane.org>
2010-10-07 20:38 ` Grzesiek Sójka
2010-10-07 20:46 ` Grzesiek Sójka
[not found] ` <4CAE3198.3020405-t9zbU3WrWHI@public.gmane.org>
2010-10-08 0:21 ` walt
2010-10-07 20:50 ` Xavier Chantry
[not found] ` <AANLkTi=HO9rxCTOXdhagYm7WB-pF73C8_eipMCrYeGOG-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-10-07 21:04 ` Grzesiek Sójka
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.