From owner-freebsd-amd64@FreeBSD.ORG Fri Jun 24 05:53:23 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 B495516A41C for ; Fri, 24 Jun 2005 05:53:23 +0000 (GMT) (envelope-from morten@atreides.freenix.no) Received: from freenix.no (atreides.freenix.no [212.33.142.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC06543D48 for ; Fri, 24 Jun 2005 05:53:12 +0000 (GMT) (envelope-from morten@atreides.freenix.no) Received: from atreides.freenix.no (localhost [127.0.0.1]) by freenix.no (8.13.1/8.13.1) with ESMTP id j5O5pCQk087142; Fri, 24 Jun 2005 07:52:01 +0200 (CEST) (envelope-from morten@atreides.freenix.no) Received: (from morten@localhost) by atreides.freenix.no (8.13.1/8.13.1/Submit) id j5O5p6iP087141; Fri, 24 Jun 2005 07:51:06 +0200 (CEST) (envelope-from morten) Date: Fri, 24 Jun 2005 07:51:06 +0200 From: "Morten A. Middelthon" To: rsmith@xs4all.nl Message-ID: <20050624055106.GA86765@freenix.no> References: <20050623130010.GA74413@freenix.no> <20050623155647.GD59771@slackbox.xs4all.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rwEMma7ioTxnRzrJ" Content-Disposition: inline In-Reply-To: <20050623155647.GD59771@slackbox.xs4all.nl> User-Agent: Mutt/1.4.2.1i X-PGP-Key: http://freenix.no/~morten/pgp.txt X-PGP-Key-FingerPrint: D48B 5C4E 1590 7DE6 08A0 6539 BECC F62E 829F DF6A X-Operating-System: FreeBSD 4.11-RELEASE-p2 X-Warning: So cunning you could brush your teeth with it. X-Virus-Scanned: ClamAV version 0.85.1, clamav-milter version 0.85 on atreides.freenix.no X-Virus-Status: Clean Cc: freebsd-amd64@freebsd.org Subject: Re: mtx on 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: Fri, 24 Jun 2005 05:53:23 -0000 --rwEMma7ioTxnRzrJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 23, 2005 at 05:56:47PM +0200, Roland Smith wrote: > On Thu, Jun 23, 2005 at 03:00:10PM +0200, Morten A. Middelthon wrote: > > Hi, > >=20 > > does anyone know the status of mtx on amd64? It's still marked as broke= n on > > ia64, sparc64 and amd64. I installed the i386-version via the precompil= ed > > package, but it doesn't seem to be working properly, although that migh= t be > > related to other issues.=20 >=20 > The mtx package tries to use a processor flag that's invalid on anything > but x86. Try applying the enclosed patch to the port. With this patch, > it compiles cleanly. I can't test it because I haven't got any SCSI > stuff :-) >=20 > If it works, please submit a PR. Hi, thanks for the quick reply and help. The patch doesn't work properly on mtx/Makefile, but I manually commented out "if ${ARCH} =3D=3D "ia64" || ${A= RCH} =3D=3D "sparc64" || ${ARCH} =3D=3D "amd64"" etc. However, mtx/files/patch-Makefile.in patched correctly, and it compiled without warnings. The program runs like it should too. F.ex: mtx -f /dev/pass1 inquiry Product Type: Medium Changer Vendor ID: 'DELL ' Product ID: 'PV-122T ' Revision: 'K17r' Attached Changer: No In my previous attempts I would get error messages with something like "Inappropriate ioctl for device", but I haven't gotten anything like this so far. Excellent! Thank you very much for your help.=20 with regards, --=20 Morten A. Middelthon Wenn ist das Nunstruck git und Slotermeyer? Ja! ... Beiherhund das Oder die Flipperwaldt gersput! --rwEMma7ioTxnRzrJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFCu59Kvsz2LoKf32oRApSxAKCBfK7Q2cLCh6aqTmkFoqfcPAaOQwCfaaV1 Yam0KfJbFh/n13m72qLnV4M= =GqHT -----END PGP SIGNATURE----- --rwEMma7ioTxnRzrJ--