Re: XSun docs?

1999-12-10 Thread Anders Hammarquist

 can you give me a hint where to find docs about the XSun X server?
 Everything is welcome! :-)

Have you tried the man page Xsun(1x)?

What are you looking for?

/Anders

-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist  | [EMAIL PROTECTED]
Physics student | Hem: +46 31 47 69 27
Chalmers University of Technology, G|teborg, Sweden | Mob: +46 707 27 86 87



Re: Xsun ignoring options?

1999-11-26 Thread Anders Hammarquist
 Does the XSun X server support the XKeyboard extensions, does anyone know?

I don't believe it does. I think I recall seeing it somewhere in the docs
or code, but don't take my word for it.

/Anders

-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist  | [EMAIL PROTECTED]
Physics student | Hem: +46 31 47 69 27
Chalmers University of Technology, G|teborg, Sweden | Mob: +46 707 27 86 87



Re: Classic hardware problem?

1999-07-12 Thread Anders Hammarquist
 Is this memory perhaps?  The 'test memory' passes on the 1st MB
 anyway. I haven't tried setting it to test all 64MB.  The SIMMS
 are 16MB 60's EDO.  Could that be the problem?  I don't have any
 other 16's to try, and 8's won't work in it.

That sounds likely. The Classics want true parity (aka 36-bit) memory,
and I don't believe there is such a thing as a true parity EDO SIMM.
(it takes 4 and 16 MB SIMMs).

/Anders

-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist  | [EMAIL PROTECTED]
Physics student | Hem: +46 31 47 69 27
Chalmers University of Technology, G|teborg, Sweden | Mob: +46 707 27 86 87



Re: SparcServer 1000e Problems

1999-07-07 Thread Anders Hammarquist
 If both cards are plugged into the same hub I get these messages on both
 interfaces until I kill the connection from my client or the system
 reboots.

If you plug both interfaces to the same wire (Ethernet sense, so even through
a switch) you have to reconfigure the Ethernet address on one of the boards,
since Sun machines normally use the same address on all interfaces. This
doesn't explain the troubles you were seeing with them on different subnets
though...

/Anders

-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist  | [EMAIL PROTECTED]
Physics student | Hem: +46 31 47 69 27
Chalmers University of Technology, G|teborg, Sweden | Mob: +46 707 27 86 87



Re: Debian in Ultra 5

1999-06-23 Thread Anders Hammarquist
 Err, back off on that.  I've only had one instance where this was
 needed.  The UltraSparc (I think it was an Ultra10) had an additional
 special video card (some kind of super Creator 3d thing).  It wouldn't
 work with the card in the machine because /dev/fb0 is hardcoded into
 the mach64 server and the extra card ended up being /dev/fb0.  (The
 server needs /dev/fb0 to map the video memory.)

and if you do have a Creator in the box, you probably want to
use Xsun24 instead (at least if the latest patches have been applied),
since that video card is quite a bit spiffier than the m64.

/Anders

-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist  | [EMAIL PROTECTED]
Physics student | Hem: +46 31 47 69 27
Chalmers University of Technology, G|teborg, Sweden | Mob: +46 707 27 86 87



Re: Ultra and Linux usf readonly...

1999-06-22 Thread Anders Hammarquist
   Neither one is answering my question! :)

Oh, come now, it's only been 4 hours since your last mail...

   I installed Debian in a Ultra 5 and xserver-mach64 and the following
 error occurs:

[snip]

 Fatal server error:
 xf86MapVidMem: Could not mmap framebuffer (Invalid argument)
 
 xinit:  unexpected signal 2

My wild guess is that something is strange with your kernel (or possibly
libc). What version are you using (and what if any patches have you applied
to the kernel)?

/Anders

-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist  | [EMAIL PROTECTED]
Physics student | Hem: +46 31 47 69 27
Chalmers University of Technology, G|teborg, Sweden | Mob: +46 707 27 86 87



Re: Booting a sparc10

1999-05-10 Thread Anders Hammarquist
[EMAIL PROTECTED] said:
 I have a sparc10 that I installed debian 2.1 sparc on.  I can't get it
 to boot off the hard drive.  It always complains about no disk label. 

Sounds like you've make an fdisk disklabel on it, the sparc prom needs
to see a sun disklabel (known as a bsd disklabel in fdisk).

/Anders

-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist  | [EMAIL PROTECTED]
Physics student | Hem: +46 31 47 69 27
Chalmers University of Technology, G|teborg, Sweden | Mob: +46 707 27 86 87



Re: Off Topic: Sparc (see -devel for origin)

1999-04-17 Thread Anders Hammarquist
 On Thu, Apr 15, 1999 at 05:24:23PM -0700, [EMAIL PROTECTED] wrote:
  yes, Debian 2.1 was released for sparc.
  release notes are at:
  http://www.debian.org/releases/stable/sparc/release-notes/index.html
  also, check out: http://www.debian.org/ports/sparc/
  
 
 But that doesn't answer his question, unless you know for *sure* that a
 sun4 VME based architecture is supported. I'll for one don't know this...

But the 600-series are not sun4, they are sun4m and thus supported. Their VME 
interface isn't though AFAIK, so any devices sitting on VME will be unsuable.

   For lack of a quicker source of information:
   I have a sparc server 630MP.  It has no video card.  I figure I can
   install via a terminal on the serial port, But my question is this:  Is
   this hardware even supported?  The only partial answer I can get is on
   Redhat's site which says THEY don't support a sun4 VME based arcatecture.
   Is this the same with the latest kernel?  Anyone want to give me some
   pointers?
   
   Andrew
 
 --
 B. Warmerdam  GNU/Debian Linux
 [EMAIL PROTECTED], [EMAIL PROTECTED] (Keyid: 10A0FDD1)   
 
 
 --  
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 

-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist  | [EMAIL PROTECTED]
Physics student | Hem: +46 31 47 69 27
Chalmers University of Technology, G|teborg, Sweden | Mob: +46 707 27 86 87



Re: X server just kills itself !?

1999-04-01 Thread Anders Hammarquist

 Since I recompiled a 2.2.1 kernel, X server just quit and return to xdm every 
 1-2 minutes.
 The server freeze, then goes black and...stops.
 
 A message on the console says: modprobe error: unable to find module fb1 
 (same message with fb2)
 Of course, I didn't find any module with that name anywhere (even in the 
 .config file)

Hmm, have you compiled support for your framebuffer? (If you use modules and 
want it to autoload, you should alias fb1 (though I though it was fb0) to 
whatever framebuffer is your primary framebuffer.)

/Anders

-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist  | [EMAIL PROTECTED]
Physics student | Hem: +46 31 47 69 27
Chalmers University of Technology, G|teborg, Sweden | Mob: +46 707 27 86 87



Re: utilizing keys (type 5 keyboard)

1999-03-25 Thread Anders Hammarquist
 On Tue, Mar 23, 1999 at 07:56:58PM -0500, Matthew Haas wrote:
   One last request-- I have a friend who has a SS-1+ ..apparently the
   battery is dead (the .enet-addr is ALL zeroes, and it doesn't remember
   settings after it's powered off).. any good sources for new batteries?
 
  You must call SUN, and ask to sobstitute the eprom, which is gone.
  All the SS1+ are going to loose the ethernet address right soon.
  AFAIK, it happens on all sparcs.

It's not the eprom, it's the battery+sram chip (tall chip with barcode, you 
can't miss it). Anyway, Sun wants way too much money to replace them (unless 
you have service), you can get an eqivalent chip from any decent electronics 
supplier. Check out the Sun NVRAM faq at 
http://www.squirrel.com/squirrel/sun-nvram-hostid.faq for details.

/Anders

-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist  | [EMAIL PROTECTED]
Physics student | Hem: +46 31 47 69 27
Chalmers University of Technology, G|teborg, Sweden | Mob: +46 707 27 86 87



Re: slink release

1999-02-15 Thread Anders Hammarquist
 - X11: what is the status of X packages ?

Since noone has complained about my last merger patch, I've told
Branden to integrate it into his sources. Once I get word from him
I'll either wait for a -11 for slink with sparc in it, or make a sparc
NMU of whatever revision is going to be it for slink (or let Steve do it).

/Anders


Re: Please test: impoved sparc and alpha X patches.

1999-02-12 Thread Anders Hammarquist
 Were you going to add that XF86Config file to the xserver-mach64
 package?

Err, I thought I had. Small typo on my part made it not make it in there. I'm 
making another one (I won't bother building the other packages this time 
though, since it's only the packaging of the xserver that has changed). It 
should be in place in a few minutes.

/Anders
-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist  | [EMAIL PROTECTED]
Physics student | Hem: +46 31 47 69 27
Chalmers University of Technology, G|teborg, Sweden | Mob: +46 707 27 86 87



Please test: impoved sparc and alpha X patches.

1999-02-11 Thread Anders Hammarquist
Hi again.

New versions of the merged X pacakges for sparc and alpha are now available. 
This time with a working xfs.

ftp://ftp.cd.chalmers.se/pub/os/Linux/local/iko

- or -

http://master.debian.org/~iko/

/Anders

-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist  | [EMAIL PROTECTED]
Physics student | Hem: +46 31 47 69 27
Chalmers University of Technology, G|teborg, Sweden | Mob: +46 707 27 86 87



Please test: X patches for sparc and alpha

1999-02-09 Thread Anders Hammarquist
Hi,

The patch-merging is done (or at least I have something that compiles and runs 
for me - avanti with matrox milleniun and SS10 with cg6). Get the patches 
(against 3.3.2.3a-10), sparc binaries and alpha binaries from

http://master.debian.org/~iko/

- or -

ftp://ftp.cd.chalmers.se/pub/os/Linux/local/iko/

Note that the alpha packages are slightly earlier than the patches and the 
sparc packages. I'll make another alpha build tonight and put it up for 
testing tomorrow. If no-one finds any showstoppers I hope that Branden can get 
this into -11.

Regards,
/Anders

-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist  | [EMAIL PROTECTED]
Physics student | Hem: +46 31 47 69 27
Chalmers University of Technology, G|teborg, Sweden | Mob: +46 707 27 86 87



Re: how to know the real device used by /dev/console ?

1999-02-08 Thread Anders Hammarquist
 
 Hello,
 
   is there a way (an ioctl or such) to get the real device connected to
 /dev/console ?  Especially, I need to know whether the console is connected to
 a serial one or not.

Hmm, you could check /proc/openprom/std{in,out}-path. If both are the same, the 
PROM console is serial. There may be better ways though...

/Anders

-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist  | [EMAIL PROTECTED]
Physics student | Hem: +46 31 47 69 27
Chalmers University of Technology, G|teborg, Sweden | Mob: +46 707 27 86 87



Re: Help wanted with Alpha/Sparc XFree86 patches

1999-02-02 Thread Anders Hammarquist
 I was wondering if it would be possible for me to persuade anyone to submit
 me a *merged* alpha/sparc patch for XFree86 so I can put it in -10.

Like I mentioned in some other message, my plan was to merge together my 
alpha and sparc patches with Steve's sparc patches and send the result to you 
(also making sure you get the latest version of all the patches). Of course, 
if there is anyone who wants to help, that'd be more than welcome, though I 
guess it'd be more in the testing phase of things (the patch merging seems 
hard to distribute). I'll announce availability of my test builds to the 
lists.

 Once I have the integrated patch I will make a test build with it and
 try to determine if it makes any weirdness happen to i386 systems (maybe
 I'll leave it out of the changelog for the test build so the i386
 testers will become unwitting guinea pigs of a bigger experiment than
 they bargained for, moo ha ha ha).  I'd also like to know if it breaks
 on m68k, put those poor guys have to wait 6 days or something for X
 to build, so I'm probably going to have to resort to prayer for that
 architecture.

Sounds like a plan. I'll do a test build on my i386 to make sure it doesn't 
fall apart completely on you though ;-)

Regards,
/Anders

-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist  | [EMAIL PROTECTED],iko.pp}.se
Physics Student, root, Debian Maintainer| Tel: +46.31.47 69 27
Jag ska b|rja plugga i l{svecka 1...| Cel: +46.707.27 86 87



Re: XWindow in Sparc4

1999-01-29 Thread Anders Hammarquist
   Thank you!
   It did the trick.
   Now what about csh error?
 
   [EMAIL PROTECTED]: ~$ csh
   csh: Symbol `_IO_2_1_stdin_' has different size in shared object, 
 consider
   re-linking
   [EMAIL PROTECTED]: ~$ 

That means that your csh is linked an older libc (assuming you have the latest 
version of everything). The package needs to be recompiled for this message to 
go away. Generally, it doesn't seem to cause any problems though.

Another solution is to replace csh with tcsh (since tcsh is compiled with a 
recent enough libc and thus doens't complain).

Regards,
/Anders

-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist  | [EMAIL PROTECTED]
Physics student | Hem: +46 31 47 69 27
Chalmers University of Technology, G|teborg, Sweden | Mob: +46 707 27 86 87



Re: XFree86 3.3.2.3a-8pre9v6 at master.debian.org/~branden/xfree86

1999-01-29 Thread Anders Hammarquist

 The patches that I sent you should be completely safe. But the
 resulting packages have only been tested by me.  (As I said, I took
 out the -pedantic flag on the altdev stuff - the other changes don't
 touch x86 at all.)

Right, at least my sparc patches really only deal with the Xsun server. I 
guess yours are similar.

 BTW, There are two kinds of sparc64 support: usermode and kernel mode.
 Usermode stuff is a _long_ way off, currently Debian runs 32-bit sparc
 stuff on a 64-bit kernel.  So Alpha patches don't help much there.
 The biggest issue on the 32-bit sparc is unaligned memory accesses.

Hmm, the alpha patches clean up many unaligned accesses, and since the 
alignment requirements for the alpha are the same as for sparc (save 64bit 
alignment on 32bit sparcs) the alpha patches should fix this too. I've been 
planning to merge the patch sets (I do the alpha X packages too), just haven't 
gotten to it yet (and I was sort of waiting to see if the central CVS archive 
that was suggested was going to happen). Maybe this is a good time...

 I don't really want to step on any feet here, but it would be nice if
 we could get the X source for Sparc into slink - and get the
 UltraSparc support in there.  (Eric plans on making the install work,
 so X support would be an added bonus.)
 
 Nontheless, the current sparc binaries are a built by Anders from a
 seperate tree.  (Anders - my tree was made by merging the latest
 UltraPenguin patches - a superset of the Red Hat patches - into
 Branden's tree.)  I would want some other sparc people to double check
 my packages, before we actually include binary packages from my code
 into slink.

Can you send me your patches? I suspect that a lot of them are the same (and 
they aren't really mine, Mike Shuey did most of the original work on them), 
since they too are based on Red Hat's. That way I can merge them (or I could 
send you mine and let you do the merging, either is fine by me). Mainly what I 
want to achieve is that we don't change the way Xsun work (i.e. where it finds 
screens and such. It has been changing a bit, and I think I have a good method 
now).

 If Anders has a tree that matches Branden's recent trees, I'll defer
 to him (but ask that either he or I merge in the Mach64 and Creator
 patches), otherwise, I'd like to the goahead from Anders et al to use
 my stuff in slink (after appropriate testing). 

My sparc tree is currently too out-of-date to really be considered matching 
Branden's tree. My only concern with switching entirely is that we may loose 
fixes that are in my tree but not in yours, thus I'd rather try and merge our 
patches.

 It shouldn't matter
 too much (as long as the binaries work), since I believe Anders is
 planning on starting from scratch on the 3.3.3.x releases.

That's the idea, yes, since much of the code should be in 3.3.3.x already.

 (I'm 99% sure the binaries work, the only issues would be install
 script c, and they are mostly copied from the current binary
 packages.  Also, I have to add a hard-coded XF86Config to the Sparc
 Mach64 package - because XF86Setup doesn't work yet on the sparc
 machines.)

What problems does XF86Setup have on the ultras? I plan on fixing it to work 
on the alpha (where the problem mainly consists of non-existance of 
xserver-vga16, xserver-mono works, though probably not on TGA).

Regards,
/Anders

-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist  | [EMAIL PROTECTED]
Physics student | Hem: +46 31 47 69 27
Chalmers University of Technology, G|teborg, Sweden | Mob: +46 707 27 86 87



Re: XWindow in Sparc4

1999-01-28 Thread Anders Hammarquist
   Hi all,
   I installed Debian Sparc in 2 Sparc/4. One is running X and the other
 not :( The packages are the same in both. I made the kbd device in the two.
   When I type startx the following error occurs:
   No screen founds.

You are probably missing the /dev/fb* nodes. Try (cd /dev; ./MAKEDEV fb)

/Anders

-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist  | [EMAIL PROTECTED]
Physics student | Hem: +46 31 47 69 27
Chalmers University of Technology, G|teborg, Sweden | Mob: +46 707 27 86 87



Re: Unreliable Xsun server

1999-01-26 Thread Anders Hammarquist

 I recently had the pleasure of installing Debian sid on my Sparc IPC,
 and aside the X missing-dev-file gotcha, I've been having no problems,
 apart from a very unreliable X server.  
 
 I'm using Xsun, since I have a cgthree framebuffer, however after a
 certain amount of use, X crashes very badly, taking out the console, and
 requires a reboot to resume useful work.  This occurrs on average, two or
 three times a day.  At this stage, it dosen't seem like a dodgy-hardware
 problem, since without X running, I have no reliability issues at all. 

Hmm, I too have a cg3 (though in a Classic) and it's been running without 
restart for a couple of months (the X server that is. The machine is up over 6 
months). Granted, it's use is very light. If you can find some short specific 
thing that crashes it I can try and debug it.

Regards,
/Anders


-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist  | [EMAIL PROTECTED]
Physics student | Hem: +46 31 47 69 27
Chalmers University of Technology, G|teborg, Sweden | Mob: +46 707 27 86 87



Re: XWindow in Sparc4

1999-01-25 Thread Anders Hammarquist
 Hi Debian Sparc users,
 Excuse me if I'm sending this mail twice. I already send a mail
 yesterday about setting X in a Sparc4 and none answered :(

If you mean a sparcStation4 with the tcx onboard graphics, then yes, the 
debian X packages should work on it.

Regards,
/Anders


-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist  | [EMAIL PROTECTED]
Physics student | Hem: +46 31 47 69 27
Chalmers University of Technology, G|teborg, Sweden | Mob: +46 707 27 86 87



Re: SCSI disk on Sparc IPC

1998-11-28 Thread Anders Hammarquist
 I'm trying to install linux on a Sun IPC.
 
 I've put an HP hard disk drive D2077 (2.1 Gb), and when installing
 Solaris to format an label the disk, it doesn't recognize it.
 
 I haven't found anything about it in HP's WEBs.
 
Does anyone knows the number of heads, cylinders, etc to define it ?
 Do I have any other solution ?

Hmm, Solaris' format command is usually able to read the geometry from the disk 
(using SCSI the inquiry command). When you are at format's main menu (after 
saying which disk you want to format and telling it you are not ready to label 
it), type type and select 0 (auto configure) and it should figure out what 
you have.

You can try this by booting the Solaris cd in single user mode (boot cdrom -s 
or b sd(0,6,0) -s depending on your what proms you have). It will drop you to a 
root prompt where you can run format.

Regards,
/Anders

-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist  | [EMAIL PROTECTED]
Not system administrator at DjungelData | Hem: +46 31 47 69 27
Chalmers University of Technology, G|teborg, Sweden | Mob: +46 707 27 86 87



Re: The time has come ...

1998-11-20 Thread Anders Hammarquist
[...]
 Also, there doesn't seem to be a symlink from /dev/fb to /dev/fb0 on my
 machine, which maybe there should be.

No, there is no need for these symlinks (at least as far as the X server is 
concerned). I looked at this when I did the last X server (particularly at how 
the X server handles things on Solaris and SunOS). The Right Thing to do is to 
have the X server try to use all /dev/fb* (actually, I decided to only try 
/dev/fb[0123] since that's what Solaris/SunOS version did. I don't know of any 
sparcs that support more than 4 framebuffers, so it sort of makes sense.) This 
should also mean that it will automatically figure out if your box is 
multiheaded and if so start X on all your screens - with a /dev/fb symlink this 
will not work.

mvh,
/Anders
-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist  | [EMAIL PROTECTED]
Not system administrator at DjungelData | Hem: +46 31 47 69 27
Chalmers University of Technology, G|teborg, Sweden | Mob: +46 707 27 86 87



Re: The time has come ...

1998-11-20 Thread Anders Hammarquist
  I'll upload new xfree packages which are based on -8 in an hour or so ...
 
 Hmm.
 
 They're broken here.
 
 xdm causes the kernel to halt (back to PROM prompt - 'program terminated').

What kernel version? (It's definitely a kernel bug that it ends up at the PROM 
prompt, but we should none the less try and keep xdm from triggering it.)

 startx as a user doesn't work (apparently because /dev/fb doesn't exist).
 
 startx as root causes the kernel to halt as above.
 
 On one occasion when it halted, I saw the message 'modprobe - unable to
 locate fb' or something like that.

Hmm, I shall try and put together an -8.2 then. Christian, did you 
apply/merge/whatever the old sparc patches in the bugtracking system into your 
patch?

Incidentally, do we have a decision on what to do about libc5? (Previously we 
had some sort of consensus on not bothering with it - or so I interpreted it 
anyway - and thus I don't have the altgcc stuff installed...)

/Anders


-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist  | [EMAIL PROTECTED]
Not system administrator at DjungelData | Hem: +46 31 47 69 27
Chalmers University of Technology, G|teborg, Sweden | Mob: +46 707 27 86 87



Re: re freezing powerpc

1998-11-06 Thread Anders Hammarquist

 debian/sparc at present: 
 - has X albeit still slightly buggy but definitly usable, but we have to wait
 for the X revolution to settle down before we can try to rebuild a more
 recent version

If glibc 2.0.99 turns out, I'm going to try and run the new source through the 
compiler next week. If anyone has any particular bugs they want me to check 
and/or try and fix let me know... (Jules, I still have your info about the VC 
troubles so you don't need to remind me - if anyone else told me something it 
may have gotten lost in my inbox and reminding me won't hurt.)

mvh,
/Anders

-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist  | [EMAIL PROTECTED]
Not system administrator at DjungelData | Hem: +46 31 47 69 27
Chalmers University of Technology, G|teborg, Sweden | Mob: +46 707 27 86 87



sendmail

1998-10-21 Thread Anders Hammarquist
I knew there was a reason I still had libc5 on there... (in other words, it's 
ancient)

[EMAIL PROTECTED]:ttyp1[~]23:09 dpkg -s sendmail
Package: sendmail
Status: install ok installed
Priority: extra
Section: mail
Installed-Size: 1066
Maintainer: Johnie Ingram [EMAIL PROTECTED]
Version: 8.8.7-2
Provides: mail-transport-agent
Depends: libc5 (= 5.3.12), libdb1, netbase (= 1.26-1), deliver | procmail, m4
Recommends: mail-reader
Conflicts: mail-transport-agent, smail
Conffiles:
 /etc/aliases 958e1eae35efba9cfae72dcafc779cb4
 /etc/init.d/sendmail 3f3436b3ae7507d3a1922c976cb6e69b
Description: A powerful mail transport agent.
 Sendmail is an alternative mail transport agent (MTA) for
 Debian. It is suitable for handling sophisticated mail
 configurations, although this means that its configuration
 can also be complex.


-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist  | [EMAIL PROTECTED],iko.pp}.se
Physics Student, UNIX Hacker, Debian Maintainer | Tel: +46.31.47 69 27
Jag ska b|rja plugga i l{svecka 1...| Cel: +46.707.27 86 87



Re: X server problems:

1998-10-19 Thread Anders Hammarquist
 A couple of problems which I definitely see with my X server:
 
 1) Control key gets 'stuck' down.
 
 If I use Ctrl-Alt-F1 to switch out of X into VC 1, and then use simply
 Alt-F7 to switch back in, the server then behaves as if the ctrl key is
 held down.  This can be cleared easily enough by explicitly typing
 ctrl-something.

I haven't noticed this (but then I very rarely switch out of X). Does it 
happen if you type Ctrl-Alt-F7 to get back as well? (If not, it can probably 
be fixed by inserting a synthetic 'clear all keys' after returning from a 
different VC.)

 2) Mouse gets occasionally seized by gpm
 
 Symptom is that the mouse will freeze after a switch between console and X
 mode.  I am pretty sure the interaction is with gpm since /etc/init.d/gpm
 stop fixes it.

Yes, Xsun and gpm don't get along sharing the mouse. This probably has to do 
with the fact that gpm uses the linux way to talk to the mouse and Xsun uses 
the sparc way.

 3) Occasionally, the system will switch to the X VC for no reason.  This
 often seems to happen on the first console message since xconsole was
 launched.  This will often be accompanied by symptoms of X 'latching on' to
 the VC which was running when it happened.

This seems odd, I would almost suspect bugs in the virtual console kernel 
code. I'll see if I can repeat it and figure anything out. (If anyone has tips 
on how to get this to happen, let me know).

Regards,
/Anders
-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist  | [EMAIL PROTECTED]
Not system administrator at DjungelData | Hem: +46 31 47 69 27
Chalmers University of Technology, G|teborg, Sweden | Mob: +46 707 27 86 87



Re: X *STILL* broken?

1998-08-17 Thread Anders Hammarquist
 We're going to need more of a bug report than that, I'm afraid.

I've reported some more details before (regarding the problems.)

 X works fine for me (SS2/2.0.35/up-to-date slink).  It also, I believe,
 works well for the X maintainer, Anders.  What systems were you using?
 Kernel version?  Libc version?

I've seen a few quirks, no crashes though. Then, I have a cg3... I'll
see if I can borrow a cg6 and recreate the problems. I'm in the middle
of exams right now so it'll be about two weeks before I have time to
really do anything though.

PROMLIB: Sun Boot Prom Version 3 Revision 2
ARCH: SUN4M
TYPE: SPARCstation 5
Ethernet address: 8:0:20:23:2:cf
Found 1 CPU prom device tree node(s).
IOMMU: impl 0 vers 4 page table at f028 of size 262144 bytes
sbus0: Clock 23.1333 MHz
dma0: Revision 2
dma1: Revision 2
cgsix0 at 0x5000 TEC Rev 4 CPU sparc Rev b
Console: 16 point font, 864 scans
Console: colour SUN 128x54, 1 virtual console (max 63)

FWIW, Jonny (sp?) Ingram (netgod on IRC) has confirmed that he has
experienced similar problems with Debian-Sparc.  Also, after we
installed RedHat on this system, it worked fine.

Hmm, that sounds libc-related. Which redhat (4 or 5, as in libc5 or 6) did
you install on it?

Regards,
/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


Re: New to the game

1998-08-08 Thread Anders Hammarquist
I work at the University of New Orleans Department of Computer Science.
We recently recieved 3 670MP and two 470 SparcServers as a donation.
Since we are unable to run the current versions of Solaris on them and
we have very little interest in SunOS, we are looking into the
possibility of running Linux on these boxes (there is some very cool
distributed apps out there).  At this point, I have been told that linux
will not run on these boxes.  I am therefore looking for sources of
information and research on running linux on these boxes. Thanks in
advanced!!

First off, you can run Solaris 2.5.1 (and probably later if you beat them
up a bit) on the 670's. Linux should also run on the 670's, however there
are no drivers for the VMEbus, so anything you have on the VME will be
unusable from Linux.

The 470's are are a bit tougher (you're stuck with 2.4 if you want Solaris).
There are people working on a sun4 port (and it's running on the 300-series)
you should talk to [EMAIL PROTECTED], there have been some sun4
discussions there in the last few days. (Once there is a kernel to boot
the 400-series, the Debian Sparc port should work just fine on them.)

Regards,
/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


Re: Sparc SLC success story and an X11 question

1998-07-29 Thread Anders Hammarquist
Anyway, the problem: I downloaded the X11 packages from
ftp.netg.se, and they are working fine, but only as root. If I
try to run it as a normal user, the X server complains:

Fatal server error:
no screens found

Has anybody run into similar problems, and if so, found a
solution? /usr/X11R6/bin/X is setuid root and I have allowed
Anyone to run the X server from /etc/X11/Xserver. I downloaded
the uploaded packages today, but they have the same problem.

The user that runs the Xserver needs read and write permissions
on /dev/kbd, /dev/mouse and /dev/fb0 (and /dev/fb[123] for multihead
machines). I thought that the X-server wrapper (which runs the X-server
as root) would have fixed that, but apparently not.

Regards
/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, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: SS2 segfaults when running ldd

1998-07-28 Thread Anders Hammarquist
Brief background: On my Sparc 2, running Debian, kernel versions 2.0.33 or
2.0.35, 'ldd' will segfault.  In general, however, the system seems to
work well.

I'm using libc 2.0.93.

As you can see above, for Kevin, 2.1.109 fixed the problem.
Unfortunately, CVS has moved on since then, and the snapshot I compiled a
couple of days ago (2.1.111) will boot but segfaults all over the place
(in rcS, for example).

Anyone got any idea if this *is* a kernel problem, or which version I
should go for?

I'm beginning to think that the 2.1.late breakage is something wierd
in bash. It seems to be the only thing segfaulting, and it unmistakably
segfaults in sigreturn() whenever it gets SIG_CHLD. tcsh works fine.
(this is on my SparcClassic of course).

Regards,
/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, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: glibc 2.0.94 for testing

1998-07-28 Thread Anders Hammarquist
At 11:41 -0700 1998-07-27, Jules Bean wrote:
On Sat, 25 Jul 1998, Joel Klecker wrote:
 BTW, someone needs to build dpkg = 1.4.0.25 for sparc, otherwise, folks
 running 2.1 kernels will not have fun.

What breaks?

Everything involving unpacking a .deb.

Well, that overstating it a bit I think. What breaks is that dpkg-deb[1]
runs chown(2) on everything it extracts from the archive, including
symlinks. In recent 2.1 kernels, there is an lchown(2) call, and chown(2)
follows symlinks (unlike 2.0 kernels where chown(2) will chown the symlink).
If the symlink dpkg-deb tries to chown is broken, it exits, as chown(2)
returned ENOENT.

Regards,
/Anders

[1]  1.4.0.25 that is

-- 
 -- 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, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Xsun -- Where is it?

1998-07-26 Thread Anders Hammarquist
I can't seem to find (in package or source form) the Xserver for S/Linux...is 
it out there somewhere?

ftp.netg.se:/pub/Linux/sparc/X

new version coming on Monday.

Regards,
/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, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Sun keyboard repeat rate mystery solved

1998-07-25 Thread Anders Hammarquist
As promised, I've looked in to the keyboard repeat rate problem, and I've 
actually figured it out. It's quite simple really...

kbdrate as shipped in util-linux talks to a PC keyboard to set its repeat rate 
(which, obviously, does not work for a Sun keyboard).

Xsun doesn't grok xset r

Xsun does grok (and sets the repeat rate when started with) -ar1 (delay) and 
-ar2 (repeat) options.

I've hacked up a quick sunkbdrate program which gets/sets the repeat rate from 
the console (X will use this rate as well unless you use -ar1/2. -ar1/2 will 
not affect the console).

You can fetch source and binary from ftp.netg.se:/pub/Linux/sparc/ sunkbdrate 
and sunkbdrate.c

Regards,
/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, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Sun Sparc-Station 5 and Debian

1998-07-25 Thread Anders Hammarquist
 First off, do you know what graphics card it is (probably a cg6 or a TCX)?

I thought other than the onboard-SS4 8bit TCX, all TCXs did 24 bit?

I think so too, but he didn't say it was 8bit, only 2D accelerated which
the TCX is.

 while ago I used SunOS). One thing to watch for on installing Linux though
 is that it doesn't (really, it boots now though) support the TurboSparc
 processor that's found in some sparcstation 4 and 5's (it's the 170 MHz
 variant. If you have a 70, 85 or 110 MHz machine you're fine).

Wait another day or so;-)

Nice! Now if I only had one to try it on ;-)

Regards,
/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, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Sun Sparc-Station 5 and Debian

1998-07-25 Thread Anders Hammarquist
 ???   4 1152 x 900 76Hz 19
1 reserved  5 reserved
2 1280 x 1024 76Hz  6 1152 x 900 76Hz 16-17
3 1152 x 900  66Hz  7 no monitor connected



My monitors supply std VGA monitor connectors and 5BNC (RGB and HV
sync). Another cable with 5BNC connector -- std VGA connector is
here, too. So i have to buy another cable and/or an adapter - or to
solder it myself.

Well my sparcclassic is hooked up to an ordinary multisync with half
of a 13W3 -- 13W3 cable that has had 4BNC:s (RGB + C sync. Usually
one of H or V sync on the monitor doubles as C sync) inplanted on it.
Works fine ;-)

Regards,
/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, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Sun Sparc-Station 5 and Debian

1998-07-25 Thread Anders Hammarquist
Hello Anders, Derrick, all :)

just another thing:

What about differences in programming (app  sys level) a Debian PC-Box
and
a Debian Sparc Box? Different symbols, directories, headers, hierarchy,
etc.
I already read the Portability-HOWTO, but this covers only differences
between
Un*x dists. So may i assume that there are no differences when using the
same
dist on different architectures? Or only minor differences?
BTW, programming in C and C++ (maybe a bit assembler)

From what I've seen, the differences between Sparc and i386 Linux are
minor. There are differences, but most of them are related hardware or
the fact that the Sparc dist is still young.

Programming on S/Linux is really no different from programming on i386
Linux as long as you are not dealing with the kernel directly - or
forget that the Sparc is bigendian while the i386 is littleendian.

P.S.:
I remember installing MkLinux on an Apple-PPC a few years ago. Many
things
were different - even after i made it to compile most of slackware and
ran it
- things were different. MkLinux uses the Mach Kernel. So this may be
the main
reason?

I'd guess that part of it was the Mach kernel, and part of it was that
in those days Linux was different - it feels more normal now, or maybe
it's just that I've used it longer? ;-) MkLinux of course was also rather
young at the time, which I suppose would make it differnet.

Regards,
/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, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Apt

1998-07-23 Thread Anders Hammarquist

  Installs are going well either side of me, and I've downloaded (not yet
  tested) the X debs from netg.se.
  
  Great! Let me know how X works out.
 
 X appears to work well.  To recap, this is an SS2 with a cg6.  It's groovy
 - lovely and fast (shame about the 8-bit).
 
 However, there are bugs in the vc handling.  I have not yet managed to
 pind down a reproducible case, but here are the symptoms I sometimes see:
 
 1) For no apparent resaon, X will suddenly blast itself on top of whatever
 VC I'm using.  From that time on, it will apparently 'own' both VC 7, and
 the VC it blasted onto.  It is often possible to fix this by explicitly
 running chvt vcno (preferably from a telnet session).  However, then the
 keymaps will be buggered.  Careful use of chvt and kbd_mode is required
 over telnet to restore things.
 
 2) Sometimes the keymaps will bugger up when switching terminals in any
 case.

Hmm, I'll see if I can figure out what is going on here (I only have a 
classic with a cg3 so I might not even be able to generate the effect).

 And, unrealted to that...
 
 3) There is an overlap which stops xsun-utils being installed. kbd_mode
 and constype (at least, maybe more) are in xbase.  Versions all at
 3.3.2.2-1.2

This I know about. I'll fix it for 3.3.2.2-3.1 which I'll build shortly.

Regards,
/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, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Apt

1998-07-22 Thread Anders Hammarquist
Installs are going well either side of me, and I've downloaded (not yet
tested) the X debs from netg.se.

Great! Let me know how X works out.

So, I'm wondering - why is there no apt for sparc?  Is there a known
technical issue, or should I simply get the source, try a compile, and
submit any necessary diffs?

Not that I've tried apt, but most packages that don't exist are just in the
need of a compile. So please do try and complie apt. The usual way, if
patches are required, are to submit the patches to the bug report system and
upload the patched binaries with an NMU version number.

Regards,
/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, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: sparc port? glibc? help?

1998-07-22 Thread Anders Hammarquist
  Sparc Debian doesn't work on my SS20.  The kernel in the tftpboot
  image doesn't boot, and it doesn't work with the 2.1.93 kernel that I
  have been using for months.  I suspect the problem is related to the
  beta glibc-2.1.x that is used on Debian Sparc.  I spent many hours
  building a newer release of glibc (2.0.94), which segfaults with
  everything (I suspect everyting needs to be recompiled with the new
  library - the dynamic loader does work).

 It may be that the pagesize fix we have hasn't made it upstream yet, libc
 thinking that the pagesize is 8k when it is really 4k has that effect.

I applied all of the patches that were in the current Debian package
(one change was rejected and had to be made by hand).  Is this patch
included in the current Debian package?

If it was still needed for it should be there - though I haven't looked
at it so I don't now for sure. IIRC it was Johnnie Ingram who compiled
the last libc6.

Is this stuff (the 8k pagesize fix) discussed anywhere?  I haven't
subscribed to the glibc mailing list because it says no lurkers.  (I
currently am on debian-sparc, redhat-sparc, sparc-linux and ultra-linux.)

It was discussed here when we found it, at the time Debian was the only
libc6-based distribution for sparc as far as I know. I don't know if it
was taken up on the libc6 mailing list, since I'm not subscribed to it
either. Look in the archives from around new year.

  (The quickest way to fix Debian would be to switch to the non-beta
  glibc from UltraPenguin 1.0.9 and Red Hat 5.1 and recompile
  _everything_.)

 We discussed this when the back-port of sparc support to glibc2.0 first
 appeared and decided not to go that way. I think it was the right thing to
 do, as there really aren't any major problems with glibc anymore.

Ok.  Has anyone gotten the current Debian Sparc system to work with
recent kernels?

2.0.33 has been working well for me, and I've had some success with 2.1.93
(from vger CVS). Later 2.1 kernels have been problematic (lots of
segfaulting, probably related to the changes in VM handling). I intend
to keep trying the 2.1.x kernels from vger (though lately they've been
severely broken due to the framebuffer changes). I hope to get around
to trying 2.0.35 as well.

Regards,
/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, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: SPARC 2 floppy boot fails

1998-07-17 Thread Anders Hammarquist
I have this exact problem--with the added fact that my SCSI device
does not seem to be supported by the current netboot image.  I would be
willing to help solve these problems if I could get my Sparc IPX working
either way.  I could try to set up cross-compilation from my i586 system,
but I assume that would be more trouble then it is worth...

Care to give some further details on your SCSI troubles? The IPX uses
some variant of the Qlogic esp chip (the esp100a IIRC) which is more
or less the same as the SCSI chip in all sun4c and sun4m machines, the
only real difference being that the later models support higher clock
rates on the SCSI bus. All variants should be supported by the esp
driver in the kernel. (My Sparc Classic has worked nicely with all
the netboot images I've tried.)

Regards,
/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, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


X

1998-07-13 Thread Anders Hammarquist
I've applied a few more patches, uploaded the packages to master (or will, 
as soon as the routing tables get back in order...) and sent the patches 
to the bug tracking system.

The most major thing I did was to change Xsun to try /dev/fb[0123] before 
trying /dev/fb. That way it should find all you nifty extra framebuffers 
and not just the default on. (If anyone has, or can lay hands on, a 
machine with more than one framebuffer, or a cg4 - that qualifies as two, 
please do try it out). The packages are at ftp.netg.se:/pub/Linux/sparc/X 
as usual.

Oh, and Ctrl-Alt-Fn and Ctrl-Alt-BackSpace work in these last versions (at 
least on my SparcClassic/cg3/2.0.33).

Regards,
/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, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: X Stuff.

1998-07-10 Thread Anders Hammarquist
Umm, well I am at the point where I am using Dselect to install all the
crap I want, including X and stuff... but it gets so far, then complains
about depending and needing packages which are not available.
I can't remember which ones they were off the top of my head. I am at work
and can't check, but it seemed to me X wasn't finished enuf, and vital
packages weren't available to make X work. So I haven't even installed X at
this stage.

At this point, there are no sparc X-server packages available from master
(IIRC there is an xlib6 though). There are however test packages available
at ftp.netg.se:/pub/Linux/sparc/X. If noone makes any complaints about the
packages I intend to apply a few more fixes and run another build this
weekend. If I don't run in to any problems I'll send them off to master
on Monday.

Regards,
/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, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: X compilation failure

1998-07-09 Thread Anders Hammarquist
This was from the second patch posted at the Purdue site.

Anyway, at the end, I got these errors:

cp: debian/xtree/usr/X11R6/bin/Xnest: No such file or directory
cp: debian/xtree/usr/X11R6/bin/Xprt: No such file or directory
no utmp entry available, using value of LOGNAME (jgoerzen) at
/usr/lib/dpkg/controllib.pl line 16.
dpkg-deb: building package `xslibg' in `../xslibg_3.3.2.2-1.1_sparc.deb'.
cp: debian/xtree/usr/X11R6/bin/Xvfb: No such file or directory
make: *** [binary-arch] Error 1

Hmm, something didn't build right. Look for lines with *** in the
World.log that got generated by the build script, they should give
you an idea of what went wrong. (Also, you probably want to use the
patches I added to get the packages created right. They are in
ftp.netg.se:/pub/Linux/sparc/X/xfree86.diff.gz - note that they
include Mikes second patch as well).

Regards,
/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, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: X compilation failure

1998-07-09 Thread Anders Hammarquist

  Hmm, something didn't build right. Look for lines with *** in the
  World.log that got generated by the build script, they should give
 
 What's weird is that there are no lines like that in there at any
 place.  Even stranger is that the errors with some yy... function that 
 I saw scroll by when it was compiling twm (one of the things it
 complained about at the end) never appear in the world log.  I have no 
 idea why not.

Now that you mention it, I recall fixing a redirection of stderr in 
rules...

  you an idea of what went wrong. (Also, you probably want to use the
  patches I added to get the packages created right. They are in
  ftp.netg.se:/pub/Linux/sparc/X/xfree86.diff.gz - note that they
  include Mikes second patch as well).
 
 Has anybody made binary packages yet?  If so, I'd prefer to avoid
 recompiling the whole thing myself :-)

Yes, I have. It's in the same place (ftp.netg.se:/pub/Linux/sparc/X). 
Didn't my announcement of it make it to the list? (I think I remember 
getting a copy back)

Regards,
/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, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


X build

1998-07-06 Thread Anders Hammarquist
Hi,

AFter quite a few CPU cycles on my classic, I've got X (with Mike's 
patches) built. I have not uplodaded it to master yet as there is at least 
one issue to fix. You can get the packages from ftp.netg.se:/pub/Linux/spar
c/X

I had to make a few patches to the debian stuff to get it to build right. 
The combined patches is in xfree86.diff.gz

The problem (rather minor, but anyway) is that Xsun looks for /dev/fb 
(as a last resort after trying all the individual devices (bwtwo[0-3], 
cg*[0-3] ...) whereas linux provides fb0. I modified the postinstall to 
make a symlink from fb to fb0, but we should probably fix Xsun to look for 
fb0 (and possibly fb1, it does after all support multiheaded machines).

Regards,
/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, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: openprom

1998-06-24 Thread Anders Hammarquist
anyone au fait with how to access the OPENPROM under debian/linux (for
example, to change boot device, to put a pengiun in the boot graphic,
etc..). do i need a package for it?  is it just echo and the like?  is it
documented *anywhere*?

Don't know if it's documented anywhere, but if you load the module
openpromfs (I think) you'll get the entire openprom tree under /proc/openprom

/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, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Silo Needs the keyboard hit on reboot....

1998-06-13 Thread Anders Hammarquist
How can I get my Sparc IPX to pass by the SILO Boot:
pause on boot (just hafta hit return?!?!?).  Is there an
/etc/silo.conf entry? a NVRAM thing?

timeout = seconds

in /etc/silo.conf will make it continue booting after sitting at
the prompt for a bit.

How about a more curable time set on boot?  Should I point it to
one of my SGI or Solaris boxes to get NTP?

Install the xntp3 package and point it to your ntp server(s).

Regards,
/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, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Where can I find libc6-2.0.93?

1998-06-13 Thread Anders Hammarquist
When trying to install bind (bind_8.1.2-1.deb), I get:

dpkg: dependency problems prevent configuration of bind:
bind depends on libc6 (= 2.0.93); however:
Version of libc6 on system is 2.0.92-980326-1.

But I can't find libc6_2.0.93 on ftp.debian.org.  Where is it?

It's sitting in the incoming queue. You can get it from one of
the incoming mirrors, for example ftp.lh.umu.se:/pub/linux/debian-Incoming

Regards,
/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, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: XServer?

1998-06-09 Thread Anders Hammarquist
I try to setup a SparcStation SLC as an X-Terminal, but I can't find any
X-Server. Is it somewhere where I can't see it, or is there none? I tried to
steel one from a redhat system, but it can't set the fontpath (though the
directory exists and is full of fonts.)

Hmm, maybe I should automate this reply...

There is an experimental xserver-xsun package at
ftp.netg.se:/pub/Linux/sparc/X that you can try. It doesn't support
gzip:ed fonts, so you need to run xfs and pass it a font path on
startup (-fp tcp/host_with_xfs:7100). Check the list archives for
more details.

Regards,
/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, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Where is xserver package reside?

1998-06-04 Thread Anders Hammarquist
I install x11 packages on Sparc 1 (xlib6g_3.3.1-2, xbase_3.3.1-2,
xfnt100, xfnt75, xfntbase), but X don't start via startx.
I don't find xf86config and Xserver for it.

In which packege reside xf86config and xserver?

There is no xf86config for the sparc xserver (it's not needed).
The X server is in xserver-sun (it has been floating around, I don't
know if it ever made it to master. You can get it from
ftp.netg.se:/pub/Linux/sparc/X). It has a few rough edges, the most
problematic is that it doesn't support gzipped fonts so you need
to run xfs and pass -fp tcp/host_with_xfs:7100 to the xserver when you
start it.

Regards,
/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, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: sparc autocompile has begun

1998-05-15 Thread Anders Hammarquist
Johnie Not problems so far:
[snip]
Johnie perl 5.004

Johnie ;-)

Did you run make test against perl?  There's a bug in the libm exp
handling that perl demonstrates nicely by dying with a SIGFPE.  If I
ever get five free minutes I'm going to try  track it down - right
after I upload a NMU for gdb. :)

From what I could tell, the bug was not in libm, but rather a case of
missing floating point emulation in the kernel. Get a recent kernel
from vger and try with that (it was fixed in the mid 2.1.90's and
backported to 2.0.3x at about the same time).

Regards,
/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, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: troubles with dynamic libraries

1998-05-04 Thread Anders Hammarquist
The problem I experimented in running dpkg 1.4.0.22 (it hangs) seems to come
from dynamic library handling.  In fact, I see the same behavior with paperconf
(from the libpaper 1.0.3-9 package I just compiled).
Both programs are linked with local dynamic libraries (libdpkg  libpaper).
When I relink them with their static counterpart, they work.

IMO, either the dynamic loader misinterprets some symbol bindings or the linker
emits bad bindings.

Anyone experienced similar problems in compiling packages which provide their
own libraries ?
The bug could come from binutils, so is there new binutils available ?
(I saw an announce about 2.9.1 release, anybody packaged it ?).

That would explain the oddities I was seeing when trying to compile
the lastest newt. Running the old redhat gdb on the binaries, it looked
like something (either the dynamic loader missing them, or the linker
forgetting to emit - though I would suspect the latter) missed a bunch of
relocations in dynamically loaded objects. Function calls within the
dynamically loaded object didn't get bound, and ended up looping
contiuously.

One of the reasons I suspect binutils is that the alpha port recently
got struck by a broken dpkg. It segfaulted when dynamically linked, but
not statically, and the new binutils (2.9.1) seem to have fixed it.

Regards,
/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, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: libc6 perl (Re: Sun Netra I5)

1998-04-19 Thread Anders Hammarquist
Eric BTW, it there a libc6 perl package available ?  I heard it
Eric didn't pass all the regression tests, but could it be
Eric uploaded as is ?  It is almost needed by the boot disks.

As it exists (for me) now, it has some major SIGFPE problems, and SDBM_File
seems thoroughly broken.  I'm loath to put it up as is.

From what I've been able to determine, that is due to missing math-emulation
in the kernel. I've been trying to get python to work, and had similar
problems. Running with a recent 2.1 kernel from vger got rid of the SIGFPE:s,
so now I get SIGSEGV in libm.so:feupdateenv() instead... :-/ 

Regards,
/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, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


/bin/kill is broken! (was Re: SIGPWR)

1998-04-19 Thread Anders Hammarquist
I'm trying to build sysvinit 2.74-4 but init.c refers to SIGPWR macro which
is not defined on sparc.  Neither the kernel sparc sources (2.0.33  2.1.78
checked) nor the libc6-dev package provide it.
Refering to the manpage signal(7), SIGPWR could be 29, but it is also SIGLOST.
What is it's real value ?

Aaargh! (or, I just tried to figure it out...) It seems that there is
some confusion about which signals do what on the sparc. bash does not
list a PWR signal, /bin/kill does. So I tried /bin/kill -PWR to see what
signal I got:

susan# /bin/kill -PWR $!
[1]+  User defined signal 1   ./strace sleep 300

Hmm, USR1 is 30 according to bash  signal.h. Lets try /bin/kill -USR1:

susan# /bin/kill -USR1 $!  
[1]+  Bus error   ./strace sleep 300

It would seem that /bin/kill is sending signals according to i386 signal
numbers... From what I can gather, sparc doesn't really have a PWR signal
at the moment, Solaris (and presumably SunOS) use 19 (which is SIGCONT for
us). This may be somthing to ask on the sparclinux list...

Regards,
/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, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: xserver-xsun package

1998-03-14 Thread Anders Hammarquist
That was it.  I had to do similiar for /dev/sunmouse
Now I get,

Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'
(using VT number 7)

That file (and lot's of other useful things) is in the xbase package.

Fatal server error:
no screens found

I believe that Xsun gives that message when it can't find a useable
/dev/fb*. Anyway, I did MAKEDEV generic-sparc and it worked without
any problems (cgthreee framebuffer)

Regards,
/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


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


Re: xserver-xsun package

1998-03-14 Thread Anders Hammarquist
To Whom it May Concern:

I've created Debian packages for Xsun, XsunMono, and Xsun24 (and the other
Sun-specific programs built along with the servers).  I'm not entirely sure
that I've got all the bugs out but these seem to work for me.  If you have time
(and a Debian-sparc machine with a monitor) please try these out.  You can
anonymous-ftp them from:

tark-a-034.resnet.purdue.edu/pub/debian-sparc

And if you're on this side of the pond you can find a copy of the
directory in:

ftp.netg.se:/pub/Linux/sparc/X/

/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


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


Re: hamm freeze

1998-03-11 Thread Anders Hammarquist
   - glibca new release is available for testing

I don't know if it's a problem with initgroups() or
getgroups(), but I get cespedes root when using `groups' (it should
be just cespedes).  Does anyone else suffer this?

Same here. It appears to be at least affecting initgroups, since I do
get permissions for the root group (even though I'm not listed in it).

I'm also having problems with programs dying with SIGFPE when trying
to do floating point math. I haven't looked in to exactly what it
affects yet, but it was the cause of the perl errors I spoke about
yesterday.

Regards,
/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


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


Re: hamm freeze

1998-03-11 Thread Anders Hammarquist
 is not set
  Pass: Exception INVALID is not set
  Pass: Exception UNDERFLOW is not set
  Pass: Exception OVERFLOW is not set
Test: Set/Clear FE_UNDERFLOW: set flag, with rest set
  Pass: Exception DIVBYZERO is set
  Pass: Exception INVALID is set
  Pass: Exception INEXACT is set
  Fail: Exception UNDERFLOW is not set
  Pass: Exception OVERFLOW is set
Test: Set/Clear FE_UNDERFLOW: clear flag, leave rest set
  Pass: Exception DIVBYZERO is set
  Pass: Exception INVALID is set
  Pass: Exception INEXACT is set
  Pass: Exception UNDERFLOW is not set
  Pass: Exception OVERFLOW is set
Test: Set/Clear FE_OVERFLOW: set flag, with rest not set
  Pass: Exception DIVBYZERO is not set
  Pass: Exception INVALID is not set
  Pass: Exception UNDERFLOW is not set
  Pass: Exception OVERFLOW is set
Test: Set/Clear FE_OVERFLOW: clear flag, rest also unset
  Pass: Exception DIVBYZERO is not set
  Pass: Exception INVALID is not set
  Pass: Exception UNDERFLOW is not set
  Pass: Exception OVERFLOW is not set
Test: Set/Clear FE_OVERFLOW: set flag, with rest set
  Pass: Exception DIVBYZERO is set
  Pass: Exception INVALID is set
  Pass: Exception INEXACT is set
  Fail: Exception UNDERFLOW is not set
  Pass: Exception OVERFLOW is set
Test: Set/Clear FE_OVERFLOW: clear flag, leave rest set
  Pass: Exception DIVBYZERO is set
  Pass: Exception INVALID is set
  Pass: Exception INEXACT is set
  Fail: Exception UNDERFLOW is not set
  Pass: Exception OVERFLOW is not set
Test: after fesetenv (FE_NOMASK_ENV) processes will abort
  when feraiseexcept (FE_DIVBYZERO) is called.
  Pass: Process received SIGFPE.
Test: after fesetenv (FE_DFL_ENV) processes will not abort
  when feraiseexcept (FE_DIVBYZERO) is called.
  Pass: Process exited normally.
Test: after fesetenv (FE_NOMASK_ENV) processes will abort
  when feraiseexcept (FE_INVALID) is called.
  Pass: Process received SIGFPE.
Test: after fesetenv (FE_DFL_ENV) processes will not abort
  when feraiseexcept (FE_INVALID) is called.
  Pass: Process exited normally.
Test: after fesetenv (FE_NOMASK_ENV) processes will abort
  when feraiseexcept (FE_INEXACT) is called.
  Pass: Process received SIGFPE.
Test: after fesetenv (FE_DFL_ENV) processes will not abort
  when feraiseexcept (FE_INEXACT) is called.
  Pass: Process exited normally.
Test: after fesetenv (FE_NOMASK_ENV) processes will abort
  when feraiseexcept (FE_UNDERFLOW) is called.
  Pass: Process received SIGFPE.
Test: after fesetenv (FE_DFL_ENV) processes will not abort
  when feraiseexcept (FE_UNDERFLOW) is called.
  Pass: Process exited normally.
Test: after fesetenv (FE_NOMASK_ENV) processes will abort
  when feraiseexcept (FE_OVERFLOW) is called.
  Pass: Process received SIGFPE.
Test: after fesetenv (FE_DFL_ENV) processes will not abort
  when feraiseexcept (FE_OVERFLOW) is called.
  Pass: Process exited normally.

11 errors occured.
Exit 1

-- 
 -- 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


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


Re: hamm freeze

1998-03-10 Thread Anders Hammarquist
hamm will be frozen in few days, but what should be made about the sparc
port?  Are we ready for a release?

As it looks right now, probably not. Though the new glibc looks really
promising (I just compiled perl against it, and it no longer needs
LD_BIND_NOW. Unfortunately it fails a few math tests. It's in
ftp.net.se:/pub/Linux/sparc - please test it). However, given that we
will be allowed to 'catch up' with the Intel release during the Freeze
(at least that's the impression I got) we may be able to get a release
together.

If we want to release something, we need at least a core distribution (base 
net stuff, some admin tools, minimal X11 stuff).

So, can we write a list of what should be (re)compiled first ?
It comes to mind some packages already in the process queue:
- silo big troubles with libc6 :-((
- glibca new release is available for testing
- binutils 2.8.1.0.21 is out (maybe solve the silo problems ???)
- boot-disks   a beta release was uploaded to master few days ago
- xserver-sun  no X11 server packaged

Arre [EMAIL PROTECTED] and I (mostly Arre) are working on Xsun. If we don't
run in to any problems (we probably will) it should be ready shortly.

I also hope to have a look at libstdc++ to see if I can get it to stop
segfaulting when doing IO. (incidentally, I'd like to know if anyone
else is experiencing these problems with the current libstdc++).

Regards,
/Anders - back from vacation.
-- 
 -- 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


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


Arrgh, or, does anyone have a c++ compiler?

1998-02-04 Thread Anders Hammarquist
I've just discovered that both libg++2.7.2 and libstdc++2.8 dump core with 
the new (980111) libc. It segfaults when it tries to do IO. Recompiling 
does not help, so we seem to be without a c++ compiler for the moment.

Now the real wierd part is that old binaries (i.e. c++ compiled against 
the old (9712xx) libc) work fine for the most part.

So, is it just me or does anyone else have problems with g++/eg++?

(No, not even int main() { return 0; } works)

/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] .


libc5 ld.so

1998-01-06 Thread Anders Hammarquist
I've been having a look at the libc5 ld.so, and, unfortunately, there
seems to be no simple fix to get it to work. The way it figures out
where in memory it has been loaded has to be completely reworked.

The way it does it now is to look at the interpreter base that the
kernel passes it. The problem is that the kernel only passes this
information if it actually gets loaded as an interpreter, as opposed
to being explicitly invoked, when the kernel treats it as any other
statically linked program.

When ld.so doesn't get the interpreter base from the kernel it uses 0.
I've patched it to use the code from the glibc ld.so to find where it
is, and it's a slight improvement - I can only get it to segfault
with LD_PRELOAD set to something loadable, or when running a program
from the command line. Not that it prints anything with
LD_TRACE_LOADED_OBJECTS set...

I'm sending a Cc to David Engel in the hope that he might be able to
shed some light on the subject.

/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] .


Re: libm.so.6: undefined reference to `rem'

1998-01-06 Thread Anders Hammarquist
In article [EMAIL PROTECTED] you write:
Hmm, it seems the sp brings gcc to its knees, exiting with internal
compiler failure.  The egcs/libstdc++2.8 combination seems to work
better but fails at the final link stage.  Does anyone know if this is
a bug in egcs or in glibc-sparc-2.0.90-971126?

I'd think the bug is in glibc, since I had no trouble to compile sp
with egcs (the only difference would be that I have rebuilt glibc from
the (debianised) sources). There seems to be some trouble with
nsgmls/libstdc++2.8 though, as it dies with a bus error in
IO_file_write().

Speaking of glibc, I'm considering putting a box to work on compiling
the latest snapshot. Wish me luck :)

/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] .


Re: perl needed

1998-01-06 Thread Anders Hammarquist
I've compiled bash 2.01-5 but it needs perl linked with libc6 to create the
package.  In fact, it preloads libhistory.so to prevent ldd from showing this
dependancy then run dpkg-shlibdeps.  However, libhistory is targeted for libc6
but perl (the interpreter of dpkg-shlibdeps) is actually a libc5 linked
binary.
Both types of libraries clash when loaded at the same time.
If noone else is working on packaging perl, I will do it this evening ;-)

I've tried to build perl, but with limited success. It fails to load
shared modules unless LD_BIND_NOW is set, and one of the get*gid()
tests fail. I'll happily leave it to you :) (Though I have a
libgdbm1-1.7.3-22 compiling that you may be interested in).

/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] .


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] .