On Mon, Jul 22, 2024 at 11:06:20AM +0200, Petr Pavlu wrote:
> Allow enabling the in-kernel module decompression support separately,
> without requiring to enable also the automatic compression during
> 'make modules_install'.
Applied and pushed, thanks!
Luis
then each module gets compressed during
> >> 'make modules_install' and additionally one can also enable support for
> >> a respective direct in-kernel decompression support. This means that the
> >> decompression support cannot be enabled without the automatic com
On 7/22/24 12:23, Masahiro Yamada wrote:
> On Mon, Jul 22, 2024 at 6:07 PM Petr Pavlu wrote:
>>
>> The kernel configuration allows specifying a module compression mode. If
>> one is selected then each module gets compressed during
>> 'make modules_install'
On Mon, Jul 22, 2024 at 6:07 PM Petr Pavlu wrote:
>
> The kernel configuration allows specifying a module compression mode. If
> one is selected then each module gets compressed during
> 'make modules_install' and additionally one can also enable support for
> a re
The kernel configuration allows specifying a module compression mode. If
one is selected then each module gets compressed during
'make modules_install' and additionally one can also enable support for
a respective direct in-kernel decompression support. This means that the
decompressi
Allow enabling the in-kernel module decompression support separately,
without requiring to enable also the automatic compression during
'make modules_install'.
Petr Pavlu (2):
module: Split modules_install compression and in-kernel decompression
module: Clean up the description of M
a/Makefile b/Makefile
> index ed8bd815e8a3..0e06db5ed9d8 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1779,10 +1779,8 @@ $(MODORDER): descend
> PHONY += modules_install
> modules_install: _emodinst_ _emodinst_post
>
> -install-dir := $(if $(INSTALL_MOD_DIR),$(INSTALL_MOD_DIR),extr
+= modules_install
modules_install: _emodinst_ _emodinst_post
-install-dir := $(if $(INSTALL_MOD_DIR),$(INSTALL_MOD_DIR),extra)
PHONY += _emodinst_
_emodinst_:
- $(Q)mkdir -p $(MODLIB)/$(install-dir)
$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modinst
PHONY += _emodinst_post
On Sat, Mar 16, 2019 at 1:25 AM Douglas Anderson wrote:
>
> This reverts commit caf6fe91ddf62a96401e21e9b7a07227440f4185.
>
> The commit was fine but is no longer needed as of commit 3a2429e1faf4
> ("kbuild: change if_changed_rule for multi-line recipe"). Let's go
> back to using ";" to be consis
This reverts commit caf6fe91ddf62a96401e21e9b7a07227440f4185.
The commit was fine but is no longer needed as of commit 3a2429e1faf4
("kbuild: change if_changed_rule for multi-line recipe"). Let's go
back to using ";" to be consistent.
For some discussion, see:
https://lkml.kernel.org/r/CAK7LNAS
perhaps with less complexity.
> > > >
> > > > Specifically I observed that by timing the parsing stage of the
> > > > Makefile by adding statements like this to the beginning and end of
> > > > the Makefile:
> > > > ZZZ := $(shell echo &q
t; > > the Makefile:
> > > ZZZ := $(shell echo "$$(date '+%T.%N'): ..." >> /tmp/timing.txt)
> > >
> > > ...that three targets were spending 3 seconds each parsing the
> > > Makefile in my environment (building a Chrome OS kernel wi
rsing stage of the
> > Makefile by adding statements like this to the beginning and end of
> > the Makefile:
> > ZZZ := $(shell echo "$$(date '+%T.%N'): ..." >> /tmp/timing.txt)
> >
> > ...that three targets were spending 3 seconds each parsing
t;> /tmp/timing.txt)
>
> ...that three targets were spending 3 seconds each parsing the
> Makefile in my environment (building a Chrome OS kernel with clang)
> when it felt like they ought to be quick. These were: install,
> modules_install and kernelrelease
>
> I saw t
ts like this to the beginning and end of
the Makefile:
ZZZ := $(shell echo "$$(date '+%T.%N'): ..." >> /tmp/timing.txt)
...that three targets were spending 3 seconds each parsing the
Makefile in my environment (building a Chrome OS kernel with clang)
when it felt like
On Tue, Feb 05, 2019 at 11:30:53AM +0530, Bharath Vedartham wrote:
> Hi all,
>
> I am unable to execute make modules_install install.
> I get the following error:
Could you show the complete commands you are trying please
thanks,
Tobin.
Hi all,
I am unable to execute make modules_install install.
I get the following error:
ln: target 'linux-00096-gd1aa1a8/source' is not a directory
Makefile:1281: recipe for target '_modinst_' failed
make[1]: *** [_modinst_] Error 1
Makefile:296: recipe for target '_
2018-09-07 8:37 GMT+09:00 Randy Dunlap :
> From: Randy Dunlap
>
> If there is no System.map file for "make modules_install",
> scripts/depmod.sh will silently exit with success, having done
> nothing. Since this is an unexpected situation, change it to
> report a
From: Randy Dunlap
If there is no System.map file for "make modules_install",
scripts/depmod.sh will silently exit with success, having done
nothing. Since this is an unexpected situation, change it to
report a Warning for the missing file. The behavior is not
changed except for t
On 09/05/2018 12:17 AM, Masahiro Yamada wrote:
> Hi Randy,
>
> 2018-09-01 7:33 GMT+09:00 Randy Dunlap :
>> From: Randy Dunlap
>>
>> If there is no System.map file for "make modules_install",
>> scripts/depmod.sh will silently exit with success
Hi Randy,
2018-09-01 7:33 GMT+09:00 Randy Dunlap :
> From: Randy Dunlap
>
> If there is no System.map file for "make modules_install",
> scripts/depmod.sh will silently exit with success, having done
> nothing. Since this is an unexpected situation, change it to
&
From: Randy Dunlap
If there is no System.map file for "make modules_install",
scripts/depmod.sh will silently exit with success, having done
nothing. Since this is an unexpected situation, change it to
report a Warning for the missing file. The behavior is not
changed except for t
2018-08-29 4:59 GMT+09:00 Randy Dunlap :
> From: Randy Dunlap
>
> When $DEPMOD is not found, only print a warning instead of exiting
> with an error message and error status:
>
> Warning: 'make modules_install' requires /sbin/depmod. Please install it.
> This
gt;
> Added for v4.
Thanks.
>> BTW, if System.map is missing, depmod is silently skipped.
>>
>>
>> I think if System.map is missing, a user is doing something wrong,
>> but you could do like this:
>>
>> $ make mrproper
>>[snip]
&g
From: Randy Dunlap
When $DEPMOD is not found, only print a warning instead of exiting
with an error message and error status:
Warning: 'make modules_install' requires /sbin/depmod. Please install it.
This is probably in the kmod package.
Change the Error to a Warning because &quo
; Could you add the motivation of this change
> (as Nikolaus reported) ?
>
> Without the reason recorded in git-log,
> somebody may wonder why this commit is useful.
>
Added for v4.
>
>> Warning: 'make modules_install' requires /sbin/depmod. Please install
d in git-log,
somebody may wonder why this commit is useful.
> Warning: 'make modules_install' requires /sbin/depmod. Please install it.
> This is probably in the kmod package.
>
> Signed-off-by: Randy Dunlap
> Fixes: 934193a654c1 ("kbuild: verify that $DEPMOD i
Hi Randy,
> Am 23.08.2018 um 20:13 schrieb Randy Dunlap :
>
> From: Randy Dunlap
>
> When $DEPMOD is not found, only print a warning instead of exiting
> with an error message and error status.
>
> Warning: 'make modules_install' requires /sbin/depmod. Please
From: Randy Dunlap
When $DEPMOD is not found, only print a warning instead of exiting
with an error message and error status.
Warning: 'make modules_install' requires /sbin/depmod. Please install it.
This is probably in the kmod package.
Signed-off-by: Randy Dunlap
Fixes: 93
On Thu, Aug 23, 2018 at 10:52:39AM -0700, Randy Dunlap wrote:
> From: Randy Dunlap
>
> When $DEPMOD is not found, only print a warning instead of exiting
> with an error message and error status.
>
> Warning: 'make modules_install' requires /sbin/depmod. Please insta
From: Randy Dunlap
When $DEPMOD is not found, only print a warning instead of exiting
with an error message and error status.
Warning: 'make modules_install' requires /sbin/depmod. Please install it.
This is probably in the kmod package.
Signed-off-by: Randy Dunlap
---
v2: add missi
12 @@ ifeq ($(KBUILD_EXTMOD),)
endif
endif
endif
+# install and module_install need also be processed one by one
+ifneq ($(filter install,$(MAKECMDGOALS)),)
+ifneq ($(filter modules_install,$(MAKECMDGOALS)),)
+ mixed-targets := 1
+endif
+endif
ifeq ($(mix
dif
endif
+# install and module_install need also be processed one by one
+ifneq ($(filter install,$(MAKECMDGOALS)),)
+ifneq ($(filter modules_install,$(MAKECMDGOALS)),)
+ mixed-targets := 1
+endif
+endif
ifeq ($(mixed-targets),1)
# ===
gt; @@ -503,6 +503,12 @@ ifeq ($(KBUILD_EXTMOD),)
>> endif
>> endif
>> endif
>> +# install and module_install need also be processed one by one
>> +ifneq ($(filter install,$(MAKECMDGOALS)),)
>> +ifneq ($(
stall and module_install need also be processed one by one
> +ifneq ($(filter install,$(MAKECMDGOALS)),)
> +ifneq ($(filter modules_install,$(MAKECMDGOALS)),)
> + mixed-targets := 1
> +endif
> +endif
>
> ifeq ($(mixed-targets),1)
> # =
From: David Woodhouse
Signed-off-by: David Woodhouse
Signed-off-by: David Howells
---
scripts/Makefile.modinst |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/Makefile.modinst b/scripts/Makefile.modinst
index e48a4e9d8868..07650eeaaf06 100644
--- a/scripts/Makef
From: David Woodhouse
Signed-off-by: David Woodhouse
Signed-off-by: David Howells
---
scripts/Makefile.modinst |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/Makefile.modinst b/scripts/Makefile.modinst
index e48a4e9d8868..07650eeaaf06 100644
--- a/scripts/Makef
From: David Woodhouse
Signed-off-by: David Woodhouse
Signed-off-by: David Howells
---
scripts/Makefile.modinst |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/Makefile.modinst b/scripts/Makefile.modinst
index e48a4e9d8868..07650eeaaf06 100644
--- a/scripts/Makef
Signed-off-by: David Woodhouse
---
scripts/Makefile.modinst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/Makefile.modinst b/scripts/Makefile.modinst
index e48a4e9..07650ee 100644
--- a/scripts/Makefile.modinst
+++ b/scripts/Makefile.modinst
@@ -22,7 +22,7 @@ quiet_c
On Tue, 2015-05-19 at 12:57 +, Woodhouse, David wrote:
> On Tue, 2015-05-19 at 07:45 -0400, Mimi Zohar wrote:
> >
> > /bin/sh: line 1: 22771 Segmentation fault (core dumped)
> > scripts/sign-file "sha256" "pkcs11:manufacturer=piv_II;id=%01"
> > ./signing_key.x509 /lib/modules/4.1.0-rc1
On Tue, 2015-05-19 at 07:45 -0400, Mimi Zohar wrote:
>
> /bin/sh: line 1: 22771 Segmentation fault (core dumped)
> scripts/sign-file "sha256" "pkcs11:manufacturer=piv_II;id=%01"
> ./signing_key.x509 /lib/modules/4.1.0-rc1
> -test+/kernel/net/ipv6/netfilter/ip6table_filter.ko
> /home/zohar/s
On Tue, 2015-05-19 at 06:40 +, Woodhouse, David wrote:
> On Mon, 2015-05-18 at 21:29 -0400, Mimi Zohar wrote:
> > On Fri, 2015-05-15 at 17:52 +0100, David Woodhouse wrote:
> > > Signed-off-by: David Woodhouse
> > With this patch, as expected the modules_install
On Mon, 2015-05-18 at 21:29 -0400, Mimi Zohar wrote:
> On Fri, 2015-05-15 at 17:52 +0100, David Woodhouse wrote:
> > Signed-off-by: David Woodhouse
>
> I assume the patch descriptions will be added before being upstreamed.
This patch aborts modules_install when signing fails
/$(notdir $@) ; \
> -$(mod_sign_cmd) $(2)/$(notdir $@) $(patsubst %,|| true,$(KBUILD_EXTMOD))
> ; \
> +$(mod_sign_cmd) $(2)/$(notdir $@) $(patsubst %,|| true,$(KBUILD_EXTMOD))
> && \
> $(mod_compress_cmd) $(2)/$(notdir $@)
With this patch, as expected the mo
Signed-off-by: David Woodhouse
---
scripts/Makefile.modinst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/Makefile.modinst b/scripts/Makefile.modinst
index e48a4e9..07650ee 100644
--- a/scripts/Makefile.modinst
+++ b/scripts/Makefile.modinst
@@ -22,7 +22,7 @@ quiet_c
On Sun, Oct 12, 2014 at 12:40 PM, Willy Tarreau wrote:
> Hi,
>
> On Sun, Oct 12, 2014 at 11:50:59AM -0400, Andev wrote:
>> Hello Bertrand,
>>
>> Does this need any user space support? Cos currently on a debian
>> testing box(powerpc) enabling this options causes a boot hang while
>> mounting the r
Hi,
On Sun, Oct 12, 2014 at 11:50:59AM -0400, Andev wrote:
> Hello Bertrand,
>
> Does this need any user space support? Cos currently on a debian
> testing box(powerpc) enabling this options causes a boot hang while
> mounting the root file system.
I suspect that your module-ini-tools/kmod are b
no sign, no compress), the following table
> shows observed disk space gain based on the allmodconfig .config :
>
>| time|
>+-+-----+
> | manual .ko
s), the following table
> shows observed disk space gain based on the allmodconfig .config :
>
>| time|
>+-+-+
> | manual .ko | m
Andi Kleen writes:
>> I understand your concern about this, but does is make sense to not use
>> -9 when then following files use gzip or other compression tools with -9 :
>
> Just because someone else makes mistakes doesn't mean that you should
> make them too.
To be fair, you didn't provide har
> I understand your concern about this, but does is make sense to not use
> -9 when then following files use gzip or other compression tools with -9 :
Just because someone else makes mistakes doesn't mean that you should
make them too.
-Andi
--
To unsubscribe from this list: send the line "unsub
| time|
+-+-+
| manual .ko | make | size | percent
| compression | modules_install | | gain
+-+-+--+
-| | 18.61s | 378M |
GZIP | 3
Hi,
D'ar meurzh 19 a viz Eost 2014 e 19 eur 55, « Rusty Russell » he deus skrivet :
> Andi Kleen writes:
> > Bertrand Jacquin writes:
> >>
> >> +# CONFIG_MODULE_COMPRESS, if defined, will cause module to be compressed
> >> +# after they are installed in agreement with CONFIG_MODULE_COMPRESS_GZ
Andi Kleen writes:
> Bertrand Jacquin writes:
>>
>> +# CONFIG_MODULE_COMPRESS, if defined, will cause module to be compressed
>> +# after they are installed in agreement with CONFIG_MODULE_COMPRESS_GZIP
>> +# or CONFIG_MODULE_COMPRESS_XZ.
>> +
>> +mod_compress_cmd = true
>> +ifdef CONFIG_MODULE
Hi,
D'ar meurzh 19 a viz Eost 2014 e 15 eur 17, « Andi Kleen » he deus skrivet :
> Bertrand Jacquin writes:
> >
> > +# CONFIG_MODULE_COMPRESS, if defined, will cause module to be compressed
> > +# after they are installed in agreement with CONFIG_MODULE_COMPRESS_GZIP
> > +# or CONFIG_MODULE_COM
Bertrand Jacquin writes:
>
> +# CONFIG_MODULE_COMPRESS, if defined, will cause module to be compressed
> +# after they are installed in agreement with CONFIG_MODULE_COMPRESS_GZIP
> +# or CONFIG_MODULE_COMPRESS_XZ.
> +
> +mod_compress_cmd = true
> +ifdef CONFIG_MODULE_COMPRESS
> + ifdef CONFIG_M
| time|
+-+-+
| manual .ko | make | size | percent
| compression | modules_install | | gain
+-+-+--+
-| | 18.61s | 378M |
GZIP | 3m16s | 3m37s | 102M | 73.41%
XZ | 5
kefile
>>>>> +++ b/Makefile
>>>>> @@ -503,6 +503,12 @@ ifeq ($(KBUILD_EXTMOD),)
>>>>> endif
>>>>> endif
>>>>> endif
>>>>> +# install and module_install need also be processed one by one
&
t;>>> 1 file changed, 6 insertions(+)
>>>>
>>>> diff --git a/Makefile b/Makefile
>>>> index 7680d7c..7e5e483 100644
>>>> --- a/Makefile
>>>> +++ b/Makefile
>>>> @@ -503,6 +503,12 @@ ifeq ($(KBUILD_EXTMOD),)
>>>>
>>> index 7680d7c..7e5e483 100644
>>> --- a/Makefile
>>> +++ b/Makefile
>>> @@ -503,6 +503,12 @@ ifeq ($(KBUILD_EXTMOD),)
>>> endif
>>> endif
>>> endif
>>> +# install and module_install need also b
gt; @@ -503,6 +503,12 @@ ifeq ($(KBUILD_EXTMOD),)
>> endif
>> endif
>> endif
>> +# install and module_install need also be processed one by one
>> +ifneq ($(filter install,$(MAKECMDGOALS)),)
>> +ifneq ($(filter modules_install,$(MAKECMD
stall and module_install need also be processed one by one
> +ifneq ($(filter install,$(MAKECMDGOALS)),)
> +ifneq ($(filter modules_install,$(MAKECMDGOALS)),)
> + mixed-targets := 1
> +endif
> +endif
Note that this version does not enforce the ordering, i
file
index 7680d7c..7e5e483 100644
--- a/Makefile
+++ b/Makefile
@@ -503,6 +503,12 @@ ifeq ($(KBUILD_EXTMOD),)
endif
endif
endif
+# install and module_install need also be processed one by one
+ifneq ($(filter install,$(MAKECMDGOALS)),)
+ifneq ($(filter modul
On Thu, Jun 12, 2014 at 1:33 AM, Michal Marek wrote:
> Dne 11.6.2014 21:41, Andy Lutomirski napsal(a):
>> Every few months, I forget why I type:
>>
>> $ sudo make -j12 modules_install && sudo make -j12 install
>>
>> instead of just:
>>
>> $ s
Dne 11.6.2014 21:41, Andy Lutomirski napsal(a):
> Every few months, I forget why I type:
>
> $ sudo make -j12 modules_install && sudo make -j12 install
>
> instead of just:
>
> $ sudo make -j12 modules_install install
>
> I try the latter, it appears to w
On Wed, Jun 11, 2014 at 12:44 PM, Sam Ravnborg wrote:
> On Wed, Jun 11, 2014 at 12:41:57PM -0700, Andy Lutomirski wrote:
>> Every few months, I forget why I type:
>>
>> $ sudo make -j12 modules_install && sudo make -j12 install
>>
>> instead of just:
>&
On Wed, Jun 11, 2014 at 12:41:57PM -0700, Andy Lutomirski wrote:
> Every few months, I forget why I type:
>
> $ sudo make -j12 modules_install && sudo make -j12 install
>
> instead of just:
>
> $ sudo make -j12 modules_install install
>
> I try the latt
Every few months, I forget why I type:
$ sudo make -j12 modules_install && sudo make -j12 install
instead of just:
$ sudo make -j12 modules_install install
I try the latter, it appears to work, and then my machine won't boot
because dracut got confused. This fixes it once and fo
n MODULE_SIG
+ help
+ Sign all modules during make modules_install. Without this option,
+ modules must be signed manually, using the scripts/sign-file tool.
+
+comment "Do not forget to sign required modules with scripts/sign-file"
+ depends on MODULE_SIG
Sign all modules during make modules_install. Without this option,
+ modules must be signed manually, using the scripts/sign-file tool.
+
+comment "Do not forget to sign required modules with scripts/sign-file"
+ depends on MODULE_SIG_FORCE && !MODULE_SIG_ALL
+
On 10.8.2012 23:50, Arokux B. wrote:
> Dear Mr. Marek, dear all,
>
> I have detected a hidden failure while building the kernel. If
> --with-rootprefix is set for kmod, then depmod will look for modules
> installed at the location $ROOTPREFIX/lib/modules/. The
> kernel build system does not know a
Dear Mr. Marek, dear all,
I have detected a hidden failure while building the kernel. If
--with-rootprefix is set for kmod, then depmod will look for modules
installed at the location $ROOTPREFIX/lib/modules/. The
kernel build system does not know anything about $ROOTPREFIX, and so
the wrong direc
On Dec 29 2007 16:51, [EMAIL PROTECTED] wrote:
>
>> Erm... same system here -
>>
>> $ gzip -cd /proc/config.gz | grep DEBUG_INFO
>> # CONFIG_DEBUG_INFO is not set
>>
>> I think you managed to snafu something during building.
>
>mhh - i have kernel-default-2.6.22.13-0.3 kernel (didn`t touch that
L PROTECTED], [EMAIL PROTECTED], Linux Kernel Mailing List
>
> Betreff: Re: kbuild: modules_install regression ? - depmod
>
>
> On Dec 29 2007 14:30, [EMAIL PROTECTED] wrote:
> >> On Dec 28 2007 16:08, [EMAIL PROTECTED] wrote:
> >> >
> >> >i
On Dec 29 2007 14:30, [EMAIL PROTECTED] wrote:
>> On Dec 28 2007 16:08, [EMAIL PROTECTED] wrote:
>> >
>> >i have the same issue, but with 2.6.24-rc6 on a box with 512MB RAM
>> >
>> >System is openSUSE 10.3
>>
>> If you enable CONFIG_DEBUG_INFO, don't be surprised.
>
>oh yes, that`s it!
>
>apparent
On Sat, 2007-12-29 at 14:30 +0100, [EMAIL PROTECTED] wrote:
> > Though I'd say depmod should ignore the debug sections.
>
> so depmod is acting sort of "stupid" here ?
depmod has a bunch of issues that need taking care of, this is just one
of them, but yeah, for now it should just ignore these
> [Adding jcm to Cc]
>
> On Dec 28 2007 16:08, [EMAIL PROTECTED] wrote:
> >
> >i have the same issue, but with 2.6.24-rc6 on a box with 512MB RAM
> >
> >System is openSUSE 10.3
> >
> >on "make modules_install" , depmod reproduceably dies
On Sat, 2007-12-29 at 02:42 +0100, Jan Engelhardt wrote:
> [Adding jcm to Cc]
>
> On Dec 28 2007 16:08, [EMAIL PROTECTED] wrote:
> >
> >i have the same issue, but with 2.6.24-rc6 on a box with 512MB RAM
> >
> >System is openSUSE 10.3
> >
> >on "
[Adding jcm to Cc]
On Dec 28 2007 16:08, [EMAIL PROTECTED] wrote:
>
>i have the same issue, but with 2.6.24-rc6 on a box with 512MB RAM
>
>System is openSUSE 10.3
>
>on "make modules_install" , depmod reproduceably dies with out of memory error
>when it is
Am Freitag 28 Dezember 2007 16:08:19 schrieb [EMAIL PROTECTED]:
> i have the same issue, but with 2.6.24-rc6 on a box with 512MB RAM
>
> System is openSUSE 10.3
>
> on "make modules_install" , depmod reproduceably dies with out of memory
> error when it is ~800MB VSZ an
i have the same issue, but with 2.6.24-rc6 on a box with 512MB RAM
System is openSUSE 10.3
on "make modules_install" , depmod reproduceably dies with out of memory error
when it is ~800MB VSZ and ~350MB RSS
this happens on different hardware.
any clue what`s going wrong?
how much mem
Hi!
I compiled kernel 2.6.24-rc1 (latest git as of today) on a Box with 256MB Ram.
During "make modules_install" I got these errors:
DEPMOD 2.6.24-rc1-default
WARNING: Can't read
module /lib/modules/2.6.24-rc1-default/kernel/net/bridge/bridge.ko: Cannot
allocate memory
WARN
/linux-git O=$HOME/build/linux-2.6.22 M=PWD
> > V=1
>
> that in this commandline you say M=PWD
>
> > modules_install
> > make: Entering directory `/home/bor/src/linux-git'
> > make -C /home/bor/build/linux-2.6.22 \
> > KBUILD_SRC=/home/bor/
you say M=PWD
> modules_install
> make: Entering directory `/home/bor/src/linux-git'
> make -C /home/bor/build/linux-2.6.22 \
> KBUILD_SRC=/home/bor/src/linux-git \
> KBUILD_EXTMOD="PWD" -f /home/bor/src/linux-git/Makefile
which tell kbuild that module i
This has been working up and including -rc2:
{pts/1}% sudo make -C ~/src/linux-git O=$HOME/build/linux-2.6.22 M=PWD V=1
modules_install
make: Entering directory `/home/bor/src/linux-git'
make -C /home/bor/build/linux-2.6.22 \
KBUILD_SRC=/home/bor/src/linux-git \
KBUILD_E
I have a consistent problem running 'make modules_install' after compiling. The
directory structure forms in /lib/modules, but no modules install. This problem
showed up under -rc6-mm1 and -rc6-mm2, but not -rc6. I'm hoping somebody has
hit this before, otherwise it's git-b
On Thu, 17 May 2001 20:50:46 +0200 (CEST),
Joel Cordonnier <[EMAIL PROTECTED]> wrote:
>It's the first time that i try to compile my own
>kernel. At the moment, I have an old RH 6.1 with a
>2.2.12 kernel.
>- make modules_install ==> PROBLEM !
>FIRST the message say
.
All seems OK for these steps.
Then
- make modules and
- make modules_install ==> PROBLEM !
FIRST the message say that no argument -F exist for
the command /sbin/depmod. So I change in the Makefile
the call
if [ -r System.map ]; then /sbin/depmod -ae -F
System.map 2.4.4; fi
TO
if [ -r Sy
Patrick Shirkey <[EMAIL PROTECTED]> writes:
> I am having trouble installing modules. The command hangs at the
> following point in the install...
>
> ---
> Finished dependencies of target file `_modinst_post'.
> Must remake target `_modinst_post'.
> if [ -r System.map ]; the
I am having trouble installing modules. The command hangs at the
following point in the install...
---
Finished dependencies of target file `_modinst_post'.
Must remake target `_modinst_post'.
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.3; fi
Putting child 0
"Juergen Rose,K17,0331-9772437,030-2425483" wrote:
> if I try 'make modules_install' with linux-2.4.2 I get:
> ...
> mkdir -p /lib/modules/2.4.2/kernel/drivers/acpi/
> cp common.o dispatcher.o events.o hardware.o interpreter.o namespace.o
> parser.o resources.o
Hello,
if I try 'make modules_install' with linux-2.4.2 I get:
...
make[1]: Entering directory `/usr/src_laptop450/linux-2.4.2/drivers'
make -C acpi modules_install
make[2]: Entering directory `/usr/src_laptop450/linux-2.4.2/drivers/acpi'
mkdir -p /lib/modules/2.4.2/ker
Hi.
I've had the same problem, it also happens in 2.4.2ac12
Cheers,
Matt Johnston
On Wed, 7 Mar 2001 13:04, Frank Davis wrote:
> Hello,
>While 'make modules_install' on 2.4.2-ac13, I receive the following
> error:
>
> make -C kernel modules_install
>
On Wed, 7 Mar 2001 00:04:08 -0500 (EST),
Frank Davis <[EMAIL PROTECTED]> wrote:
>make[2]: Entering directory '/usr/src/linux/drivers/atm'
>mkdir -p /lib/modules/2.4.2-ac13/kernel/$(shell ($CONFIG_SHELL)
>$(TOPDIR)/scripts/pathdown.sh)
>/bin/sh: CONFIG_SHELL: command not found
>/bin/sh: TOPDIR: c
Hello,
While 'make modules_install' on 2.4.2-ac13, I receive the following error:
make -C kernel modules_install
make[1]: Entering directory '/usr/src/linux/kernel'
make[1]: Nothing to be done for 'modules_install'.
..
make -C drivers modules_install
make[1]
You're forgetting it's using System.map from your build directory and
not from /boot.
"J . A . Magallon" wrote:
>
> I have recently noticed that 'make modules_install' tries as a last step
>
> if [ -r System.map ]; then /sbin/depmod -ae -F System.m
On Thu, 15 Feb 2001 01:38:46 +0100,
"J . A . Magallon" <[EMAIL PROTECTED]> wrote:
>I have recently noticed that 'make modules_install' tries as a last step
>
>if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.1-ac13; fi
>
>I depends on &
I have recently noticed that 'make modules_install' tries as a last step
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.1-ac13; fi
I depends on 'make install' doing the right symlinks in /boot.
Would not be better to do a:
if [ -r System.map-2.4.1-ac13 ]; t
Are you using the latest version of modutils?
Delaporte Frédéric wrote:
>
> Hello.
>
> make modules_install seems to do a wrong call to depmod, using an unknow
> option "-F".
--
==
Hello.
make modules_install seems to do a wrong call to depmod, using an unknow
option "-F".
The line concerned in the Makefile is the 376th, colonne 47, character
44. Replacing "-F" by "-m" seems to solve the trouble (I've trust the
depmod's man
1 - 100 of 119 matches
Mail list logo