Re: Serial connection settings on Sun Ultra 1

2009-04-13 Thread Aapo Lehtinen
Nick Holland kirjoitti viestissddn (ldhetysaika maanantai, 13. huhtikuuta 2009
02:59:47):
 Aapo Lehtinen wrote:
  Hello
 
  I'm trying to get Sun Fire V100 working using old ultra 1 machine
  (obsd4.4/sparc64) as terminal. I'm using tip(1). The problem is
  connection dies easily with Lost Carrier. [EOT]. Now, I'm bit new to
  using serial connections so I've only tried tweaking /etc/ttys by
  changing type from sun to vt100, and comments from local to rtscts to
  softcar.

 It is unclear what machine you are changing, but changing /etc/ttys is
 definitely wrong.  Restore them to stock before doing ANYTHING else.
 All you are doing here is breaking things.  You do not need to change any
 files to get a tip(1) session going with a Sun machine.

 If you are getting a lost carrier response, you need to look at the
 machine you are getting that from -- i.e., your terminal machine.

 What command are you using to try to establish the connection?

 Nick.

I've used 'tip -9600 ttya' and 'cu -l ttya', both have the same effect. If I
log into ALOM/OpenBoot I can tweak settings for 10-20 secods before hangup.
Connection stays up during diagnostics etc. (i.e lots of output)

So there is some setting I should set up that prevents connection dying when
there is no output, I suppose.

Aapo



Serial connection settings on Sun Ultra 1

2009-04-12 Thread Aapo Lehtinen
Hello

I'm trying to get Sun Fire V100 working using old ultra 1 machine 
(obsd4.4/sparc64) as terminal. I'm using tip(1). The problem is connection 
dies easily with Lost Carrier. [EOT]. Now, I'm bit new to using serial 
connections so I've only tried tweaking /etc/ttys by changing type from sun 
to vt100, and comments from local to rtscts to softcar.

from dmesg:

zs0 at sbus0 slot 15 offset 0x110 vector 28 ipl 12 softpri 6
zstty0 at zs0 channel 0
zstty1 at zs0 channel 1

/etc/ttys:

# zs(4)-based
ttya/usr/libexec/getty std.9600   vt100   on  softcar

Any information would help. Thanks!

Aapo Lehtinen



Re: Games

2009-04-09 Thread Aapo Lehtinen

Matthew Szudzik wrote:

On Wed, Apr 08, 2009 at 09:19:00PM +0200, Matthias Kilian wrote:

The new release song is really catchy. Many thanks to Jonathan,


I'm in complete agreement.  It's probably the best OpenBSD song yet, and
has the potential to appeal to frustrated computer users outside the
OpenBSD community (e.g. the slashdot crowd) with lyrics like I love to
hate my PC, Just wanna get this job done, and Lost my mind, it's
such a waste of time.



Very good song! Is there original available somewhere? I presume it is 
somehow connected to this Tron but i'm unfamiliar with it. (..oh, i'll 
google it myself)


I find it very similar with 11 1010101, which is probably my 
favorite. Let's all make our own TOP-16 lists!


Aapo
--
http://zenitisti.dy.fi



Ruby 1.9

2009-04-02 Thread Aapo Lehtinen

Hi

Has anyone successfully compiled ruby 1.9 (stable snapshot or 1.9.1-p0) 
on OpenBSD? Compiling fails with:


$ make
compiling Win32API
compiling bigdecimal
compiling curses
compiling dbm
gcc -shared  -fPIC -o ../../.ext/x86_64-openbsd4.5/dbm.so dbm.o -L. 
-L../.. -L.  -Wl,-E-ldb  -lm   -lc

/usr/bin/ld: cannot find -ldb
collect2: ld returned 1 exit status
*** Error code 1

Stop in /home/aapo/ruby/ext/dbm (line 158 of Makefile).
*** Error code 1

Stop in /home/aapo/ruby (line 309 of Makefile).

DB is installed

$ pkg_info |grep db
db-4.6.21   Berkeley DB package, revision 4

System is OpenBSD/amd64

$ uname -a
OpenBSD asterix 4.5 GENERIC#3 amd64

OpenBSD 4.5-current (GENERIC) #3: Mon Mar 30 22:14:01 EEST 2009
r...@asterix:/usr/src/sys/arch/amd64/compile/GENERIC

Current, but I don't think that is the issue.
So, can I get advice to work this out?

Aapo Lehtinen
--
http://zenitisti.dy.fi