From owner-freebsd-hackers@FreeBSD.ORG Sun Jul 19 13:10:57 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86DB81065676; Sun, 19 Jul 2009 13:10:57 +0000 (UTC) (envelope-from prvs=14510a8469=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (core6.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id EEA0D8FC0A; Sun, 19 Jul 2009 13:10:56 +0000 (UTC) (envelope-from prvs=14510a8469=killing@multiplay.co.uk) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=multiplay.co.uk; s=Multiplay; t=1248008401; x=1248613201; q=dns/txt; h=Received: Message-ID:From:To:Subject:Date:MIME-Version:Content-Type: Content-Transfer-Encoding; bh=0wU2AMaw0VXaA3wr2kiTHo5IOSoWl7KpXK N+Wd5F70g=; b=oXteWa/1ksb3eo0wDWnyVc7yw/ehjPprPZpdKHkNnvjEQ6qiIY ejHzJjWjHP/17VS3peaAlp4Z7xdWML4LIXUJzZgcxb7d1Ikt7iOCpUkh8WzjfVW0 r8P49UgNrNMXoWGJVgp+M8l8ITqs+jG/xvjNBEgtjLqJMNvicXrx2c1XU= X-MDAV-Processed: mail1.multiplay.co.uk, Sun, 19 Jul 2009 14:00:01 +0100 Received: from r2d2 by mail1.multiplay.co.uk (MDaemon PRO v10.0.4) with ESMTP id md50007892340.msg; Sun, 19 Jul 2009 14:00:00 +0100 X-Spam-Processed: mail1.multiplay.co.uk, Sun, 19 Jul 2009 14:00:00 +0100 (not processed: message from trusted or authenticated source) X-Authenticated-Sender: Killing@multiplay.co.uk X-MDRemoteIP: 188.220.16.97 X-Return-Path: prvs=14510a8469=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk Message-ID: <34D8564661E84455B8DA136799C649ED@multiplay.co.uk> From: "Steven Hartland" To: , Date: Sun, 19 Jul 2009 14:00:00 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Cc: Subject: i386_set_ldt on FreeBSD 7.x amd64 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jul 2009 13:10:57 -0000 I'm trying to convert some audio streams and the only app which seems to be capable of this mplayer with the w32codecs Unfortunately the machine is 7.1 amd64. I've compiled the binaries up on an old i386 box but when running said bins on the amd64 box it errors with: Opening audio decoder: [dmo] Win32/DMO decoders install_fs: Invalid argument Couldn't install fs segment, expect segfault Looking at the code the call to i386_set_ldt is failing is there any know workaround? Looking on Google there is a thread: i386_set_ldt and wine on AMD64 which mentions some patches by kib but no mention if this ever worked. http://docs.freebsd.org/cgi/getmsg.cgi?fetch=233316+0+archive/2008/freebsd-amd64/20081214.freebsd-amd64 The latest version I can find is: http://people.freebsd.org/~kib/misc/amd64_ldt-pre.4.patch Anyone info appreciated. Regards Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.