[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070530163413.87ecfe18.randy.dunlap@oracle.com>
Date: Wed, 30 May 2007 16:34:13 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: Christoph Lameter <clameter@....com>
Cc: "Luck, Tony" <tony.luck@...el.com>, David Chinner <dgc@....com>,
Andrew Morton <akpm@...ux-foundation.org>,
lkml <linux-kernel@...r.kernel.org>, linux-ia64@...r.kernel.org,
Sam Ravnborg <sam@...nborg.org>
Subject: Re: BUG: sleeping function called from invalid context at
kernel/fork.c:385
On Wed, 30 May 2007 16:31:35 -0700 (PDT) Christoph Lameter wrote:
> On Wed, 30 May 2007, Luck, Tony wrote:
>
> >
> > > `.exit.text' referenced in section `.init.text' of drivers/built-in.o:
> > > defined in discarded section `.exit.text' of drivers/built-in.o
> >
> >
> > This one is a fatal error ... the code is trying to call a function
> > that has been marked __exit in a driver that has been built-in, instead
> > of as a module. Since a builtin driver can never be unloaded, the kernel
> > has thrown away all the __exit routines (at link time).
> >
> > The error message appears less than helpful in tracking down which
> > routine in which driver is the problem though.
>
> Right. I have no idea where to look. The function has no name? Or is the
> segment .exit.text referenced by namne in .init.text?
Maybe 'objdump drivers/built-in.o and then grep that output (file)
for /exit.text/ ...
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists