From owner-freebsd-emulation@FreeBSD.ORG Fri Dec 29 17:36:37 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5398216A40F for ; Fri, 29 Dec 2006 17:36:37 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.225]) by mx1.freebsd.org (Postfix) with ESMTP id 1ADA413C448 for ; Fri, 29 Dec 2006 17:36:37 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by nz-out-0506.google.com with SMTP id i11so2165839nzh for ; Fri, 29 Dec 2006 09:36:36 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=PGYKHdmpmNnJhDwth3MrNfd3w15tgNAHz3Tu7PPAPw2eBlxYw6RU9zoBCizpwdAloeXh4JdCSqRCVRPHdnCym57nUHNWVW2K1G2EZz0ra94lTRhwuk3MkJ2D5oMIdMJO7ZE/AqsTsXtHgEQNs0zfrGowTKhHm5IdoW35LtUQuaI= Received: by 10.65.219.13 with SMTP id w13mr22852525qbq.1167412260596; Fri, 29 Dec 2006 09:11:00 -0800 (PST) Received: by 10.65.61.1 with HTTP; Fri, 29 Dec 2006 09:11:00 -0800 (PST) Message-ID: <790a9fff0612290911t5ae69715gd2bf0dda0f9228f2@mail.gmail.com> Date: Fri, 29 Dec 2006 11:11:00 -0600 From: "Scot Hetzel" To: freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: linuxolator: amd64 Linux Test Project failures X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Dec 2006 17:36:37 -0000 I'm seeing similar failures on these functions when running the ltp-20061222 tests on amd64: linux_[access, chdir, chmod, chown, chroot, creat, lchown, link, lstat, mkdir, mkdirat, mknod, rename, rmdir, stat, statfs, symlink, truncate, unlink] The problem is that the ltp tests are passing in a negative value for the path into the functions, and is expection a return value of EFAULT. Instead they are returning with (i.e access03): access((char *)-1,R_OK) failed with errno 2 : No such file or directory but expected 14 (EFAULT) I added a printf before the LCONVPATHEXIST macro: printf(ARGS(access, "Checking if path [%p/%p] exists"), (char *) -1, &args->path); LCONVPATHEXIST(td, args->path, &path); and it resulted in the following output: Dec 29 03:32:32 hp010 kernel: linux(1259): access(Checking if path [0xffffffffffffffff/0xffffffffa31f2be0] exists) Did I print the correct pointer value for args->path, as it is supposed to be -1 (0xffffffffffffffff)? If we can figure out what is causing this, it would fix ~24 of the LTP test failures on amd64. Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.