Date: Fri, 24 Jun 2005 07:51:06 +0200 From: "Morten A. Middelthon" <morten@freenix.no> To: rsmith@xs4all.nl Cc: freebsd-amd64@freebsd.org Subject: Re: mtx on amd64 Message-ID: <20050624055106.GA86765@freenix.no> In-Reply-To: <20050623155647.GD59771@slackbox.xs4all.nl> References: <20050623130010.GA74413@freenix.no> <20050623155647.GD59771@slackbox.xs4all.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050624055106.GA86765>