[RFC] More meaningful information about ENOEXEC for kldload(8)

Garrett Cooper gcooper at FreeBSD.org
Tue Oct 26 00:53:38 UTC 2010


On Mon, Oct 25, 2010 at 2:15 PM, Doug Barton <dougb at freebsd.org> wrote:
> On 10/25/2010 13:33, Ivan Voras wrote:
>>
>> (except if the message is changed to say "please look at the kernel
>> syslog messages to find out the real reason for this failure")
>
> Thinking about Garrett's response as well, this may be the best way to go.

    Well.. I'm not saying the current output is the best, but I just
don't want to dig a deeper hole that will further confuse people, as
some users may get even more confused with additional details.

> At this point I'm also not concerned about waiting for an ideal solution.
> IMO an incremental change here would be most welcome.

    Wouldn't noting this in the manpage be sufficient?
    I ran into this `item' (:)..) today after a power outage because
nvidia-driver was built against different kernel headers, and it
prints out the error clear as day on /dev/console, so I'm tempted to
say that documenting the behavior is enough as long as it's clear that
that is in fact the behavior that the user is dealing with :).
Thanks!
-Garrett


More information about the freebsd-current mailing list