kldload: Unsupported file type

John Baldwin jhb at freebsd.org
Wed Jan 30 06:23:01 PST 2008

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 at 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

More information about the freebsd-stable mailing list