2010APR04

2010-04-04 Thread levitch

I think it is relevant.

Today OpenSSl 1.0 was installed on my workstation, from ports:
/usr/ports/security/openssl

The workstation:
- freebsd 8.0

$ which openssl
/usr/bin/openssl

$ openssl version
OpenSSL 0.9.8k 25 Mar 2009

The router:
- openbsd -current, today

$ which openssl
/usr/bin/openssl

$ openssl version
OpenSSL 0.9.8k 25 Mar 2009

ssh login to the openbsd router throws the following error message:
OpenSSL version mismatch. Built against 9080df, you have 100f

Same error message on a remote network.

If you want to, reply to me as well as the list.  If my memory
serves me well, I am not on any lists at the moment.

Darrel



Adding custom termcap entries.

2010-04-04 Thread Russell Harmon
I want to add a custom termcap entry for rxvt-unicode. Is the proper way
simply editing /etc/termcap? I notice that it is a symlink to
/usr/share/misc/termcap. Perhaps I should delete the symlink and copy it
from there into /etc?

I tried editing in my termcap entry, but when I do, and run the following
command, I get errors:

# tset -IsQ rxvt-unicode
TERM=rxvt-unicode;
tset: termcap names not colon terminated: No such file or directory
TERMCAP='#

--
Russell Harmon
RTP Computer Science House



Re: Adding custom termcap entries.

2010-04-04 Thread Nicholas Marriott
OpenBSD uses its own terminfo database format, but the default paths are
searched as well so you can just use tic(1):

$ ftp -o rxvt-unicode.terminfo \
http://cvs.schmorp.de/rxvt-unicode/doc/etc/rxvt-unicode.terminfo?revision=1.26
$ sudo TERMINFO=/usr/share/terminfo tic -x rxvt-unicode.terminfo
$ ls -l /usr/share/terminfo/r/rxvt-unicode 
-rw-r--r--  1 root  wheel   2.1K Apr  4 10:40 /usr/share/terminfo/r/rxvt-unicode
$ infocmp rxvt-unicode
#   Reconstructed via infocmp from file: /usr/share/terminfo/r/rxvt-unicode
rxvt-unicode|rxvt-unicode terminal (X Window System),
...

Job done.

On Sun, Apr 04, 2010 at 04:44:11AM -0400, Russell Harmon wrote:
 I want to add a custom termcap entry for rxvt-unicode. Is the proper way
 simply editing /etc/termcap? I notice that it is a symlink to
 /usr/share/misc/termcap. Perhaps I should delete the symlink and copy it
 from there into /etc?
 
 I tried editing in my termcap entry, but when I do, and run the following
 command, I get errors:
 
 # tset -IsQ rxvt-unicode
 TERM=rxvt-unicode;
 tset: termcap names not colon terminated: No such file or directory
 TERMCAP='#
 
 --
 Russell Harmon
 RTP Computer Science House



Re: Adding custom termcap entries.

2010-04-04 Thread Russell Harmon
The output of the infocmp command isn't valid in /etc/termcap. It doesn't
even use the same syntax!
--
Russell Harmon
RTP Computer Science House


On Sun, Apr 4, 2010 at 05:42, Nicholas Marriott nicholas.marri...@gmail.com
 wrote:

 OpenBSD uses its own terminfo database format, but the default paths are
 searched as well so you can just use tic(1):

 $ ftp -o rxvt-unicode.terminfo \

 http://cvs.schmorp.de/rxvt-unicode/doc/etc/rxvt-unicode.terminfo?revision=1.26
 $ sudo TERMINFO=/usr/share/terminfo tic -x rxvt-unicode.terminfo
 $ ls -l /usr/share/terminfo/r/rxvt-unicode
 -rw-r--r--  1 root  wheel   2.1K Apr  4 10:40
 /usr/share/terminfo/r/rxvt-unicode
 $ infocmp rxvt-unicode
 #   Reconstructed via infocmp from file:
 /usr/share/terminfo/r/rxvt-unicode
 rxvt-unicode|rxvt-unicode terminal (X Window System),
 ...

 Job done.

 On Sun, Apr 04, 2010 at 04:44:11AM -0400, Russell Harmon wrote:
  I want to add a custom termcap entry for rxvt-unicode. Is the proper way
  simply editing /etc/termcap? I notice that it is a symlink to
  /usr/share/misc/termcap. Perhaps I should delete the symlink and copy it
  from there into /etc?
 
  I tried editing in my termcap entry, but when I do, and run the following
  command, I get errors:
 
  # tset -IsQ rxvt-unicode
  TERM=rxvt-unicode;
  tset: termcap names not colon terminated: No such file or directory
  TERMCAP='#
 
  --
  Russell Harmon
  RTP Computer Science House



Re: Adding custom termcap entries.

2010-04-04 Thread Nicholas Marriott
Sometimes I wonder why I bother...


On Sun, Apr 04, 2010 at 05:55:01AM -0400, Russell Harmon wrote:
The output of the infocmp command isn't valid in /etc/termcap. It doesn't
even use the same syntax!
--
Russell Harmon
RTP Computer Science House
 
On Sun, Apr 4, 2010 at 05:42, Nicholas Marriott
[1]nicholas.marri...@gmail.com wrote:
 
  OpenBSD uses its own terminfo database format, but the default paths are
  searched as well so you can just use tic(1):
 
  $ ftp -o rxvt-unicode.terminfo \
  
 [2]http://cvs.schmorp.de/rxvt-unicode/doc/etc/rxvt-unicode.terminfo?revision=1.26
  $ sudo TERMINFO=/usr/share/terminfo tic -x rxvt-unicode.terminfo
  $ ls -l /usr/share/terminfo/r/rxvt-unicode
  -rw-r--r-- **1 root **wheel ** 2.1K Apr **4 10:40
  /usr/share/terminfo/r/rxvt-unicode
  $ infocmp rxvt-unicode
  # ** ** ** Reconstructed via infocmp from file:
  /usr/share/terminfo/r/rxvt-unicode
  rxvt-unicode|rxvt-unicode terminal (X Window System),
  ...
 
  Job done.
  On Sun, Apr 04, 2010 at 04:44:11AM -0400, Russell Harmon wrote:
   I want to add a custom termcap entry for rxvt-unicode. Is the proper
  way
   simply editing /etc/termcap? I notice that it is a symlink to
   /usr/share/misc/termcap. Perhaps I should delete the symlink and copy
  it
   from there into /etc?
  
   I tried editing in my termcap entry, but when I do, and run the
  following
   command, I get errors:
  
   # tset -IsQ rxvt-unicode
   TERM=rxvt-unicode;
   tset: termcap names not colon terminated: No such file or directory
   TERMCAP='#
  
   --
   Russell Harmon
   RTP Computer Science House
  
 
 References
 
Visible links
1. mailto:nicholas.marri...@gmail.com
2. 
 http://cvs.schmorp.de/rxvt-unicode/doc/etc/rxvt-unicode.terminfo?revision=1.26



Re: Adding custom termcap entries.

2010-04-04 Thread Russell Harmon
I'm sorry for my inexperience with termcap/terminfo entries, but unless I
misunderstood, your original response didn't fully answer my question. I
wanted to install a termcap entry for rxvt-unicode. Now you told me how to
install a terminfo entry, and I hadn't even realized that openbsd used
terminfo (so thank you), but there still isn't a termcap entry. The infocmp
program outputs a termcap entry, but I'm not sure what to do with it.
--
Russell Harmon
RTP Computer Science House


On Sun, Apr 4, 2010 at 06:01, Nicholas Marriott nicholas.marri...@gmail.com
 wrote:

 Sometimes I wonder why I bother...


 On Sun, Apr 04, 2010 at 05:55:01AM -0400, Russell Harmon wrote:
 The output of the infocmp command isn't valid in /etc/termcap. It
 doesn't
 even use the same syntax!
 --
 Russell Harmon
 RTP Computer Science House
 
 On Sun, Apr 4, 2010 at 05:42, Nicholas Marriott
 [1]nicholas.marri...@gmail.com wrote:
 
   OpenBSD uses its own terminfo database format, but the default paths
 are
   searched as well so you can just use tic(1):
 
   $ ftp -o rxvt-unicode.terminfo \
   [2]
 http://cvs.schmorp.de/rxvt-unicode/doc/etc/rxvt-unicode.terminfo?revision=1.26
   $ sudo TERMINFO=/usr/share/terminfo tic -x rxvt-unicode.terminfo
   $ ls -l /usr/share/terminfo/r/rxvt-unicode
   -rw-r--r-- **1 root **wheel ** 2.1K Apr **4 10:40
   /usr/share/terminfo/r/rxvt-unicode
   $ infocmp rxvt-unicode
   # ** ** ** Reconstructed via infocmp from file:
   /usr/share/terminfo/r/rxvt-unicode
   rxvt-unicode|rxvt-unicode terminal (X Window System),
   ...
 
   Job done.
   On Sun, Apr 04, 2010 at 04:44:11AM -0400, Russell Harmon wrote:
I want to add a custom termcap entry for rxvt-unicode. Is the
 proper
   way
simply editing /etc/termcap? I notice that it is a symlink to
/usr/share/misc/termcap. Perhaps I should delete the symlink and
 copy
   it
from there into /etc?
   
I tried editing in my termcap entry, but when I do, and run the
   following
command, I get errors:
   
# tset -IsQ rxvt-unicode
TERM=rxvt-unicode;
tset: termcap names not colon terminated: No such file or
 directory
TERMCAP='#
   
--
Russell Harmon
RTP Computer Science House
   
 
  References
 
 Visible links
 1. mailto:nicholas.marri...@gmail.com
 2.
 http://cvs.schmorp.de/rxvt-unicode/doc/etc/rxvt-unicode.terminfo?revision=1.26



Re: Adding custom termcap entries.

2010-04-04 Thread Nicholas Marriott
If you want termcap as well, do:

$ cd /usr/share/misc
$ infocmp -C rxvt-unicode termcap
$ rm termcap.db  cap_mkdb -f termcap termcap

But few programs require it so usually it isn't worth the time.

Remember that upgrades will overwrite these files, you may be better
putting them in ~ instead.


On Sun, Apr 04, 2010 at 05:55:01AM -0400, Russell Harmon wrote:
The output of the infocmp command isn't valid in /etc/termcap. It doesn't
even use the same syntax!
--
Russell Harmon
RTP Computer Science House
 
On Sun, Apr 4, 2010 at 05:42, Nicholas Marriott
[1]nicholas.marri...@gmail.com wrote:
 
  OpenBSD uses its own terminfo database format, but the default paths are
  searched as well so you can just use tic(1):
 
  $ ftp -o rxvt-unicode.terminfo \
  
 [2]http://cvs.schmorp.de/rxvt-unicode/doc/etc/rxvt-unicode.terminfo?revision=1.26
  $ sudo TERMINFO=/usr/share/terminfo tic -x rxvt-unicode.terminfo
  $ ls -l /usr/share/terminfo/r/rxvt-unicode
  -rw-r--r-- **1 root **wheel ** 2.1K Apr **4 10:40
  /usr/share/terminfo/r/rxvt-unicode
  $ infocmp rxvt-unicode
  # ** ** ** Reconstructed via infocmp from file:
  /usr/share/terminfo/r/rxvt-unicode
  rxvt-unicode|rxvt-unicode terminal (X Window System),
  ...
 
  Job done.
  On Sun, Apr 04, 2010 at 04:44:11AM -0400, Russell Harmon wrote:
   I want to add a custom termcap entry for rxvt-unicode. Is the proper
  way
   simply editing /etc/termcap? I notice that it is a symlink to
   /usr/share/misc/termcap. Perhaps I should delete the symlink and copy
  it
   from there into /etc?
  
   I tried editing in my termcap entry, but when I do, and run the
  following
   command, I get errors:
  
   # tset -IsQ rxvt-unicode
   TERM=rxvt-unicode;
   tset: termcap names not colon terminated: No such file or directory
   TERMCAP='#
  
   --
   Russell Harmon
   RTP Computer Science House
  
 
 References
 
Visible links
1. mailto:nicholas.marri...@gmail.com
2. 
 http://cvs.schmorp.de/rxvt-unicode/doc/etc/rxvt-unicode.terminfo?revision=1.26



turning off console cursor

2010-04-04 Thread LEVAI Daniel
Hi!


How do you guys make the cursor invisible in console? I'm using mutt in
tmux and xterm, and always bugged me that the cursor is always hiding a
character where it appears (in the indicator, or in a file list).
The closest I could get was the 'braille_friendly' option in mutt, but
that only places the cursor to the start of the line instead of the end.
My TERM variable contains xterm-color.

Thanks for any tips!


Dani

-- 
LIVAI Daniel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F



Re: Adding custom termcap entries.

2010-04-04 Thread Russell Harmon
Thank you, I didn't use the -C option when I originally tried it.
--
Russell Harmon
RTP Computer Science House


On Sun, Apr 4, 2010 at 06:18, Nicholas Marriott nicholas.marri...@gmail.com
 wrote:

 If you want termcap as well, do:

 $ cd /usr/share/misc
 $ infocmp -C rxvt-unicode termcap
 $ rm termcap.db  cap_mkdb -f termcap termcap

 But few programs require it so usually it isn't worth the time.

 Remember that upgrades will overwrite these files, you may be better
 putting them in ~ instead.


 On Sun, Apr 04, 2010 at 05:55:01AM -0400, Russell Harmon wrote:
 The output of the infocmp command isn't valid in /etc/termcap. It
 doesn't
 even use the same syntax!
 --
 Russell Harmon
 RTP Computer Science House
 
 On Sun, Apr 4, 2010 at 05:42, Nicholas Marriott
 [1]nicholas.marri...@gmail.com wrote:
 
   OpenBSD uses its own terminfo database format, but the default paths
 are
   searched as well so you can just use tic(1):
 
   $ ftp -o rxvt-unicode.terminfo \
   [2]
 http://cvs.schmorp.de/rxvt-unicode/doc/etc/rxvt-unicode.terminfo?revision=1.26
   $ sudo TERMINFO=/usr/share/terminfo tic -x rxvt-unicode.terminfo
   $ ls -l /usr/share/terminfo/r/rxvt-unicode
   -rw-r--r-- **1 root **wheel ** 2.1K Apr **4 10:40
   /usr/share/terminfo/r/rxvt-unicode
   $ infocmp rxvt-unicode
   # ** ** ** Reconstructed via infocmp from file:
   /usr/share/terminfo/r/rxvt-unicode
   rxvt-unicode|rxvt-unicode terminal (X Window System),
   ...
 
   Job done.
   On Sun, Apr 04, 2010 at 04:44:11AM -0400, Russell Harmon wrote:
I want to add a custom termcap entry for rxvt-unicode. Is the
 proper
   way
simply editing /etc/termcap? I notice that it is a symlink to
/usr/share/misc/termcap. Perhaps I should delete the symlink and
 copy
   it
from there into /etc?
   
I tried editing in my termcap entry, but when I do, and run the
   following
command, I get errors:
   
# tset -IsQ rxvt-unicode
TERM=rxvt-unicode;
tset: termcap names not colon terminated: No such file or
 directory
TERMCAP='#
   
--
Russell Harmon
RTP Computer Science House
   
 
  References
 
 Visible links
 1. mailto:nicholas.marri...@gmail.com
 2.
 http://cvs.schmorp.de/rxvt-unicode/doc/etc/rxvt-unicode.terminfo?revision=1.26



Re: turning off console cursor

2010-04-04 Thread Nicholas Marriott
Use TERM=xterm (on 4.7) or TERM=xterm-xfree86 (before 4.7) instead.

xterm-color does not have the civis entry, so programs will not know how
to turn the cursor off.


On Sun, Apr 04, 2010 at 12:21:14PM +0200, LEVAI Daniel wrote:
 Hi!
 
 
 How do you guys make the cursor invisible in console? I'm using mutt in
 tmux and xterm, and always bugged me that the cursor is always hiding a
 character where it appears (in the indicator, or in a file list).
 The closest I could get was the 'braille_friendly' option in mutt, but
 that only places the cursor to the start of the line instead of the end.
 My TERM variable contains xterm-color.
 
 Thanks for any tips!
 
 
 Dani
 
 -- 
 LIVAI Daniel
 PGP key ID = 0x83B63A8F
 Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F



Re: 2010APR04

2010-04-04 Thread Miod Vallat
 ssh login to the openbsd router throws the following error message:
 OpenSSL version mismatch. Built against 9080df, you have 100f

You need to either recompile your ssh binary against the new openssl
libraries, or set up a proper LD_LIBRARY_PATH to make it pick the old
openssl shared library.

Either way, this being an OpenBSD list, we won't be able to help you for
what is a FreeBSD configuration problem.

Miod



Extra key-presses in X

2010-04-04 Thread Brad DeMorrow
I have an interesting problem with my laptop...
When I start X, a lot of the keys that I press are duplicated.. ex, if I
type 'ls' in xterm for example - I will most of the time get 'lls' instead..
It appears to only happen when the keys that I press overlap... when I start
typing at any decent rate..
Issue doesn't happen when not running X.
Has anyone seen this issue before?
Running 4.6 release

I know the general rule is 'upgrade to -current', so I'll do that when I get
the chance...

dmesg below:


OpenBSD 4.6 (GENERIC) #58: Thu Jul  9 21:24:42 MDT 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz (GenuineIntel
686-class) 2.20 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID,xTPR
real mem  = 535654400 (510MB)
avail mem = 509145088 (485MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 07/25/03, BIOS32 rev. 0 @ 0xfc140,
SMBIOS rev. 2.3 @ 0xec000 (44 entries)
bios0: vendor TOSHIBA version Version 1.90 date 07/25/2003
bios0: TOSHIBA Satellite Pro 6100
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 100%
apm0: AC on, battery charge high, estimated 1:00 hours
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf01d0/144 (7 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #5 is the last bus
bios0: ROM list: 0xc/0x1 0xe/0x1!
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82845 Host rev 0x04
intelagp0 at pchb0
agp0 at intelagp0: aperture at 0xe000, size 0x1000
ppb0 at pci0 dev 1 function 0 Intel 82845 AGP rev 0x04
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 NVIDIA GeForce4 420 Go rev 0xa3
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 29 function 0 Intel 82801CA/CAM USB rev 0x02: irq 11
uhci1 at pci0 dev 29 function 1 Intel 82801CA/CAM USB rev 0x02: irq 11
uhci2 at pci0 dev 29 function 2 Intel 82801CA/CAM USB rev 0x02: irq 11
ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x42
pci2 at ppb1 bus 2
mem address conflict 0x20001000/0x1000
mem address conflict 0x20002000/0x1000
mem address conflict 0x20003000/0x1000
fxp0 at pci2 dev 8 function 0 Intel PRO/100 VE rev 0x42, i82562: irq 11,
address 00:00:39:30:72:ee
inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0
cbb0 at pci2 dev 10 function 0 TI PCI1410 CardBus rev 0x01: irq 11
cbb1 at pci2 dev 11 function 0 Toshiba ToPIC100 CardBus rev 0x32: irq 11
cbb2 at pci2 dev 11 function 1 Toshiba ToPIC100 CardBus rev 0x32: irq 11
Toshiba SD Controller rev 0x03 at pci2 dev 13 function 0 not configured
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0x20
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 4 device 0 cacheline 0x0, lattimer 0x0
pcmcia1 at cardslot1
cardslot2 at cbb2 slot 2 flags 0
cardbus2 at cardslot2: bus 5 device 0 cacheline 0x0, lattimer 0x0
pcmcia2 at cardslot2
ichpcib0 at pci0 dev 31 function 0 Intel 82801CAM LPC rev 0x02: 24-bit
timer at 3579545Hz: SpeedStep
pciide0 at pci0 dev 31 function 1 Intel 82801CAM IDE rev 0x02: DMA,
channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: WDC WD1200BEVE-00A0HT0
wd0: 16-sector PIO, LBA48, 114473MB, 234441648 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, DVDRAM GSA-4084N, KQ09 ATAPI
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
auich0 at pci0 dev 31 function 5 Intel 82801CA/CAM AC97 rev 0x02: irq 11,
ICH3 AC97
ac97: codec id 0x594d4803 (Yamaha YMF753-S)
ac97: codec features 18 bit DAC, No 3D Stereo
audio0 at auich0
Intel 82801CA/CAM Modem rev 0x02 at pci0 dev 31 function 6 not configured
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1
usb1 at uhci1: USB revision 1.0
uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci2: USB revision 1.0
uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
biomask efed netmask efed ttymask 
mtrr: Pentium Pro MTRR support
wi0 at pcmcia0 function 0 TOSHIBA, Wireless LAN Card, Version 01.01 port

Velleman k8055 in usbdevs

2010-04-04 Thread Jens Teglhus Møller
Hi

For a small home automation project i'm working on i have bought the
velleman k8055 usb experimental board. For it to work properly it has to
be forced not to attache as uhid. I have attached a patch that does that.

I have been able to use the freebsd command line tool
http://www.castro.aus.net/~maurice/usb/k8055/ with some minor
modifications (in the dev names used) but at the moment i made it unwork
again.

Best regards Jens

[demime 1.01d removed an attachment of type application/octet-stream which had 
a name of velleman.diff]



Re: PF: antispoof vs URPF

2010-04-04 Thread Pete Vickers
On 31. mars 2010, at 20.01, Claudio Jeker wrote:

 On Wed, Mar 31, 2010 at 08:08:01PM +0300, Eugene Yunak wrote:
 On 31 March 2010 19:27, N. Arley Dealey arley.dea...@gmail.com wrote:
 It would appear to me that antispoof and URPF achieve similar results. Is
 there a reason to prefer one over the other?

 Not at all. antispoof blocks ip packets that came in from the wrong
 interface, while URPF blocks packets from aliens (no entry in
 routing table for the source address). Just look at the output of
 pfctl -sr


 Not at all. URPF does not only check if a route exists it also checks that
 the route is pointing to the interface the packet came in.

 Antispoof is only for the LAN while URPF is actually capable of tracking
 stuff further down. This is at the same time the problem of URPF if you
 have asymetric routing URPF fails. Antispoof works in this case since it
 is hard to get asymetric routing on the LAN.

 --
 :wq Claudio



uRPF (at least recent incarnations of it) can be /configured/ to drop packets
based of presence of /either/ :

- a matching FIB prefix outbound on the same interface the packet arrived on
(strict mode)
- a matching FIB prefix outbound on any interface (loose mode)

you can also mask uRPF effect to only a subset of packets/prefixes with an
ACL.


pretty extensive explanation here:

http://www.cisco.com/web/about/security/intelligence/urpf.pdf


/Pete



Re: PF: antispoof vs URPF

2010-04-04 Thread Eugene Yunak
On 4 April 2010 18:56, Pete Vickers p...@systemnet.no wrote:
 On 31. mars 2010, at 20.01, Claudio Jeker wrote:

 On Wed, Mar 31, 2010 at 08:08:01PM +0300, Eugene Yunak wrote:
 On 31 March 2010 19:27, N. Arley Dealey arley.dea...@gmail.com wrote:
 It would appear to me that antispoof and URPF achieve similar results. Is
 there a reason to prefer one over the other?

 Not at all. antispoof blocks ip packets that came in from the wrong
 interface, while URPF blocks packets from aliens (no entry in
 routing table for the source address). Just look at the output of
 pfctl -sr


 Not at all. URPF does not only check if a route exists it also checks that
 the route is pointing to the interface the packet came in.

 Antispoof is only for the LAN while URPF is actually capable of tracking
 stuff further down. This is at the same time the problem of URPF if you
 have asymetric routing URPF fails. Antispoof works in this case since it
 is hard to get asymetric routing on the LAN.

 --
 :wq Claudio



 uRPF (at least recent incarnations of it) can be /configured/ to drop packets
 based of presence of /either/ :

 - a matching FIB prefix outbound on the same interface the packet arrived on
 (strict mode)
 - a matching FIB prefix outbound on any interface (loose mode)

 you can also mask uRPF effect to only a subset of packets/prefixes with an
 ACL.


 pretty extensive explanation here:

 http://www.cisco.com/web/about/security/intelligence/urpf.pdf


Do you realise that this is an OpenBSD mailing list, and we are
discussing OpenBSD's pf implementation of uRPF?


-- 
The best the little guy can do is what
the little guy does right



Re: OpenBSD virtualization

2010-04-04 Thread Olivier Cherrier
On Thu, Apr 01, 2010 at 05:47:07PM +0530, reachta...@hotmail.com wrote:
  I am very much new to OpenBSD. I have two Sun UltraSparcT2( Niagara2)
 servers.
  I have install OpenBSD4.6 on that. But my intention is to install KVM/XEN
 on
  those box.
 
  Can anyone help me to do so
 
 
  Thanks,
  dE
 
 How about NetBSD
 
NetBSD on Niagara ?
Xen on UltraSparc ?

What else ?


-- 
Olivier Cherrier 
mailto:o...@symacx.com



Re: Extra key-presses in X

2010-04-04 Thread Antti Harri

On Sun, 4 Apr 2010, Brad DeMorrow wrote:


I have an interesting problem with my laptop...
When I start X, a lot of the keys that I press are duplicated.. ex, if I
type 'ls' in xterm for example - I will most of the time get 'lls' instead..
It appears to only happen when the keys that I press overlap... when I start
typing at any decent rate..
Issue doesn't happen when not running X.
Has anyone seen this issue before?
Running 4.6 release

I know the general rule is 'upgrade to -current', so I'll do that when I get
the chance...


Hi,

I have but unfortunately I don't have any useful information to hunt down 
the problem.


I've noticed it's related to lag somehow. I do recall that heavy cpu/disc 
usage triggered it too.


I also get chars to switch places so sentences I type seem to have
typos when it's clear that I didn't make any.

Maybe some xenocara dev has a clue about what's going on?

--
Antti Harri



Re: Extra key-presses in X

2010-04-04 Thread Brad DeMorrow
No, it isn't the autorepeat feature causing issues... I did 'xset -r'
and did some more typing to be sure.

Its not like I'm holding down a key for too long, its just when I type
at a relatively fast speed that the problem happens.

Any other ideas though?

On 4/4/10, Anthony J. Bentley anthonyjbent...@gmail.com wrote:
 On Sun, Apr 04, 2010 at 07:35:45AM -0500, Brad DeMorrow wrote:
 I have an interesting problem with my laptop...
 When I start X, a lot of the keys that I press are duplicated.. ex, if I
 type 'ls' in xterm for example - I will most of the time get 'lls'
 instead..
 It appears to only happen when the keys that I press overlap... when I
 start
 typing at any decent rate..
 Issue doesn't happen when not running X.
 xset -r?

 Anthony J. Bentley



--
Brad DeMorrow

---
Blogging is enjoyable, especially when people click on an ad and make me $$$
http://bdemorrow.blogspot.com
---



Re: Velleman k8055 in usbdevs

2010-04-04 Thread Jens Teglhus Møller
Should have know.

Attached again as text file, if that does not work its also available 
here. https://marvin.mostlyharmless.dk/jtm/velleman.diff.txt.

Best regards Jens

On 04-04-2010 14:00, Jens Teglhus Mxller wrote:
 Hi

 For a small home automation project i'm working on i have bought the
 velleman k8055 usb experimental board. For it to work properly it has to
 be forced not to attache as uhid. I have attached a patch that does that.

 I have been able to use the freebsd command line tool
 http://www.castro.aus.net/~maurice/usb/k8055/  with some minor
 modifications (in the dev names used) but at the moment i made it unwork
 again.

 Best regards Jens

 [demime 1.01d removed an attachment of type application/octet-stream which 
 had a name of velleman.diff]
Index: usbdevs
===
RCS file: /cvs/src/sys/dev/usb/usbdevs,v
retrieving revision 1.484
diff -u -p -r1.484 usbdevs
--- usbdevs 3 Apr 2010 10:52:22 -   1.484
+++ usbdevs 4 Apr 2010 11:13:41 -
@@ -462,6 +462,7 @@ vendor PLX  0x10b5  PLX
 vendor ASANTE  0x10bd  Asante
 vendor SILABS  0x10c4  Silicon Labs
 vendor SILABS3 0x10c5  Silicon Labs
+vendor VELLEMAN0x10cf  Velleman
 vendor ANALOG  0x1110  Analog Devices
 vendor TENX0x1130  Ten X Technology, Inc.
 vendor ISSC0x1131  Integrated System Solution Corp.
@@ -597,6 +598,7 @@ vendor CACE 0xcace  CACE Technologies
 vendor EVOLUTION   0xdeee  Evolution Robotics
 vendor EMPIA   0xeb1a  eMPIA Technology
 vendor HP2 0xf003  Hewlett Packard
+vendor VELLEMAN0x10cf  Velleman
 
 /*
  * List of known products.  Grouped by vendor.
@@ -3604,6 +3606,9 @@ product   USR USR5423 0x0121  USR5423 WLAN
 /* USI products */
 product USI MC60   0x10c5  MC60 Serial
 
+/* Velleman products */
+product VELLEMAN K8055  0x5500  K8055 USB Experiment interface board
+
 /* ViewSonic products */
 product VIEWSONIC G773HUB  0x00fe  G773 Monitor Hub
 product VIEWSONIC P815HUB  0x00ff  P815 Monitor Hub
@@ -3737,3 +3742,4 @@ product ZYXEL RT2870_10x3416  RT2870
 product ZYXEL NWD271N  0x3417  NWD-271N
 product ZYXEL RT2870_2 0x341a  RT2870
 product ZYXEL PRESTIGE 0x401a  Prestige
+
Index: usb_quirks.c
===
RCS file: /cvs/src/sys/dev/usb/usb_quirks.c,v
retrieving revision 1.53
diff -u -p -r1.53 usb_quirks.c
--- usb_quirks.c17 Oct 2009 07:10:38 -  1.53
+++ usb_quirks.c4 Apr 2010 11:13:41 -
@@ -154,6 +154,9 @@ const struct usbd_quirk_entry {
  /* HUAWEI devices */
  { USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E220, ANY,{ UQ_NO_STRINGS }},
 
+ /* Velleman */
+ { USB_VENDOR_VELLEMAN, USB_PRODUCT_VELLEMAN_K8055, ANY,   { UQ_BAD_HID }},
+
  { 0, 0, 0, { 0 } }
 };



OpenBSD 4.6, powerpc, KDE, Gnome, XFCE play nicely?

2010-04-04 Thread Ludwig Mises
I've installed OpenBSD 4.6 on

hw.vendor=Apple Computer, Inc.
hw.product=PowerMac3,5
hw.physmem=1073741824
hw.usermem=1073729536

The OS runs fine, however, certain X desktop environments seem to not
want to cooperate.

Of the 3, KDE seems to run the best, however, the audio is broken.
When I first login, the login wav starts playing but then after 1
second starts playing noise.  It would be nice to have audio (maybe
KDE can somehow play through aucat?).

Gnome looks really great, but after a few seconds becomes unresponsive
to key clicks or keyboard typing.  Only way out is ctrl-alt-backspace.

XFCE also starts up fine, but after a few second also becomes
unresponsive much like gnome and needs ctrl-alt-backspace.

Is there something wrong with these X environments on powerpc?

WindowMaker works as always, but I wanted to try out other options. :-)

Here is a dmesg:

[ using 437516 bytes of bsd ELF symbol table ]
console out [NVDA,Display-B]console in [keyboard] , using USB
using parent NVDA,Parent:: memaddr 9800 size 800, : consaddr
98004000, : ioaddr 9100, size 100: memtag 8000, iotag 8000:
width 640 linebytes 1024 height 480 depth 8
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2009 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.6-stable (GENERIC) #0: Wed Mar 31 23:57:47 MDT 2010
r...@some.domain.dom:/usr/src/sys/arch/macppc/compile/GENERIC
real mem = 1073741824 (1024MB)
avail mem = 1032957952 (985MB)
mainbus0 at root: model PowerMac3,5
cpu0 at mainbus0: 7455 (Revision 0x201): 933 MHz: 256KB L2 cache, 2MB L3 cache
mem0 at mainbus0
spdmem0 at mem0: 256MB SDRAM non-parity PC133CL2
spdmem1 at mem0: 512MB SDRAM non-parity PC133CL2
spdmem2 at mem0: 256MB SDRAM non-parity PC133CL3
memc0 at mainbus0: uni-n
kiic0 at memc0 offset 0xf8001000
iic0 at kiic0
mpcpcibr0 at mainbus0 pci: uni-north, Revision 0xff
pci0 at mpcpcibr0 bus 0
pchb0 at pci0 dev 11 function 0 Apple Uni-N2 AGP rev 0x00
vgafb0 at pci0 dev 16 function 0 NVIDIA GeForce4 MX 440 rev 0xa2, mmio
wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation)
mpcpcibr1 at mainbus0 pci: uni-north, Revision 0x0
pci1 at mpcpcibr1 bus 0
pchb1 at pci1 dev 11 function 0 Apple Uni-N2 Host rev 0x00
macobio0 at pci1 dev 23 function 0 Apple Keylargo rev 0x03
openpic0 at macobio0 offset 0x4: version 0x4614 little endian
macgpio0 at macobio0 offset 0x50
macgpio1 at macgpio0 irq 47
programmer-switch at macgpio0 not configured
gpio5 at macgpio0 not configured
gpio6 at macgpio0 not configured
gpio11 at macgpio0 not configured
extint-gpio15 at macgpio0 not configured
extint-gpio16 at macgpio0 not configured
escc-legacy at macobio0 offset 0x12000 not configured
zsc0 at macobio0 offset 0x13000: irq 22,23
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
tumbler0 at macobio0 offset 0x1: irq 30,1,2
timer at macobio0 offset 0x15000 not configured
adb0 at macobio0 offset 0x16000 irq 25: via-pmu, 0 targets
apm0 at adb0: battery flags 0x9, 0% charged
kiic1 at macobio0 offset 0x18000
iic1 at kiic1
wdc0 at macobio0 offset 0x1f000 irq 19: DMA
wd0 at wdc0 channel 0 drive 0: IBM-IC35L060AVER07-0
wd0: 16-sector PIO, LBA, 58644MB, 120103200 sectors
wd1 at wdc0 channel 0 drive 1: Maxtor 96147U8
wd1: 16-sector PIO, LBA, 58623MB, 120060864 sectors
wd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4
wd1(wdc0:0:1): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4
wdc1 at macobio0 offset 0x2 irq 20: DMA
atapiscsi0 at wdc1 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: PIONEER, DVD-RW DVR-104, A227 ATAPI
5/cdrom removable
cd0(wdc1:0:0): using BIOS timings, DMA mode 2
wdc2 at macobio0 offset 0x21000 irq 21: DMA
audio0 at tumbler0
ohci0 at pci1 dev 24 function 0 Apple USB rev 0x00: irq 27, version 1.0
ohci1 at pci1 dev 25 function 0 Apple USB rev 0x00: irq 28, version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 Apple OHCI root hub rev 1.00/1.00 addr 1
usb1 at ohci1: USB revision 1.0
uhub1 at usb1 Apple OHCI root hub rev 1.00/1.00 addr 1
mpcpcibr2 at mainbus0 pci: uni-north, Revision 0xff
pci2 at mpcpcibr2 bus 0
pchb2 at pci2 dev 11 function 0 Apple Uni-N2 Host rev 0x00
ATT/Lucent FW322 1394 rev 0x00 at pci2 dev 14 function 0 not configured
gem0 at pci2 dev 15 function 0 Apple Uni-N GMAC rev 0x01: irq 41,
address 00:03:93:7d:28:01
brgphy0 at gem0 phy 0: BCM5421 10/100/1000baseT PHY, rev. 1
uhidev0 at uhub0 port 1 configuration 1 interface 0 Logitech USB
Receiver rev 1.10/17.00 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd0 at ukbd0: console keyboard, using wsdisplay0
uhidev1 at uhub0 port 1 configuration 1 interface 1 Logitech USB
Receiver rev 1.10/17.00 addr 2
uhidev1: iclass 3/1, 4 report ids
ums0 at uhidev1 reportid 1: 16 buttons, Z dir
wsmouse0 at ums0 mux 0
uhid0 at uhidev1 reportid 2: input=2, output=0, feature=0
uhid1 at uhidev1 reportid 3: input=1, output=0, feature=0

Re: OpenBSD 4.6, powerpc, KDE, Gnome, XFCE play nicely?

2010-04-04 Thread Marco Peereboom
I noticed that running on a PowerBook with xdm bad things happen. I  
can run mine reliably when using startx. Don't know about audio though.


On Apr 4, 2010, at 12:45 PM, Ludwig Mises ludwigmi...@gmail.com wrote:


I've installed OpenBSD 4.6 on

hw.vendor=Apple Computer, Inc.
hw.product=PowerMac3,5
hw.physmem=1073741824
hw.usermem=1073729536

The OS runs fine, however, certain X desktop environments seem to not
want to cooperate.

Of the 3, KDE seems to run the best, however, the audio is broken.
When I first login, the login wav starts playing but then after 1
second starts playing noise.  It would be nice to have audio (maybe
KDE can somehow play through aucat?).

Gnome looks really great, but after a few seconds becomes unresponsive
to key clicks or keyboard typing.  Only way out is ctrl-alt-backspace.

XFCE also starts up fine, but after a few second also becomes
unresponsive much like gnome and needs ctrl-alt-backspace.

Is there something wrong with these X environments on powerpc?

WindowMaker works as always, but I wanted to try out other  
options. :-)


Here is a dmesg:

[ using 437516 bytes of bsd ELF symbol table ]
console out [NVDA,Display-B]console in [keyboard] , using USB
using parent NVDA,Parent:: memaddr 9800 size 800, : consaddr
98004000, : ioaddr 9100, size 100: memtag 8000, iotag 8000:
width 640 linebytes 1024 height 480 depth 8
Copyright (c) 1982, 1986, 1989, 1991, 1993
   The Regents of the University of California.  All rights  
reserved.

Copyright (c) 1995-2009 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.6-stable (GENERIC) #0: Wed Mar 31 23:57:47 MDT 2010
   r...@some.domain.dom:/usr/src/sys/arch/macppc/compile/GENERIC
real mem = 1073741824 (1024MB)
avail mem = 1032957952 (985MB)
mainbus0 at root: model PowerMac3,5
cpu0 at mainbus0: 7455 (Revision 0x201): 933 MHz: 256KB L2 cache,  
2MB L3 cache

mem0 at mainbus0
spdmem0 at mem0: 256MB SDRAM non-parity PC133CL2
spdmem1 at mem0: 512MB SDRAM non-parity PC133CL2
spdmem2 at mem0: 256MB SDRAM non-parity PC133CL3
memc0 at mainbus0: uni-n
kiic0 at memc0 offset 0xf8001000
iic0 at kiic0
mpcpcibr0 at mainbus0 pci: uni-north, Revision 0xff
pci0 at mpcpcibr0 bus 0
pchb0 at pci0 dev 11 function 0 Apple Uni-N2 AGP rev 0x00
vgafb0 at pci0 dev 16 function 0 NVIDIA GeForce4 MX 440 rev 0xa2,  
mmio

wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation)
mpcpcibr1 at mainbus0 pci: uni-north, Revision 0x0
pci1 at mpcpcibr1 bus 0
pchb1 at pci1 dev 11 function 0 Apple Uni-N2 Host rev 0x00
macobio0 at pci1 dev 23 function 0 Apple Keylargo rev 0x03
openpic0 at macobio0 offset 0x4: version 0x4614 little endian
macgpio0 at macobio0 offset 0x50
macgpio1 at macgpio0 irq 47
programmer-switch at macgpio0 not configured
gpio5 at macgpio0 not configured
gpio6 at macgpio0 not configured
gpio11 at macgpio0 not configured
extint-gpio15 at macgpio0 not configured
extint-gpio16 at macgpio0 not configured
escc-legacy at macobio0 offset 0x12000 not configured
zsc0 at macobio0 offset 0x13000: irq 22,23
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
tumbler0 at macobio0 offset 0x1: irq 30,1,2
timer at macobio0 offset 0x15000 not configured
adb0 at macobio0 offset 0x16000 irq 25: via-pmu, 0 targets
apm0 at adb0: battery flags 0x9, 0% charged
kiic1 at macobio0 offset 0x18000
iic1 at kiic1
wdc0 at macobio0 offset 0x1f000 irq 19: DMA
wd0 at wdc0 channel 0 drive 0: IBM-IC35L060AVER07-0
wd0: 16-sector PIO, LBA, 58644MB, 120103200 sectors
wd1 at wdc0 channel 0 drive 1: Maxtor 96147U8
wd1: 16-sector PIO, LBA, 58623MB, 120060864 sectors
wd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4
wd1(wdc0:0:1): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4
wdc1 at macobio0 offset 0x2 irq 20: DMA
atapiscsi0 at wdc1 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: PIONEER, DVD-RW DVR-104, A227 ATAPI
5/cdrom removable
cd0(wdc1:0:0): using BIOS timings, DMA mode 2
wdc2 at macobio0 offset 0x21000 irq 21: DMA
audio0 at tumbler0
ohci0 at pci1 dev 24 function 0 Apple USB rev 0x00: irq 27,  
version 1.0
ohci1 at pci1 dev 25 function 0 Apple USB rev 0x00: irq 28,  
version 1.0

usb0 at ohci0: USB revision 1.0
uhub0 at usb0 Apple OHCI root hub rev 1.00/1.00 addr 1
usb1 at ohci1: USB revision 1.0
uhub1 at usb1 Apple OHCI root hub rev 1.00/1.00 addr 1
mpcpcibr2 at mainbus0 pci: uni-north, Revision 0xff
pci2 at mpcpcibr2 bus 0
pchb2 at pci2 dev 11 function 0 Apple Uni-N2 Host rev 0x00
ATT/Lucent FW322 1394 rev 0x00 at pci2 dev 14 function 0 not  
configured

gem0 at pci2 dev 15 function 0 Apple Uni-N GMAC rev 0x01: irq 41,
address 00:03:93:7d:28:01
brgphy0 at gem0 phy 0: BCM5421 10/100/1000baseT PHY, rev. 1
uhidev0 at uhub0 port 1 configuration 1 interface 0 Logitech USB
Receiver rev 1.10/17.00 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd0 at ukbd0: console keyboard, using wsdisplay0
uhidev1 at uhub0 port 1 configuration 1 interface 1 Logitech USB
Receiver rev 

Re: OpenBSD 4.6, powerpc, KDE, Gnome, XFCE play nicely?

2010-04-04 Thread Otto Moerbeek
On Sun, Apr 04, 2010 at 01:48:43PM -0500, Marco Peereboom wrote:

 I noticed that running on a PowerBook with xdm bad things happen. I
 can run mine reliably when using startx. Don't know about audio
 though.

That sounds like the thing mentioned in the second parapgraph of
/usr/X11R6/README

-Otto

 
 On Apr 4, 2010, at 12:45 PM, Ludwig Mises ludwigmi...@gmail.com wrote:
 
 I've installed OpenBSD 4.6 on
 
 hw.vendor=Apple Computer, Inc.
 hw.product=PowerMac3,5
 hw.physmem=1073741824
 hw.usermem=1073729536
 
 The OS runs fine, however, certain X desktop environments seem to not
 want to cooperate.
 
 Of the 3, KDE seems to run the best, however, the audio is broken.
 When I first login, the login wav starts playing but then after 1
 second starts playing noise.  It would be nice to have audio (maybe
 KDE can somehow play through aucat?).
 
 Gnome looks really great, but after a few seconds becomes unresponsive
 to key clicks or keyboard typing.  Only way out is ctrl-alt-backspace.
 
 XFCE also starts up fine, but after a few second also becomes
 unresponsive much like gnome and needs ctrl-alt-backspace.
 
 Is there something wrong with these X environments on powerpc?
 
 WindowMaker works as always, but I wanted to try out other
 options. :-)
 
 Here is a dmesg:
 
 [ using 437516 bytes of bsd ELF symbol table ]
 console out [NVDA,Display-B]console in [keyboard] , using USB
 using parent NVDA,Parent:: memaddr 9800 size 800, : consaddr
 98004000, : ioaddr 9100, size 100: memtag 8000, iotag 8000:
 width 640 linebytes 1024 height 480 depth 8
 Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights
 reserved.
 Copyright (c) 1995-2009 OpenBSD. All rights reserved.  http://www.OpenBSD.org
 
 OpenBSD 4.6-stable (GENERIC) #0: Wed Mar 31 23:57:47 MDT 2010
r...@some.domain.dom:/usr/src/sys/arch/macppc/compile/GENERIC
 real mem = 1073741824 (1024MB)
 avail mem = 1032957952 (985MB)
 mainbus0 at root: model PowerMac3,5
 cpu0 at mainbus0: 7455 (Revision 0x201): 933 MHz: 256KB L2 cache,
 2MB L3 cache
 mem0 at mainbus0
 spdmem0 at mem0: 256MB SDRAM non-parity PC133CL2
 spdmem1 at mem0: 512MB SDRAM non-parity PC133CL2
 spdmem2 at mem0: 256MB SDRAM non-parity PC133CL3
 memc0 at mainbus0: uni-n
 kiic0 at memc0 offset 0xf8001000
 iic0 at kiic0
 mpcpcibr0 at mainbus0 pci: uni-north, Revision 0xff
 pci0 at mpcpcibr0 bus 0
 pchb0 at pci0 dev 11 function 0 Apple Uni-N2 AGP rev 0x00
 vgafb0 at pci0 dev 16 function 0 NVIDIA GeForce4 MX 440 rev
 0xa2, mmio
 wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation)
 mpcpcibr1 at mainbus0 pci: uni-north, Revision 0x0
 pci1 at mpcpcibr1 bus 0
 pchb1 at pci1 dev 11 function 0 Apple Uni-N2 Host rev 0x00
 macobio0 at pci1 dev 23 function 0 Apple Keylargo rev 0x03
 openpic0 at macobio0 offset 0x4: version 0x4614 little endian
 macgpio0 at macobio0 offset 0x50
 macgpio1 at macgpio0 irq 47
 programmer-switch at macgpio0 not configured
 gpio5 at macgpio0 not configured
 gpio6 at macgpio0 not configured
 gpio11 at macgpio0 not configured
 extint-gpio15 at macgpio0 not configured
 extint-gpio16 at macgpio0 not configured
 escc-legacy at macobio0 offset 0x12000 not configured
 zsc0 at macobio0 offset 0x13000: irq 22,23
 zstty0 at zsc0 channel 0
 zstty1 at zsc0 channel 1
 tumbler0 at macobio0 offset 0x1: irq 30,1,2
 timer at macobio0 offset 0x15000 not configured
 adb0 at macobio0 offset 0x16000 irq 25: via-pmu, 0 targets
 apm0 at adb0: battery flags 0x9, 0% charged
 kiic1 at macobio0 offset 0x18000
 iic1 at kiic1
 wdc0 at macobio0 offset 0x1f000 irq 19: DMA
 wd0 at wdc0 channel 0 drive 0: IBM-IC35L060AVER07-0
 wd0: 16-sector PIO, LBA, 58644MB, 120103200 sectors
 wd1 at wdc0 channel 0 drive 1: Maxtor 96147U8
 wd1: 16-sector PIO, LBA, 58623MB, 120060864 sectors
 wd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4
 wd1(wdc0:0:1): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4
 wdc1 at macobio0 offset 0x2 irq 20: DMA
 atapiscsi0 at wdc1 channel 0 drive 0
 scsibus0 at atapiscsi0: 2 targets
 cd0 at scsibus0 targ 0 lun 0: PIONEER, DVD-RW DVR-104, A227 ATAPI
 5/cdrom removable
 cd0(wdc1:0:0): using BIOS timings, DMA mode 2
 wdc2 at macobio0 offset 0x21000 irq 21: DMA
 audio0 at tumbler0
 ohci0 at pci1 dev 24 function 0 Apple USB rev 0x00: irq 27,
 version 1.0
 ohci1 at pci1 dev 25 function 0 Apple USB rev 0x00: irq 28,
 version 1.0
 usb0 at ohci0: USB revision 1.0
 uhub0 at usb0 Apple OHCI root hub rev 1.00/1.00 addr 1
 usb1 at ohci1: USB revision 1.0
 uhub1 at usb1 Apple OHCI root hub rev 1.00/1.00 addr 1
 mpcpcibr2 at mainbus0 pci: uni-north, Revision 0xff
 pci2 at mpcpcibr2 bus 0
 pchb2 at pci2 dev 11 function 0 Apple Uni-N2 Host rev 0x00
 ATT/Lucent FW322 1394 rev 0x00 at pci2 dev 14 function 0 not
 configured
 gem0 at pci2 dev 15 function 0 Apple Uni-N GMAC rev 0x01: irq 41,
 address 00:03:93:7d:28:01
 brgphy0 at gem0 phy 0: BCM5421 10/100/1000baseT PHY, rev. 1
 uhidev0 at uhub0 port 1 

Re: OpenBSD 4.6, powerpc, KDE, Gnome, XFCE play nicely?

2010-04-04 Thread Jacob Meuser
On Sun, Apr 04, 2010 at 11:45:11AM -0600, Ludwig Mises wrote:
 I've installed OpenBSD 4.6 on
 
 hw.vendor=Apple Computer, Inc.
 hw.product=PowerMac3,5
 hw.physmem=1073741824
 hw.usermem=1073729536
 
 The OS runs fine, however, certain X desktop environments seem to not
 want to cooperate.
 
 Of the 3, KDE seems to run the best, however, the audio is broken.
 When I first login, the login wav starts playing but then after 1
 second starts playing noise.  It would be nice to have audio (maybe
 KDE can somehow play through aucat?).

most KDE apps use artsd, which can run on top of aucat.  if you're
running aucat server it should just work (artsd starting automagically
and playing through aucat, that is).

that being said, I have no idea how well the macppc i2s audio devices
actually work or how well artsd (and really, KDE as a whole) works on
macppc.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Extra key-presses in X

2010-04-04 Thread Fred Crowson
On Sun, Apr 4, 2010 at 1:35 PM, Brad DeMorrow bdemor...@gmail.com wrote:
 I have an interesting problem with my laptop...
 When I start X, a lot of the keys that I press are duplicated.. ex, if I
 type 'ls' in xterm for example - I will most of the time get 'lls' instead..
 It appears to only happen when the keys that I press overlap... when I start
 typing at any decent rate..
 Issue doesn't happen when not running X.
 Has anyone seen this issue before?
 Running 4.6 release

 I know the general rule is 'upgrade to -current', so I'll do that when I get
 the chance...

 dmesg below:

snipped
 bios0: vendor TOSHIBA version Version 1.90 date 07/25/2003
 bios0: TOSHIBA Satellite Pro 6100
/snipped

I have seen this issue with a Toshiba Portege 2000 - it only happened
in X windows and I did not manage to find a fix.

Not much help...

Fred



Re: La Corrézienne prend soin d'Elle !

2010-04-04 Thread Marc Espie
On Thu, Apr 01, 2010 at 02:49:46PM +0300, La Correzienne wrote:
 Si vous ne visualisez pas ce mail correctement, merci de cliquer iciPour
 jtre s{r(e) de recevoir notre newsletter, merci de rajouter
 service-clie...@la-correzienne.com ` votre carnet d'adresses.
 Si vous n'arrivez pas ` visualiser cette newsletter, merci de cliquer ici.
 
 La
 Corrizienne
 
 La Corrizienne prend soin d'Elle !
 De sa ligne, de son bien-jtre, de son moral, de son corps, de son
 visage... c'est dicidi, la Corrizienne
 prend soin d'Elle !
 Bienfaits des plantes et des abeilles, recettes et messages de Nature,...
 Elle prend... tout !

 Silection de produits la corrizienne

mais elle commence a nous les gonfler serieusement, la correzienne, a spammer
furieusement tout ce qui ressemble de pres ou de loin a une mailing-list,
quelle que soit  la langue. Qu'elle reste dans son putain de trou paume,
ou on ne cultive guere que les moutons et les champignons, au lieu d'essayer
d'emmerder le monde comme elle le fait.



disklabel - new paritition

2010-04-04 Thread bdz
hi!

i installed my system with the automated disklabel layout, i just made 
some size modifications. the disk is a 500G sata. i got a lot of space 
at the end of the disk that now i want to use as storage. i can not add 
the new label 'l' because disklabel says:

  a l
offset: [0]
The offset must be = 0 and  0, the limits of the OpenBSD portion
of the disk. The 'b' command can change these limits.

the response is the same for any specified number.

here is the current layout:
  p
OpenBSD area: 0-0; size: 0; free: 63
#size   offset  fstype [fsize bsize  cpg]
  a:  2104452   63  4.2BSD   2048 163841 # /
  b:  2104515  2104515swap  
  c:9767731680  unused  
  d:   530145  4209030  4.2BSD   2048 163841 # /tmp
  e: 10490445  4739175  4.2BSD   2048 163841 # /var
  f:  4209030 15229620  4.2BSD   2048 163841 # /usr
  g:  2104515 19438650  4.2BSD   2048 163841 # 
/usr/X11R6
  h: 12594960 21543165  4.2BSD   2048 163841 # 
/usr/local
  i:  4209030 34138125  4.2BSD   2048 163841 # /usr/src
  j:  4209030 38347155  4.2BSD   2048 163841 # /usr/obj
  k:  2104515 42556185  4.2BSD   2048 163841 # /home

it displays the OpenBSD area: 0-0 wrong. what do you suggest to help 
with this situation?

could the following work?
- use disklabel -e
- make a new line with label 'l':
  l: SIZE OFFSET RAID   2048 163841 # /home/storage

- SIZE: c size - (sizes a,b,d-k + 63)
- OFFSET: size k + offset k
- RAID for softraid crypto
- :x

using 4.6-RELEASE. see /var/run/dmesg.boot attached

thank you,
adam
 rev 0x01: DMA, channel 0 configured to native-PCI, channel 1 configured to 
native-PCI
pciide0: using apic 8 int 19 (irq 11) for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: SAMSUNG HD502IJ
wd0: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 Intel 82801GB SMBus rev 0x01: apic 8 int 19 
(irq 11)
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 512MB DDR2 SDRAM non-parity PC2-5300CL5
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 Intel UHCI root hub rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
wbsio0 at isa0 port 0x4e/2: W83627THF rev 0x84
lm1 at wbsio0 port 0x290/8: W83627THF
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
uhub5 at uhub1 port 2 ATEN International product 0x7000 rev 1.10/1.00 addr 2
uhidev0 at uhub5 port 1 configuration 1 interface 0 Sun Microsystems Type 7 
Keyboard rev 2.00/1.04 addr 3
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes, country code 33
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub5 port 4 configuration 1 interface 0 Alcor Micro USB Mouse rev 
1.10/51.27 addr 4
uhidev1: iclass 3/1
ums0 at uhidev1: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: 

Re: OpenBSD 4.6, powerpc, KDE, Gnome, XFCE play nicely?

2010-04-04 Thread Ludwig Mises
On Sun, Apr 4, 2010 at 12:48 PM, Marco Peereboom sl...@peereboom.us wrote:
 I noticed that running on a PowerBook with xdm bad things happen. I can run
 mine reliably when using startx. Don't know about audio though.

Yes, this is precisely what I have discovered.  xdm/gdm/kdm do not
work well at all, however,
startx does work for most WMs except for Gnome and XFCE.  KDE works
but lacks functional audio.

Thanks.

p.s. here's another shared whiteboard (or 2):

http://www.cosketch.com/
http://www.skrbl.com/



Re: OpenBSD 4.6, powerpc, KDE, Gnome, XFCE play nicely?

2010-04-04 Thread Ludwig Mises
On Sun, Apr 4, 2010 at 1:00 PM, Otto Moerbeek o...@drijf.net wrote:

 That sounds like the thing mentioned in the second parapgraph of
 /usr/X11R6/README

Yes, this looks very relevant, thank you.



Re: disklabel - new paritition

2010-04-04 Thread Jesus Sanchez

El 06/04/2010 0:12, bdz escribis:

hi!

i installed my system with the automated disklabel layout, i just made
some size modifications. the disk is a 500G sata. i got a lot of space
at the end of the disk that now i want to use as storage. i can not add
the new label 'l' because disklabel says:

a l
offset: [0]
The offset must be= 0 and  0, the limits of the OpenBSD portion
of the disk. The 'b' command can change these limits.

the response is the same for any specified number.

here is the current layout:
p
OpenBSD area: 0-0; size: 0; free: 63
#size   offset  fstype [fsize bsize  cpg]
   a:  2104452   63  4.2BSD   2048 163841 # /
   b:  2104515  2104515swap
   c:9767731680  unused
   d:   530145  4209030  4.2BSD   2048 163841 # /tmp
   e: 10490445  4739175  4.2BSD   2048 163841 # /var
   f:  4209030 15229620  4.2BSD   2048 163841 # /usr
   g:  2104515 19438650  4.2BSD   2048 163841 #
/usr/X11R6
   h: 12594960 21543165  4.2BSD   2048 163841 #
/usr/local
   i:  4209030 34138125  4.2BSD   2048 163841 # /usr/src
   j:  4209030 38347155  4.2BSD   2048 163841 # /usr/obj
   k:  2104515 42556185  4.2BSD   2048 163841 # /home

it displays the OpenBSD area: 0-0 wrong. what do you suggest to help
with this situation?

could the following work?
- use disklabel -e
- make a new line with label 'l':
   l: SIZE OFFSET RAID   2048 163841 # /home/storage

- SIZE: c size - (sizes a,b,d-k + 63)
- OFFSET: size k + offset k
- RAID for softraid crypto
- :x

using 4.6-RELEASE. see /var/run/dmesg.boot attached

thank you,
   



You must enter the offset manually as you say , it would be
k-size + k-offset.

-J



Re: Extra key-presses in X

2010-04-04 Thread Ludwig Mises
On Sun, Apr 4, 2010 at 2:45 PM, Fred Crowson
fred.crow...@googlemail.com wrote:
 On Sun, Apr 4, 2010 at 1:35 PM, Brad DeMorrow bdemor...@gmail.com wrote:
 I have an interesting problem with my laptop...
 When I start X, a lot of the keys that I press are duplicated.. ex, if I
 type 'ls' in xterm for example - I will most of the time get 'lls' instead..
 It appears to only happen when the keys that I press overlap... when I start
 typing at any decent rate..
 Issue doesn't happen when not running X.
 Has anyone seen this issue before?
 Running 4.6 release

I've run into this numerous times and the fix is as yet elusive.  It
certainly is a pain
to deal with.  In one instance, everything worked fine (say on 4.1)
but then when I upgraded
to the next release (say 4.2) it broke and started happening.  Search
the archives.  Also,
if you goole around for bounce keys X you'll find relevant
information.  I believe in one case I
was able to work around it with

Option XkbDisable

However it had some side effects (loss of repeat characters), but at
least the keys didn't
duplicate.  The laptop most affected by it seems to be the Toshiba,
but I have occasionally
seen it happen on an IBM/Lenovo.



Re: couldn't map interrupt

2010-04-04 Thread Dave Anderson
On Thu, 1 Apr 2010, Dave Anderson wrote:

On Thu, 1 Apr 2010, Dave Anderson wrote:

I've inherited an old notebook (Sony Vaio PCG-FX120) whose CardBus slots
are (presumably) unusable because their interrupts aren't mapped:

cbb0 at pci1 dev 2 function 0 Ricoh 5C476 CardBus rev 0x80: couldn't \
map interrupt
cbb1 at pci1 dev 2 function 1 Ricoh 5C476 CardBus rev 0x80: couldn't \
map interrupt

I've updated the BIOS to the latest version I can find, and am running
current (as of March 30th).  This happens both with APM and with ACPI
(APM disabled); I've included both full dmesgs below.

With ACPI there's one additional couldn't map interrupt for a device
which is configured properly with APM:

uhci0 at pci0 dev 31 function 2 Intel 82801BA USB rev 0x03: couldn't \
map interrupt

One more thing I should have mentioned: this system has a very simple
BIOS with only a few tweakable settings; I've tried them all without
changing this behavior.

   Dave

I'd really like to get this working properly, since I can't afford to
buy a new system right now.  If anyone is interested in looking into
this, I'd be happy to run any tests, patches or whatever; the system
isn't in use yet, so even complete reinstalls are fine.

Thanks for any help,

  Dave

I bit of searching turned up 'UKCchange pcibios' and setting the flags
to 0x30; this 'verbose' dmesg plus pcidump -v ( both included below)
produce a bunch of interesting-looking information which, unfortunately,
I do not (yet) know enough to make sense of.

I also found a truly gross hack used by someone in similar circumstances
(http://www.gratisoft.us/ftp/pub/todd/OpenBSD/srx77/cardbus.diff), which
I'll try to adapt if I don't find anything better.

Dave


OpenBSD 4.7-current (GENERIC) #560: Wed Mar 24 00:26:42 MDT 2010
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III (GenuineIntel 686-class) 696 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 534798336 (510MB)
avail mem = 508944384 (485MB)
User Kernel Config
UKC chn\^H \^Hange pcibios
361 pcibios0 at bios0 flags 0x0
change (y/n) ?
flags [0] ? 0x30
361 pcibios0 changed
361 pcibios0 at bios0 flags 0x30
UKC quit
Continuing...
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 03/06/02, BIOS32 rev. 0 @ 0xfd878, SMBIOS 
rev. 2.31 @ 0xd8010 (15 entries)
bios0: vendor Phoenix Technologies LTD version R0232U0 date 03/06/02
bios0: Sony Corporation PCG-FX120(UC)
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xfd860/0x7a0
pcibios0: config mechanism [1][x], special cycles [x][x], last bus 1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf30/176 (9 entries)
PIR Entry 0:
Bus: 0  Device: 30
INTA: link 0x60 bitmap 0x0200
INTB: link 0x61 bitmap 0x0200
INTC: link 0x62 bitmap 0x0200
INTD: link 0x63 bitmap 0x0200
PIR Entry 1:
Bus: 1  Device: 6
INTA: link 0x62 bitmap 0x0200
INTB: link 0x63 bitmap 0x0200
INTC: link 0x60 bitmap 0x0200
INTD: link 0x61 bitmap 0x0200
PIR Entry 2:
Bus: 1  Device: 4
INTA: link 0x61 bitmap 0x0200
INTB: link 0x60 bitmap 0x0200
INTC: link 0x62 bitmap 0x0200
INTD: link 0x63 bitmap 0x0200
PIR Entry 3:
Bus: 1  Device: 9
INTA: link 0x62 bitmap 0x0200
INTB: link 0x63 bitmap 0x0200
INTC: link 0x00 bitmap 0x0200
INTD: link 0x00 bitmap 0x0200
PIR Entry 4:
Bus: 1  Device: 8
INTA: link 0x68 bitmap 0x0200
INTB: link 0x00 bitmap 0x
INTC: link 0x00 bitmap 0x
INTD: link 0x00 bitmap 0x
PIR Entry 5:
Bus: 0  Device: 0
INTA: link 0x60 bitmap 0x0200
INTB: link 0x61 bitmap 0x0200
INTC: link 0x62 bitmap 0x0200
INTD: link 0x63 bitmap 0x0200
PIR Entry 6:
Bus: 0  Device: 31
INTA: link 0x60 bitmap 0x0200
INTB: link 0x61 bitmap 0x0200
INTC: link 0x6b bitmap 0x0200
INTD: link 0x63 bitmap 0x0200
PIR Entry 7:
Bus: 0  Device: 2
INTA: link 0x60 bitmap 0xdef8
INTB: link 0x61 bitmap 0xdef8
INTC: link 0x00 bitmap 0xdef8
INTD: link 0x00 bitmap 0xdef8
PIR Entry 8:
Bus: 0  Device: 1
INTA: link 0x60 bitmap 0xdef8
INTB: link 0x61 bitmap 0xdef8
INTC: link 0x00 bitmap 0xdef8
INTD: link 0x00 bitmap 0xdef8
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
pciintr_link_init: bus 0 device 2 link 0x60: bad irq bitmap 0xdef8, should be 
0x0200
pciintr_link_init: bus 0 device 2 

disable default ftp in php

2010-04-04 Thread Andreas Gerdd
Hi,
I have installed php5-core 5.2.12 by pkg_add -iv.
In order to test it, i made a phpinfo(); page.
In the page, i see under 'FTP' tag, 'FTP Support' is enabled.
The php installation did not ask anything about that.
Is there any way to remove that FTP support other than using
disable_functions in php.ini?

Thanks.



solved - Re: 2010APR04

2010-04-04 Thread levitch

On Sun, 4 Apr 2010, Miod Vallat wrote:


ssh login to the openbsd router throws the following error message:
OpenSSL version mismatch. Built against 9080df, you have 100f


You need to either recompile your ssh binary against the new openssl
libraries, or set up a proper LD_LIBRARY_PATH to make it pick the old
openssl shared library.



Recompilation of OpenSSH solved it.  Thank you, Miod.


Either way, this being an OpenBSD list, we won't be able to help you for
what is a FreeBSD configuration problem.



Understood.  Now I have a better understanding of how to troubleshoot 
OpenSSH.


Thanks again,
Darrel



Re: OpenBSD 4.6, powerpc, KDE, Gnome, XFCE play nicely?

2010-04-04 Thread Jacob Meuser
On Sun, Apr 04, 2010 at 05:30:34PM -0600, Ludwig Mises wrote:
 On Sun, Apr 4, 2010 at 12:48 PM, Marco Peereboom sl...@peereboom.us wrote:
  I noticed that running on a PowerBook with xdm bad things happen. I can run
  mine reliably when using startx. Don't know about audio though.
 
 Yes, this is precisely what I have discovered.  xdm/gdm/kdm do not
 work well at all, however,
 startx does work for most WMs except for Gnome and XFCE.  KDE works
 but lacks functional audio.

if you have a tumbler(4) device, there's patches on tech@ to test ...

someone with the devices with the problems needs to do more to figure
out what exactly the problem is.  lacks functional audio is extremely
vague.  does audio work otherwise?  for example, can you play files with
aucat on the console?  if so, do other players work, on the console?
if so, does artsd itself work?  did you check that your audio
configuration(s) are sane?

 Thanks.
 
 p.s. here's another shared whiteboard (or 2):
 
 http://www.cosketch.com/
 http://www.skrbl.com/

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: OpenBSD 4.6, powerpc, KDE, Gnome, XFCE play nicely?

2010-04-04 Thread Ludwig Mises
On Sun, Apr 4, 2010 at 8:21 PM, Jacob Meuser jake...@sdf.lonestar.org
wrote:

 if you have a tumbler(4) device, there's patches on tech@ to test ...

Yes, this shows up in the dmesg I pasted:

tumbler0 at macobio0 offset 0x1: irq 30,1,2
.
.
.
audio0 at tumbler0

I presume they are in the mailing list archives?

 someone with the devices with the problems needs to do more to figure
 out what exactly the problem is.  lacks functional audio is extremely
 vague.  does audio work otherwise?

Yes, it was a bit too vague.  Audio in the general sense works fine.
I can play things with xmms,
aucat and other applications.  I tried to run aucat -l and while artsd
does use the
audio server, it still does strange things.  When KDE first comes up,
it tries to play the
startup music and about .5s of music comes out, then it switches to
noise (like someone
sent raw binary data to the audio device).

I haven't been able to do much else in the way of  testing
KDE because nothing else in KDE seems to be working.  If I click on
the K menu, there are
literally no applications (even though I have plenty of KDE
installed).  If I try to bring up
the KDE Control Center, the application never appears.  Running it
from an xterm actually
does run it, and I get the following output:

kcontrol: WARNING: No K menu group with X-KDE-BaseGroup=settings found
! Defaulting to Settings/

Which is not surprising given that there are no menus at all with any
applications to speak of.
There are also no options at all in kcontrol.

If I try to run kmenuedit I also get strange errors:

kmenuedit: WARNING: Could not read
/home/luddy/.config/menus/applications-kmenuedit.menu

And there is nothing in the dialog once it starts.  I searched for an
appliations-kmenuedit.menu
in /usr/local and couldn't find one either.

Is it possible I'm missing a package:

kdeaddons-3.5.10p1  K Desktop Environment, addons
kdeadmin-3.5.10 K Desktop Environment, admin tools
kdeartwork-3.5.10p2 K Desktop Environment, additional artwork
kdebase-3.5.10p2K Desktop Environment, basic applications
kdeedu-3.5.10p0 K Desktop Environment, edutainment
kdegames-3.5.10p0   K Desktop Environment, games
kdegraphics-3.5.10  K Desktop Environment, graphic applications
kdelibs-3.5.10p0K Desktop Environment, libraries
kdemultimedia-3.5.10p1 K Desktop Environment, multimedia applications
kdenetwork-3.5.10p0 K Desktop Environment, network applications
kdepim-3.5.10p0 KDE personal information applications
kdetoys-3.5.10  some useless KDE applications
kdeutils-3.5.10p0   K Desktop Environment, utilities

It seems as though either part of KDE is missing, or the user profile
didn't get everything it needed when
KDE went through the initial setup.  But that doesn't exactly explain
the noise that plays out of the
login and logout KDE music.



Re: OpenBSD 4.6, powerpc, KDE, Gnome, XFCE play nicely?

2010-04-04 Thread Ludwig Mises
 I haven't been able to do much else in the way of  testing
 KDE because nothing else in KDE seems to be working.

It would appear that I missed the following instruction from the
kdelibs package:

Install notice:
To use the KDE3 layout as default for the applications menu, as root:
 ln -sf /etc/xdg/menus/kde3-applications.menu \
/etc/xdg/menus/applications.menu

So at least now KDE is working.  Now I can continue trying to find out why
KDE
is producing noise for its actions (login, logout, error dialog, etc.).



Re: OpenBSD 4.6, powerpc, KDE, Gnome, XFCE play nicely?

2010-04-04 Thread Ludwig Mises
On Sun, Apr 4, 2010 at 8:21 PM, Jacob Meuser jake...@sdf.lonestar.org
wrote:

 if so, does artsd itself work?  did you check that your audio
 configuration(s) are sane?

Now that KDE is working, I can answer some of these additional
questions.  artsd is working.
All other audio configuration appears sane.  Apparently the default
sounds for KDE are configured
to play a .ogg file.  For example, login plays KDE_Startup_3.ogg,
logout plays KDE_Logout_3.ogg
and an error dialog plays KDE_Glass_Break.ogg.  So for some reason,
KDE is unable to play
these .ogg files (they come out as noise).

libogg-1.1.3Ogg bitstream library

Is installed.  So who knows...  At any rate, I reconfigured KDE to use
.wav versions of the files
and now they play just fine.

Thanks.