From owner-freebsd-hackers Wed Mar 27 12: 1: 6 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id D8B5F37B416 for ; Wed, 27 Mar 2002 12:00:21 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020327200021.VYEX1147.rwcrmhc52.attbi.com@InterJet.elischer.org>; Wed, 27 Mar 2002 20:00:21 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id LAA48093; Wed, 27 Mar 2002 11:43:51 -0800 (PST) Date: Wed, 27 Mar 2002 11:43:50 -0800 (PST) From: Julian Elischer To: "Karsten W. Rohrbach" Cc: =?iso-8859-1?Q?Thomas_W=FCrfl?= , freebsd-hackers@freebsd.org Subject: Re: problems with wine In-Reply-To: <20020327203941.F43825@mail.webmonster.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE 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 On Wed, 27 Mar 2002, Karsten W. Rohrbach wrote: > 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. ) >=20 > 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 :-) He said he was running native.. the cpu type is in=20 `sysctl hw` The code shuold be altered on FreeBSD to look there. >=20 > regards, > /k >=20 > --=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 Tech= ie > http://www.webmonster.de/ -- ftp://ftp.webmonster.de/ -- http://www.ngenn= =2Enet/ > GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE DF22 3340 4F4E 2964= BF46 > My mail is GnuPG signed -- Unsigned ones are bogus -- http://www.gnupg.or= g/ > Please do not remove my address from To: and Cc: fields in mailing lists.= 10x >=20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message