From owner-freebsd-amd64@FreeBSD.ORG Sun Aug 14 09:32:00 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CA0016A41F for ; Sun, 14 Aug 2005 09:32:00 +0000 (GMT) (envelope-from flynn@energyhq.es.eu.org) Received: from mindfields.energyhq.es.eu.org (73.Red-213-97-200.pooles.rima-tde.net [213.97.200.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BDE643D45 for ; Sun, 14 Aug 2005 09:31:55 +0000 (GMT) (envelope-from flynn@energyhq.es.eu.org) Received: from scienide.energyhq.es.eu.org (scienide.energyhq.es.eu.org [192.168.100.1]) by mindfields.energyhq.es.eu.org (Postfix) with SMTP id A6AEF123F3D for ; Sun, 14 Aug 2005 11:31:50 +0200 (CEST) Date: Sun, 14 Aug 2005 11:31:27 +0200 From: Miguel Mendez To: freebsd-amd64@freebsd.org Message-Id: <20050814113127.7d69af2b.flynn@energyhq.es.eu.org> X-Mailer: Sylpheed version 2.0.0 (GTK+ 2.6.9; amd64-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Sun__14_Aug_2005_11_31_27_+0200_9cRzp5a1M2gn2v0L" Subject: 32bit Linux dri apps on FreeBSD/amd64? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Aug 2005 09:32:00 -0000 --Signature=_Sun__14_Aug_2005_11_31_27_+0200_9cRzp5a1M2gn2v0L Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I'm trying to run linux-enemyterritory which, incidentally is marked as 386 only, although I don't see any reason why amd64 couldn't be added to the supported arches. I've installed said port and linux_dri, linux-base-8 and linux-XFree86-libs. When trying to run et it fails when opening /dev/dri/card0. Can anybody shed some light on what's going on? I remember playing et on i386 before. Is this an AMD64-only issue? This is the relevant portion from ktrace: 66553 et.x86 NAMI "/compat/linux/dev/dri" 66553 et.x86 NAMI "/dev/dri" 66553 et.x86 RET setrlimit 0 66553 et.x86 CALL setrlimit(0xffffc890,0xffffc790,0x4c) 66553 et.x86 NAMI "/compat/linux/dev/dri/card0" 66553 et.x86 NAMI "/dev/dri/card0" 66553 et.x86 RET setrlimit 0 66553 et.x86 CALL open(0xffffc890,0x2,0) 66553 et.x86 NAMI "/compat/linux/dev/dri/card0" 66553 et.x86 NAMI "/dev/dri/card0" 66553 et.x86 RET open 8 66553 et.x86 CALL ioctl(0x8,0xc0086401 ,0xffffc990) 66553 et.x86 RET ioctl -1 errno -22 Unknown error: -22 66553 et.x86 CALL close(0x8) 66553 et.x86 RET close 0 Cheers, --=20 Miguel Mendez http://www.energyhq.es.eu.org PGP Key: 0xDC8514F1 --Signature=_Sun__14_Aug_2005_11_31_27_+0200_9cRzp5a1M2gn2v0L Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFC/w9ynLctrNyFFPERAnXbAJ9DUkFKyTfXnXwOVDrqXR2hbOhQswCfenJ7 2wFq+7nprD775SBcjqGv+kQ= =1O4F -----END PGP SIGNATURE----- --Signature=_Sun__14_Aug_2005_11_31_27_+0200_9cRzp5a1M2gn2v0L--