Re: [Bug #11355] Regression in 2.6.27-rc2 when cross-building thekernel

From: Larry Finger
Date: Mon Sep 01 2008 - 12:51:33 EST


David Woodhouse wrote:
On Sun, 2008-08-24 at 23:34 +0200, Rafael J. Wysocki wrote:
On Saturday, 23 of August 2008, Rafael J. Wysocki wrote:
This message has been generated automatically as a part of a report
of recent regressions.

The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).


Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11355
Subject : Regression in 2.6.27-rc2 when cross-building the kernel
Submitter : Larry Finger <Larry.Finger@xxxxxxxxxxxx>
Date : 2008-08-16 2:38 (8 days old)
References : http://marc.info/?l=linux-kernel&m=121885432118368&w=4
As I wrote in the Bugzilla, I'm seeing a related problem.

Namely, I build kernels on one box, with 'make O=<target>', then I mount
<target> on another one over NFS, 'cd' to it and try to install the kernel
modules with 'make modules_install'. This results in 'HOSTCC firmware/ihex2fw'
and 'fatal error: ...: Read-only file system'. It's readily reproducible.

Commenting out line 1130 of Makefile
("$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.fwinst obj=firmware __fw_modinst")
obviously helps, so it looks like Makefile.fwinst needs fixing.

I don't like this much, but it should do the trick... please confirm.

Yes, the patch fixes the problem. Thanks.

Larry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/