From owner-freebsd-current Wed Feb 26 11:19:44 2003 Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id E47B637B401; Wed, 26 Feb 2003 11:19:42 -0800 (PST) Date: Wed, 26 Feb 2003 13:19:42 -0600 From: Juli Mallett To: Brooks Davis Cc: Bruce Cran , "Daniel C. Sobral" , freebsd-current@FreeBSD.ORG Subject: Re: can't load if_gif.ko Message-ID: <20030226131942.A76561@FreeBSD.org> References: <3E5D07C6.4080806@tcoip.com.br> <20030226190837.GA3810@fourtytwo.brucec.backnet> <20030226131259.A75874@FreeBSD.org> <20030226111815.A24656@Odin.AC.HMC.Edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030226111815.A24656@Odin.AC.HMC.Edu>; from brooks@one-eyed-alien.net on Wed, Feb 26, 2003 at 11:18:15AM -0800 Organisation: The FreeBSD Project X-Alternate-Addresses: , , , , X-Towel: Yes X-Negacore: Yes X-Title: Code Maven Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * De: Brooks Davis [ Data: 2003-02-26 ] [ Subjecte: Re: can't load if_gif.ko ] > On Wed, Feb 26, 2003 at 01:12:59PM -0600, Juli Mallett wrote: > > It's easy to change kldload to have something like "Failed to load module", > > but changing the result of strerror(errno) isn't possible in this case. It > > is possible, however, to check for obtuse errno values being used that we > > KNOW mean something in this context, and give something more informative. > > I wonder if we shouldn't add ENOSYMBOL translating to "Unresolved > symbol" for this case. Or we could just work with the contracts that the kld code has made with the world already, and just deal with them appropriately in our tools. -- Juli Mallett - AIM: BSDFlata -- IRC: juli on EFnet OpenDarwin, Mono, FreeBSD Developer - ircd-hybrid Developer, EFnet addict FreeBSD on MIPS-Anything on FreeBSD - Never trust an ELF, COFF or Mach-O! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message