kldload won't load
Dan Nelson
dnelson at allantgroup.com
Mon Jul 12 14:38:37 PDT 2004
In the last episode (Jul 12), John Polstra said:
> On 12-Jul-2004 Bill Paul wrote:
> > When a kernel module doesn't load correctly, this is your cue to
> > run "dmesg" and look at the messages printed in the kernel message
> > buffer. That will tell you why it didn't load. Of course, nobody
> > ever remembers this, and apparently running xconsole is no longer
> > in vogue.
> >
> > This needs to be a FAQ.
>
> No, it needs to be fixed. It's printing a totally incorrect error
> message, and nobody should have to use dmesg to find out what's really
> happened.
Maybe a uprintf would be useful here? imgact_elf.c does that to add a
little more info before returning ENOEXEC.
--
Dan Nelson
dnelson at allantgroup.com
More information about the freebsd-current
mailing list