Re: Current State of Debian Sparc Port

1998-01-05 Thread Anders Hammarquist
In article [EMAIL PROTECTED] you write:
Anders == Anders Hammarquist [EMAIL PROTECTED] writes:

Anders This is due to the fact that /lib/ld-linux.so.2 guesses
Anders (wrongly) that the MMU page size is 8k (it is actually
Anders 4k). libc6 should be fixed to do a syscall for getpagesize()

Is it possible that this problem afflicts /lib/ld-linux.so.1 from ldso
1.9.6-2?  It too segfaults, and the redhat patches of 1.8.3 don't seem
to help.

It's possible, though from what I can tell the reason it crashes on
libraries is that it gets confused about where it's data is since it
gets loaded at 0x6000 on the sparc (it seems to expect to load at 0).
My locally compliled ld.so-1.9.6 segfaults trying to read at address
0x16664 and it just so happens that the BSS segment starts at 0x60016664.

I shall investigate this further...

/Anders

-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist   |   Mud at Kingdoms| [EMAIL PROTECTED]
NetGuide Scandinavia |   telnet kingdoms.se 1812| Fax: +46 31 50 79 39
http://www.netg.se   |  | Tel: +46 31 50 79 40


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Current State of Debian Sparc Port

1998-01-03 Thread Douglas F. Elznic
Hello,
 With the regretful demise of redhat for sparc i am wondering if it is
going to become a lost cause. What is the current situation for the
debian sparc distribution. I also am extremely interested in the serial
drivers. I want one of my sparcs to do nothing but dial into my ISP fire
up a ppp connection and then masq. my internal network at home.   


--
Douglas F. Elznic
[EMAIL PROTECTED]
If they give you lined paper, write the other way.
Freedom through Electronic Resistance


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Current State of Debian Sparc Port

1998-01-03 Thread Johnie Ingram

Douglas == Douglas F Elznic [EMAIL PROTECTED] writes:

Douglas Hello, With the regretful demise of redhat for sparc i am

What regretful demise of redhat for sparc!

Douglas wondering if it is going to become a lost cause. What is the
Douglas current situation for the debian sparc distribution. I also

Debian is trying to go for an all-glibc release as its first sparc
distribution, which is posing problems because glibc itself is iffy.
More debian developers joined the effort in December, attempting to
autocompile as much of the hamm dist as possible while the core
developers work the bugs out of gcc, binutils, and libc6.

The main problems are these:

  * select() isnt working properly, which breaks glibc versions of
perl, proftpd, apache, and probably much more I haven't tried.

  * bash 2.01 and its libreadline cant be compiled because it comes
out linked against both libc5 and libc6; same with ncurses3.4.

However what is compiled works well.  I consider my SparcStation 20
experiment a success -- the vast majority of its 1500 shell users
never realized that SunOS 4.1.3 was gone.

Linux tln 2.0.27 #2 Wed Feb 5 16:01:42 EST 1997 sparc unknown
 12:48am  up 39 days, 11:47h, 45 users,  load average: 2.41, 2.32, 2.18


The load is so high only because I'm in the middle of compiling
glibc-sparc-2.0.90-971126.deb; I've been compiling sparc packages for
a few hours now.  This is why your message comes as such a shock.  :-)

(My theory here is it might help if /lib/ld-linux.so.2 wasn't linked
against libc5.)

-  PGP  E4 70 6E 59 80 6A F5 78  63 32 BC FB 7A 08 53 4C
 
   __ _Debian GNU Johnie Ingram [EMAIL PROTECTED]  mm   mm
  / /(_)_ __  _   ___  __netgod irc.debian.org  mm mm
 / / | | '_ \| | | \ \/ / m m m
/ /__| | | | | |_| |Those who do not understand UNIX   mm   mm
\/_|_| |_|\__,_/_/\_\ are doomed to repeat it, poorly.   GO BLUE


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Current State of Debian Sparc Port

1998-01-03 Thread Tom Dyas
On Sat, 3 Jan 1998, Douglas F. Elznic wrote:

  With the regretful demise of redhat for sparc i am wondering if it is
 going to become a lost cause. What is the current situation for the
 debian sparc distribution. I also am extremely interested in the serial
 drivers. I want one of my sparcs to do nothing but dial into my ISP fire
 up a ppp connection and then masq. my internal network at home.   

Regretful demise?

RedHat 5.0 is based on glibc 2.0.x. Sparc support wasn't put into glibc
until glibc 2.1.x which is the development version. The RedHat sparc guys
are backporting the sparc stuff to glibc 2.0.x but have been delayed.
Remember that Alpha has always used glibc and that Intel support was in
glibc 2.0.x from the outset.

Tom



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Current State of Debian Sparc Port

1998-01-03 Thread Mark W. Eichin

   * select() isnt working properly, which breaks glibc versions of
 perl, proftpd, apache, and probably much more I haven't tried.

Actually, I recently discovered that *select* is fine -- it seems to
be reporting the EBADF accurately.  What appears to be broken is that
writes of more than 4096 to a full pipe between a parent and child
screw up somehow.  (I'm not sure why libc5 programs don't lose too,
I'm working on that one, but thought I'd point that out...)

   * bash 2.01 and its libreadline cant be compiled because it comes
 out linked against both libc5 and libc6; same with ncurses3.4.

Umm, I think that's just untrue.  Do you mean the *dependencies* show
both libc5 and libc6? That's because dpkg-shlibdeps is getting fooled
by a bug in ld.so; someone claimed they were uploading a new one to
fix them problem.  ncurses3.4 actually builds and works fine, I
uploaded the missing binary packages a couple of days ago (since so
many programs (like info had been uploaded linked against them
anyway...) 

 (My theory here is it might help if /lib/ld-linux.so.2 wasn't linked
 against libc5.)

I think that's the symptom, but from what was posted here earlier, it
*isn't* -- it just looks that way because ld.so (which is what does
the work of ldd, underneath) has a bug...


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Current State of Debian Sparc Port

1998-01-03 Thread Mark W. Eichin
actually, 
studentloan+% ls -al /lib/ld-*
-rwxr-xr-x   1 root root   447196 Dec  1 14:27 /lib/ld-2.0.90.so*
-rwxr-xr-x   2 root root26957 Feb 21  1997 /lib/ld-linux.so.1*
-rwxr-xr-x   2 root root26957 Feb 21  1997 /lib/ld-linux.so.1.8.10*
lrwxrwxrwx   1 root root   12 Jan  2 02:43 /lib/ld-linux.so.2 - 
ld-2.0.90.so*

yet
studentloan+% ldd /lib/libncurses.so.3.4
libc.so.5 = /lib/libc.so.5
libc.so.6 = /lib/libc.so.6
ld-linux.so.2 = /lib/ld-linux.so.2

Nonetheless, strings /lib/libncurses.so.3.4 only lists libc.so.6
and ld-linux.so.2.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Current State of Debian Sparc Port

1998-01-03 Thread James Troup
[EMAIL PROTECTED] (Mark W. Eichin) writes:

 actually, 
 studentloan+% ls -al /lib/ld-*
 -rwxr-xr-x   1 root root   447196 Dec  1 14:27 /lib/ld-2.0.90.so*
 -rwxr-xr-x   2 root root26957 Feb 21  1997 /lib/ld-linux.so.1*
 -rwxr-xr-x   2 root root26957 Feb 21  1997 
 /lib/ld-linux.so.1.8.10*
 lrwxrwxrwx   1 root root   12 Jan  2 02:43 /lib/ld-linux.so.2 - 
 ld-2.0.90.so*
 
 yet
 studentloan+% ldd /lib/libncurses.so.3.4
 libc.so.5 = /lib/libc.so.5
 libc.so.6 = /lib/libc.so.6
 ld-linux.so.2 = /lib/ld-linux.so.2
 
 Nonetheless, strings /lib/libncurses.so.3.4 only lists libc.so.6
 and ld-linux.so.2.

*blush*, okay, sorry I'll shut up now.  That's truly strange.

(Sorry, I assumed since it was the same symptoms, it was the same
problem)

-- 
James


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Current State of Debian Sparc Port

1998-01-03 Thread Johnie Ingram

Mark == Mark W Eichin [EMAIL PROTECTED] writes:

Mark Nonetheless, strings /lib/libncurses.so.3.4 only lists libc.so.6
Mark and ld-linux.so.2.

Is it safe then to create a wrapper script around ldd that absorbs the
spurious libc5 dependency, so correct packages can still be made?

Incidentially the ldso 1.9.6-2 from hamm seems to work better, but
fails when run against some libs; this might be good enough for dpkg.

/lib/libcrypt-2.0.90.so:
libc.so.6 = /lib/libc.so.6 (0x5004)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x)
/lib/libc.so.6:
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x)
/lib/ld-linux.so.2:
ldd: /lib/ld-linux.so.2 exited with signal 11
/lib/libcom_err.so.2:
ldd: /lib/libcom_err.so.2 exited with signal 11


-  PGP  E4 70 6E 59 80 6A F5 78  63 32 BC FB 7A 08 53 4C
 
   __ _Debian GNU Johnie Ingram [EMAIL PROTECTED]  mm   mm
  / /(_)_ __  _   ___  __netgod irc.debian.org  mm mm
 / / | | '_ \| | | \ \/ / m m m
/ /__| | | | | |_| |Those who do not understand UNIX   mm   mm
\/_|_| |_|\__,_/_/\_\ are doomed to repeat it, poorly.   GO BLUE



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .