mtx on amd64

Morten A. Middelthon morten at freenix.no
Fri Jun 24 05:53:23 GMT 2005


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,
> > 
> > does anyone know the status of mtx on amd64? It's still marked as broken on
> > ia64, sparc64 and amd64. I installed the i386-version via the precompiled
> > package, but it doesn't seem to be working properly, although that might be
> > related to other issues. 
> 
> 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 :-)
> 
> 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} == "ia64" || ${ARCH} ==
"sparc64" || ${ARCH} == "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. 

with regards,

-- 
Morten A. Middelthon

Wenn ist das Nunstruck git und Slotermeyer?
Ja! ... Beiherhund das Oder die Flipperwaldt gersput!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20050624/9de3c686/attachment.bin


More information about the freebsd-amd64 mailing list