Q: External modem on Sparc

1999-11-15 Thread ferret

I'd wanted to use my USR 56K external modem on my Sparc IPX and use it for
IP masquerading. Unfortunately the mac modem cable doesn't seem to work on
it. When I'm talking to the modem from minicom, both RX and TX lights
flash in unison and I don't get an OK or anything out of the modem.

I'll try things as I can think of them, but does anyone have ideas?

-- Ferret no baka



For the record: Sparc serial console

1999-11-15 Thread ferret


Mac to serial printer cables have crossover (null-modem) wiring.
Mac to serial modem cables have non-crossover (modem) wiring.

The modem cables in general seem to have better wiring.
However, neither seem to support hardware flow control.

Symptoms:

Serial cable: data flows from the terminal to the computer but does not
flow back.

Printer cable: data flows to the terminal from the computer but does not
flow to the computer.

Set hardware flow control off if using minicom for a serial console.

HTH,

-- Ferret no baka



Re: 2.2.13 cannot load modules

1999-11-15 Thread ferret


On Mon, 15 Nov 1999, Ben Collins wrote:

> On Mon, Nov 15, 1999 at 08:13:40AM -0800, [EMAIL PROTECTED] wrote:
> > 
> > I just compiled and booted 2.2.13 (sun4c, Sparc IPX) on a BARE Slink
> > system (base dbootstrap install plus potato's apt, plus
> > kernel-package+gcc) and saw a couple interesting problems.
> > 
> > Firstly when I booted the machine to 2.2.13 for the first time I got
> > several hundred lines of errors saying something like 'operation not
> > permitted on /dev/cua0' and then a panic in the swapper process. So far
> > this problem hasn't been reproducable.
> > 
> > I am booting with console on serial port A, so it would already be in use.
> > 
> > The main problem is that insmod says for my modules 'ELF file not for this
> > archetecture' and fails to load anything.
> > 
> > I did compile on the Sparc, but had the kernel source tree NFS-mounted.
> 
> I assume that you have the modutils from potato aswell. They are currently
> in flux due to a sparc/sparc64 mismatch problem. I'm working on uploading
> a fixed set today. You can in the meantime, either downgrade to slink's
> modutils, or recompile the potato source yourself.

I think that was Slink's modutils, from the install disks. I just upgraded
the thing to Potato an hour or so ago, and I'm going to see what happens.


Re: fdisk ?

1999-11-15 Thread Gergely Madarasz
On Mon, 15 Nov 1999, Ben Collins wrote:

> On Mon, Nov 15, 1999 at 04:29:28PM +0100, Gergely Madarasz wrote:
> > Hello,
> > 
> > It seems the new util-linux provides fdisk for sparc. Is this a good fdisk?
> > If yes, should util-linux conflict & replace the old fdisk package on
> > sparc ?
> 
> Yes, and yes :)

Ok, I submitted a bugreport on util-linux about this.

-- 
Madarasz Gergely   [EMAIL PROTECTED] [EMAIL PROTECTED]
  It's practically impossible to look at a penguin and feel angry.
  Egy pingvinre gyakorlatilag lehetetlen haragosan nezni.
HuLUG: http://mlf.linux.rulez.org/


Re: 2.2.13 cannot load modules

1999-11-15 Thread ferret


On Mon, 15 Nov 1999 [EMAIL PROTECTED] wrote:

> 
> I just compiled and booted 2.2.13 (sun4c, Sparc IPX) on a BARE Slink
> system (base dbootstrap install plus potato's apt, plus
> kernel-package+gcc) and saw a couple interesting problems.
> 
> Firstly when I booted the machine to 2.2.13 for the first time I got
> several hundred lines of errors saying something like 'operation not
> permitted on /dev/cua0' and then a panic in the swapper process. So far
> this problem hasn't been reproducable.
> 
> I am booting with console on serial port A, so it would already be in use.
> 
> The main problem is that insmod says for my modules 'ELF file not for this
> archetecture' and fails to load anything.
Update: I just installed and ran 'file' on my modules:
ELF 32-bit MSB relocatable, SPARC, version1, not stripped

Eh?


> 
> I did compile on the Sparc, but had the kernel source tree NFS-mounted.
> 
> Any ideas?
> 
> -- Ferret no baka
> 
> 
> 
> --  
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 


Re: 2.2.13 cannot load modules

1999-11-15 Thread Ben Collins
On Mon, Nov 15, 1999 at 08:13:40AM -0800, [EMAIL PROTECTED] wrote:
> 
> I just compiled and booted 2.2.13 (sun4c, Sparc IPX) on a BARE Slink
> system (base dbootstrap install plus potato's apt, plus
> kernel-package+gcc) and saw a couple interesting problems.
> 
> Firstly when I booted the machine to 2.2.13 for the first time I got
> several hundred lines of errors saying something like 'operation not
> permitted on /dev/cua0' and then a panic in the swapper process. So far
> this problem hasn't been reproducable.
> 
> I am booting with console on serial port A, so it would already be in use.
> 
> The main problem is that insmod says for my modules 'ELF file not for this
> archetecture' and fails to load anything.
> 
> I did compile on the Sparc, but had the kernel source tree NFS-mounted.

I assume that you have the modutils from potato aswell. They are currently
in flux due to a sparc/sparc64 mismatch problem. I'm working on uploading
a fixed set today. You can in the meantime, either downgrade to slink's
modutils, or recompile the potato source yourself.

-- 
 ---===-=-==-=---==-=--
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
` [EMAIL PROTECTED]  -  [EMAIL PROTECTED]  -  [EMAIL PROTECTED]'
 `---=--===-=-=-=-===-==---=--=---'


2.2.13 cannot load modules

1999-11-15 Thread ferret

I just compiled and booted 2.2.13 (sun4c, Sparc IPX) on a BARE Slink
system (base dbootstrap install plus potato's apt, plus
kernel-package+gcc) and saw a couple interesting problems.

Firstly when I booted the machine to 2.2.13 for the first time I got
several hundred lines of errors saying something like 'operation not
permitted on /dev/cua0' and then a panic in the swapper process. So far
this problem hasn't been reproducable.

I am booting with console on serial port A, so it would already be in use.

The main problem is that insmod says for my modules 'ELF file not for this
archetecture' and fails to load anything.

I did compile on the Sparc, but had the kernel source tree NFS-mounted.

Any ideas?

-- Ferret no baka



Re: fdisk ?

1999-11-15 Thread Ben Collins
On Mon, Nov 15, 1999 at 04:29:28PM +0100, Gergely Madarasz wrote:
> Hello,
> 
> It seems the new util-linux provides fdisk for sparc. Is this a good fdisk?
> If yes, should util-linux conflict & replace the old fdisk package on
> sparc ?

Yes, and yes :)

-- 
 ---===-=-==-=---==-=--
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
` [EMAIL PROTECTED]  -  [EMAIL PROTECTED]  -  [EMAIL PROTECTED]'
 `---=--===-=-=-=-===-==---=--=---'


fdisk ?

1999-11-15 Thread Gergely Madarasz
Hello,

It seems the new util-linux provides fdisk for sparc. Is this a good fdisk?
If yes, should util-linux conflict & replace the old fdisk package on
sparc ?

-- 
Madarasz Gergely   [EMAIL PROTECTED] [EMAIL PROTECTED]
  It's practically impossible to look at a penguin and feel angry.
  Egy pingvinre gyakorlatilag lehetetlen haragosan nezni.
HuLUG: http://mlf.linux.rulez.org/


Re: Spacr linux: bug in autofs and nis

1999-11-15 Thread Ben Collins
On Mon, Nov 15, 1999 at 09:15:13AM +0100, [EMAIL PROTECTED] wrote:
> 
> By the way, I think I have nade an error by trying to install the
> kernel-image-2.2.13. I should install kernel-image-sun4c-2.2.13
> instead ? (this is a Sparc IPC)
> 

No, the sun4c image is only made available for boot disk purposes, not
actual long term usage.

-- 
 ---===-=-==-=---==-=--
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
` [EMAIL PROTECTED]  -  [EMAIL PROTECTED]  -  [EMAIL PROTECTED]'
 `---=--===-=-=-=-===-==---=--=---'


Odd HAPPY MEAL behaviour (sunhme.c).

1999-11-15 Thread rickard.cedergren
Hi,

Have previously installed Linux (2.2.13) on a SUN Ultra 5 333Mhz 
with two Quad NICs. I have a problem with network delays, even with
crossover cables. A simple ping from another host looks like this,

------
[helios]$ ping -s bussola
PING bussola.tb.su.se: 56 data bytes
64 bytes from bussola (172.16.0.248): icmp_seq=0. time=2. ms
64 bytes from bussola (172.16.0.248): icmp_seq=1. time=245. ms
64 bytes from bussola (172.16.0.248): icmp_seq=2. time=1. ms
64 bytes from bussola (172.16.0.248): icmp_seq=3. time=1001. ms
64 bytes from bussola (172.16.0.248): icmp_seq=4. time=1. ms
64 bytes from bussola (172.16.0.248): icmp_seq=5. time=177. ms
64 bytes from bussola (172.16.0.248): icmp_seq=6. time=1001. ms
64 bytes from bussola (172.16.0.248): icmp_seq=7. time=1. ms
64 bytes from bussola (172.16.0.248): icmp_seq=8. time=485. ms
64 bytes from bussola (172.16.0.248): icmp_seq=9. time=6. ms
64 bytes from bussola (172.16.0.248): icmp_seq=10. time=676. ms
64 bytes from bussola (172.16.0.248): icmp_seq=11. time=1. ms
^C
bussola.tb.su.se PING Statistics
12 packets transmitted, 12 packets received, 0% packet loss
round-trip (ms)  min/avg/max = 1/299/1001
[helios]$ 
------

It's the same pattern from every host I try from and the peek is almost
always at 1001.1 ms or 1001.2 ms, but not when I ping simultaneously from
another host.

------
[helios]$ ping -s bussola
PING bussola.tb.su.se: 56 data bytes
64 bytes from bussola (172.16.0.248): icmp_seq=0. time=2. ms
64 bytes from bussola (172.16.0.248): icmp_seq=1. time=1. ms
64 bytes from bussola (172.16.0.248): icmp_seq=2. time=1. ms
64 bytes from bussola (172.16.0.248): icmp_seq=3. time=1. ms
64 bytes from bussola (172.16.0.248): icmp_seq=4. time=1. ms
64 bytes from bussola (172.16.0.248): icmp_seq=5. time=115. ms
64 bytes from bussola (172.16.0.248): icmp_seq=6. time=1. ms
64 bytes from bussola (172.16.0.248): icmp_seq=7. time=1. ms
64 bytes from bussola (172.16.0.248): icmp_seq=8. time=1. ms
64 bytes from bussola (172.16.0.248): icmp_seq=9. time=28. ms
64 bytes from bussola (172.16.0.248): icmp_seq=10. time=1. ms
^C
bussola.tb.su.se PING Statistics
11 packets transmitted, 11 packets received, 0% packet loss
round-trip (ms)  min/avg/max = 1/13/115
[helios]$ 
------

Note the difference in response when pinging from two hosts
simultaneously.

Anyone have any ideas?



Sincerely,

Rickard


Rickard Cedergren   ([EMAIL PROTECTED])
  Dep. of IT-Security @ STOCKHOLM UNIVERSITY
http://www.it-sakerhet.tb.su.se
 Phone: +46-8-161068 Fax: +46-8-163980  


Bug#50048: libg++2.8.2-dev: empty package on sparc

1999-11-15 Thread Matthias Klose
severity 50048 normal
thanks

this package  will be removed soon ...

Ben Collins writes:
 > On Sat, Nov 13, 1999 at 11:02:32AM +0100, Matthias Klose wrote:
 > > There is a bug against ftp.debian.org to remove egcs (and
 > > libg++2.8.2-dev) from potato. The current libg++, which works with
 > > gcc-2.95 ist libg++2.8.1.3. Are there problems, that gcc-2.95 does not 
 > > correctly work on sparc?
 > > 
 > > Is this really a grave bug for sparc?
 > 
 > Gcc 2.95 works perfectly on sparc afaik. I'll check into the empty package
 > though.


Re: Spacr linux: bug in autofs and nis

1999-11-15 Thread Dinh-Tuan . Pham
Ben Collins writes:
 > On Sat, Nov 13, 1999 at 07:34:02PM +0100, [EMAIL PROTECTED] wrote:
 > >I have waited for almost one year now to see if nis ever
 > > works. Actually I have planned to convert some of Solaris machine to
 > > Linux, but this has been put off. I just have a small machine (SUN
 > > IPC) to spare just to see if Linux ever works right.
 > 
 > I don't know about autofs since I don't use it. But I admin a set of 3
 > sparc linux servers which are using NIS/NFS. The NIS master is running on
 > a Sparc LX, running Debian/Slink, kernel 2.2.9 (it is also a client). The
 > two clients are UltraSparc's running Debian/Potato, kernel 2.2.13.
 > 
 > Looks to me from the error that you are having a configuration problem. Is
 > this NIS master you are pointing to a Solaris one? If so what version of
 > Solaris, and what type of system.

sun4u sparc SUNW,Ultra-5_10, system SunOS 5.7

Note that I have also several linux system on intel. They all run nis
without any problem. One system has also been just upgraded to the
latest potato too.

By the way, I think I have nade an error by trying to install the
kernel-image-2.2.13. I should install kernel-image-sun4c-2.2.13
instead ? (this is a Sparc IPC)

-- 
PHAM Dinh Tuan | e-mail: [EMAIL PROTECTED]
Laboratoire de Modelisation et Calcul  | Tel: +33 4 76 51 44 23
BP 53, 38041 Grenoble cedex 9 (France) | Fax: +33 4 76 63 12 63
---


Re: Sound on a SPARC 10

1999-11-15 Thread sharkey
> I have a SPARC 10 here and recently acquired the speaker for the system, but 
> how do I get sound with gom or some other sound mixer?  I maned and infoed 
> myself silly, and could not find documentation for this particular situation 
> online.

Did you look here?:

http://www.dementia.org/~shadow/sparcaudio.html

The Sparc audio subsystems don't seem to be in a very good state right now.
The version in the 2.2 kernel doesn't respond to ioctls in the way that
most Linux programs expect, so most of them break.

I'm told this has all been fixed in the 2.3 kernel series, but I have yet
to get a functioning 2.3 series kernel working on Sparc.

Eric


Sound on a SPARC 10

1999-11-15 Thread LannerHawk

Pleasant day

I have a SPARC 10 here and recently acquired the speaker for the system, but 
how do I get sound with gom or some other sound mixer?  I maned and infoed 
myself silly, and could not find documentation for this particular situation 
online.  The problem stems from the fact that I do not know the device name 
for that port, and I did not see anything recognizable in /dev/, and so I 
cannot give proper arguments for configuration.

Does anyone else have a SPARC 10 that has sound?  I believe the SPARC 5 also 
had this type of sound port as well.  The port is the high density 26 pin 
connector.

I am not too bright with LINUX yet, so be kind.

Thank you





Jesse Molina-Lanners[EMAIL PROTECTED]
Phoenix Arizona