Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Anyone try XF86-4.0 yet?
@ 2000-03-17 18:05 B. James Phillippe
  2000-03-17 23:57 ` Chris Kloiber
  0 siblings, 1 reply; 11+ messages in thread
From: B. James Phillippe @ 2000-03-17 18:05 UTC (permalink / raw)
  To: RedHat AXP list


I had problems installing it; the "extract" binary on the FTP server
doesn't work - it seems to be corrupt or not in a standard ELF format or
something.

-bp
--
# bryan at terran dot org
# http://www.terran.org/~bryan


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

* Re: Anyone try XF86-4.0 yet?
  2000-03-17 18:05 Anyone try XF86-4.0 yet? B. James Phillippe
@ 2000-03-17 23:57 ` Chris Kloiber
  2000-03-18  1:26   ` B. James Phillippe
  0 siblings, 1 reply; 11+ messages in thread
From: Chris Kloiber @ 2000-03-17 23:57 UTC (permalink / raw)
  To: axp-list

"B. James Phillippe" wrote:
> 
> I had problems installing it; the "extract" binary on the FTP server
> doesn't work - it seems to be corrupt or not in a standard ELF format or
> something.
> 
> -bp
> --
> # bryan at terran dot org
> # http://www.terran.org/~bryan
> 
> --
> 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

I compiled XFree86-4.0.0 from the source tarball on my SX164, and am
using it now with a Voodoo3 2000/PCI I had lying around. I have not
tried any 3D stuff- yet. BTW- I'm no coder, but I'm willing use my
system as a guinea pig if anyone is looking to test patches to support
3D on Alpha.

As for the 'extract' program, my guess is it's probably an intel binary. 

Chris Kloiber


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

* Re: Anyone try XF86-4.0 yet?
  2000-03-17 23:57 ` Chris Kloiber
@ 2000-03-18  1:26   ` B. James Phillippe
  2000-03-18  1:46     ` W Bauske
  0 siblings, 1 reply; 11+ messages in thread
From: B. James Phillippe @ 2000-03-18  1:26 UTC (permalink / raw)
  To: axp-list

On Fri, 17 Mar 2000, Chris Kloiber wrote:

> "B. James Phillippe" wrote:
> > 
> > I had problems installing it; the "extract" binary on the FTP server
> > doesn't work - it seems to be corrupt or not in a standard ELF format or
> > something.
...
> As for the 'extract' program, my guess is it's probably an intel binary. 

No, it isn't:

% file tmp/extract.bad
tmp/extract.bad: ELF 64-bit LSB executable, Alpha (unofficial), version 1,
dynamically linked (uses shared libs), stripped
% ldd tmp/extract.bad
/usr/bin/ldd: tmp/extract.bad: No such file or directory
% 

There is something else wrong with it.

-bp
--
# bryan at terran dot org
# http://www.terran.org/~bryan


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

* Re: Anyone try XF86-4.0 yet?
  2000-03-18  1:26   ` B. James Phillippe
@ 2000-03-18  1:46     ` W Bauske
  2000-03-18  1:52       ` B. James Phillippe
  0 siblings, 1 reply; 11+ messages in thread
From: W Bauske @ 2000-03-18  1:46 UTC (permalink / raw)
  To: axp-list

"B. James Phillippe" wrote:
> 
> On Fri, 17 Mar 2000, Chris Kloiber wrote:
> 
> > "B. James Phillippe" wrote:
> > >
> > > I had problems installing it; the "extract" binary on the FTP server
> > > doesn't work - it seems to be corrupt or not in a standard ELF format or
> > > something.
> ...
> > As for the 'extract' program, my guess is it's probably an intel binary.
> 
> No, it isn't:
> 
> % file tmp/extract.bad
> tmp/extract.bad: ELF 64-bit LSB executable, Alpha (unofficial), version 1,
> dynamically linked (uses shared libs), stripped
> % ldd tmp/extract.bad
> /usr/bin/ldd: tmp/extract.bad: No such file or directory
> %
> 
> There is something else wrong with it.
> 

Try "ldd binary_name" on it. Probably missing some shared lib.


Wes


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

* Re: Anyone try XF86-4.0 yet?
  2000-03-18  1:46     ` W Bauske
@ 2000-03-18  1:52       ` B. James Phillippe
  2000-03-18  3:41         ` W Bauske
  0 siblings, 1 reply; 11+ messages in thread
From: B. James Phillippe @ 2000-03-18  1:52 UTC (permalink / raw)
  To: axp-list

On Fri, 17 Mar 2000, W Bauske wrote:

> > > "B. James Phillippe" wrote:
> > > >
> > > > I had problems installing it; the "extract" binary on the FTP
> > > > server doesn't work - it seems to be corrupt or not in a standard
> > > > ELF format or something.
> > ...
> > > As for the 'extract' program, my guess is it's probably an intel
> > > binary.
> > 
> > No, it isn't:
> > 
> > % file tmp/extract.bad
> > tmp/extract.bad: ELF 64-bit LSB executable, Alpha (unofficial), version 1,
> > dynamically linked (uses shared libs), stripped
> > % ldd tmp/extract.bad
> > /usr/bin/ldd: tmp/extract.bad: No such file or directory
> > %
> > 
> > There is something else wrong with it.
> > 
> 
> Try "ldd binary_name" on it. Probably missing some shared lib.

It was included in my post.  I've used nm and objdump to see that this is
indeed an ELF object file with the usual sections.  But it must be linked
against some other kind of library for ldd to fail.  I got this from the
Linux-alpha-glibc21 directory on ftp.xfree86.org.

Hey there!  Seems this file was replaced on the xfree server just last
night at almost midnight.  So the XFree guys heard my plight, perhaps.  The
new binary works. :-)

thanks,
-bp
--
# bryan at terran dot org
# http://www.terran.org/~bryan


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

* Re: Anyone try XF86-4.0 yet?
  2000-03-18  1:52       ` B. James Phillippe
@ 2000-03-18  3:41         ` W Bauske
  2000-03-18  4:59           ` W Bauske
  2000-03-18  5:08           ` Anyone try XF86-4.0 yet? B. James Phillippe
  0 siblings, 2 replies; 11+ messages in thread
From: W Bauske @ 2000-03-18  3:41 UTC (permalink / raw)
  To: axp-list

"B. James Phillippe" wrote:
> 
> On Fri, 17 Mar 2000, W Bauske wrote:
> 
> > > > "B. James Phillippe" wrote:
> > > > >
> > > > > I had problems installing it; the "extract" binary on the FTP
> > > > > server doesn't work - it seems to be corrupt or not in a standard
> > > > > ELF format or something.
> > > ...
> > > > As for the 'extract' program, my guess is it's probably an intel
> > > > binary.
> > >
> > > No, it isn't:
> > >
> > > % file tmp/extract.bad
> > > tmp/extract.bad: ELF 64-bit LSB executable, Alpha (unofficial), version 1,
> > > dynamically linked (uses shared libs), stripped
> > > % ldd tmp/extract.bad
> > > /usr/bin/ldd: tmp/extract.bad: No such file or directory
> > > %
> > >
> > > There is something else wrong with it.
> > >
> >
> > Try "ldd binary_name" on it. Probably missing some shared lib.
> 
> It was included in my post.  I've used nm and objdump to see that this is
> indeed an ELF object file with the usual sections.  But it must be linked
> against some other kind of library for ldd to fail.  I got this from the
> Linux-alpha-glibc21 directory on ftp.xfree86.org.
> 
> Hey there!  Seems this file was replaced on the xfree server just last
> night at almost midnight.  So the XFree guys heard my plight, perhaps.  The
> new binary works. :-)
> 

I hope that fixes it. Your initial post though shows you
pointed ldd at a non-existent file. That's what the error
message says anyway. You have to use the full path name.

For example, "ldd `which ld`" gives:

[wsb@wsb tmp]$ ldd `which ld`
        libbfd-2.9.1.0.23.so => /usr/lib/libbfd-2.9.1.0.23.so (0x40014000)
        libc.so.6 => /lib/libc.so.6 (0x40053000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

While "ldd ld" gives:

[wsb@wsb tmp]$ ldd  ld 
ldd: ./ld: No such file or directory

Make sure you got the right file/directory path.


Wes


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

* Re: Anyone try XF86-4.0 yet?
  2000-03-18  3:41         ` W Bauske
@ 2000-03-18  4:59           ` W Bauske
  2000-03-18  5:13             ` B. James Phillippe
  2000-03-18  5:08           ` Anyone try XF86-4.0 yet? B. James Phillippe
  1 sibling, 1 reply; 11+ messages in thread
From: W Bauske @ 2000-03-18  4:59 UTC (permalink / raw)
  To: axp-list

W Bauske wrote:
> 
> "B. James Phillippe" wrote:
> >
> > On Fri, 17 Mar 2000, W Bauske wrote:
> >
> > > > > "B. James Phillippe" wrote:
> > > > > >
> > > > > > I had problems installing it; the "extract" binary on the FTP
> > > > > > server doesn't work - it seems to be corrupt or not in a standard
> > > > > > ELF format or something.
> > > > ...
> > > > > As for the 'extract' program, my guess is it's probably an intel
> > > > > binary.
> > > >
> > > > No, it isn't:
> > > >
> > > > % file tmp/extract.bad
> > > > tmp/extract.bad: ELF 64-bit LSB executable, Alpha (unofficial), version 1,
> > > > dynamically linked (uses shared libs), stripped
> > > > % ldd tmp/extract.bad
> > > > /usr/bin/ldd: tmp/extract.bad: No such file or directory
> > > > %
> > > >
> > > > There is something else wrong with it.
> > > >
> > >
> > > Try "ldd binary_name" on it. Probably missing some shared lib.
> >
> > It was included in my post.  I've used nm and objdump to see that this is
> > indeed an ELF object file with the usual sections.  But it must be linked
> > against some other kind of library for ldd to fail.  I got this from the
> > Linux-alpha-glibc21 directory on ftp.xfree86.org.
> >
> > Hey there!  Seems this file was replaced on the xfree server just last
> > night at almost midnight.  So the XFree guys heard my plight, perhaps.  The
> > new binary works. :-)
> >
> 
> I hope that fixes it. Your initial post though shows you
> pointed ldd at a non-existent file. That's what the error
> message says anyway. You have to use the full path name.
> 
> For example, "ldd `which ld`" gives:
> 
> [wsb@wsb tmp]$ ldd `which ld`
>         libbfd-2.9.1.0.23.so => /usr/lib/libbfd-2.9.1.0.23.so (0x40014000)
>         libc.so.6 => /lib/libc.so.6 (0x40053000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> 
> While "ldd ld" gives:
> 
> [wsb@wsb tmp]$ ldd  ld
> ldd: ./ld: No such file or directory
> 
> Make sure you got the right file/directory path.
> 

I just ftp'd the new "extract" from

ftp://ftp.xfree86.org/pub/XFree86/4.0/binaries/Linux-alpha-glibc21/

and it looks fine. No errors from ldd or file. It appears to
be just gnu tar. You shouldn't need this file...


Wes


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

* Re: Anyone try XF86-4.0 yet?
  2000-03-18  3:41         ` W Bauske
  2000-03-18  4:59           ` W Bauske
@ 2000-03-18  5:08           ` B. James Phillippe
  1 sibling, 0 replies; 11+ messages in thread
From: B. James Phillippe @ 2000-03-18  5:08 UTC (permalink / raw)
  To: axp-list

On Fri, 17 Mar 2000, W Bauske wrote:

> > > Try "ldd binary_name" on it. Probably missing some shared lib.
> > 
> > It was included in my post.  I've used nm and objdump to see that this
...
> Your initial post though shows you pointed ldd at a non-existent file.
> That's what the error message says anyway. You have to use the full path
> name.

That was not the problem in my case.  ldd will also report "No such file or
directory" on an application where the loader cannot be found.  So will
strace.  After developing code on Linux for many years, I have learned this
well.  Here is some proof:

(bryan/bryan.1@neptune) ~/tmp % vl extract*
-rwxr-xr-x   2 bryan    bryan      187824 Mar 17 17:50 extract*
-rwxr-xr-x   1 bryan    bryan      219664 Mar 16 02:39 extract.bad*

(bryan/bryan.1@neptune) ~/tmp % file !$
file extract*
extract:     ELF 64-bit LSB executable, Alpha (unofficial), version 1,
dynamically linked (uses shared libs), stripped
extract.bad: ELF 64-bit LSB executable, Alpha (unofficial), version 1,
dynamically linked (uses shared libs), stripped

(bryan/bryan.1@neptune) ~/tmp % ldd !$
ldd extract*
extract:
        libc.so.6.1 => /lib/libc.so.6.1 (0x000002000011e000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x0000020000000000)
extract.bad:
/usr/bin/ldd: ./extract.bad: No such file or directory

(bryan/bryan.1@neptune) ~/tmp % strace ./extract.bad
execve("./extract.bad", ["./extract.bad"], [/* 26 vars */]) = 0
strace: exec: No such file or directory

(bryan/bryan.1@neptune) ~/tmp % strace ./extract|&head -n 5
execve("./extract", ["./extract"], [/* 26 vars */]) = 0
brk(0)                                  = 0x12012fb20
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=0, st_size=953355579, ...}) = 0

Here is the problem in the first binary:

(bryan/bryan.1@neptune) ~/tmp % strings extract|head -n2
/lib/ld-linux.so.2
libc.so.6.1

(bryan/bryan.1@neptune) ~/tmp % ^act^act.bad
strings extract.bad | head -n2
/lib/ld.so.1
__libc_init_first

-bp
--
# bryan at terran dot org
# http://www.terran.org/~bryan


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

* Re: Anyone try XF86-4.0 yet?
  2000-03-18  4:59           ` W Bauske
@ 2000-03-18  5:13             ` B. James Phillippe
  2000-03-18 23:32               ` Serial console boot messages J. Pedro Sousa do Amaral
  0 siblings, 1 reply; 11+ messages in thread
From: B. James Phillippe @ 2000-03-18  5:13 UTC (permalink / raw)
  To: axp-list

On Fri, 17 Mar 2000, W Bauske wrote:

> I just ftp'd the new "extract" from
> 
> ftp://ftp.xfree86.org/pub/XFree86/4.0/binaries/Linux-alpha-glibc21/
> 
> and it looks fine. No errors from ldd or file. It appears to
> be just gnu tar. You shouldn't need this file...

I have XF86-4.0 installed now, but am having trouble getting it running on
a TGA (ZLXp-E2).  The automatic configuration code doesn't work.  Anyone
else get it going, or have a config file I can start with?

This is somewhat embarrassing because I'm on the XFree development team for
the purpose of working on the TGA driver, but I haven't had time to do
anything with it yet (for X anyway; I added the original VESA screenblank
code to the TGA framebuffer in the kernel).

cheers,
-bp
--
# bryan at terran dot org
# http://www.terran.org/~bryan


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

* Serial console boot messages
  2000-03-18  5:13             ` B. James Phillippe
@ 2000-03-18 23:32               ` J. Pedro Sousa do Amaral
  2000-03-19 13:00                 ` Rich Payne
  0 siblings, 1 reply; 11+ messages in thread
From: J. Pedro Sousa do Amaral @ 2000-03-18 23:32 UTC (permalink / raw)
  To: axp-list

Hi,
I would like to be able to use a terminal emulation program (ZTerm or
Terminal) on one of my Macintoshes to display boot messages (and others)
from the serial port on my AS 200. Is it possible? What kind of settings
would I need at the terminal emulation program? Would 9600 baud, N, 8, 1 do?
Do I need to configure protocol (Kermit, Xmodem, etc.) and handshake type
(Xon Xoff, etc.) too?
TIA,
ZP
-- 
José Pedro Sousa do Amaral

I saw in Louisiana a live-oak growing,
All alone stood it and the moss hung down from the branches,
Without any companion it grew there uttering joyous leaves of dark
  green,
         -W. Whitman


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

* Re: Serial console boot messages
  2000-03-18 23:32               ` Serial console boot messages J. Pedro Sousa do Amaral
@ 2000-03-19 13:00                 ` Rich Payne
  0 siblings, 0 replies; 11+ messages in thread
From: Rich Payne @ 2000-03-19 13:00 UTC (permalink / raw)
  To: axp-list

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; charset=X-UNKNOWN, Size: 1630 bytes --]

On Sat, 18 Mar 2000, J. Pedro Sousa do Amaral wrote:

> Hi,
> I would like to be able to use a terminal emulation program (ZTerm or
> Terminal) on one of my Macintoshes to display boot messages (and others)
> from the serial port on my AS 200. Is it possible? What kind of settings
> would I need at the terminal emulation program? Would 9600 baud, N, 8, 1 do?

Yup, that looks right.

> Do I need to configure protocol (Kermit, Xmodem, etc.) and handshake type

No

> (Xon Xoff, etc.) too?

I think I've always used hardware flow control, but this is on newer
machines. I'd just play around with it and see what happens.

Now, are you running SRM or ARC Bios on this machine? If you want to do
the above, use SRM. Then you can change the console parameter and
everything should go to the 1st serial port instead of the VGA (set
console serial).

Also, remember you'll need serial support in the kernel, you'll have to
tell the kernel to use it (append console=ttyS0 to your boot flags), and
if you want to login over the serial port you'll have to spawn a getty on
the tty. Look at /etc/inittab for that one.

--rdp

> TIA,
> ZP
> -- 
> José Pedro Sousa do Amaral
> 
> I saw in Louisiana a live-oak growing,
> All alone stood it and the moss hung down from the branches,
> Without any companion it grew there uttering joyous leaves of dark
>   green,
>          -W. Whitman
> 
> -- 
> 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
> 

Rich Payne
rpayne@alphalinux.org			www.alphalinux.org


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

end of thread, other threads:[~2000-03-19 13:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-17 18:05 Anyone try XF86-4.0 yet? B. James Phillippe
2000-03-17 23:57 ` Chris Kloiber
2000-03-18  1:26   ` B. James Phillippe
2000-03-18  1:46     ` W Bauske
2000-03-18  1:52       ` B. James Phillippe
2000-03-18  3:41         ` W Bauske
2000-03-18  4:59           ` W Bauske
2000-03-18  5:13             ` B. James Phillippe
2000-03-18 23:32               ` Serial console boot messages J. Pedro Sousa do Amaral
2000-03-19 13:00                 ` Rich Payne
2000-03-18  5:08           ` Anyone try XF86-4.0 yet? B. James Phillippe

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