linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Fw: two (little) problems wit 2.6.15-git7 one with build, one with acpi
       [not found] <20060112231528.025c3a0b.akpm@osdl.org>
@ 2006-01-13 19:18 ` Hemmann, Volker Armin
  2006-01-15 12:55   ` Sam Ravnborg
  0 siblings, 1 reply; 5+ messages in thread
From: Hemmann, Volker Armin @ 2006-01-13 19:18 UTC (permalink / raw)
  To: Andrew Morton, linux-kernel

Hi,

On Friday 13 January 2006 08:15, you wrote:
> Volker, I think the `make install' thing is fixed, or will soon be.
>
> If the resume problem doesn't get fixed within the next few days, please
> raise a report at bugzilla.kernel.org.
>
> This is a regression wrt 2.6.15, so we're keen to fix it.
>

I tried -git8 last night.
make all modules_install install gave me again this error:

if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map  
2.6.15-git8; fi
WARNING: Couldn't open directory /lib/modules/2.6.15-git8: No such file or 
directory
FATAL: Could not open /lib/modules/2.6.15-git8/modules.dep.temp for writing: 
No such file or directory
make: *** [_modinst_post] Fehler 1


and trying echo mem > /sys/power/state again made my box more or less dead.
I had to pull the plug, because the reset switch did not work.

I will try the nexft git version this night, but I have to wait some more 
hours.


Glück Auf
Volker

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Fw: two (little) problems wit 2.6.15-git7 one with build, one with acpi
  2006-01-13 19:18 ` Fw: two (little) problems wit 2.6.15-git7 one with build, one with acpi Hemmann, Volker Armin
@ 2006-01-15 12:55   ` Sam Ravnborg
  2006-01-15 20:48     ` Hemmann, Volker Armin
  0 siblings, 1 reply; 5+ messages in thread
From: Sam Ravnborg @ 2006-01-15 12:55 UTC (permalink / raw)
  To: Hemmann, Volker Armin; +Cc: Andrew Morton, linux-kernel

On Fri, Jan 13, 2006 at 08:18:03PM +0100, Hemmann, Volker Armin wrote:
> I tried -git8 last night.
> make all modules_install install gave me again this error:
> 
> if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map  
> 2.6.15-git8; fi
> WARNING: Couldn't open directory /lib/modules/2.6.15-git8: No such file or 
> directory
> FATAL: Could not open /lib/modules/2.6.15-git8/modules.dep.temp for writing: 
> No such file or directory
> make: *** [_modinst_post] Fehler 1

Do you have KBUILD_OUTPUT set in your environment?
That may explain it since things are running too much in parallel with
KBUILT_OUTPUT set - reported by Keith Owns a few days ago.

I have tried the above on my machine and was not able to reproduce it.

Can you please drop me the output with V=1 so I can see what is
happening. Maybe in private mail if it gets too big.

	Sam

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Fw: two (little) problems wit 2.6.15-git7 one with build, one with acpi
  2006-01-15 12:55   ` Sam Ravnborg
@ 2006-01-15 20:48     ` Hemmann, Volker Armin
  2006-01-16 11:39       ` Sam Ravnborg
  0 siblings, 1 reply; 5+ messages in thread
From: Hemmann, Volker Armin @ 2006-01-15 20:48 UTC (permalink / raw)
  To: Sam Ravnborg; +Cc: Andrew Morton, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1914 bytes --]

On Sunday 15 January 2006 13:55, Sam Ravnborg wrote:
> On Fri, Jan 13, 2006 at 08:18:03PM +0100, Hemmann, Volker Armin wrote:
> > I tried -git8 last night.
> > make all modules_install install gave me again this error:
> >
> > if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F
> > System.map 2.6.15-git8; fi
> > WARNING: Couldn't open directory /lib/modules/2.6.15-git8: No such file
> > or directory
> > FATAL: Could not open /lib/modules/2.6.15-git8/modules.dep.temp for
> > writing: No such file or directory
> > make: *** [_modinst_post] Fehler 1
>
> Do you have KBUILD_OUTPUT set in your environment?

no, at least I don't find it, when I type env.

> That may explain it since things are running too much in parallel with
> KBUILT_OUTPUT set - reported by Keith Owns a few days ago.
>
> I have tried the above on my machine and was not able to reproduce it.
>
> Can you please drop me the output with V=1 so I can see what is
> happening. Maybe in private mail if it gets too big.

I tried make all modules_install install V=1 &>/tmp/kernel2.log and found 
something interessting.

The kernel-sources directory has to be 'virgin'. As soon as I build a kernel 
in it once, it worked without any problems - even after a make clean and make 
mrproper.

So the steps to reproduce it are:
unpack 2.6.15, patch it, copy .config from other kernel (this time I took the 
one from git8 I built earlier), make oldconfig, make all_modules_install 
install:

f [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map  
2.
6.15-git7; fi
WARNING: Couldn't open directory /lib/modules/2.6.15-git7: No such file or 
direc
tory
FATAL: Could not open /lib/modules/2.6.15-git7/modules.dep.temp for writing: 
No
such file or directory
make: *** [_modinst_post] Fehler 1

because kernel2.log is 748kb big., I packed it.

Glück Auf
Volker

 

[-- Attachment #2: kernel2.log.bz2 --]
[-- Type: application/x-bzip2, Size: 26319 bytes --]

[-- Attachment #3: config.bz2 --]
[-- Type: application/x-bzip2, Size: 6865 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Fw: two (little) problems wit 2.6.15-git7 one with build, one with acpi
  2006-01-15 20:48     ` Hemmann, Volker Armin
@ 2006-01-16 11:39       ` Sam Ravnborg
  2006-01-16 18:05         ` Hemmann, Volker Armin
  0 siblings, 1 reply; 5+ messages in thread
From: Sam Ravnborg @ 2006-01-16 11:39 UTC (permalink / raw)
  To: Hemmann, Volker Armin; +Cc: Andrew Morton, linux-kernel

On Sun, Jan 15, 2006 at 09:48:02PM +0100, Hemmann, Volker Armin wrote:
 
> The kernel-sources directory has to be 'virgin'. As soon as I build a kernel 
> in it once, it worked without any problems - even after a make clean and make 
> mrproper.

This proved to be why it worked for me.
The fix was simple. We have to evaluate MODLIB late so we have
.kernelrelease created when evaluating MODLIB.
Following patch fixes it:

	Sam
	

diff --git a/Makefile b/Makefile
index 22e322f..37a4b67 100644
--- a/Makefile
+++ b/Makefile
@@ -545,7 +545,7 @@ export	INSTALL_PATH ?= /boot
 # makefile but the arguement can be passed to make if needed.
 #
 
-MODLIB	:= $(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE)
+MODLIB	= $(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE)
 export MODLIB
 
 

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: Fw: two (little) problems wit 2.6.15-git7 one with build, one with acpi
  2006-01-16 11:39       ` Sam Ravnborg
@ 2006-01-16 18:05         ` Hemmann, Volker Armin
  0 siblings, 0 replies; 5+ messages in thread
From: Hemmann, Volker Armin @ 2006-01-16 18:05 UTC (permalink / raw)
  To: Sam Ravnborg; +Cc: Andrew Morton, linux-kernel

On Monday 16 January 2006 12:39, Sam Ravnborg wrote:
> On Sun, Jan 15, 2006 at 09:48:02PM +0100, Hemmann, Volker Armin wrote:
> > The kernel-sources directory has to be 'virgin'. As soon as I build a
> > kernel in it once, it worked without any problems - even after a make
> > clean and make mrproper.
>
> This proved to be why it worked for me.
> The fix was simple. We have to evaluate MODLIB late so we have
> .kernelrelease created when evaluating MODLIB.
> Following patch fixes it:
>
> 	Sam
>
>
> diff --git a/Makefile b/Makefile
> index 22e322f..37a4b67 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -545,7 +545,7 @@ export	INSTALL_PATH ?= /boot
>  # makefile but the arguement can be passed to make if needed.
>  #
>
> -MODLIB	:= $(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE)
> +MODLIB	= $(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE)
>  export MODLIB

yes, that fixed it, thank you

Glück Auf,
Volker

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-01-16 18:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20060112231528.025c3a0b.akpm@osdl.org>
2006-01-13 19:18 ` Fw: two (little) problems wit 2.6.15-git7 one with build, one with acpi Hemmann, Volker Armin
2006-01-15 12:55   ` Sam Ravnborg
2006-01-15 20:48     ` Hemmann, Volker Armin
2006-01-16 11:39       ` Sam Ravnborg
2006-01-16 18:05         ` Hemmann, Volker Armin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).