Re: kldload won't load

From: Dan Nelson <dnelson_at_allantgroup.com>
Date: Mon, 12 Jul 2004 16:38:36 -0500
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
Received on Mon Jul 12 2004 - 19:38:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:01 UTC