FreeBSD 6.3/amd64: ng_ipacct "Depends on kernel" ?? why? when?

Daniel O'Connor doconnor at
Thu Aug 7 03:17:06 UTC 2008

On Thu, 7 Aug 2008, Daniel O'Connor wrote:
> > So, If I dont want to get error response "kernel: kldload:
> > /boot/modules/ng_ipacct.ko: Unsupported file type" in
> > /var/log/messages then I could remove /boot/modules/ng_ipacct.ko
> > and /boot/modules/linker.hints
> > last one containes:
> I think the 'Unsupported file type' *warning* is due to an odd issue
> with amd64 kernel module support, it is harmless (although annoying).

To clarify here..
There are 2 bits of code in the kernel for loading modules - they get 
run in a certain (compiler/linker specific) order. It used to be they 
were run one way but now it is the other way around. These bits of code 
print warnings if the object format is wrong.

So, one gets run on the module you want to load & fails (and prints the 
message you see). The next one is run and it understands that file type 
so loads it.

If it was a bogus module that neither understood then the kldload would 
return an error.

I believe a work around was applied recently so this is not so much of a 
problem any more.
Daniel O'Connor software and network engineer
for Genesis Software -
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part.
Url :

More information about the freebsd-stable mailing list