Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: X patches
       [not found] <m0uqrBo-0001r5C@atheist.tamu.edu>
@ 1996-08-15 15:02 ` Harald Koenig
  0 siblings, 0 replies; 5+ messages in thread
From: Harald Koenig @ 1996-08-15 15:02 UTC (permalink / raw)


> Actually, I think you can. The Jensen doesn't have DENSE memory, but
> all the other systems have SPARSE memory. So with just two #defines,
> disabling DENSE memory and setting the HAE shift to Alcor values
> (<<5), you should be able to test the stuff.

you're right.  are these shift factors fixed for all [PCI] designs ?
at least in the libc-0.43.1 sources they are...

> If you think this is acceptable, I will probably have the patches
> ready within a day. (Well, I have to get  glibc first, since the 
> bus_base_sparse() function is new to me).

I couldn't find bus_base_sparse() in neither ECOFF nor ELF (from elfball) 
libc.a and at least in libc-0.43.1 _bus_base() returns EISA_MEM
which is (IDENT_ADDR + 0x200000000UL) so this can't be used to 
detect a JENSEN.

> Hmm, I think about it, but my main interest in getting the patches in
> X-Free is that I _don't_ have to maintain those regularly ;-). I'd
> accept the task of merging them in the current source tree, but don't
> expect a long term involvement (which shouldn't be necessary anyhow).

I'd have no problem with that. once it works...

Harald

-- 
All SCSI disks will from now on                     ___       _____
be required to send an email notice                0--,|    /OOOOOOO\
24 hours prior to complete hardware failure!      <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
Harald Koenig,                                         \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik                              //  /     \\  \
koenig@tat.physik.uni-tuebingen.de                     ^^^^^       ^^^^^

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Re: X patches
       [not found] <m0urGhn-0001puC@atheist.tamu.edu>
@ 1996-08-16  6:04 ` Harald Koenig
  1996-08-16 13:58   ` Erik Troan
  0 siblings, 1 reply; 5+ messages in thread
From: Harald Koenig @ 1996-08-16  6:04 UTC (permalink / raw)


> > you're right.  are these shift factors fixed for all [PCI] designs ?
> > at least in the libc-0.43.1 sources they are...
> 
> They appear to be at the moment.  I think it would be best, though,
> to make sure you can get all that information from libc.
> 
> > I couldn't find bus_base_sparse() in neither ECOFF nor ELF (from elfball) 
> > libc.a and at least in libc-0.43.1 _bus_base() returns EISA_MEM
> > which is (IDENT_ADDR + 0x200000000UL) so this can't be used to 
> > detect a JENSEN.
> 
> bus_base_sparse() is brand new -- I think David M-T added it just a
> day or two before I mentioned it.  I believe he'll be putting out a
> new snapshot this weekend that'll work as I described.

but what about ECOFF then ? will there be new ECOFF libc versions too?
oris there an other (libc) way to know it's a JENSEN? 
or should we read /proc/pci for now and change later when new libc is available ?

Harald

-- 
All SCSI disks will from now on                     ___       _____
be required to send an email notice                0--,|    /OOOOOOO\
24 hours prior to complete hardware failure!      <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
Harald Koenig,                                         \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik                              //  /     \\  \
koenig@tat.physik.uni-tuebingen.de                     ^^^^^       ^^^^^

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Re: X patches
  1996-08-16  6:04 ` Harald Koenig
@ 1996-08-16 13:58   ` Erik Troan
  0 siblings, 0 replies; 5+ messages in thread
From: Erik Troan @ 1996-08-16 13:58 UTC (permalink / raw)


On Fri, 16 Aug 1996, Harald Koenig wrote:

> > bus_base_sparse() is brand new -- I think David M-T added it just a
> > day or two before I mentioned it.  I believe he'll be putting out a
> > new snapshot this weekend that'll work as I described.
> 
> but what about ECOFF then ? will there be new ECOFF libc versions too?
> oris there an other (libc) way to know it's a JENSEN? 
> or should we read /proc/pci for now and change later when new libc is available ?

No, ECOFF is dead. Could we have a #define for "BUS_BASE_AVAILABLE"
that only gets defined as (AlphaArchitecture && ElfAvailable && Linux)
(or whatever the right terms are for those)?

If it's not ELF, Jensens just won't work then. That's not a big deal as
ECOFF should be gone by then end of the year anyway.

Erik

-------------------------------------------------------------------------------
   Always hoped that I'd be an apostle. Knew that I would make it if I tried.
     Then when we retire we can write the gospels so they'll all talk about
       us when we've die. - "The Last Supper" from Jesus Christ Superstar
|   Erik Troan   =   http://sunsite.unc.edu/ewt/   =   ewt@sunsite.unc.edu    |

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Re: X patches
@ 1996-08-16 16:42 David Mosberger-Tang
  0 siblings, 0 replies; 5+ messages in thread
From: David Mosberger-Tang @ 1996-08-16 16:42 UTC (permalink / raw)


>>>>> On Fri, 16 Aug 1996 09:58:30 -0400 (EDT), Erik Troan <ewt@redhat.com> said:

  Erik> On Fri, 16 Aug 1996, Harald Koenig wrote:
  >> > bus_base_sparse() is brand new -- I think David M-T added it
  >> just a > day or two before I mentioned it.  I believe he'll be
  >> putting out a > new snapshot this weekend that'll work as I
  >> described.
  >> 
  >> but what about ECOFF then ? will there be new ECOFF libc versions
  >> too?  oris there an other (libc) way to know it's a JENSEN?  or
  >> should we read /proc/pci for now and change later when new libc
  >> is available ?

  Erik> No, ECOFF is dead. Could we have a #define for
  Erik> "BUS_BASE_AVAILABLE" that only gets defined as
  Erik> (AlphaArchitecture && ElfAvailable && Linux) (or whatever the
  Erik> right terms are for those)?

Yes.  libc is dead, long live libc!

Note that glibc is supposed to compile under ECOFF too (it did last
time I tried).  That is, it's not a question of ECOFF or ELF.  But
upgrading to ECOFF/glibc requires about as many changes as upgrading
to ELF/glibc, so it's not really an interesting option.

As for feature testing: just do:

	#if __GNU_LIBRARY__ - 0 < 6
	# error This is libc-4.3.26
	#else
	# error This is glibc with _bus_base_sparse
	#endif

As Richard mentioned, I plan on making a new release this weekend
(along with an updated kernel and aboot).

If you need anything else in glibc for the X server, please let me
know asap.  I added _bus_base_sparse() to make svgalib work on all
Alpha PCs with sparse and dense memory.  I have never looked at the X
servers, so I'm not familiar with what it needs.

	--david

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Re: X patches
@ 1996-08-16 19:53 Martin Ostermann
  0 siblings, 0 replies; 5+ messages in thread
From: Martin Ostermann @ 1996-08-16 19:53 UTC (permalink / raw)


> As for feature testing: just do:
> 
> 	#if __GNU_LIBRARY__ - 0 < 6
> 	# error This is libc-4.3.26
> 	#else
> 	# error This is glibc with _bus_base_sparse
> 	#endif

Wouldn't it be possible to make such a change to the Makefiles and
link a (possibly striped down) io.c object, which contains the new
routines, with the server? I assume that glibc's and libc's io.c don't
differ that much.

Martin

-- 
Martin Ostermann                | mailto:ost@comnets.rwth-aachen.de
Communication Networks          | http://www.comnets.rwth-aachen.de/~ost
Aachen University of Technology | phoneto:++49/241/807917
Germany                         | faxto:++49/241/8890378

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

end of thread, other threads:[~1996-08-16 19:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-08-16 16:42 X patches David Mosberger-Tang
  -- strict thread matches above, loose matches on Subject: below --
1996-08-16 19:53 Martin Ostermann
     [not found] <m0urGhn-0001puC@atheist.tamu.edu>
1996-08-16  6:04 ` Harald Koenig
1996-08-16 13:58   ` Erik Troan
     [not found] <m0uqrBo-0001r5C@atheist.tamu.edu>
1996-08-15 15:02 ` Harald Koenig

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