Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Mar 2002 11:43:50 -0800 (PST)
From:      Julian Elischer <julian@elischer.org>
To:        "Karsten W. Rohrbach" <karsten@rohrbach.de>
Cc:        =?iso-8859-1?Q?Thomas_W=FCrfl?= <ThomasWuerfl@gmx.de>, freebsd-hackers@freebsd.org
Subject:   Re: problems with wine
Message-ID:  <Pine.BSF.4.21.0203271142430.47944-100000@InterJet.elischer.org>
In-Reply-To: <20020327203941.F43825@mail.webmonster.de>

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0203271142430.47944-100000>