Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: David Mosberger-Tang <davidm@AZStarNet.com>
Subject: Re: EB164 libraries and hardware access
Date: Tue, 26 Mar 1996 21:12:53 -0700	[thread overview]
Message-ID: <199603270412.VAA05907@koala.azstarnet.com> (raw)

>>>>> On Wed, 27 Mar 1996 11:33:25 +0800 (SST), Robert Allen Barker <rab@np.ac.sg> said:

  Robert> 	Hello all,

  Robert> 	Any EB164 people have any experience or ideas on the
  Robert> following?

  Robert> 	I have an EB164 running with Redhat 2.1 and the latest
  Robert> milo test image from gatekeeper.dec.com. I am trying to do
  Robert> some programming and am seeing a trend.
	
  Robert> 	1. Software that has been specifically ported to the
  Robert> EB164 runs and can talk to the hardware. This includes MILO,
  Robert> the EB164 kernel, and the EB164 X Windows port.
	   
  Robert> 	2. Programs that don't talk directly to the hardware
  Robert> run too.
	
  Robert> 	3. Other axp software in redhat 2.1 that needs
  Robert> hardware access doesn't run and causes memory
  Robert> violations. This includes the graphics libraries, programs
  Robert> compiled with the graphics libraries, and even the io
  Robert> portion of libc.a (with _inb() etc).
	   
  Robert> 	4. This is due to the libraries not yet being ported
  Robert> to the EB164 hardware environment?????
	   
The current libc has the in/outb routines statically configured.  This
wasn't a big problem so far because all ev4 based PCI machines use the
same I/O architecture (Jensen users may have a different view on this,
though... :-).  The ev5 is different because of its larger physical
address space.  The solution is to make the inb/outb routines
adapt dynamically to the system it runs on.  I have implemented this
for GNU libc and it appears to be working.  I also sent that code to
Jay, but I'm not sure whether he has had time to look at it already.
In any case you'd need to recompile the offending binaries.  If you
already have the right libc installed, this should be fairly easy (rpm
--rebuild <rpm-filename> as root should do the trick; really
handy...).

	--david

             reply	other threads:[~1996-03-27  4:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-03-27  4:12 David Mosberger-Tang [this message]
  -- strict thread matches above, loose matches on Subject: below --
1996-03-27  3:33 EB164 libraries and hardware access Robert Allen Barker
1996-03-27  4:51 ` Jay Estabrook - Alpha Migration Tools - LINUX Project
read-only archive

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