Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Is it possible: 32 bit env and also Wine/Alpha
@ 1998-01-17 19:51 Dave Gilbert
  0 siblings, 0 replies; 12+ messages in thread
From: Dave Gilbert @ 1998-01-17 19:51 UTC (permalink / raw)


Hi,
  Two thoughts I've had - are these possible?

  1) A 32 bit address environment where the C library is mapped
     below the 2^32 limit and all things are frigged to produce
     low addresses.  Combined with a, #define long int, perhaps
     this would allow seriously broken bits of code to be made
     to run.

  2) Wine/Alpha - run Alpha NT binaries under Linux.
     including:
       a) FX!32
       b) Device drivers??

Are these possible or are there any show stoppers in the way?

Dave (Not actually volunteering to code these....yet)

 --------------------------------------------------------------------
/ Dr. David Alan Gilbert      | Running Linux on Alpha & ARM         \ 
\   gro.gilbert @ treblig.org | ------- Happy in hex -------         /
 \____________________________|___ http://www.treblig.demon.co.uk __/

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Is it possible: 32 bit env and also Wine/Alpha
       [not found] <Pine.LNX.3.96.980117194929.22567A-100000@tardis.home.dave>
@ 1998-01-17 20:42 ` Hugo van der Kooij
  1998-01-17 20:52 ` Michal Jaegermann
  1998-01-20 20:20 ` Jakob 'Sparky' Kaivo - MCP
  2 siblings, 0 replies; 12+ messages in thread
From: Hugo van der Kooij @ 1998-01-17 20:42 UTC (permalink / raw)


On Sat, 17 Jan 1998, Dave Gilbert wrote:

>   1) A 32 bit address environment where the C library is mapped
>      below the 2^32 limit and all things are frigged to produce
>      low addresses.  Combined with a, #define long int, perhaps
>      this would allow seriously broken bits of code to be made
>      to run.

It's better to have the code fixed. As thes assumptions will break on
other platforms as well. We should not endorse an environment that allows
crap code to work ;-)

>   2) Wine/Alpha - run Alpha NT binaries under Linux.
>      including:
>        a) FX!32
>        b) Device drivers??

As wine is stil a long way from working mainstream anyway this is a very
sweet dream that you can keep for quite some time. Much of wine may need a
full revamp to work on Alpha.

> Are these possible or are there any show stoppers in the way?

Lack of ime, lack of money, bad concepts and lack of interrest are usually
good showstoppers. I think you will find plenty of those will apply to
these proposals.

Hugo.

	+------------------------+------------------------------+
	| Hugo van der Kooij     | Hugo.van.der.Kooij@caiw.nl   |
	| Oranje Nassaustraat 16 | http://www.caiw.nl/~hvdkooij |
	| 3155 VJ  Maasland      | (De man met de rode hoed)    |
	+------------------------+------------------------------+
    "Computers let you make more mistakes faster than any other invention in 
      human history, with the possible exception of handguns and tequila."
		(Mitch Radcliffe)

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Is it possible: 32 bit env and also Wine/Alpha
       [not found] <Pine.LNX.3.96.980117194929.22567A-100000@tardis.home.dave>
  1998-01-17 20:42 ` Hugo van der Kooij
@ 1998-01-17 20:52 ` Michal Jaegermann
  1998-01-17 23:26   ` Dave Gilbert
  1998-01-20 20:20 ` Jakob 'Sparky' Kaivo - MCP
  2 siblings, 1 reply; 12+ messages in thread
From: Michal Jaegermann @ 1998-01-17 20:52 UTC (permalink / raw)


> 
>   2) Wine/Alpha - run Alpha NT binaries under Linux.
>      including:
>        a) FX!32
>        b) Device drivers??

Ahem!  If you are looking for a project somewhat in this direction
than pouring efforts into making em86 more like FX!32 would likely
be a good idea.  Jim Paradis clearly hinted that he would not mind if
somebody else would pick up a torch.  Likely this is more doable as well
(and will get you programs compiled in 32-bit environment too :-).

  --mj

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Is it possible: 32 bit env and also Wine/Alpha
       [not found] <Pine.LNX.3.96.980117213746.21626E-100000@hvdkooij.dyn.ml.org>
@ 1998-01-17 23:24 ` Dave Gilbert
  0 siblings, 0 replies; 12+ messages in thread
From: Dave Gilbert @ 1998-01-17 23:24 UTC (permalink / raw)


On Sat, 17 Jan 1998, Hugo van der Kooij wrote:

> On Sat, 17 Jan 1998, Dave Gilbert wrote:
> 
> >   1) A 32 bit address environment where the C library is mapped
> >      below the 2^32 limit and all things are frigged to produce
> >      low addresses.  Combined with a, #define long int, perhaps
> >      this would allow seriously broken bits of code to be made
> >      to run.
> 
> It's better to have the code fixed. As thes assumptions will break on
> other platforms as well. We should not endorse an environment that allows
> crap code to work ;-)

Sure - but there is some code which is so well broken that its probably
beyond repair.  I'm actually thinking of the recently released Doom
source. Sure if its your own code you go and fix it, sure if its
just being a little naughty in someone elses code you go and fix it.
But when its reading binary data files in using longs, passing pointers
and integers back and forth, etc. etc. then its not easy.

> 
> >   2) Wine/Alpha - run Alpha NT binaries under Linux.
> >      including:
> >        a) FX!32
> >        b) Device drivers??
> 
> As wine is stil a long way from working mainstream anyway this is a very
> sweet dream that you can keep for quite some time. Much of wine may need a
> full revamp to work on Alpha.

OK - what are the technical issues there?

I'd certainly like to know whether its possible to run NT/Alpha
binaries - and although I'm not sure of the issues I think it would
be nice to be able to use device drivers (although I realise its
a lot harder!).

> > Are these possible or are there any show stoppers in the way?
> 
> Lack of ime, lack of money, bad concepts and lack of interrest are usually
> good showstoppers. I think you will find plenty of those will apply to
> these proposals.

Time, money sure - I wouldn't have suggested them if I thought either
the concepts or interest was a problem.

Dave

 --------------------------------------------------------------------
/ Dr. David Alan Gilbert      | Running Linux on Alpha & ARM         \ 
\   gro.gilbert @ treblig.org | ------- Happy in hex -------         /
 \____________________________|___ http://www.treblig.demon.co.uk __/

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Is it possible: 32 bit env and also Wine/Alpha
  1998-01-17 20:52 ` Michal Jaegermann
@ 1998-01-17 23:26   ` Dave Gilbert
  0 siblings, 0 replies; 12+ messages in thread
From: Dave Gilbert @ 1998-01-17 23:26 UTC (permalink / raw)


On Sat, 17 Jan 1998, Michal Jaegermann wrote:

> > 
> >   2) Wine/Alpha - run Alpha NT binaries under Linux.
> >      including:
> >        a) FX!32
> >        b) Device drivers??
> 
> Ahem!  If you are looking for a project somewhat in this direction
> than pouring efforts into making em86 more like FX!32 would likely
> be a good idea.  Jim Paradis clearly hinted that he would not mind if
> somebody else would pick up a torch.  Likely this is more doable as well
> (and will get you programs compiled in 32-bit environment too :-).

While I agree that getting em86 to use FX!32 technology that is only
one half of the circle. Thats still running x86 binaries and your
still going to pay a performance penalty.  Running NT/Alpha binaries
would be nice.

Dave
 --------------------------------------------------------------------
/ Dr. David Alan Gilbert      | Running Linux on Alpha & ARM         \ 
\   gro.gilbert @ treblig.org | ------- Happy in hex -------         /
 \____________________________|___ http://www.treblig.demon.co.uk __/

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Is it possible: 32 bit env and also Wine/Alpha
@ 1998-01-17 23:49 Stephen Williams
  0 siblings, 0 replies; 12+ messages in thread
From: Stephen Williams @ 1998-01-17 23:49 UTC (permalink / raw)


> >   2) Wine/Alpha - run Alpha NT binaries under Linux.
> >      including:
> >        a) FX!32
> >        b) Device drivers??

gilbertd@treblig.org said:
> OK - what are the technical issues there? 

If I were to attack this, I would first ask the question "what format is
the binary in?" Answering this question allows one find a way to load the
binary in an address space.

Next, one would need to figure out all the interfaces to the external
environment, and how those interfaces are accessed, and guess a way to
provide them.

It seems to me that NT, being a proper kernel, may be emulatable by Linux.
One would guess that an application makes system calls that can be implemented,
etc., much the way OSF/1 is done.

Just my wild speculation, here.

-- 
Steve Williams                "The woods are lovely, dark and deep.
steve@icarus.com              But I have promises to keep,
steve@picturel.com            and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Is it possible: 32 bit env and also Wine/Alpha
       [not found] <michal@ellpspace.math.ualberta.ca>
@ 1998-01-18 23:23 ` jhohertz
  0 siblings, 0 replies; 12+ messages in thread
From: jhohertz @ 1998-01-18 23:23 UTC (permalink / raw)


On Jan 17,  1:52pm, Michal Jaegermann wrote:
> Subject: Re: Is it possible: 32 bit env and also Wine/Alpha
> >
> >   2) Wine/Alpha - run Alpha NT binaries under Linux.
> >      including:
> >        a) FX!32
> >        b) Device drivers??
>
> Ahem!  If you are looking for a project somewhat in this direction
> than pouring efforts into making em86 more like FX!32 would likely
> be a good idea.  Jim Paradis clearly hinted that he would not mind if
> somebody else would pick up a torch.  Likely this is more doable as well
> (and will get you programs compiled in 32-bit environment too :-).

I'd agree that'd be the better way to go. Make it so you can run wine-ix86
well, and run the windoze-ix86 programs. See.... my point is you could get it
going the other way, and run what Alpha binaries? Besides FX!32? :)

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Is it possible: 32 bit env and also Wine/Alpha
       [not found] <gilbertd@treblig.org>
@ 1998-01-18 23:41 ` jhohertz
  0 siblings, 0 replies; 12+ messages in thread
From: jhohertz @ 1998-01-18 23:41 UTC (permalink / raw)


On Jan 17, 11:26pm, Dave Gilbert wrote:
> While I agree that getting em86 to use FX!32 technology that is only
> one half of the circle. Thats still running x86 binaries and your
> still going to pay a performance penalty.  Running NT/Alpha binaries
> would be nice.

What NT/Alpha binaries? :)

Joe

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Is it possible: 32 bit env and also Wine/Alpha
       [not found] <Pine.LNX.3.96.980117194929.22567A-100000@tardis.home.dave>
  1998-01-17 20:42 ` Hugo van der Kooij
  1998-01-17 20:52 ` Michal Jaegermann
@ 1998-01-20 20:20 ` Jakob 'Sparky' Kaivo - MCP
  2 siblings, 0 replies; 12+ messages in thread
From: Jakob 'Sparky' Kaivo - MCP @ 1998-01-20 20:20 UTC (permalink / raw)


On Sat, 17 Jan 1998, Dave Gilbert wrote:

>   1) A 32 bit address environment where the C library is mapped
>      below the 2^32 limit and all things are frigged to produce
>      low addresses.  Combined with a, #define long int, perhaps
>      this would allow seriously broken bits of code to be made
>      to run.

This is an option under DU. You use the -taso option (I think) with cc to
make it "useful for porting 32-bit programs to Digital UNIX." (From the DU
4.0 cc man page.) Possibly gcc or egcs could be made to use this or a
similar option?

+-----------------------------+--------------------------------+
| Jakob 'Sparky' Kaivo - MCP  |          jake@nodomainname.net |
| NoDomainName Networks       |    http://www.nodomainname.net |
+-----------------------------+--------------------------------+

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Is it possible: 32 bit env and also Wine/Alpha
       [not found] <Pine.LNX.3.96.980120121742.10445A-100000@noserver0.nodomainname.net>
@ 1998-01-20 22:56 ` Richard Henderson
  0 siblings, 0 replies; 12+ messages in thread
From: Richard Henderson @ 1998-01-20 22:56 UTC (permalink / raw)


On Tue, Jan 20, 1998 at 12:20:55PM -0800, Jakob 'Sparky' Kaivo - MCP wrote:
> This is an option under DU. You use the -taso option (I think) with cc to
> make it "useful for porting 32-bit programs to Digital UNIX." (From the DU
> 4.0 cc man page.) Possibly gcc or egcs could be made to use this or a
> similar option?

Yes, it is quite possible, though it will take a bit of work.
I'm willing to give pointers to anyone who cares to try.

r~

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Is it possible: 32 bit env and also Wine/Alpha
@ 1998-01-20 23:18 Stefan Traby
  0 siblings, 0 replies; 12+ messages in thread
From: Stefan Traby @ 1998-01-20 23:18 UTC (permalink / raw)


Hi Jakob !

> This is an option under DU. You use the -taso option (I think) with cc to
> make it "useful for porting 32-bit programs to Digital UNIX." (From the DU
> 4.0 cc man page.) Possibly gcc or egcs could be made to use this or a
> similar option?

Ok, I've really not the whole system in mind, but a "ld.so"-hack may be
a good starting point for this (currently nonexistent) project.  
Or with a good .text section address (ld can do this for you) I don't
see any reason why this problem can't be solved independent from
a specific C-compiler (gcc/egcs).
But again, I've really not the whole system in mind.

-- 
  ciao - 
    Stefan

Stefan Traby                            phone:  +43-3133-6107-2
Mitterlasznitzstr. 13                     fax:  +43-3133-6107-9
8302 Nestelbach                        mailto://stefan@sime.com
Austria

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Is it possible: 32 bit env and also Wine/Alpha
       [not found] <19980120145630.39351@dot.cygnus.com>
@ 1998-01-21  2:33 ` Jay.Estabrook
  0 siblings, 0 replies; 12+ messages in thread
From: Jay.Estabrook @ 1998-01-21  2:33 UTC (permalink / raw)


>>> Richard Henderson said:
> On Tue, Jan 20, 1998 at 12:20:55PM -0800, Jakob 'Sparky' Kaivo - MCP wrote:
> > This is an option under DU. You use the -taso option (I think) with cc to
> > make it "useful for porting 32-bit programs to Digital UNIX." (From the DU
> > 4.0 cc man page.) Possibly gcc or egcs could be made to use this or a
> > similar option?
> 
> Yes, it is quite possible, though it will take a bit of work.
> I'm willing to give pointers to anyone who cares to try.

I'd think this might tie in quite well with the mods that Jim Paradis made
to the kernel to support EM86, which needed something along the same lines
(a 32-bit address space). It was done by introducing a new "personality",
which causes the kernel to allocate in the "right" part of the address space
to support such limitations.

He can be reached at <paradis@amt.tay1.dec.com>, for discussion...

--Jay++

-------------------------------------------------------------------------------
  American Non Sequitur Society: we don't make sense, but we do like pizza...

Jay A Estabrook                         Alpha Migration Tools - LINUX Project
Digital Equipment Corp.                 (978) 506-4202 or (DTN) 226-4202
151 Taylor Street - TAY1-2              enet: Jay.Estabrook@digital.com
Littleton, MA 01460-1407
-------------------------------------------------------------------------------

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~1998-01-21  2:33 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <19980120145630.39351@dot.cygnus.com>
1998-01-21  2:33 ` Is it possible: 32 bit env and also Wine/Alpha Jay.Estabrook
1998-01-20 23:18 Stefan Traby
     [not found] <Pine.LNX.3.96.980120121742.10445A-100000@noserver0.nodomainname.net>
1998-01-20 22:56 ` Richard Henderson
     [not found] <gilbertd@treblig.org>
1998-01-18 23:41 ` jhohertz
     [not found] <michal@ellpspace.math.ualberta.ca>
1998-01-18 23:23 ` jhohertz
  -- strict thread matches above, loose matches on Subject: below --
1998-01-17 23:49 Stephen Williams
     [not found] <Pine.LNX.3.96.980117213746.21626E-100000@hvdkooij.dyn.ml.org>
1998-01-17 23:24 ` Dave Gilbert
     [not found] <Pine.LNX.3.96.980117194929.22567A-100000@tardis.home.dave>
1998-01-17 20:42 ` Hugo van der Kooij
1998-01-17 20:52 ` Michal Jaegermann
1998-01-17 23:26   ` Dave Gilbert
1998-01-20 20:20 ` Jakob 'Sparky' Kaivo - MCP
1998-01-17 19:51 Dave Gilbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox