Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: EB164 libraries and hardware access
@ 1996-03-27  4:12 David Mosberger-Tang
  0 siblings, 0 replies; 3+ messages in thread
From: David Mosberger-Tang @ 1996-03-27  4:12 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 3+ messages in thread
* EB164 libraries and hardware access
@ 1996-03-27  3:33 Robert Allen Barker
  1996-03-27  4:51 ` Jay Estabrook - Alpha Migration Tools - LINUX Project
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Allen Barker @ 1996-03-27  3:33 UTC (permalink / raw)


Hello all,

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

	I have an EB164 running with Redhat 2.1 and the latest
	milo test image from gatekeeper.dec.com. I am trying to do some
	programming and am seeing a trend.
	
	1. Software that has been specifically ported to the EB164 runs
	   and can talk to the hardware. This includes MILO, the EB164
	   kernel, and the EB164 X Windows port.
	   
	2. Programs that don't talk directly to the hardware run too.
	
	3. Other axp software in redhat 2.1 that needs hardware access 
	   doesn't run and causes memory violations. This includes
	   the graphics libraries, programs compiled with the graphics
	   libraries, and even the io portion of libc.a (with _inb() etc).
	   
	4. This is due to the libraries not yet being ported to the
	   EB164 hardware environment?????
	   
	   
	Any help greatly appreciated.
	
	Allan

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

end of thread, other threads:[~1996-03-27  4:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-03-27  4:12 EB164 libraries and hardware access David Mosberger-Tang
  -- strict thread matches above, loose matches on Subject: below --
1996-03-27  3:33 Robert Allen Barker
1996-03-27  4:51 ` Jay Estabrook - Alpha Migration Tools - LINUX Project

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