From owner-freebsd-current@FreeBSD.ORG Tue Oct 26 01:07:06 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 779AB106564A for ; Tue, 26 Oct 2010 01:07:06 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [IPv6:2001:470:a803::1]) by mx1.freebsd.org (Postfix) with ESMTP id 9FA438FC14 for ; Tue, 26 Oct 2010 01:07:04 +0000 (UTC) Received: from mail.geekcn.org (tarsier.geekcn.org [211.166.10.233]) by tarsier.geekcn.org (Postfix) with ESMTP id 595F2A689A7; Tue, 26 Oct 2010 09:07:03 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([211.166.10.233]) by mail.geekcn.org (mail.geekcn.org [211.166.10.233]) (amavisd-new, port 10024) with LMTP id vEfLLtdNWXOi; Tue, 26 Oct 2010 09:06:54 +0800 (CST) Received: from delta.delphij.net (drawbridge.ixsystems.com [206.40.55.65]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTPSA id A4EEFA5A892; Tue, 26 Oct 2010 09:06:51 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:subject:references:in-reply-to:x-enigmail-version:openpgp:content-type; b=LUSjG424hE1wHjfxzF9qbqmjfQtWWfxdlpKDIIBoQjJWoJAmdSEEl/Kh+S//gOvvd vfld6QuIyahq0blpGgK5Q== Message-ID: <4CC629A4.3080703@delphij.net> Date: Mon, 25 Oct 2010 18:06:44 -0700 From: Xin LI Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.14) Gecko/20101020 Thunderbird/3.0.9 ThunderBrowse/3.3.2 MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <4CC5D83E.8030505@delphij.net> <4CC5D9DB.1020409@FreeBSD.org> <4CC5F35A.7090809@FreeBSD.org> In-Reply-To: <4CC5F35A.7090809@FreeBSD.org> X-Enigmail-Version: 1.0.1 OpenPGP: id=3FCA37C1; url=http://www.delphij.net/delphij.asc Content-Type: multipart/mixed; boundary="------------010605020007050506090908" Subject: Re: [RFC] More meaningful information about ENOEXEC for kldload(8) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Oct 2010 01:07:06 -0000 This is a multi-part message in MIME format. --------------010605020007050506090908 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 10/25/10 14:15, Doug Barton 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. At this point I'm also not concerned about waiting for an ideal > solution. IMO an incremental change here would be most welcome. I'm thinking about the attached patch which turns printf(9) to uprintf(9) call. Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iQEcBAEBCAAGBQJMximkAAoJEATO+BI/yjfB5ZcH/2Z3UxQmPcRb1YL/+y4imUne jrfLwSXABUcN48w77M1a8qhb0leKrQDzkZxM4Q9+0m/0Y18TA5EYBEIyuVebuVoM +YcfbTI2CH8UAFPUY/su6WNAUHEFQy4tfx4dAeTgOWecVkcoKGGbI6p0V1NCAYUS WRg6VeC7Tv8HySemQHzkKyBFHB6zKWy4U95FDDltiZlzQ5Vv+VquSOURZFw2O7F6 qlvO6B4F1EAbwfibRh5ihKbc1F4uqYrGmidgeH0MfarGsjBXoffmrB7Z+N5409+s d843bw/zR0rgnYkGuE6WNXnChYQvLb6Mgzrg10yDRVhxamUOzq4PHuL5iZ8DBEM= =t2jW -----END PGP SIGNATURE----- --------------010605020007050506090908 Content-Type: text/plain; name="kern_linker.c.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="kern_linker.c.diff" SW5kZXg6IHN5cy9rZXJuL2tlcm5fbGlua2VyLmMKPT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gc3lzL2tl cm4va2Vybl9saW5rZXIuYwkocmV2aXNpb24gMjE0MzU1KQorKysgc3lzL2tlcm4va2Vybl9s aW5rZXIuYwkod29ya2luZyBjb3B5KQpAQCAtMjA4NSw3ICsyMDg1LDcgQEAKIAkJfQogCQll cnJvciA9IGxpbmtlcl9sb2FkX21vZHVsZShOVUxMLCBtb2RuYW1lLCBsZiwgdmVyaW5mbywg TlVMTCk7CiAJCWlmIChlcnJvcikgewotCQkJcHJpbnRmKCJLTEQgJXM6IGRlcGVuZHMgb24g JXMgLSBub3QgYXZhaWxhYmxlIG9yIgorCQkJdXByaW50ZigiS0xEICVzOiBkZXBlbmRzIG9u ICVzIC0gbm90IGF2YWlsYWJsZSBvciIKIAkJCSAgICAiIHZlcnNpb24gbWlzbWF0Y2hcbiIs IGxmLT5maWxlbmFtZSwgbW9kbmFtZSk7CiAJCQlicmVhazsKIAkJfQo= --------------010605020007050506090908--