From owner-freebsd-current@FreeBSD.ORG Sun Dec 14 04:05:37 2008 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 C17481065675 for ; Sun, 14 Dec 2008 04:05:37 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.171]) by mx1.freebsd.org (Postfix) with ESMTP id 9A1FD8FC12 for ; Sun, 14 Dec 2008 04:05:37 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so2147052wfg.7 for ; Sat, 13 Dec 2008 20:05:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=yBx6XXB9Al52t2YDvdAaMs9JUxshyBwtVh3rKha7hms=; b=QqN1wtdQko6vUsvmTb8/noQpGU2ELXfx9/OGOW+PhE6QR0chmhjiT5s6V71Es2B8Qw XtR3W7Q39H49c5KLC9gvhlQEedMGC9/LvZaoJXVZt674GW97EaxZ7HJOnIdQ8VqZw9et 4th2ay3m1QqkzbjPZiCtgzlwbz0CwCj5ePmD0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=EvjxuEBjuwge4Rim6raF53whJacMgn2EtxDnMW5V/0XYe8e9jaxue9XGNkR8IFNEqs KcIupcjhvVFYFT2n47Ra6949fgZJScAJt9dDfq1jEcIXRUpyGr47WOSosSAhFdqh7+An Y4g8WMXdGDS6gTPhELLd4BoWx2g9WEvdllcbw= Received: by 10.142.83.4 with SMTP id g4mr2133924wfb.156.1229226269847; Sat, 13 Dec 2008 19:44:29 -0800 (PST) Received: by 10.143.115.5 with HTTP; Sat, 13 Dec 2008 19:44:29 -0800 (PST) Message-ID: <47d0403c0812131944m478f7b09u80284abc28205ab5@mail.gmail.com> Date: Sat, 13 Dec 2008 22:44:29 -0500 From: "Ben Kaduk" To: "FreeBSD Current" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: kldload sets ENOENT instead of EDOOFUS? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Dec 2008 04:05:37 -0000 Hi all, In attempting to get OpenAFS working on current, I happened to attempt to load a kernel module that references suser(), which does not exist. I was very confused when warn() printed "No such file or directory", since the kernel module clearly existed. It seems that perhaps EDOOFUS ("Programming error") would be more appropriate. I'm not sure that I'm tracing through the kernel source correctly, but this seems to be due to linker_load_file() within linker_load_module(). Any thoughts? Thanks, Ben Kaduk