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 - http://www.gsoft.com.au "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
signature.asc
Description: This is a digitally signed message part.