2007-09-19 23:02:59

by Chris Holvenstot

[permalink] [raw]
Subject: Mask Issue?

Still being a little new at this I am not sure if this is an issue at
all or not but I noted that while building the 2.6.23-rc6-git8 kernel
this afternoon I received the following error message:

Building modules, stage 2.
MODPOST 1670 modules
WARNING: Can't handle masks in drivers/mtd/nand/cafe_nand:FFFF0

I have been building each of the kernels in the 2.6.23-rc series and had
not noted this message before. I apologize if this is a non-issue.


2007-09-24 15:39:32

by mel

[permalink] [raw]
Subject: Re: Mask Issue?

On (19/09/07 17:57), Chris Holvenstot didst pronounce:
> Still being a little new at this I am not sure if this is an issue at
> all or not but I noted that while building the 2.6.23-rc6-git8 kernel
> this afternoon I received the following error message:
>
> Building modules, stage 2.
> MODPOST 1670 modules
> WARNING: Can't handle masks in drivers/mtd/nand/cafe_nand:FFFF0
>
> I have been building each of the kernels in the 2.6.23-rc series and had
> not noted this message before. I apologize if this is a non-issue.
>

I noticed this in a -mm recently and never got around to kicking it
properly because I suspected it was a compiler issue. What version
of gcc and binutils are you using?

David Woodhouse added to cc in case this is a known problem.

--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab

2007-09-24 15:50:48

by David Woodhouse

[permalink] [raw]
Subject: Re: Mask Issue?

On Mon, 2007-09-24 at 16:39 +0100, Mel Gorman wrote:
> I noticed this in a -mm recently and never got around to kicking it
> properly because I suspected it was a compiler issue. What version
> of gcc and binutils are you using?
>
> David Woodhouse added to cc in case this is a known problem.

The only reason for this is because once upon a time, the early FPGA
versions of the CAFÉ chip had the same PCI ident for all three
functions. The cluebat was applied; the chip was fixed long before
tape-out. We can just drop the whole class/mask thing, I suspect -- I
just want to boot it on and OLPC machine before I commit that.

--
dwmw2

2007-09-24 23:06:46

by Chris Holvenstot

[permalink] [raw]
Subject: Re: Mask Issue?


On Mon, 2007-09-24 at 16:39 +0100, Mel Gorman wrote:
> On (19/09/07 17:57), Chris Holvenstot didst pronounce:
> > Still being a little new at this I am not sure if this is an issue at
> > all or not but I noted that while building the 2.6.23-rc6-git8 kernel
> > this afternoon I received the following error message:
> >
> > Building modules, stage 2.
> > MODPOST 1670 modules
> > WARNING: Can't handle masks in drivers/mtd/nand/cafe_nand:FFFF0
> >
> > I have been building each of the kernels in the 2.6.23-rc series and had
> > not noted this message before. I apologize if this is a non-issue.
> >
>
> I noticed this in a -mm recently and never got around to kicking it
> properly because I suspected it was a compiler issue. What version
> of gcc and binutils are you using?
>
> David Woodhouse added to cc in case this is a known problem.
>

Mel -

Thank you for the response. I was a little unsure if this was to
trivial to report.

In any case to answer your question I use version 4.1.2 of GCC and the
binutils package shows as 2.17.20070103cvs-0ubuntu2

Chris



2007-09-25 09:21:08

by mel

[permalink] [raw]
Subject: Re: Mask Issue?

On (24/09/07 18:07), Chris Holvenstot didst pronounce:
>
> On Mon, 2007-09-24 at 16:39 +0100, Mel Gorman wrote:
> > On (19/09/07 17:57), Chris Holvenstot didst pronounce:
> > > Still being a little new at this I am not sure if this is an issue at
> > > all or not but I noted that while building the 2.6.23-rc6-git8 kernel
> > > this afternoon I received the following error message:
> > >
> > > Building modules, stage 2.
> > > MODPOST 1670 modules
> > > WARNING: Can't handle masks in drivers/mtd/nand/cafe_nand:FFFF0
> > >
> > > I have been building each of the kernels in the 2.6.23-rc series and had
> > > not noted this message before. I apologize if this is a non-issue.
> > >
> >
> > I noticed this in a -mm recently and never got around to kicking it
> > properly because I suspected it was a compiler issue. What version
> > of gcc and binutils are you using?
> >
> > David Woodhouse added to cc in case this is a known problem.
> >
>
> Mel -
>
> Thank you for the response. I was a little unsure if this was to
> trivial to report.
>

It's never trivial but don't be discouraged if your report appears to
fall between the cracks - it happens from time to time particularly when
the subject is a bit obtuse.

> In any case to answer your question I use version 4.1.2 of GCC and the
> binutils package shows as 2.17.20070103cvs-0ubuntu2
>

As David says the check will go away in the near future, I reckon it's safe
to ignore the problem (unless David objects) and disable it in your .config
and continue with your testing. As the driver is specific to the One Laptop
Per Child project, I'm guessing you are not affected.

Thanks for testing and reporting.

--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab