Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2008 09:04:35 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-stable@freebsd.org
Cc:        Bruce M Simpson <bms@incunabulum.net>
Subject:   Re: kldload: Unsupported file type
Message-ID:  <200801300904.35750.jhb@freebsd.org>
In-Reply-To: <200801301651.07643.doconnor@gsoft.com.au>
References:  <479FE898.1030801@incunabulum.net> <200801301651.07643.doconnor@gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 30 January 2008 01:21:06 am Daniel O'Connor wrote:
> On Wed, 30 Jan 2008, Bruce M Simpson wrote:
> > Since updating to 6.3-RELEASE on two machines I see this message a
> > lot.
> 
> Hooray I am not alone!
> I have a thread in stable called ' kldstat causes kernel to print odd 
> message' (not the best subject since it's wrong AND undescriptive), 
> message ID is 200801171410.38488.doconnor@gsoft.com.au.
> 
> > It is printed whenever a kernel module is loaded.
> > The modules load OK. Nothing special or different about them.
> >
> > It seems to be harmless, but any idea why it's started happening
> > since the release?
> 
> It is printed by sys/kern/link_elf.c - amd64 uses this for historical 
> reasons. 
> 
> The issue is that it is being called before the stuff in link_elf_obj.c 
> and printing an error, the kernel then tries _obj and it works.
> 
> I tried #ifdef'ing out link_elf.c but it panicd my machine on boot and I 
> haven't had time to find out why.

The kernel is a link_elf type object I believe, so you have to have it.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801300904.35750.jhb>