From owner-freebsd-hackers Wed Mar 27 11:39:38 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.webmonster.de (datasink.webmonster.de [194.162.162.209]) by hub.freebsd.org (Postfix) with SMTP id 387DC37B41F for ; Wed, 27 Mar 2002 11:39:21 -0800 (PST) Received: (qmail 45261 invoked by uid 1000); 27 Mar 2002 19:39:41 -0000 Date: Wed, 27 Mar 2002 20:39:41 +0100 From: "Karsten W. Rohrbach" To: =?iso-8859-1?Q?Thomas_W=FCrfl?= Cc: freebsd-hackers@freebsd.org Subject: Re: problems with wine Message-ID: <20020327203941.F43825@mail.webmonster.de> Mail-Followup-To: "Karsten W. Rohrbach" , =?iso-8859-1?Q?Thomas_W=FCrfl?= , freebsd-hackers@freebsd.org References: <16qFfE-1s573IC@fmrl11.sul.t-online.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="VuQYccsttdhdIfIP" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <16qFfE-1s573IC@fmrl11.sul.t-online.com>; from ThomasWuerfl@gmx.de on Wed, Mar 27, 2002 at 04:48:40PM +0100 X-Arbitrary-Number-Of-The-Day: 42 X-URL: http://www.webmonster.de/ X-Disclaimer: My opinions do not necessarily represent those of my employer X-Work-URL: http://www.ngenn.net/ X-Work-Address: nGENn GmbH, Schloss Kransberg, D-61250 Usingen-Kransberg, Germany X-Work-Phone: +49-6081-682-304 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --VuQYccsttdhdIfIP Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Thomas W=FCrfl(ThomasWuerfl@gmx.de)@2002.03.27 16:48:40 +0000: > Hi, >=20 > I have a problem running a application with wine (native). > Error message: 486 cpu or higher required. I have a amd k7. > The linux version catches the cpu-type from /proc/cpuinfo. > But Freebsd's /proc is diffrent from linux. So they set the values > for cpu type fix ( i386 ). Which isn't a really good idea. > From where can I take the cpu info to change this?=20 > ( I don't want to take /usr/compat/linux/proc/cpuinfo. ) ahem, correct me if i'm wrong, but freebsd's /proc filesystem does not have any cpuinfo. if you run a command under the linuxulator, /proc gets mapped to /usr/compat/linux/proc, so the file you don't want to open already provides that info (to wine in this case). i don't know about your environment, but just for testing, how about taking the output of cpuinfo, put it to a text file, edit it the way you need it and generate /usr/compat/linux/proc as a symlink farm to the linuxprocfs with only the cpuinfo replaced by the edited text file. would this do any harm? cpuinfo is read-only AFAIK, so it might work :-) regards, /k --=20 > If you meet somebody who tells you that he loves you more than anybody > in the whole wide world, don't trust him. It means he experiments. KR433/KR11-RIPE -- WebMonster Community Founder -- nGENn GmbH Senior Techie http://www.webmonster.de/ -- ftp://ftp.webmonster.de/ -- http://www.ngenn.n= et/ GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE DF22 3340 4F4E 2964 B= F46 My mail is GnuPG signed -- Unsigned ones are bogus -- http://www.gnupg.org/ Please do not remove my address from To: and Cc: fields in mailing lists. 1= 0x --VuQYccsttdhdIfIP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8oh/9M0BPTilkv0YRAvV4AJsFrQSawY+2/eI1TRBL8uOZp2QOcACgrnor I5G2TDx65Q3tiBRklmU8CFU= =UNnB -----END PGP SIGNATURE----- --VuQYccsttdhdIfIP-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message