Re: Delay in starting xterm via ssh after upgrade from 7.3 to 7.4

2023-10-25 Thread Roger Marsh
On 23 Oct 2023 09:32:19 -0600
"Andy Bradford"  
wrote:

> Thus said Roger Marsh on Thu, 19 Oct 2023 17:23:47 -:
> 
> > fixes the delay  problem, but was the delay  a predictable consequence
> > of some change? Or perhaps the  entry should never have been expressed
> > in the way that led to the delay?  
> 
> Most likely the cause is an unexpected side effect of some other change.
> There  have been  some interesting  changes  to SSH  with this  release,
> perhaps try disabling:
> 
> http://man.openbsd.org/OpenBSD-7.4/ssh_config#ObscureKeystrokeTiming
> 
> I would be surprised  if this is actually the cause, but  it is a change
> that was introduced and something that is easily tested.
> 
> You could also look through:
> 
> http://www.openbsd.org/plus74.html
> 
> See if any of the changes stand out as relevant and try to test them.
> 
> Andy
> 

Thanks.

ObscureKeystokeTiming turned out to be the cause, or so it seemed after reading 
the ssh_config reference.  Setting this option to 'no' whereever ssh is used in 
the .fvwmrc configuration file got rid of the response time problem.

I remember looking at plus74.html some time before formal release.  If 
ObscureKeystrokeTiming had caught my eye I think I would not have associated it 
with the possibility of a large increase in response time.

The line in plus74.html immediately before the one about ObscureKeystokeTiming 
states 'Limit artificial login delay ...'.  That change looks a more likely 
cause than 'ObscureKeystokeTiming' measures.

Roger



Re: Delay in starting xterm via ssh after upgrade from 7.3 to 7.4

2023-10-23 Thread Roger Marsh
Philip,

Thanks for reply,

On Sun, 22 Oct 2023 14:39:37 -0700
Philip Guenther  wrote:

> If this had been observed _during_ 7.4 development then it would have been
> simpler to isolate what set of changes caused it.  Since that didn't happen
> you'll have to debug this yourself on the affected systems.  For starters,
> I would suggest turning up ssh logging with the -v option and capturing
> that to a file and comparing the output on working and not working
> systems.  Or ktrace the stuttering processes and see when kdump -T output
> shows as the operations where the delays occurred.
> 
I am planning to binary chop my way through the 7.4 development part of the CVS 
repository, assuming there is a revision before which the problem never occurs 
and after which the problem always occurs, but as yet do not know how long each 
build and test step will take.

Plenty of time, starting now, to see where your suggestions lead.

> 
> As for your "should I have never been doing these this way?" question,
> that's unanswerable without knowing _why_ you had written them that way.
> Using -Y instead of -X to disable XSecurity enforcement?  Why tunnel X
> instead of have the remote client connect directly to the X server?  You
> wrote those to solve some problem, changing that means going back and
> reopening that question, which is probably a distraction from the "why did
> the latency change" question.
> 
Distraction: yes.  But at least you did not say writing the things that way is 
wrong because ..., which I thought was a possibility.

I did get to connecting directly to the X server a couple years ago, I think, 
following private message suggestions on another problem.  However it turned 
out that moving the Xclient role disks to the older hardware on which they now 
sit proved simpler and effective but not perfect.
> 
>

Roger

 
> On Sun, Oct 22, 2023 at 7:22 AM Roger Marsh  wrote:
> 
> > On Thu, 19 Oct 2023 17:23:47 +
> > Roger Marsh  wrote:
> >  
> > > Hi,
> > >
> > > After upgrade from 7.3 to 7.4 (on both boxes) the xterm session for this  
> > entry in .fvwmrc (on monitor):  
> > >
> > > 'Exec exec ssh -Y opendev xterm -title roger@opendev'
> > >
> > > takes several seconds to deliver the xterm window, while I did not  
> > notice any delay before upgrade.  
> > >
> > > For other usernames on opendev the .fvwmrc entry is like (without the  
> > '-X' for most usernames other than grading):  
> > >
> > > 'Exec exec xterm -title grading@opendev -e ssh -X grading@opendev'
> > >
> > > and I do not notice any delay after upgrade compared with before upgrade.
> > >
> > > Expressing the 'roger@opendev' entry as:
> > >
> > > 'Exec exec xterm -title roger@opendev -e ssh -Y roger@opendev'
> > >
> > > fixes the delay problem, but was the delay a predictable consequence of  
> > some change?  Or perhaps the entry should never have been expressed in the
> > way that led to the delay?  
> > >
> > > Below are dmsesg and pkg_info for both boxes involved.
> > >
> > > Roger  
> >
> > ...
> > dmesg and pkg_info for monitor and opendev snipped.
> > ...
> >
> > Hi,
> >
> > Later I saw opening files with Python's Idle editor suffers the same
> > pattern of slow response, in terms of serving up the file edit window, as
> > seen with xterm.  Scrolling through an editor window is slower too, and
> > stutters, compared with what was seen when both boxes were at 7.3 (PgUp and
> > PgDn buttons are what I used).
> >
> > One box (gash) had not been upgraded to 7.4 (because I thought it did not
> > have OpenBSD disks).  It was modified, in particular adding Python Idle and
> > Chromium, to see what happens when 7.3 has the Xserver role and 7.4 the
> > Xclient role; and the other way round.
> >
> >   Idle
> > XserverXclient   Display file window   Scrolling
> >   7.47.3   slow stutter
> >   7.37.4   quicksmooth
> >   7.47.4   slow stutter
> >   7.37.3   quicksmooth (from
> > memory: confirmed on reverting)
> >Same 7.4 boxquicksmooth
> >
> > Idle is started by 'Exec exec ssh -Y  idle3.10' in .fvwmrc file.
> > Chromium is started by 'Exec exec ssh -X @ chrome' in
> > .fvwmrc file.
> >
> > This behaviour with Python persuades me to revert the OpenBSD 7.4 box
> > (monitor) in the Xserver role to 7.3 u

Re: Delay in starting xterm via ssh after upgrade from 7.3 to 7.4

2023-10-22 Thread Roger Marsh
On Thu, 19 Oct 2023 17:23:47 +
Roger Marsh  wrote:

> Hi,
> 
> After upgrade from 7.3 to 7.4 (on both boxes) the xterm session for this 
> entry in .fvwmrc (on monitor):
> 
> 'Exec exec ssh -Y opendev xterm -title roger@opendev'
> 
> takes several seconds to deliver the xterm window, while I did not notice any 
> delay before upgrade.
> 
> For other usernames on opendev the .fvwmrc entry is like (without the '-X' 
> for most usernames other than grading):
> 
> 'Exec exec xterm -title grading@opendev -e ssh -X grading@opendev'
> 
> and I do not notice any delay after upgrade compared with before upgrade.
> 
> Expressing the 'roger@opendev' entry as:
> 
> 'Exec exec xterm -title roger@opendev -e ssh -Y roger@opendev'
> 
> fixes the delay problem, but was the delay a predictable consequence of some 
> change?  Or perhaps the entry should never have been expressed in the way 
> that led to the delay?
> 
> Below are dmsesg and pkg_info for both boxes involved.
> 
> Roger

...
dmesg and pkg_info for monitor and opendev snipped.
...

Hi,

Later I saw opening files with Python's Idle editor suffers the same pattern of 
slow response, in terms of serving up the file edit window, as seen with xterm. 
 Scrolling through an editor window is slower too, and stutters, compared with 
what was seen when both boxes were at 7.3 (PgUp and PgDn buttons are what I 
used).

One box (gash) had not been upgraded to 7.4 (because I thought it did not have 
OpenBSD disks).  It was modified, in particular adding Python Idle and 
Chromium, to see what happens when 7.3 has the Xserver role and 7.4 the Xclient 
role; and the other way round.

  Idle
XserverXclient   Display file window   Scrolling
  7.47.3   slow stutter
  7.37.4   quicksmooth
  7.47.4   slow stutter
  7.37.3   quicksmooth (from memory: 
confirmed on reverting)
   Same 7.4 boxquicksmooth

Idle is started by 'Exec exec ssh -Y  idle3.10' in .fvwmrc file.
Chromium is started by 'Exec exec ssh -X @ chrome' in 
.fvwmrc file.

This behaviour with Python persuades me to revert the OpenBSD 7.4 box (monitor) 
in the Xserver role to 7.3 until 7.4 or later provides more acceptable response 
times.

Chromium seemed unaffected except for slow response when typing in the URL bar 
on the separate 7.4 Xserver box.  I thought I could mostly avoid this by 
starting to use bookmarks, but the effect on Python matters more.

Apologies for going off-topic by discussing Python and Chromium rather than 
xterm: but the Python stuff changes my attitude to the problem from minor 
annoyance to something which needs an immediate workaround.

Below are dmesg (most recent reboot only) and pkg_info for the OpenBSD 7.3 box 
(gash).

Roger

Script started on Sat Oct 21 17:09:38 2023
gash$ dmesg
syncing disks... done
rebooting...
OpenBSD 7.3 (GENERIC.MP) #1125: Sat Mar 25 10:36:29 MDT 2023
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3967422464 (3783MB)
avail mem = 3827781632 (3650MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xe9f80 (85 entries)
bios0: vendor Hewlett-Packard version "786G1 v01.16" date 03/05/2009
bios0: Hewlett-Packard HP Compaq dc7900 Small Form Factor
acpi0 at bios0: ACPI 1.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC ASF! MCFG TCPA SLIC HPET DMAR
acpi0: wakeup devices PCI0(S4) PEG1(S4) PEG2(S4) IGBE(S4) PCX1(S4) PCX2(S4) 
PCX5(S4) PCX6(S4) HUB_(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) 
USB6(S3) EUS1(S3) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz, 2992.55 MHz, 06-17-0a
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN
cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 6MB 64b/line 
24-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 7 var ranges, 88 fixed ranges
cpu0: apic clock running at 332MHz
cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz, 2992.57 MHz, 06-17-0a
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN
cpu1: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cach

Delay in starting xterm via ssh after upgrade from 7.3 to 7.4

2023-10-19 Thread Roger Marsh
Hi,

After upgrade from 7.3 to 7.4 (on both boxes) the xterm session for this entry 
in .fvwmrc (on monitor):

'Exec exec ssh -Y opendev xterm -title roger@opendev'

takes several seconds to deliver the xterm window, while I did not notice any 
delay before upgrade.

For other usernames on opendev the .fvwmrc entry is like (without the '-X' for 
most usernames other than grading):

'Exec exec xterm -title grading@opendev -e ssh -X grading@opendev'

and I do not notice any delay after upgrade compared with before upgrade.

Expressing the 'roger@opendev' entry as:

'Exec exec xterm -title roger@opendev -e ssh -Y roger@opendev'

fixes the delay problem, but was the delay a predictable consequence of some 
change?  Or perhaps the entry should never have been expressed in the way that 
led to the delay?

Below are dmsesg and pkg_info for both boxes involved.

Roger


dmseg and pkg_info for 'monitor'

7.4 appears after second 'rebooting...' line.

Script started on Thu Oct 19 16:04:50 2023
monitor$ dmesg
OpenBSD 7.3 (GENERIC.MP) #1125: Sat Mar 25 10:36:29 MDT 2023
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2056990720 (1961MB)
avail mem = 1975300096 (1883MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xe9f80 (85 entries)
bios0: vendor Hewlett-Packard version "786G1 v01.08" date 08/25/2008
bios0: Hewlett-Packard HP Compaq dc7900 Small Form Factor
acpi0 at bios0: ACPI 1.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC ASF! MCFG TCPA SLIC HPET DMAR
acpi0: wakeup devices PCI0(S4) PEG1(S4) PEG2(S4) IGBE(S4) PCX1(S4) PCX2(S4) 
PCX5(S4) PCX6(S4) HUB_(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) 
USB6(S3) EUS1(S3) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz, 2992.53 MHz, 06-17-0a
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN
cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 6MB 64b/line 
24-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 332MHz
cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz, 2992.59 MHz, 06-17-0a
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN
cpu1: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 6MB 64b/line 
24-way L2 cache
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins, remapped
acpimcfg0 at acpi0
acpimcfg0: addr 0xf400, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG1)
acpiprt2 at acpi0: bus -1 (PEG2)
acpiprt3 at acpi0: bus 32 (PCX1)
acpiprt4 at acpi0: bus -1 (PCX2)
acpiprt5 at acpi0: bus 48 (PCX5)
acpiprt6 at acpi0: bus -1 (PCX6)
acpiprt7 at acpi0: bus 7 (HUB_)
acpipci0 at acpi0 PCI0: 0x 0x0011 0x0001
acpicmos0 at acpi0
"PNP0003" at acpi0 not configured
tpm0 at acpi0 TPM_ 1.2 (TIS) addr 0x4e/0x2, device 0x rev 0xff
acpibtn0 at acpi0: PBTN
"PNP0C14" at acpi0 not configured
acpicpu0 at acpi0: !C2(500@17 mwait.3@0x10), C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: !C2(500@17 mwait.3@0x10), C1(1000@1 mwait.1), PSS
cpu0: Enhanced SpeedStep 2992 MHz: speeds: 3000, 1998 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Q45 Host" rev 0x03
inteldrm0 at pci0 dev 2 function 0 "Intel Q45 Video" rev 0x03
drm0 at inteldrm0
intagp0 at inteldrm0
agp0 at intagp0: aperture at 0xe000, size 0x1000
inteldrm0: apic 1 int 16, G45, gen 4
"Intel Q45 Video" rev 0x03 at pci0 dev 2 function 1 not configured
"Intel Q45 HECI" rev 0x03 at pci0 dev 3 function 0 not configured
pciide0 at pci0 dev 3 function 2 "Intel Q45 PT IDER" rev 0x03: DMA 
(unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI
pciide0: using apic 1 int 18 for native-PCI interrupt
pciide0: channel 0 ignored (not responding; disabled or no drives?)
pciide0: channel 1 ignored (not responding; disabled or no drives?)
puc0 at pci0 dev 3 function 3 "Intel Q45 KT" rev 0x03: ports: 16 com
com4 at puc0 port 0 apic 1 int 17: ns16550a, 16 byte fifo
com4: probed fifo depth: 15 bytes
em0 at pci0 dev 25 function 0 "Intel ICH10 D BM LM" rev 0x02: apic 1 int 19, 
address 00:23:7d:20:19:d3
uhci0 at pci0 dev 26 function 0 "Intel 8280

Python 3.10 required by py3-bsddb3 but not supported

2023-06-01 Thread Roger Marsh
Script started on Wed May 31 10:43:00 2023
This pkg_info report shows Python 3.10 required by py3-bsddb3 after upgrade 
from OpenBSD 7.2 to 7.3 and package upgrade.

As bsddb3 does not support Python 3.10 or later but does support Python 3.9 and 
earlier, surely the requirement should be on Python 3.9, or perhaps the 
py3-bsddb3 port should be removed.

Apologies if something is already happening and, or, for not saying earlier: 
the upgrade was done in mid-April.

d630amd64$ pkg_info -R python-3.10.10p0
Information for inst:python-3.10.10p0

Required by:
glib2-2.74.6
gnumeric-1.12.55
gobject-introspection-1.74.0p1
libproxy-0.4.18p2
libreoffice-7.5.1.2v0
py3-MarkupSafe-2.1.2
py3-alabaster-0.7.13
py3-apsw-3.35.4p1
py3-babel-2.12.1
py3-beaker-1.11.0p0
py3-brotli-1.0.9p3
py3-bsddb3-6.0.1p8
py3-cairo-1.23.0
py3-certifi-2022.12.7
py3-charset-normalizer-3.1.0
py3-cryptodome-3.15.0p1
py3-cython-0.29.32p1v0
py3-docutils-0.19p0
py3-gobject3-3.42.2p4
py3-idna-3.4
py3-imagesize-1.4.1p1
py3-importlib_metadata-5.1.0
py3-jinja2-3.1.2p1
py3-mako-1.2.4
py3-markdown-3.4.1p0
py3-packaging-23.0
py3-parsing-3.0.9p2
py3-pip-23.0.1
py3-pygments-2.14.0
py3-requests-2.28.2
py3-setuptools-64.0.3p1v0
py3-snowballstemmer-2.2.0p1
py3-sphinx-6.1.3
py3-sphinxcontrib-applehelp-1.0.4
py3-sphinxcontrib-devhelp-1.0.2p2
py3-sphinxcontrib-htmlhelp-2.0.1
py3-sphinxcontrib-jsmath-1.0.1p2
py3-sphinxcontrib-qthelp-1.0.3p2
py3-sphinxcontrib-serializinghtml-1.1.5p1
py3-sphinxcontrib-websupport-1.2.4p2
py3-stemmer-2.2.0.1
py3-tz-2022.7.1
py3-urllib3-1.26.15
py3-zipp-3.15.0
python-idle-3.10.10p0
python-tkinter-3.10.10


d630amd64$ exit

Script done on Wed May 31 10:43:59 2023

This is the package upgrade script after upgrade to OpenBSD 7.3

Script started on Mon Apr 10 19:00:24 2023
d630amd64# pkg_info
adwaita-icon-theme-42.0 base icon theme for GNOME
apl-fonts-1.0p0 Adrian Smith's standard APL fonts
apr-1.7.0   Apache Portable Runtime
apr-util-1.6.1p4companion library to APR
aspell-0.60.6.1p11  spell checker designed to eventually replace Ispell
at-spi2-atk-2.38.0  atk-bridge for at-spi2
at-spi2-core-2.44.1 service interface for assistive technologies
atk-2.38.0  accessibility toolkit used by gtk+
avahi-glib-0.8p1GLib and GObject integration libraries for avahi
avahi-libs-0.8p2libraries and common data files for avahi
boost-1.80.0p0v0free peer-reviewed portable C++ source libraries
brotli-1.0.9p0  generic lossless compressor
bzip2-1.0.8p0   block-sorting file compressor, unencumbered
cairo-1.17.6vector graphics library
cdparanoia-3.a9.8p4 CDDA reading utility with extra data verification features
cdrtools-3.00p2 ISO 9660 filesystem and CD/DVD/BD creation tools
chromium-105.0.5195.125 Chromium browser
clucene-core-2.3.3.4p3 full-text search engine library
cups-libs-2.4.2 CUPS libraries and headers
curl-7.87.0 transfer files with FTP, HTTP, HTTPS, etc.
cvsps-2.1p2 generate patchsets from CVS repositories
cyrus-sasl-2.1.28   RFC  SASL (Simple Authentication and Security Layer)
db-4.6.21p7v0   Berkeley DB package, revision 4
dbus-1.14.0p0v0 message bus system
dbus-daemon-launch-helper-1.14.0 DBus setuid helper for starting system services
dconf-0.40.0configuration backend system
desktop-file-utils-0.26 utilities for dot.desktop entries
dvd+rw-tools-7.1p1  mastering tools for DVD+RW/+R/-R/-RW
e2fsprogs-1.46.2p0  utilities to manipulate ext2 filesystems
ee-1.5.2p2v0easy to use text editor
enchant2-2.3.3  generic spell checking library
evince-42.3-light   GNOME document viewer
flac-1.3.4p0free lossless audio codec
fribidi-1.0.12  library implementing the Unicode Bidirectional Algorithm
gcr-3.41.1  library for bits of crypto UI and parsing
gdk-pixbuf-2.42.9p0 image data transformation library
geoclue2-2.6.0p2modular geoinformation service on top of D-Bus
gettext-runtime-0.21p1 GNU gettext runtime libraries and programs
ghostscript-9.56.1  PostScript and PDF interpreter
ghostscript-fonts-8.11p3 35 standard PostScript fonts with Adobe name aliases
giflib-5.2.1tools and library routines for working with GIF images
git-2.37.3  distributed version control system
glew-2.2.0  GL Extension Wrangler library
glib2-2.72.4p2  general-purpose utility library
glib2-networking-2.72.2 network-related gio modules for GLib
glm-0.9.8.5 C++ mathematics header-only library for OpenGL software
gmake-4.3   GNU make
gmp-6.2.1p0 library for arbitrary precision arithmetic
gnuchess-6.2.9  chess program
gnumeric-1.12.53spreadsheet application for GNOME
gnupg-2.2.39GNU privacy guard - a free PGP replacement
gnutls-3.7.7GNU Transport Layer Security library
goffice-0.10.53 document centric objects and utilities
graphene-1.10.8 thin layer of graphic data types
graphite2-1.3.14rendering for complex writing systems
gsettings-desktop-schemas-42.0 collection of shared 

Re: py-lmdb often gets segmentation faults

2023-01-30 Thread Roger Marsh
On Sat, 28 Jan 2023 21:11:06 - (UTC)
Stuart Henderson  wrote:

> Thanks for the detailed report, thinking about what information
> might be useful, and including it directly in your email.
> 
> On 2023-01-28, Roger Marsh  wrote:
> > Package lmdb-0.9.29 was installed; and py-lmdb, as a --user install, from 
> > PyPi so lmdb can be used from Python3.9.  
> 
> py-lmdb bundles its own copy of LMDB and uses it by default, or you
> can set extra flags to use the system version.
> 
> Normally the bundled one is ok, but the LMDB library assumes an OS with
> coherent file and mmap access (often referred to as 'unified buffer
> cache') which OpenBSD lacks. The LMDB port (and OpenLDAP) are patched to
> force MDB_WRITEMAP so all io goes through mmap. This has some drawbacks
> (and some advantages in certain circumstances) but as far as we know
> it's the only way we can run it. Obviously the copy bundled in py-lmdb
> doesn't have this patch.
> 
> "Use a writeable memory map unless MDB_RDONLY is set. This is
>   faster and uses fewer mallocs, but loses protection from application
>   bugs like wild pointer writes and other bad updates into the database.
>   Incompatible with nested transactions. Do not mix processes with and
>   without MDB_WRITEMAP on the same environment. This can defeat durability
>   (mdb_env_sync etc)."
> 
> (If I understand correctly, LMDB normally writes through file access,
> reads through mmap).
> 
> > Behaviour seemed erratic, including segmentation faults, but for a
> > while it seemed possible to avoid these by using alternative methods
> > supported by py-lmdb.  
> 
> Yes this sounds about the expected behaviour for the UBC problem.
> 
> You can try the port I've just posted to ports@ which uses the system
> lmdb library. https://marc.info/?l=openbsd-ports=167493896320807=2
> Alternatively set the flags from MAKE_ENV in that port while building
> py-lmdb manually.
> 
> 

Thanks for the explanation and the port.



py-lmdb often gets segmentation faults

2023-01-28 Thread Roger Marsh
Package lmdb-0.9.29 was installed; and py-lmdb, as a --user install, from PyPi 
so lmdb can be used from Python3.9.

Behaviour seemed erratic, including segmentation faults, but for a while it 
seemed possible to avoid these by using alternative methods supported by 
py-lmdb.

Eventually I got stuck and downloaded the project from 
github.com/jnwatson/py-lmdb/ to try running the address-book example and modify 
it toward something like the problem case at which I was stuck.

Running got a segmentation fault immediately but repeated retries after 
deleting the *.sem siblings of /tmp/address-book.lmdb got to a case where the 
run did not give a segmentation fault.

The first script below shows this and includes a list of installed packages and 
dmesg output.

The second script below is from an equivalent FreeBSD session and shows the 
address-book example giving the expected output.

I was assuming py-lmdb should just work, but notice FreeBSD has a port but not 
OpenBSD: so maybe assumption is wrong?


Script started on Sat Jan 28 12:59:27 2023
opendev$ uname -a
OpenBSD opendev.home 7.2 GENERIC.MP#758 amd64
opendev$ ls /tmp
sndio  vi.recover
opendev$ python3.9 py-lmdb-py-lmdb_1.4.0/examples/address-book.py
Segmentation fault (core dumped) 
opendev$ ls /y tmp
2192baec8c73f403a857cb5e31a384a8481d96ab965510ec63ad71da9798c522.sem
address-book.lmdb
eebfd9cc55a9dc2ab5b13550e78544804307f93944815b7760405d5dfeac1b0f.sem
sndio
vi.recover
opendev$ python3.9 py-lmdb-py-lmdb_1.4.0/examples/address-book.py
Segmentation fault (core dumped) 
opendev$ ls /tmp/*.sem
/tmp/2192baec8c73f403a857cb5e31a384a8481d96ab965510ec63ad71da9798c522.sem
/tmp/eebfd9cc55a9dc2ab5b13550e78544804307f93944815b7760405d5dfeac1b0f.sem
opendev$ 
opendev$ ls /tmp/*.sem  /tmp/*.sem  /tmp/*.sem 
r /tmp/*.semm /tmp/*.sem
opendev$ 
opendev$ rm /tmp/*.sem 
opendev$ ls /tmp/*.sem 
opendev$ python3.9 py-lmdb-py-lmdb_1.4.0/examples/address-book.py 
DB: home

DB: business

Updating number for dentist
Segmentation fault (core dumped) 
opendev$ 
opendev$ python3.9 py-lmdb-py-lmdb_1.4.0/examples/address-book.py 
opendev$ rm /tmp/*.sem

opendev$ 
opendev$ rm /tmp/*.sem 
opendev$ python3.9 py-lmdb-py-lmdb_1.4.0/examples/address-book.py 
DB: home

DB: business

Updating number for dentist
Deleting number for hospital

Home DB is now:
   b'dentist' b'01231'

Boss telephone number: b'0123151232'

Deleting all numbers from business DB:
Adding number for recruiter to business DB
Business DB is now:
   b'recruiter' b'04123125324'

opendev$ ls /tmp
address-book.lmdb   sndio   vi.recover
opendev$ 
opendev$ 
opendev$ ls /tmp 
opendev$ python3.9 py-lmdb-py-lmdb_1.4.0/examples/address-book.py 
DB: home
   b'recruiter' b'04123125324'

DB: business

Updating number for dentist
Deleting number for hospital

Home DB is now:
   b'dentist' b'01231'
   b'recruiter' b'04123125324'

Boss telephone number: None

Deleting all numbers from business DB:
Adding number for recruiter to business DB
Business DB is now:
   b'recruiter' b'04123125324'

opendev$ 
opendev$ python3.9 py-lmdb-py-lmdb_1.4.0/examples/address-book.py 
opendev$ ls /tmp  

address-book.lmdb   sndio   vi.recover
opendev$ 
opendev$ cat py-lmdb-py-lmdb_1.4.0/examples/address-book.py

import lmdb

# Open (and create if necessary) our database environment. Must specify
# max_dbs=... since we're opening subdbs.
env = lmdb.open('/tmp/address-book.lmdb', max_dbs=10)

# Now create subdbs for home and business addresses.
home_db = env.open_db(b'home')
business_db = env.open_db(b'business')


# Add some telephone numbers to each DB:
with env.begin(write=True) as txn:
txn.put(b'mum', b'012345678', db=home_db)
txn.put(b'dad', b'011232211', db=home_db)
txn.put(b'dentist', b'044415121', db=home_db)
txn.put(b'hospital', b'078126321', db=home_db)

txn.put(b'vendor', b'0917465628', db=business_db)
txn.put(b'customer', b'0553211232', db=business_db)
txn.put(b'coworker', b'0147652935', db=business_db)
txn.put(b'boss', b'0123151232', db=business_db)
txn.put(b'manager', b'0644810485', db=business_db)


# Iterate each DB to show the keys are sorted:
with env.begin() as txn:
for name, db in ('home', home_db), ('business', business_db):
print('DB:', name)
for key, value in txn.cursor(db=db):
print('  ', key, value)
print()


# Now let's update some phone numbers. We can specify the default subdb when
# starting the transaction, rather than pass it in every time:
with env.begin(write=True, db=home_db) as txn:
print('Updating number for dentist')
txn.put(b'dentist', b'01231')

print('Deleting number for hospital')
txn.delete(b'hospital')
print()


Python access to Berkeley DB

2022-12-17 Thread Roger Marsh
cal/lib/db4/libdb_tcl.so.6.0: undefined symbol 'Tcl_NewIntObj'
python3.9:/usr/local/lib/db4/libdb_tcl.so.6.0: undefined symbol 
'Tcl_SetObjResult'
python3.9:/usr/local/lib/db4/libdb_tcl.so.6.0: undefined symbol 'Tcl_NewObj'
python3.9:/usr/local/lib/db4/libdb_tcl.so.6.0: undefined symbol 
'Tcl_NewWideIntObj'
python3.9:/usr/local/lib/db4/libdb_tcl.so.6.0: undefined symbol 
'Tcl_ListObjGetElements'
python3.9:/usr/local/lib/db4/libdb_tcl.so.6.0: undefined symbol 
'Tcl_CreateObjCommand'
python3.9:/usr/local/lib/db4/libdb_tcl.so.6.0: undefined symbol 
'Tcl_ListObjAppendElement'
python3.9:/usr/local/lib/db4/libdb_tcl.so.6.0: undefined symbol 
'Tcl_NewByteArrayObj'
python3.9:/usr/local/lib/db4/libdb_tcl.so.6.0: undefined symbol 'Tcl_EvalObjv'
python3.9:/usr/local/lib/db4/libdb_tcl.so.6.0: undefined symbol 'TclFreeObj'
python3.9:/usr/local/lib/db4/libdb_tcl.so.6.0: undefined symbol 
'Tcl_GetObjResult'
python3.9:/usr/local/lib/db4/libdb_tcl.so.6.0: undefined symbol 
'Tcl_GetByteArrayFromObj'
python3.9:/usr/local/lib/db4/libdb_tcl.so.6.0: undefined symbol 
'Tcl_PkgProvideEx'
python3.9:/usr/local/lib/db4/libdb_tcl.so.6.0: undefined symbol 'Tcl_LinkVar'
python3.9:/usr/local/lib/db4/libdb_tcl.so.6.0: undefined symbol 
'Tcl_GetWideIntFromObj'
python3.9:/usr/local/lib/db4/libdb_tcl.so.6.0: undefined symbol 
'Tcl_GetIntFromObj'
python3.9:/usr/local/lib/db4/libdb_tcl.so.6.0: undefined symbol 
'Tcl_GetLongFromObj'
python3.9:/usr/local/lib/db4/libdb_tcl.so.6.0: undefined symbol 'Tcl_NewLongObj'
python3.9:/usr/local/lib/db4/libdb_tcl.so.6.0: undefined symbol 'Tcl_SetErrno'
python3.9:/usr/local/lib/db4/libdb_tcl.so.6.0: undefined symbol 'Tcl_PosixError'
python3.9:/usr/local/lib/db4/libdb_tcl.so.6.0: undefined symbol 
'Tcl_AppendResult'
python3.9:/usr/local/lib/db4/libdb_tcl.so.6.0: undefined symbol 
'Tcl_SetErrorCode'
python3.9:/usr/local/lib/db4/libdb_tcl.so.6.0: undefined symbol 
'Tcl_AddErrorInfo'
python3.9:/usr/local/lib/db4/libdb_tcl.so.6.0: undefined symbol 
'Tcl_AppendToObj'
Traceback (most recent call last):
  File "", line 1, in 
_tkinter.TclError: couldn't load file "/usr/local/lib/db4/libdb_tcl.so.6.0": 
Cannot load specified object
>>> exit()
d630amd64$ tclsh8.6
% package require sqlite3
3.39.2
% exit
d630amd64$ python3.9
Python 3.9.15 (main, Oct 21 2022, 14:01:40) 
[Clang 13.0.0 ] on openbsd7
Type "help", "copyright", "credits" or "license" for more information.
>>> import tkinter
>>> tcl = tkinter.Tk(useTk=False)
>>> tcl.tk.call("package", "require", "sqlite3")
'3.39.2'
>>> exit()
d630amd64$ ls /usr/local/lib/db4
libdb.a libdb_cxx.a libdb_tcl.a pkgIndex.tcl
libdb.lalibdb_cxx.lalibdb_tcl.la
libdb.so.5.0libdb_cxx.so.6.0libdb_tcl.so.6.0
d630amd64$ uname -a
OpenBSD d630amd64.home 7.2 GENERIC.MP#2 amd64
d630amd64$ exit

Script done on Sat Dec 17 11:53:34 2022

Thanks,

Roger



'python3.8 setup.py install' gets 'ZIP does not support timestamps before 1980' at OpenBSD 6.9

2021-05-10 Thread Roger Marsh
After upgrading to OpenBSD 6.9 'ValueError: ZIP does not support timestamps 
before 1980' exceptions started occuring when installing python packages by:

'python3.8 setup.py install --user' where the package was built by:

'python3.8 setup.py sdist --formats gztar' and extracted from the archive on 
OpenBSD 6.9 by:

'tar xzf *.tar.gz'.

The script below uses the packaging_tutorial_elijah-0.0.3 package downloaded 
from pypi.org and I apologise for not letting the job install the numpy 
dependency in the two cases which get that far.  The third case fails as 
described above.

Simply installing the downloaded package works.

Simulating the distribution and installation of a source package built from the 
downloaded code fails as described above.

If Python's tarfile module is used to extract the package from the locally 
created archive the installation works.

I have not seen problems with zip archives.

Source distributions built with python3.7 on OpenBSD 6.8 are installed by 
python3.8 on OpenBSD 6.9 after extracting with tar. 

Does anyone else see this behaviour?

Roger


Script started on Mon May 10 16:06:25 2021
opendev$ ls -l pte
total 8
-rw-r--r--  1 roger  roger  1253 May  9 23:08 
packaging_tutorial_elijah-0.0.3.tar.gz
opendev$ cd pte
opendev$ tar xzf packaging_tutorial_elijah-0.0.3.tar.gz
opendev$ ls -l *
-rw-r--r--  1 roger  roger  1253 May  9 23:08 
packaging_tutorial_elijah-0.0.3.tar.gz

packaging_tutorial_elijah-0.0.3:
total 48
-rw-r--r--  1 roger  roger  485 Mar 30 10:27 PKG-INFO
-rw-r--r--  1 roger  roger6 Mar 30 09:31 README.md
drwxr-xr-x  2 roger  roger  512 Mar 30 10:27 example_pkg
drwxr-xr-x  2 roger  roger  512 Mar 30 10:27 packaging_tutorial_elijah.egg-info
-rw-r--r--  1 roger  roger   42 Mar 30 10:27 setup.cfg
-rw-r--r--  1 roger  roger  751 Mar 30 10:27 setup.py
opendev$ python3.8 setup.py install --user
python3.8: can't open file 'setup.py': [Errno 2] No such file or directory
opendev$ cd packaging_tutorial_elijah-0.0.3
opendev$ python3.8 setup.py im nstall --user
running install
running bdist_egg
running egg_info
writing packaging_tutorial_elijah.egg-info/PKG-INFO
writing dependency_links to 
packaging_tutorial_elijah.egg-info/dependency_links.txt
writing requirements to packaging_tutorial_elijah.egg-info/requires.txt
writing top-level names to packaging_tutorial_elijah.egg-info/top_level.txt
reading manifest file 'packaging_tutorial_elijah.egg-info/SOURCES.txt'
writing manifest file 'packaging_tutorial_elijah.egg-info/SOURCES.txt'
installing library code to build/bdist.openbsd-6.9-amd64/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/example_pkg
copying example_pkg/hello.py -> build/lib/example_pkg
copying example_pkg/__init__.py -> build/lib/example_pkg
creating build/bdist.openbsd-6.9-amd64
creating build/bdist.openbsd-6.9-amd64/egg
creating build/bdist.openbsd-6.9-amd64/egg/example_pkg
copying build/lib/example_pkg/hello.py -> 
build/bdist.openbsd-6.9-amd64/egg/example_pkg
copying build/lib/example_pkg/__init__.py -> 
build/bdist.openbsd-6.9-amd64/egg/example_pkg
byte-compiling build/bdist.openbsd-6.9-amd64/egg/example_pkg/hello.py to 
hello.cpython-38.pyc
byte-compiling build/bdist.openbsd-6.9-amd64/egg/example_pkg/__init__.py to 
__init__.cpython-38.pyc
creating build/bdist.openbsd-6.9-amd64/egg/EGG-INFO
copying packaging_tutorial_elijah.egg-info/PKG-INFO -> 
build/bdist.openbsd-6.9-amd64/egg/EGG-INFO
copying packaging_tutorial_elijah.egg-info/SOURCES.txt -> 
build/bdist.openbsd-6.9-amd64/egg/EGG-INFO
copying packaging_tutorial_elijah.egg-info/dependency_links.txt -> 
build/bdist.openbsd-6.9-amd64/egg/EGG-INFO
copying packaging_tutorial_elijah.egg-info/requires.txt -> 
build/bdist.openbsd-6.9-amd64/egg/EGG-INFO
copying packaging_tutorial_elijah.egg-info/top_level.txt -> 
build/bdist.openbsd-6.9-amd64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/packaging_tutorial_elijah-0.0.3-py3.8.egg' and adding 
'build/bdist.openbsd-6.9-amd64/egg' to it
removing 'build/bdist.openbsd-6.9-amd64/egg' (and everything under it)
Processing packaging_tutorial_elijah-0.0.3-py3.8.egg
Removing 
/home/roger/.local/lib/python3.8/site-packages/packaging_tutorial_elijah-0.0.3-py3.8.egg
Copying packaging_tutorial_elijah-0.0.3-py3.8.egg to 
/home/roger/.local/lib/python3.8/site-packages
packaging-tutorial-elijah 0.0.3 is already the active version in 
easy-install.pth

Installed 
/home/roger/.local/lib/python3.8/site-packages/packaging_tutorial_elijah-0.0.3-py3.8.egg
Processing dependencies for packaging-tutorial-elijah==0.0.3
Searching for numpy
Reading https://pypi.org/simple/numpy/
Download error on https://pypi.org/simple/numpy/: [Errno -5] no address 
associated with name -- Some packages may not be found!
Couldn't find index page for 'numpy' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.org/simple/
Download error

Re: LibreOffice, and others, not usable via ssh at OpenBSD 6.4

2019-05-15 Thread Roger Marsh
On Sun, 12 May 2019 17:28:15 +0200
Normen Wohner  wrote:

> Did you try setting the $DISPLAY?
> In the past I had situations where ssh starts 
> DISPLAY=:1 if there is already a session running on 
> the server. Also sometimes I had to specify 
> DISPLAY=:0. Would be news to me that Open has 
> issues with this however 
> 
> On May 12, 2019, at 11:27, Roger Marsh  wrote:
> > I am guessing, but the following explanation of the 'ssh -Y hostname 
> > libreoffice' problem seems reasonable.  Libreoffice asks 'is accelerated 
> > graphics available?' and gets a yes or no answer depending on the driver 
> > availble on hostname.   
> 
> maybe either of you could try to just ssh -Y (-X if on 
> a corresponding machine) and then start Libreoffice 
> to get some verbose output on the issue.
> If it complains about being unable to open the 
> Xsession it should already be running and you can 
> try stuff like DISPLAY=:1 libreoffice
> 

'ssh -X hostname libreoffice' works.  Same for the others, seamonkey etc, with 
problem.  Years ago 'ssh -X ..' did not work for the applications I was using, 
and I assumed it did not work now too.

It is possible to stop 'ssh -X hostname libreoffice' working by throwing in a 
'ssh hostname libreoffice' or 'ssh -Y hostname libreoffice' command.  'ssh -X 
hostname seamonkey' still works, and neither 'ssh hostname seamonkey' nor 'ssh 
-Y hostname seamonkey' cause 'ssh -X hostname libreoffice' to stop working.  
The only way out found is reboot hostname.

'ssh a@hostname libreoffice' does not stop 'ssh -X b@hostname libreoffice' 
working.

Roger



Re: LibreOffice, and others, not usable via ssh at OpenBSD 6.4

2019-05-12 Thread Roger Marsh
> On Sat, 27 Oct 2018 at 12:42, Roger Marsh  wrote:
> >
> > After upgrading to OpenBSD 6.4 found it was no longer possible to use 
> > libreoffice, seamonkey, firefox, chrome, and gnumeric, by commands like 
> > 'ssh -Y hostname libreoffice'.
> > Python idle, xpdf, and claws-mail, are still usable like 'ssh -Y hostname 
> > claws-mail'.
> > On attaching a monitor, keyboard, and mouse, to hostname: libreoffice and 
> > the others are usable by commands like 'libreoffice'.
> >
> > Surely I am missing something obvious?
> >

I see this after upgrading to OpenBSD 6.5 too.  Commands like 'ssh -Y hostname 
libreoffice', where hostname refers to a FreeBSD 11.2 box upgraded to 12.0 in 
December 2018, worked on OpenBSD 6.3 before and after the FreeBSD upgrade, and 
at 6.4 and still work at 6.5.  (Good, but what happens when the time comes to 
upgrade FreeBSD?)

Commands like 'ssh -Y hostname libreoffice' succeed or fail on a FreeBSD 12.0 
Xserver box depending on which video driver is installed.  It does not matter 
if hostname is the FreeBSD 12.0 box referred to in previous paragraph or an 
OpenBSD 6.5 box with libreoffice installed.

The FreeBSD 12.0 Xserver has the xorg and fvwm ports installed by 'pkg install'.

With drm-legacy-kmod, for the 'intel Q45' chip, the outcome of 'ssh -Y hostname 
libreoffice' is similar to what is seen on OpenBSD 6.5 Xserver.  (What I see on 
the monitor is the same: startup of LibreOffice freezes when the progress bar 
on the initial LibreOffice display is about 75% full.)

With xf86-video-intel the outcome is similar to what was seen on OpenBSD 6.3 
Xserver: LibreOfice works.

LibreOffice works too without either drm-legacy-kmod or xf86-video-intel, but 
whatever driver is used does not see the 1920x1080 monitor as such.  (Snippets 
of xorg.conf instructions did not help before I gave up.)

I assume the difference between OpenBSD 6.3 and OpenBSD 6.4 (and 6.5) in this 
context is like the difference between xf86-video-intel and drm-legacy-kmod on 
FreeBSD 12.0.

The FreeBSD 12.0 box running LibreOffice is setup with a minimal X 
installation.  Just xauth, xterm, and xorg-fonts, are named in the 'pkg 
install' command.

(I think netsurf gets installed and thrown out because of a clash between 
utf8proc-2.2.0 and libutf8proc-1.3.1.3 when subversion is installed: at least 
right now.)

pkg install --quiet --yes \
xauth \
xterm \
xorg-fonts \
dvd+rw-tools \
cdrtools \
subversion \
gnuchess \
stockfish \
py37-tkinter \
py36-tkinter \
py35-tkinter \
py36-twine \
py37-sqlite3 \
py36-apsw \
py35-setuptools \
py36-setuptools \
py37-setuptools \
tcl85 \
tcl86 \
tcl87 \
tk85 \
tk86 \
tk87 \
tnef \
claws-mail \
poppler-utils \
xpdf \
evince-lite \
zip \
bzip2 \
unzip \
p7zip \
gnumeric \
gmake \
antiword \
seamonkey \
firefox \
chromium \
netsurf \
libreoffice \
en_GB-libreoffice \
abiword \
abiword-docs \
nginx \
en-freebsd-doc \
db5 \
doas


I am guessing, but the following explanation of the 'ssh -Y hostname 
libreoffice' problem seems reasonable.  Libreoffice asks 'is accelerated 
graphics available?' and gets a yes or no answer depending on the driver 
availble on hostname.  The 'no' answer causes no problem for the Xserver, but 
the 'yes' answer causes the Xserver to say 'you cannot write directly to my 
driver' when LibreOffice is started via ssh.

Roger



Re: LibreOffice, and others, not usable via ssh at OpenBSD 6.4

2018-10-30 Thread Roger Marsh
Tom,
I had not noticed the appearance of /etc/installurl nor the recommendation to 
do pkg_add as you suggest.

Tried 'pkg_add -x xpdf gnumeric libreoffice seamonkey' without PKG_PATH on a 
spare machine with a fresh install of OpenBSD 6.4 and got the same result as 
before.

'ssh -Y hostname xpdf' works but 'ssh -Y hostname ' 
does not work.

On Sat, 27 Oct 2018 12:55:44 +0100
Tom Smyth  wrote:

> Hi Roger,
> Remove PKG_PATH enviornment variable and
> populate /etc/installurl with something like
> 
> https://cdn.openbsd.org/pub/OpenBSD
> 
> and retry your package updates...
> 
> 
> On Sat, 27 Oct 2018 at 12:42, Roger Marsh  wrote:
> >
> > After upgrading to OpenBSD 6.4 found it was no longer possible to use 
> > libreoffice, seamonkey, firefox, chrome, and gnumeric, by commands like 
> > 'ssh -Y hostname libreoffice'.
> > Python idle, xpdf, and claws-mail, are still usable like 'ssh -Y hostname 
> > claws-mail'.
> > On attaching a monitor, keyboard, and mouse, to hostname: libreoffice and 
> > the others are usable by commands like 'libreoffice'.
> >
> > Surely I am missing something obvious?
> >
> > I know I risk diverting attention from the real problem, but I could not 
> > help noticing libreoffice and the others which do not work got caught up in 
> > a problem with downloading packages to a cache by 'pkg_add -x -n  > list>'; which I thought was fixed by 'pkg_add -x ' followed 
> > by 'pkg_add -x ' on other hosts over NFS from the 
> > cache.
> >
> > The script with errors is:
> >
> > Script started on Mon Oct 22 12:51:16 2018
> > openbsdsrc# export PKG_CACHE=/home/david/6.4/packages/
> >
> > openbsdsrc# export 
> > PKG_PATH=$PKG_CACHE:https://www.mirrorservice.org/pub/OpenB
> > //www.mirrorservice.org/pub/OpenB   
> >   <  SD/6.4/packages/amd64/
> >
> > openbsdsrc#
> >
> > openbsdsrc# pkg_info
> >
> > intel-firmware-20180807p0v0 microcode update binaries for Intel CPUs
> > quirks-2.414exceptions to pkg_add rules
> > openbsdsrc# pkg_delete -x quirks
> >
> > openbsdsrc# pkg_info
> >
> > intel-firmware-20180807p0v0 microcode update binaries for Intel CPUs
> > openbsdsrc# pkg_add -x quirks
> >
> > file:/home/david/6.4/packages/: empty
> > quirks-3.16 signed on 2018-10-12T15:26:25Z
> > openbsdsrc#
> >
> > openbsdsrc# pkg_add -x -n ee firefox subversion xpdf zip bzip2 unzip 
> > ssvnc-vie
> > on xpdf zip bzip2 unzip ssvnc-vie   
> >   <  wer gnuchess seamonkey 
> > firefox-i18n-en-GB sea
> > uchess seamonkey firefox-i18n-en-GB sea 
> >   <monkey-i18n-en-GB mplayer 
> > gnome-mplayer
> > monkey-i18n-en-GB mplayer gnome-mplayer 
> >   < get_iplayer mpg123 xmms2 vlc 
> > p7zo   ip lib
> >  get_iplayer mpg123 xmms2 vlc p7zip lib 
> >   <reoffice gnumeric abiword 
> > stockfish chr
> > reoffice gnumeric abiword stockfish chr 
> >   <omium claws-mail su   ylpheed 
> > antiword popp
> > omium claws-mail sylpheed antiword popp 
> >   <ler-utils py3-bsddb3 py3-cython 
> > py3-aps
> > ler-utils py3-bsddb3 py3-cython py3-aps 
> >   <w gmake py-sphinx go-fonts 
> > liberation-f
> > w gmake py-sphinx go-fonts liberation-f 
> >   <onts ubuny   tu-fonts apl-fonts 
> > midori dvd+
> > onts ubuntu-fonts apl-fonts midori dvd+ 
> >   <rw-tools python-3.6.6p1.tgz 
> > python-tkin
> > rw-tools python-3.6.6p1.tgz python-tkin 
> >   <ter-3.6.6.p1.tgz 
> > python-idle-3.6.6 p1.tgz python-idle-3.6.6  
> > p1.tgz python-idle-3.6.6p1.tgz
> > ter-3.6.6p1.tgz python-idle-3.6.6p1.tgz 
> >   < py3-setuptools 
> > evince-3.2

LibreOffice, and others, not usable via ssh at OpenBSD 6.4

2018-10-27 Thread Roger Marsh
After upgrading to OpenBSD 6.4 found it was no longer possible to use 
libreoffice, seamonkey, firefox, chrome, and gnumeric, by commands like 'ssh -Y 
hostname libreoffice'.
Python idle, xpdf, and claws-mail, are still usable like 'ssh -Y hostname 
claws-mail'.
On attaching a monitor, keyboard, and mouse, to hostname: libreoffice and the 
others are usable by commands like 'libreoffice'.

Surely I am missing something obvious?

I know I risk diverting attention from the real problem, but I could not help 
noticing libreoffice and the others which do not work got caught up in a 
problem with downloading packages to a cache by 'pkg_add -x -n '; 
which I thought was fixed by 'pkg_add -x ' followed by 'pkg_add 
-x ' on other hosts over NFS from the cache.

The script with errors is:

Script started on Mon Oct 22 12:51:16 2018
openbsdsrc# export PKG_CACHE=/home/david/6.4/packages/

openbsdsrc# export PKG_PATH=$PKG_CACHE:https://www.mirrorservice.org/pub/OpenB
//www.mirrorservice.org/pub/OpenB 
<SD/6.4/packages/amd64/

openbsdsrc# 

openbsdsrc# pkg_info

intel-firmware-20180807p0v0 microcode update binaries for Intel CPUs
quirks-2.414exceptions to pkg_add rules
openbsdsrc# pkg_delete -x quirks

openbsdsrc# pkg_info

intel-firmware-20180807p0v0 microcode update binaries for Intel CPUs
openbsdsrc# pkg_add -x quirks

file:/home/david/6.4/packages/: empty
quirks-3.16 signed on 2018-10-12T15:26:25Z
openbsdsrc# 

openbsdsrc# pkg_add -x -n ee firefox subversion xpdf zip bzip2 unzip ssvnc-vie
on xpdf zip bzip2 unzip ssvnc-vie 
<wer gnuchess seamonkey 
firefox-i18n-en-GB sea
uchess seamonkey firefox-i18n-en-GB sea   


assign process to cpu (core)

2016-12-08 Thread Roger Schreiter
Hello,

is there a mean to get a running process running on
a certain cpu (core)? Or restrict it from running on a cpu?

I have a cheap Atom CPU with four cores, and all interrupts,
also network traffic, is using CPU0.

Thus I would like, bgpd does not use CPU0 at all, in order
to avoid, havy cpu load by bpg causes network bottle neck.

Regards,
Roger.



Re: Ospf multiple areas not redistributing

2015-09-04 Thread Roger Skjetlein
  10.0.10.100   Intra-Area   Network   20
 00:05:49
10.0.1.0/24  10.0.10.100   Intra-Area   Network   20
 00:05:49
10.0.10.0/24 10.0.10.50Intra-Area   Network   10
 00:05:49
10.0.11.128/30   10.0.10.200   Inter-Area   Network   40
 00:05:49
10.0.11.130/32   10.0.10.200   Inter-Area   Network   30
 00:05:49
10.0.11.132/30   10.0.10.200   Inter-Area   Network   20
 00:05:49
10.0.20.0/24 10.0.10.200   Inter-Area   Network   40
 00:05:49


On Wed, Sep 2, 2015 at 1:21 PM, Gregory Edigarov <ediga...@qarea.com> wrote:

> On 09/02/2015 10:31 AM, Roger Skjetlein wrote:
>
>> Hi,
>>
>>
>> have an issue with ospfd when using multiple areas and networks from area
>> 10.0.30.0 not distributed to 0.0.0.0.
>>
>> eg
>>
>> excerpt from config
>>
>> area 0.0.0.0 {
>>   interface gre0
>>   interface gre1
>> }
>> area 10.0.30.0 {
>>   interface em0
>> }
>>
>> the network for em0 is 10.0.30.0/24 and is never seen in ospf routing
>> table. Moving interface em0 to area 0.0.0.0 solves the distribution of the
>> network, but not having multiple areas.
>>
> please show more info, specifically ospfctl sh database, ospfctl sh rib
> from at least two routers in your network.
>
>


--
"Over vidden flyger renen;
efter den i vind og væde! -
Bedre det, end bryde stenen
op af fattig jord dernede!"



Re: Ospf multiple areas not redistributing

2015-09-04 Thread Roger Skjetlein
On Wed, Sep 2, 2015 at 1:54 PM, Kapetanakis Giannis <
bil...@edu.physics.uoc.gr> wrote:

> On 02/09/15 10:31, Roger Skjetlein wrote:
>
>> Hi,
>>
>>
>> have an issue with ospfd when using multiple areas and networks from area
>> 10.0.30.0 not distributed to 0.0.0.0.
>>
>> eg
>>
>> the network for em0 is 10.0.30.0/24 and is never seen in ospf routing
>> table. Moving interface em0 to area 0.0.0.0 solves the distribution of the
>> network, but not having multiple areas.
>>
>> OpenBSD 5.7/i386
>>
>
> I also have the exact same issue and solved it by moving to area 0.0.0.0
>
> Check out this thread
> http://marc.info/?l=openbsd-misc=136995074911854=2
> don't know it's current status and what happened with the patch.
>
> hint: if you have a second ospf router on 10.0.30.0 area then the route is
> distributed.
>
>
>
Yes, saw your thread on this and was suprised that this still was an issue
when i could get the other area subnet to be distributed in the network.
Followed your recommendation/workaround and the network was distributed,
but it didnt really solve my problem, that is to have several areas.


--
"Over vidden flyger renen;
efter den i vind og væde! -
Bedre det, end bryde stenen
op af fattig jord dernede!"



Ospf multiple areas not redistributing

2015-09-02 Thread Roger Skjetlein
Hi,


have an issue with ospfd when using multiple areas and networks from area
10.0.30.0 not distributed to 0.0.0.0.

eg

excerpt from config

area 0.0.0.0 {
 interface gre0
 interface gre1
}
area 10.0.30.0 {
 interface em0
}

the network for em0 is 10.0.30.0/24 and is never seen in ospf routing
table. Moving interface em0 to area 0.0.0.0 solves the distribution of the
network, but not having multiple areas.

OpenBSD 5.7/i386


--
"Over vidden flyger renen;
efter den i vind og væde! -
Bedre det, end bryde stenen
op af fattig jord dernede!"



5.5 panic in ffs_blkfree

2014-08-24 Thread Roger Hammerstein
sorry, i could not get the panic string

ddb{3} trace
Debugger() at Debugger+0x5
panic() at panic+0xee
ffs_blkfree() at ffs_blkfree+0x717
ffs_indirtrunc() at ffs_indirtrunc+0x2ac
ffs_indirtrunc() at ffs_indirtrunc+0x28e
ffs_truncate() at ffs_truncate+0xb45
ufs_inactive() at ufs_inactive+0x109
VOP_INACTIVE() at VOP_INACTIVE+0x28
vput() at vput+0x3e
ufs_rename() at ufs_rename+0xdb0
VOP_RENAME() at VOP_RENAME+0x3b
dorenameat() at dorenameat+0x249
syscall() at syscall+0x24f
--- syscall (number 128) ---
end trace frame: 0x0, count: -13
0xe66317e083a:
ddb{3}


dell  r310, dns server with isc-bind port rotatinglogs on /var,  no
softupdates.





OpenBSD  5.5 GENERIC.MP#315 amd64
OpenBSD 5.5 (GENERIC.MP) #315: Wed Mar  5 09:37:46 MST 2014
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 17153232896 (16358MB)
avail mem = 16688005120 (15914MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xbf79c000 (66 entries)
bios0: vendor Dell Inc. version 1.6.4 date 03/03/2011
bios0: Dell Inc. PowerEdge R310



Re: OpenBSD 5.5 on mSATA SSD unit in PC Engines APU.1C - bad dir ino 2 at offset 0: mangled entry kernel panic

2014-06-20 Thread Roger Wiklund
No problems so far with Intel mSATA 525 30GB.

On a side note I'm a bit worried about the CPU temperate, almost 70
degrees C during normal load.

On Thu, Jun 12, 2014 at 9:49 PM, Chris Cappuccio ch...@nmedia.net wrote:
 Happy to report that Plextor M6M (msata) passes all the tests so far,
 unlike msata Sandisk X110.



Re: OpenBSD 5.5 on mSATA SSD unit in PC Engines APU.1C - bad dir ino 2 at offset 0: mangled entry kernel panic

2014-06-20 Thread Roger Wiklund
Did some tests (cold Swedish midsummer around 12C outside)

Bedroom floor near open window
1:48PM  up  1:06, 1 user, load averages: 0.29, 0.17, 0.11
hw.sensors.km0.temp0=58.00 degC

Kitchen countertop, no open windows
3:01PM  up  1:09, 1 user, load averages: 0.11, 0.09, 0.08
hw.sensors.km0.temp0=64.25 degC

Closed closet where I have my other server/networking stuff
4:14PM  up  1:10, 1 user, load averages: 0.20, 0.11, 0.09
hw.sensors.km0.temp0=68.00 degC

Max temp for the CPU is 90C
http://www.amd.com/Documents/49282_G-Series_platform_brief.pdf

On Fri, Jun 20, 2014 at 2:11 PM, Liviu Daia liviu.d...@gmail.com wrote:
 On 20 June 2014, Zé Loff zel...@zeloff.org wrote:
 On Fri, Jun 20, 2014 at 11:40:02AM +0200, Roger Wiklund wrote:
  No problems so far with Intel mSATA 525 30GB.
 
  On a side note I'm a bit worried about the CPU temperate, almost 70
  degrees C during normal load.

 Same here: 70-75C, for a 0.2 average load. The case gets pretty hot,
 so I'm guessing I installed the heatsink correctly...

 The case itself is the sink. :)

 Does anyone have (much) lower figures?

 No, this seems to be common.  I managed to lower the temperature a
 little by rising the case legs, so that there's better air circulation
 below it.  Room temperature makes a big difference too.

 Regards,

 Liviu Daia



Re: panic softdep_deallocate_dependencies

2013-07-19 Thread Roger Hammerstein
i had another machine panic with this, and no disk errors.amd64, openbsd 5.3.
it looks like outlook or the demimer ate the dmesg of my last message.

on reboot, /var needed manual fscking, and some bind logfiles were
unreferencedand put in lost+found.






ddb{0} show panic
softdep_deallocate_dependencies: unrecovered I/O error
ddb{0} trace
Debugger() at Debugger+0x5
panic() at panic+0xe4
softdep_deallocate_dependencies() at softdep_deallocate_dependencies+0x43
brelse() at brelse+0x68
sd_buf_done() at sd_buf_done+0x7a
mpi_intr() at mpi_intr+0x40
Xintr_ioapic_edge18() at Xintr_ioapic_edge18+0xe8
--- interrupt ---
Bad frame pointer: 0x800026132f10
end trace frame: 0x800026132f10, count: -7
cpu_idle_cycle+0x13:
ddb{0}


ddb{0} ps
   PID   PPID   PGRPUID  S   FLAGS  WAIT  COMMAND
  1676   7380   1676  0  30x80  ttyin ksh
  7380  16232   7380  0  30x88  pause ksh
 16232  28134  16232   1000  30x88  pause ksh
 28134   7618   7618   1000  30x80  selectsshd
  7618   5766   7618  0  30x80  poll  sshd
 30029  1  22491 70  3   0x4100080  kqreadnamed
 14696  1  22491 70  3   0x4100080  thrsleep  named
  8590  1  22491 70  3   0x4100080  thrsleep  named
 24645  1  22491 70  3   0x4100080  thrsleep  named
  4014  1  22491 70  3   0x4100080  thrsleep  named
 17408  1  22491 70  3   0x410  getblknamed
  4351  1  22491 70  3   0x4100080  thrsleep  named
 17728  1  22491 70  3   0x4100080  thrsleep  named
 18529  1  22491 70  3   0x4100080  thrsleep  named
 16617  1  22491 70  3   0x4100080  thrsleep  named
 22491  1  22491 70  30x80  sigwait   named
 10069  25041  10069  0  30x80  ttyin ksh
 25041   9889  25041  0  30x88  pause ksh



# bioctl sd0Volume  Status   Size Device
 mpi0 0 Online   499558383104 sd0 RAID1
  0 Online   500107861504 0:9.0   noencl ATA WDC
WD5003ABYX-11S02
  1 Online   500107861504 0:1.0   noencl ATA WDC
WD5003ABYX-11S02

mpi0 at pci3 dev 0 function 0 Symbios Logic SAS1068E rev 0x08: msi

scsibus0 at mpi0: 112 targets
sd0 at scsibus0 targ 0 lun 0: Dell, VIRTUAL DISK, 1028 SCSI3 0/direct fixed
naa.



Re: Transferring Multimedia Files from Mac OS X to OpenBSD

2013-03-13 Thread Roger Wiklund
On Wed, Mar 13, 2013 at 1:54 PM, James Griffin j...@kontrol.kode5.net wrote:
 Hi

 I have decided to sell my Mac computer as I'm totally skint, being a
 student. But, I would like to preserve the Music and Videos I've got on
 it -- mainly from iTunes -- and transfer them to my OpenBSD system so I
 can play them.

 Is it simply a case of creating a tar file of the music files and
 copying them over? Will the encoding (mostly mp4, mp4 and mp4a) be ok to
 use as-is or will I need to do some extra processing on them using
 some tool or other? I've got mplayer and vlc player installed which I
 hope I can use to play them, etc.

 Has anyone had experience with this type of thing and able to offer some
 info about the steps, if any, I need to take?

 Thanks in advance for any help offered.

 Best wishes, James.

I would say VLC can play almost anything. One problem would be DRM
though, if you bought stuff from iTunes that has DRM, those files are
locked to your iTunes/Mac/Apple ID (not sure which one it is)

Just go ahead and copy the files before you sell it and test it out on
OpenBSD. There are ways around DRM, for example in iTunes burn the
songs to a CD and then rip them, DRM free.



Re: OpenBSD 5.2 AHCI problems with IBM x3250 M4

2013-03-12 Thread Roger Wiklund
On Sun, Mar 10, 2013 at 6:21 PM, Nick Holland
n...@holland-consulting.net wrote:
 Please keep it on the list...

 On 03/10/13 06:38, Roger Wiklund wrote:
 ...
 AHCI mode enabled and booting from CD:

 CD-ROM: 94
 Loading /5.2/I386/CDBOOT
 probing: pc0 pci mem[628K 3055M 444K 3M 1024M a20=on]
 disk: cd0
 OpenBSD/i386 CDBOOT 3.17
 boot boot hd0a:/bsd
 booting hd0a:/bsd

 And then it hangs, I've tried hd0a, hd1a, hd2a etc, same result.
 Looks like it can only find the cd0.

 yep, and that's your problem.  the BIOS is only exposing the CD to the
 boot system; your machine is broke.
 ...

 As someone suggested, check for firmware upgrades.  This system is
 probably incompatible with any non-UEFI OS, I doubt they want that.  If
 they do, return to vendor, they don't want your business.


 Nick.

Thanks!

Sorry, forgot to hit reply all.
I've sent a query to IBM regarding the issue.

I was thinking of a workaround base on the FAQ:

Kernel: /bsd: This is the goal of the boot process, to have the
OpenBSD kernel loaded into RAM and properly running. Once the kernel
has loaded, OpenBSD accesses the hardware directly, no longer through
the BIOS.

Is it possible to install the system in AHCI mode, then boot with a
bootable CD that contains the installed kernel, load it and when
OpenBSD then has access to the hardware tell it to mount the disk and
load the rest as usual?

Regards
Roger



Re: OpenBSD 5.2 AHCI problems with IBM x3250 M4

2013-03-12 Thread Roger Wiklund
On Tue, Mar 12, 2013 at 12:20 PM, Roger Wiklund roger.wikl...@gmail.com wrote:
 On Sun, Mar 10, 2013 at 6:21 PM, Nick Holland
 n...@holland-consulting.net wrote:
 Please keep it on the list...

 On 03/10/13 06:38, Roger Wiklund wrote:
 ...
 AHCI mode enabled and booting from CD:

 CD-ROM: 94
 Loading /5.2/I386/CDBOOT
 probing: pc0 pci mem[628K 3055M 444K 3M 1024M a20=on]
 disk: cd0
 OpenBSD/i386 CDBOOT 3.17
 boot boot hd0a:/bsd
 booting hd0a:/bsd

 And then it hangs, I've tried hd0a, hd1a, hd2a etc, same result.
 Looks like it can only find the cd0.

 yep, and that's your problem.  the BIOS is only exposing the CD to the
 boot system; your machine is broke.
 ...

 As someone suggested, check for firmware upgrades.  This system is
 probably incompatible with any non-UEFI OS, I doubt they want that.  If
 they do, return to vendor, they don't want your business.


 Nick.

 Thanks!

 Sorry, forgot to hit reply all.
 I've sent a query to IBM regarding the issue.

 I was thinking of a workaround base on the FAQ:

 Kernel: /bsd: This is the goal of the boot process, to have the
 OpenBSD kernel loaded into RAM and properly running. Once the kernel
 has loaded, OpenBSD accesses the hardware directly, no longer through
 the BIOS.

 Is it possible to install the system in AHCI mode, then boot with a
 bootable CD that contains the installed kernel, load it and when
 OpenBSD then has access to the hardware tell it to mount the disk and
 load the rest as usual?

 Regards
 Roger

Ah, boot -a from the installation cd lets me pick the root device.
However it hangs when I'm prompted root device (default cd0a):

Anyone come across this?



Re: OpenBSD 5.2 AHCI problems with IBM x3250 M4

2013-03-12 Thread Roger Wiklund
On Tue, Mar 12, 2013 at 3:43 PM, Roger Wiklund roger.wikl...@gmail.com wrote:
 On Tue, Mar 12, 2013 at 12:20 PM, Roger Wiklund roger.wikl...@gmail.com 
 wrote:
 On Sun, Mar 10, 2013 at 6:21 PM, Nick Holland
 n...@holland-consulting.net wrote:
 Please keep it on the list...

 On 03/10/13 06:38, Roger Wiklund wrote:
 ...
 AHCI mode enabled and booting from CD:

 CD-ROM: 94
 Loading /5.2/I386/CDBOOT
 probing: pc0 pci mem[628K 3055M 444K 3M 1024M a20=on]
 disk: cd0
 OpenBSD/i386 CDBOOT 3.17
 boot boot hd0a:/bsd
 booting hd0a:/bsd

 And then it hangs, I've tried hd0a, hd1a, hd2a etc, same result.
 Looks like it can only find the cd0.

 yep, and that's your problem.  the BIOS is only exposing the CD to the
 boot system; your machine is broke.
 ...

 As someone suggested, check for firmware upgrades.  This system is
 probably incompatible with any non-UEFI OS, I doubt they want that.  If
 they do, return to vendor, they don't want your business.


 Nick.

 Thanks!

 Sorry, forgot to hit reply all.
 I've sent a query to IBM regarding the issue.

 I was thinking of a workaround base on the FAQ:

 Kernel: /bsd: This is the goal of the boot process, to have the
 OpenBSD kernel loaded into RAM and properly running. Once the kernel
 has loaded, OpenBSD accesses the hardware directly, no longer through
 the BIOS.

 Is it possible to install the system in AHCI mode, then boot with a
 bootable CD that contains the installed kernel, load it and when
 OpenBSD then has access to the hardware tell it to mount the disk and
 load the rest as usual?

 Regards
 Roger

 Ah, boot -a from the installation cd lets me pick the root device.
 However it hangs when I'm prompted root device (default cd0a):

 Anyone come across this?

I compiled a custom kernel with the root path hard coded to sd0a, put
that on the CD and then it worked.
I think it's an OK workaround until IBM fixes the uEFI problem.

Did a simple dd with bs=1M count=1024M.

SSD
IDE write = 175MB/s
AHCI write = 250MB/s

Pretty significant difference.



OpenBSD 5.2 AHCI problems with IBM x3250 M4

2013-03-09 Thread Roger Wiklund
If I enable AHCI mode in UEFI/BIOS and boot from the cd52.iso, the
installation finds the disk (sd0) and I can setup everything in fdisk
and complete the installation.
However when I reboot, the system can't find any operation system.

It works if I change it to IDE mode, but I don't want that.
VMware ESXi 5.1 installs and boots just fine with AHCI mode.

I'm trying to figure out if the problem is with OpenBSD or my hardware
as the x3250 M4 runs UEFI and I guess has some sort of BIOS emulation.

I've tried 5.3 snapshot with the same result.

Any pointers?

Thanks!



Re: How to deal with DDoS ?

2012-02-22 Thread Roger S.
On Tue, Feb 21, 2012 at 9:51 PM, Joachim Schipper
joac...@joachimschipper.nl wrote:
 Just the most obvious idea, since you mention that this sort-of-works if
 you put block drop in quick from !whitelisted_users: does it handle
 this load if you turn off pf, or only include one or two trivial rules?

Did not try to turn off pf (I need it anyway), and my pf.conf is very
simple and already optimized following the good book of pf and some
undeadly posts.

 It certainly suggests that you may be well-served by optimizing your
 pf.conf... (also, you've probably found the synproxy directive? If
 not, try that too.)

I already use synproxy, the problem is that I get so much SYN that
pf/state table collapses.

 Also, state tracking is apparently faster than stateless pf for normal
 firewalls. I'd double-check if this is still true in your case, though;
 if nothing else, stateless pf makes a CARP'ed setup easier.

I am not sure to understand here. I want to use synproxy to protect my
backend servers, so I need state stracking.

 I'm pretty sure you can muck with the rules without dropping existing
 connections. (pf essentially does does this packet match a known state?
 If not, look at pf.conf.) This is almost certainly easier than your
 proposed daemon.

Sure thing, the daemon is only a workaround to provide degraded but
working service when under attack.

 A final, rather hackish, idea that probably does need a bit of
 programming: greylisting for SYNs. Legitimate users will send you a
 second SYN, so you could do something like (this has not even been
 syntax-checked!)
  block drop log in quick from !syn_seen no state flags S/SA

I like the idea. This may need some programming indeed, but it seems
even better than my idea. Thanks, I'll take a look at this.

 and then add every logged IP to syn_seen. Obviously, this will slow down
 access to the service for legitimate users, which may or may not be
 acceptable.

We are speaking of a slower but working service, or no service at all.
I prefer the first alternative :)



How to deal with DDoS ?

2012-02-20 Thread Roger S.
Greetings misc@

I am facing regular and consequent DDoS, and I would like to know how
the OpenBSD community deal with these. Hints and inputs welcome.

The obvious first : my input pipes are not filled, there is plenty of
bandwith available for my regular users. As OpenBSD is not enough (in
my setup, I am sure there is a solution) to mitigate such attacks we
use a proprietary product, but this solution has some undesirable
side-effects and is not a viable long term solution for us.

Methodology is more or less always the same :
- massive UDP flood   :   2 Gbps / 150 Kpps - dropped
directly on the router, not a problem
- moderate ICMP flood :  10 Mbps /  12 Kpps
- moderate IP fragments flood : 380 Mbps /  57 Kpps
- moderate TCP RST flood  :  10 Mbps /  30 Kpps
- massive TCP SYN flood   : 640 Mbps /   2 Mpps - yup, that hurts

So, UDP never ever reaches my OpenBSD box. The SYN are made with a
very vicious method : each used IP send exactly one SYN, but there are
millions of them (traffic probably spoofed, but can not use uRPF as we
have asymmetric traffic and routes). I tried to set limit states with
1M entries, and it was quickly filled (tried 5M but the box collapses
way before that). So in the end, the state table collapses and no
traffic can pass, even for regular users with already established
connections.

I ran some experiments in a lab trying to reproduce this, with a box
roughly identical to what I have in production (but much weaker, of
course). The box collapses at 600 Kpps SYN (100% interrupts), but
handles everything very gently (less than 50% interrupts and no packet
loss) if the first rule evaluated is block drop in quick from !
whitelisted_users. So it seems that my bottleneck is PF here, not
the hardware. A consequence of this saturation : both my main firewall
and my backup claims MASTER ownership of the CARP (split brain
syndrome). CARP works just fine when I add the block rule, though.

Some configuration details :
- OS  : OpenBSD 5.0/amd64 box, using GENERIC.MP
- CPU : Intel X3460 CPU (4 cores, 2.80GHz)
- RAM : 4GB
- NIC : 2x Intel 82576 (2 ports each)

Each network card has the following setup : one port to the LAN, one
port to the WAN. Each pair (LAN1/LAN2 and WAN1/WAN2) is trunked using
LACP. Already bumped net.inet.ip.ifq.maxlen, as all NICs are
supported. My benchmarks did highlight two interesting things : amd64
has better performance than i386 (roughly 5-10% less interrupts, with
same rules and traffic), but the difference between GENERIC and
GENERIC.MP is insignificant.

My current idea is to hack a daemon to track established connections
(extracting them ` la netstat), and inject my block rule in an anchor
(` la relayd) when needed (watching some stats from pf, with its ioctl
interface). Pros: regular users the firewall saw before the attack can
still use the service. Cons: no new users are allowed until the
removal of the rule, obviously. Better than nothing, but I welcome any
other hints :)

One other solution may be to add boxes. I tried a carpnodes cluster,
but at 600 Kpps I got a split brain with both nodes claiming MASTER
for each carpnode. Maybe if I configure ALTQ it could help this ? As I
have more boxes, I could deal with the performance impact of ALTQ.

I am willing to test any patch/suggestion you may have, of course.
Even just hints about kernel code, as I am currently messing with PF
code myself. I did compile a profiled kernel, I must now check the
results but that will be another story.

To finish, here is the typical load on the box (errors are from
various DDoS, not related to normal use) :

Status: Enabled for 77 days 02:17:58 Debug: err

Interface Stats for trunk1IPv4 IPv6
  Bytes In   88853303832730
  Bytes Out 7244931605029820224
  Packets In
Passed 487387028750
Blocked101528656110
  Packets Out
Passed 67293792876  281
Blocked 45576371330

State Table  Total Rate
  current entries37135
  searches13077192954819632.2/s
  inserts   4718030394  708.3/s
  removals  4717993259  708.3/s
Source Tracking Table
  current entries 7455
  searches  4951426366  743.3/s
  inserts623672861   93.6/s
  removals   623665406   93.6/s
Counters
  match 5600111978  840.7/s
  bad-offset 00.0/s
  fragment 35913790.5/s
  short25001330.4/s
  normalize  

Where is appetalk NETATALK in GENERIC OBSD 5.0?

2012-01-18 Thread Roger Wiklund
Hi,

I want to install support for Appletalk on my OBSD 5.0 box.
After unsuccessfully trying back and forth with a custom kernel to add
NETATALK I found this:

Revision 1.180: download - view: text, markup, annotated - select for diffs
Sat Jul 9 00:47:18 2011 UTC (6 months, 1 week ago) by henning
Branches: MAIN
Diff to: previous 1.179: preferred, coloured
Changes since revision 1.179: +1 -2 lines

begone, fucking rotten appletalk shit. ok room



So appletalk is removed? No way of running it at all anymore?

Thanks
Regards



IPv6 not working over bridge

2011-11-14 Thread Roger Schreiter
Hello,

I have a router (Host B in following picture) running with OpenBSD 4.7.
One phyiscal interface is bridged to a VLAN:

A simplified picture of it is:


(em2)
  v
Host A---(vlan759)--Host B-Host C
  ^  ^
  vlan759em0
  \  /
   bridge0

vlan759 sits physically on interface em2,
and vlan759 and interface em0 are bridged via bridge0.

vlan759 has no IP addresses, nor em2.

em0 has an IPv4 address and an IPv6 address.

I can ping (IPv4) from Host B to Host A and to Host C.
I can also ping from Host A to Host C and vice versa.

I can ping6 (IPv6) from Host B to Host C (and vice versa),
but I cannot ping6 between Host B and Host A.

ndp -a shows several hosts running IPv6 addresses, but on
Host A I cannot see the Host B or Host C with ndp -a,
and on Host C and on Host B I cannot see Host A with ndp -a.


I assume, the bridge is not passing NDP packets.

Is this a known problem?

Does anyone have an idea how to solve the problem?


Roger.



Howto set an IPv6 route?

2011-04-20 Thread Roger Schreiter
Hello,

I tried:

route add -inet6 2a00:1ff8:101::/48 2a00:1ff8:102:ac01::1

and got:

route: 2a00:1ff8:101::/48: bad value

I do not understand, what is wrong with that net?
Can anyone give me a hint?

Roger.



IRQ balancing

2010-12-08 Thread Roger Schreiter
Hello,

I've just changed a mainboard, because the old caused
problems.

The machine is acting as router, and with the old board,
CPU was charged about 30% with interrupt processing.

Now with the new board, I have a strange load:

29 processes:  28 idle, 1 on processor
CPU0 states:  0.0% user,  0.0% nice,  0.0% system, 83.2% interrupt,
   16.8% idle
CPU1 states:  0.0% user,  0.0% nice,  0.0% system,  0.8% interrupt,
   99.2% idle
CPU2 states:  0.0% user,  0.0% nice,  0.0% system,  0.8% interrupt,
   99.2% idle
CPU3 states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,
   100% idle
Memory: Real: 182M/289M act/tot  Free: 1702M  Swap: 0K/502M used/tot


Is there some mean for IRQ balancing over all CPU kernels?
(It is a 4 kernel Atom processor.)

Roger.



Re: IRQ balancing

2010-12-08 Thread Roger Schreiter
Hello Robert,

I did not assume a bug or similar. Just wanted to know
about IRQ balancing.
Your email does answer my question about IRQ balancing. Thank you!

Your hint about dmesg does however encourage me to post another
mail, asking about my hardware.

Roger.


roberth schrieb:
 ...
 as you have noticed the Atom thingies are slow.
 without any info nobody can tell you what changed in your hardware
 setup, that could influence the load. (guess, diffrent nic)
 Atom are dual core with hyperthreading, that does not help in any way
 for routing because the network stack is all kernel work and the kernel
 only uses 1 core. that's why you see all load on the first cpu.
 nothing to do about it, but using better hardware; other than some
 serious codeing efforts.
 if you are hitting a bug, nobody can tell without atleast dmesgs.



sundance driver - problems with 4.7?

2010-12-08 Thread Roger Schreiter
Hello,

I'm operating a router using a 4 port D-Link ethernet
card with sundance chipset.

Since the machine is not doing much work besides shuffling
IP-packets from one NIC to onother, an Atom processor used
to be sufficent. System was OpenBSD-4.6, and CPU load by
interrupts was approx 30%, idle time was 70%. The machine
worked fine, but now we changed the mainboard.

ifconfig showed interfaces ste0 to ste3.


The new main board has a 4 core Atom processor, and
new system is OpenBSD-4.7.
This caused two changes:

1. CPU load by interrupts is now approx 80%.

2. ifconfig only shows ste2 and ste3.
   ste2 is now connected to physical port 1 (which was ste0 with
   pervious kernel/board)
   ste3 is now connected to physical port 2 (whcih was ste1 with
   previous kernel/board)

I assume the new board is worse then the previous one.
googling a while, I found, that the missing of ste0 and ste1 could
be a power problem, when the board is too slow to serve the higher
power request by the PCI card.


If you see any chance to improve the situation by software,
your hints are welcome.

Head of /var/log/messages below.

Roger.


Dec  8 18:13:18 ancotel3 syslogd: start
Dec  8 18:13:18 ancotel3 /bsd: OpenBSD 4.7 (GENERIC.MP) #449: Wed Mar 17
20:55:07 MDT 2010
Dec  8 18:13:18 ancotel3 /bsd:
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
Dec  8 18:13:18 ancotel3 /bsd: RTC BIOS diagnostic error 80clock_battery
Dec  8 18:13:18 ancotel3 /bsd: cpu0: Intel(R) Atom(TM) CPU D510 @
1.66GHz (GenuineIntel 686-class) 1.67 GHz
Dec  8 18:13:18 ancotel3 /bsd: cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,CX16,xTPR
Dec  8 18:13:18 ancotel3 /bsd: real mem  = 2128945152 (2030MB)
Dec  8 18:13:18 ancotel3 /bsd: avail mem = 2054012928 (1958MB)
Dec  8 18:13:18 ancotel3 /bsd: RTC BIOS diagnostic error 80clock_battery
Dec  8 18:13:18 ancotel3 /bsd: mainbus0 at root
Dec  8 18:13:18 ancotel3 /bsd: bios0 at mainbus0: AT/286+ BIOS, date
03/08/10, SMBIOS rev. 2.5 @ 0xe4410 (25 entries)
Dec  8 18:13:18 ancotel3 /bsd: bios0: vendor Intel Corp. version
MOPNV10J.86A.0175.2010.0308.0620 date 03/08/2010
Dec  8 18:13:18 ancotel3 /bsd: bios0: Intel Corporation D510MO
Dec  8 18:13:18 ancotel3 /bsd: acpi0 at bios0: rev 2
Dec  8 18:13:18 ancotel3 /bsd: acpi0: tables DSDT FACP APIC MCFG HPET SSDT
Dec  8 18:13:18 ancotel3 /bsd: acpi0: wakeup devices SLPB(S4) PS2M(S4)
PS2K(S4) UAR1(S4) UAR2(S4) P32_(S4) ILAN(S4) PEX0(S4) PEX1(S4) PEX2(S4)
PEX3(S4) UHC1(S3) UHC2(S3) UHC3(S3) UHC4(S3) EHCI(S
Dec  8 18:13:18 ancotel3 /bsd: acpitimer0 at acpi0: 3579545 Hz, 24 bits
Dec  8 18:13:18 ancotel3 /bsd: acpimadt0 at acpi0 addr 0xfee0: PC-AT
compat
Dec  8 18:13:18 ancotel3 /bsd: cpu0 at mainbus0: apid 0 (boot processor)
Dec  8 18:13:18 ancotel3 /bsd: cpu0: apic clock running at 166MHz
Dec  8 18:13:18 ancotel3 /bsd: cpu1 at mainbus0: apid 1 (application
processor)
Dec  8 18:13:18 ancotel3 /bsd: cpu1: Intel(R) Atom(TM) CPU D510 @
1.66GHz (GenuineIntel 686-class) 1.67 GHz
Dec  8 18:13:18 ancotel3 /bsd: cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,CX16,xTPR
Dec  8 18:13:18 ancotel3 /bsd: cpu2 at mainbus0: apid 2 (application
processor)
Dec  8 18:13:18 ancotel3 /bsd: cpu2: Intel(R) Atom(TM) CPU D510 @
1.66GHz (GenuineIntel 686-class) 1.67 GHz
Dec  8 18:13:18 ancotel3 /bsd: cpu2:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,CX16,xTPR
Dec  8 18:13:18 ancotel3 /bsd: cpu3 at mainbus0: apid 3 (application
processor)
Dec  8 18:13:18 ancotel3 /bsd: cpu3: Intel(R) Atom(TM) CPU D510 @
1.66GHz (GenuineIntel 686-class) 1.67 GHz
Dec  8 18:13:18 ancotel3 /bsd: cpu3:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,CX16,xTPR
Dec  8 18:13:18 ancotel3 /bsd: ioapic0 at mainbus0: apid 8 pa
0xfec0, version 20, 24 pins
Dec  8 18:13:18 ancotel3 /bsd: ioapic0: misconfigured as apic 0,
remapped to apid 8
Dec  8 18:13:18 ancotel3 /bsd: acpihpet0 at acpi0: 14318179 Hz
Dec  8 18:13:18 ancotel3 /bsd: acpiprt0 at acpi0: bus 5 (P32_)
Dec  8 18:13:18 ancotel3 /bsd: acpiprt1 at acpi0: bus 0 (PCI0)
Dec  8 18:13:18 ancotel3 /bsd: acpiprt2 at acpi0: bus 1 (PEX0)
Dec  8 18:13:18 ancotel3 /bsd: acpiprt3 at acpi0: bus 2 (PEX1)
Dec  8 18:13:18 ancotel3 /bsd: acpiprt4 at acpi0: bus 3 (PEX2)
Dec  8 18:13:18 ancotel3 /bsd: acpiprt5 at acpi0: bus 4 (PEX3)
Dec  8 18:13:18 ancotel3 /bsd: acpicpu0 at acpi0: C1, PSS
Dec  8 18:13:18 ancotel3 /bsd: acpicpu1 at acpi0: C1, PSS
Dec  8 18:13:18 ancotel3 /bsd: acpicpu2 at acpi0: C1, PSS
Dec  8 18:13:18 ancotel3 /bsd: acpicpu3 at acpi0: C1, PSS
Dec  8 18:13:18 ancotel3 /bsd: acpibtn0 at acpi0: SLPB
Dec  8 18:13:18 ancotel3 /bsd: bios0: ROM list: 0xc/0xda00!
0xce000

El Gerente de Ventas como Administrador, Vendedor y Lider

2010-08-05 Thread Roger Medina
El Gerente de Ventas como Administrador, Vendedor y LCder

Cada vez es mC!s frecuente encontrarnos con Gerentes y Fuerzas de Ventas
confundidos y desgastados, victimas de estrategias ineficaces para el
mercado actual. - PreguntC!ndose en todo momento - B?CC3mo enfrentar y
vencer estos desafCos?...

Los Gerentes de ventas tienen en sus manos uno de los procesos mC!s
importantes y fundamentales para el C   XITO o FRACASO de las empresas, por
lo que constantemente se ven obligados y presionados ante las situaciones
adversas del mercado, las reacciones de la competencia y los clientes,
debiendo desarrollar estrategias efectivas que permitan a sus empresas
posicionar sus productos y/o servicios con altos niveles de rentabilidad
y ventajas competitivas duraderas.

Este programa le ofrece un panorama claro y efectivo de las medidas
inmediatas que debe considerar, incluyendo:

-MC)todos eficaces para administrar su equipo de VENTA centrado en
resultados
-AnC!lisis de casos reales - B?Por quC) fracasan las fuerzas de ventas?
-CC3mo identificar y vencer los obstC!culos que le impiden obtener
mejores resultados?

Programado en:
Guadalajara 18 de agosto
MC)xico, D.F. 26 de agosto
Monterrey 27 de agosto

Si requiere un folleto GRATUITO con toda la informaciC3n,

Responda este correo con los siguientes datos:
Empresa:
Nombre:
Puesto:
Tel: (  )
E-mail:  misc@openbsd.org
Fecha de interC)s: Guadalajara ( )  -  MC)xico, D.F. ( )  -  Monterrey

o Llame a nuestra lada sin costo: 01 800 250 10 20

Q U A L I T Y  T R A I N I N G  D E  M E X I C O

En caso de no requerir informaciC3n sobre nuestros seminarios, haga reply
con el asunto znuncamas



How to figure out the error location?

2010-05-23 Thread Roger Schreiter
Hi,

we've been running a BGP router on OpenBSD for
the months without problems.

Now it crashed two times within 4 days. After the
second crash, I could have a look on the screen:

   uvm_fault (0xd088cfc0, 0x6c4e2000, 0, 1) - e
   kernel: page fault trap, code=0
   Stopped at  pool_do_get+0x11b:   movl   0(%ebx),%eax

Is there any mean to figure out, which driver did cause
the problem?
There is a 4xFE-NIC from D-Link (interface ste0 .. 3),
whose driver seems to be new at OpenBSD-4.6.

Should I try updating to OpenBSD-4.7?


Regards,
Roger.



flags for wd timeouts?

2010-02-07 Thread Roger Hammerstein
Hello.

I have one of these motherboards:
http://www.supermicro.com/Aplus/motherboard/Opteron/HT2000/H8DSP-i.cfm

Disk activity is a problem on this motherboard.  Fscking, or a couple of
dd's from /dev/zero to a file on the hard disk result in the below error.
I could not finish the install from the cd because this error comes up.
I put the sata disk in a different machine for the install, and then
back into this machine.

 wd0(pciide0:2:0): timeout
   type: ata
   c_bcount: 65536
   c_skip: 0
 pciide0:2:0 bus-master DMA error: missing interrupt status=0x21
 pciide0 channel 2: reset failed for drive 0
 wd0a: device timeout reading fsbn 123157536 of 123157536-123157663 (wd0 bn
127458399; cn 7933 tn 234 sn12), retrying
 pciide0:2:0 not ready, st=0xd0BSY,DRDY,DSC,err=0x00
 pciide0 channel 2: reset failed for drive 0



I tried add flags for the wd device with 'boot -c', change wd,
flags 0xffc   or   0xff0
but neither seemed to help.  Maybe you can suggest a better flags value ?

Or perhaps there is something else, besides flags to adjust?



Additionally, ps2 keyboards don't work after the kernel boots, but USB ones
do.
(i tried disabling apm and acpi, but neither helped to fix the keyboard or
disk issue.)

Lastly, there are no bios updates from supermicro available.


OpenBSD 4.7-beta (RAMDISK_CD) #308: Wed Jan 27 19:34:30 MST 2010
t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
real mem = 2146369536 (2046MB)
avail mem = 2081468416 (1985MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xfbae0 (60 entries)
bios0: vendor American Megatrends Inc. version 080011 date 06/30/2006
bios0: Supermicro H8DSP-8
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC OEMB SRAT
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Opteron(tm) Processor 250, 2394.38 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line
16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: AMD erratum 89 present, BIOS upgrade may be required
cpu0: apic clock running at 199MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 16 pins
ioapic1 at mainbus0: apid 3 pa 0xfec01000, version 11, 16 pins
ioapic2 at mainbus0: apid 4 pa 0xfec02000, version 11, 16 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (P0P1)
acpiprt2 at acpi0: bus 2 (P1P2)
acpiprt3 at acpi0: bus 3 (BR14)
acpiprt4 at acpi0: bus 4 (BR1E)
acpiprt5 at acpi0: bus 5 (BR28)
acpiprt6 at acpi0: bus 6 (BR32)
acpiprt7 at acpi0: bus 7 (BR3C)
pci0 at mainbus0 bus 0
ppb0 at pci0 dev 1 function 0 ServerWorks HT-1000 PCI rev 0x00
pci1 at ppb0 bus 1
ppb1 at pci1 dev 13 function 0 ServerWorks HT-1000 PCIX rev 0xb2
pci2 at ppb1 bus 2
pciide0 at pci1 dev 14 function 0 ServerWorks HT-1000 SATA rev 0x00: DMA
pciide0: using apic 2 int 11 (irq 11) for native-PCI interrupt
pciide0: port 0: PHY offline
pciide0: port 1: PHY offline
pciide0: port 2: device present, speed: 1.5Gb/s
wd0 at pciide0 channel 2 drive 0: WDC WD1500ADFD-00NLR1
wd0: 16-sector PIO, LBA48, 143089MB, 293046768 sectors
wd0(pciide0:2:0): using PIO mode 4, Ultra-DMA mode 6
pciide0: port 3: device present, speed: 1.5Gb/s
wd1 at pciide0 channel 3 drive 0: WDC WD1500ADFD-00NLR1
wd1: 16-sector PIO, LBA48, 143089MB, 293046768 sectors
wd1(pciide0:3:0): using PIO mode 4, Ultra-DMA mode 6
pchb0 at pci0 dev 2 function 0 ServerWorks HT-1000 rev 0x00
pciide1 at pci0 dev 2 function 1 ServerWorks HT-1000 IDE rev 0x00: DMA
atapiscsi0 at pciide1 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: MATSHITA, DVD-ROM SR-8178, PZ16 ATAPI 5/cdrom
removable
cd0(pciide1:0:1): using PIO mode 4, DMA mode 2, Ultra-DMA mode 0
ServerWorks HT-1000 LPC rev 0x00 at pci0 dev 2 function 2 not configured
ohci0 at pci0 dev 3 function 0 ServerWorks HT-1000 USB rev 0x01: apic 2 int
10 (irq 10), version 1.0, legacy support
ohci1 at pci0 dev 3 function 1 ServerWorks HT-1000 USB rev 0x01: apic 2 int
10 (irq 10), version 1.0, legacy support
ehci0 at pci0 dev 3 function 2 ServerWorks HT-1000 USB rev 0x01: apic 2 int
10 (irq 10)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 ServerWorks EHCI root hub rev 2.00/1.00 addr 1
vga1 at pci0 dev 5 function 0 ATI Rage XL rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
ppb2 at pci0 dev 8 function 0 ServerWorks HT-2000 PCIX rev 0xa3
pci3 at ppb2 bus 3
ppb3 at pci0 dev 9 function 0 ServerWorks HT-2000 PCIX rev 0xa3
pci4 at ppb3 bus 4
bge0 at pci4 dev 4 function 0 Broadcom BCM5780 rev 0x03, BCM5714 B3
(0x8003): apic 3 int 1 (irq 9), address xx:xx:xx:xx:xx:xx
brgphy0 at bge0 phy 1: BCM5780 10/100/1000baseT/SX PHY, rev. 0
bge1 at pci4 dev 4 function 1 Broadcom BCM5780 rev 

netio problems

2009-12-22 Thread Roger Schreiter
Hi,

I just downloaded netio-1.26.
In the Makefile, there are the targets linux, unix, freebsd
and others, but no openbsd.

I first tried make freebsd, but received errors about
a missing libthread.

Then I tried make unix, got some warnings, but got a
binary.

However, the binary is not working properly.
When invoked as server (netio -s), it does not answer
packets greater then 4k.

Further, it does not send UDP packets at all.


Does anyone get netio running propely on a OpenBSD system?
How did you get it compliled?

Roger.



Changing the NIC on installed system?

2009-11-18 Thread Roger Schreiter
Hello,

I did not yet understand very well, how the NIC drivers are
selected. Is it done while installing OpenBSD or is it
done at boot?

In the latter case, I assume, I can replace a PCI network
interface without changing any driver settings.

If the logical interface name will be different, I maybe
will have to rename hostname.vge0 to hostname.XX0 or similar.

Or are there much more changes necessary, when replacing a
MikroTik NIC by an Intel one? System in OpenBSD-4.5


Regards,
Roger.



Re: Installing OpenBSD on SSD drives

2009-11-04 Thread Roger Schreiter
Jean-Frangois SIMON schrieb:
 ...
 Is there any particular problem with installing OpenBSD on a SSD HD ?  I

Hello,

it is like for any OS on SSD HD. Make sure, you are using
no swap partition!

And if you are using an application, which is writing
a lot of things into files, put the respective dirs into
ramdisks!

We are running some embedded PCs with OpenBSD, which have the
SSD HD completely write protected. All partitions are
mounted read only, and /tmp, /dev and /var is put into
ramdisks. Works fine.

Regards,
Roger.



Re: Installing OpenBSD on SSD drives

2009-11-04 Thread Roger Schreiter
Ted Unangst schrieb:
 ...
 no swap partition!
 
 This is ridiculous advice.
 ...
 a lot of things into files, put the respective dirs into
 ramdisks!
 
 Combined with this is even dumber.


Hi,

anyway, intensive swapping onto SDD HD will destroy your SDD HD.

If RAM is the limiting resource in your system, you are right,
my advice is ridiculous.

In any else case, my advice is important, and for many, many
applications it is possible to equip a system with enough RAM,
making swapping uneccessary.

Ramdisks and complete write protections of the HD is of course
just an option to think about, and depends on the application,
if appropriate or not.



Regards,
Roger.



privileged instruction fault trap

2009-10-29 Thread Roger Schreiter
Hello,

we are operating a BGP router using OpenBSD 4.5 since
some weeks. Till today everthing went fine.

Today, the system crashed, causing an uptime much too short
for an IP router.

Can someone guess the cause from the console output?
Can we improve the kernel stability by any settings?

Panic output was:

kernel: privileged instruction fault trap, code=0
Stopped at  ip_output +0xb8:
ddb _

(The last underscore is the cursor position.)


Any helpful hints?


Regards,
Roger.



CPU of 50% for Interrupts?

2009-10-29 Thread Roger Schreiter
Hi,

top show a CPU usage of 50% for interrupts, when
my router forwards 1.5 Mbit/s of IP traffic.

My router is using OpenBSD 4.5, and running with
a  VIA Eden Processor 1000MHz, which should imho be
able to handle that amount of IP traffic as router.

dmesg tells, that ACPI is not configured.

Are these values ok, or should I search for something
configured wrong?


Regards,
Roger.



pf blocks vlan bridge even without any rule

2009-10-13 Thread Roger Schreiter
Hi,

I'm using OpenBSD 4.5 on a machine with several ethernet interfaces.
Since I have to share some cables with other users, two of the
ethernet interfaces use VLANs. The VLAN-Ids are fixed (by the
network operators leasing the cables and lines).

Since two of those VLANs should build one net, I've setup a bridge.
This works fine, and the machines on the one VLAN do see the machines
on the other (bridged) VLAN on a layer 2 basis. (I.e. they can ping
each other without knowing about a gateway.)

Now I want to install a firewall using pf.
However, surprising things occour: pings are still passing,
but any TCP or UDP traffic is blocked.
In order to find the matching rule, I deleted rule by rule.
Now, there are no rules at all in pf.conf. I reloaded the rules
with pfctrl -f /etc/pf.conf and checked with pfctrl -s r:

pf has no rules at all.

Anyway, besides ping no traffic is passing between the bridged
VLANs.

When I stop pf using pfctl -d, traffic is passing without problem.
As soon as I restart with pfctl -e, TCP and UDP is blocked again
on the bridge.

Besides that, pf acts as I would assume.


Any ideas?

Roger.



Re: pf blocks vlan bridge even without any rule

2009-10-13 Thread Roger Schreiter
Brad Tilley schrieb:
 ...
 Put log into your rules:
 
 For example, rather than 'block in' use 'block in log', etc.
 
 Then view the pflog interface to find the offending rule:
 
 tcpdump -n -e -ttt -i pflog0


Hi,

I already tried this, but I couldn't find those packets in the log.

Now I assume, I rather have to bring pf to ignore the state
for packets, just passing through.

But howto?

Roger.



Re: pf blocks vlan bridge even without any rule (solved)

2009-10-13 Thread Roger Schreiter
Roger Schreiter schrieb:
 ...
 Now I assume, I rather have to bring pf to ignore the state
 for packets, just passing through.


Hi,

an explicite pass rule with the no state option solved the
problem.

Imho this makes sense, because a router connecting two (or
more) networks and managing up to Gbit/s cannot track the
states of every connection.


Thanks for all of your hints, which helped me!


Roger.



Re: pf blocks vlan bridge even without any rule

2009-10-13 Thread Roger Schreiter
Stuart Henderson schrieb:
 ...
 turn up pfctl -x to misc or noisy and see if anything useful
 shows up in syslog.

Hi,

yes, I do find than in the syslog some cryptic lines:
   Oct 13 17:53:32 zettachring1 /bsd: pf: BAD state: TCP out wire:
  93.189.172.2:179 93.189.172.3:38167 stack: - [lo=1120879739
  high=1120885531 win=16384 modulator=0 wscale=0] [lo=33691928
  high=33708312 win=181 modulator=0 wscale=5] 4:4 PA seq=35845544
  (35845544) ack=1120911735 len=19 ackskew=-31996 pkts=2292:4359
  dir=in,rev
   Oct 13 17:53:32 zettachring1 /bsd: pf: State failure on: 1   | 5


Hm, what does that mean?


 normally to find the matching rule you would use 'log' in the
 rules and 'tcpdump -neipflog0'.

Yes, I did add the log to any blocking rule. Than
tcpdump did show some expected packets (which I produced),
but no packets from the bridge.
Then I was confused and deleted all rules to see ...
.. and found, that even with no rule, pf is blocking
the bridge.

Since I found some hints, that pfs's implicite pass does
not support some extensions, I even added some pure pass
lines with allow-opts.

Since I figured out, blind trying like that does not succeed,
I'm asking here.


Roger.



cryptographic accelerator for a laptop

2009-01-13 Thread roger
I recently started using a VPN with my laptop for when I travel(which is
quite often) and I have noticed a detectable degradation when going
through the VPN especially when using streaming video. My laptop is a few
years old and the problem isn't that big a deal but I was wondering if
there is a card I could buy that I could offload the work to. Hopefully
one that isn't very expensive would be nice. Just wondering if anybody has
any suggestions.

roger



Re: mirror.cs.wisc.edu

2008-07-01 Thread Roger Midmore

I actually made a mistake for the email address for technical support is
[EMAIL PROTECTED]
although the I think csl might work as well since it stands for Computer
Systems Lab. But sending to lab actually creates a complaint that is logged and 
taken care of as soon as possible. I forwarded your message on to the 
department though. If you notice anything else just send a message to lab with 
[CSL #354961] in the subject since someone else noticed that to be the proper 
path to the release should be /pub/OpenBSD not /pub/mirrors/OpenBSD. I created 
a request for them to add a link to fix that problem as well.


roger


In gmane.os.openbsd.misc, [EMAIL PROTECTED] wrote:

I'm an alumni from the CS Department at Wisconsin who uses OpenBSD and I
recently got them to update their mirror page to reflect the fact that
they mirror the OpenBSD releases. They have had a mirror for some time but
I don't think they have openly publicized the fact. Their servers sit on
fiber optic lines to the national backbone in Chicago and I have always
found it to be one of the fastest OpenBSD mirrors available no matter my
location (even in Europe). Sometimes they can be lax in updating their
mirror to the current release but if you send a email to [EMAIL PROTECTED]
(computer systems lab) they will generally update the mirror within a day
(M-F 9:00-5:000). I was hoping that Wisconsin could be added to the list
of download sites so that other people could take advantage of the
services provided by such a outstanding institution.

roger

btw
the actual path to the openbsd releases for both http and ftp is
mirror.cs.wisc.edu/pub/mirrors/OpenBSD


This mirror seems to be behind a firewall that only permits passive
transfers, and only using PASV rather than EPSV or Active mode.
However most clients supporting EPSV use it in preference to PASV,
so this mirror isn't accessible for them without changing client
configuration (if they even work out what the problem is).

If it's not possible to adjust the firewall, is there any chance
that EPSV could be disabled on the server, so clients that support
it will automatically back to PASV instead?

Thanks!
Stuart




mirror.cs.wisc.edu

2008-06-30 Thread roger
I'm an alumni from the CS Department at Wisconsin who uses OpenBSD and I
recently got them to update their mirror page to reflect the fact that
they mirror the OpenBSD releases. They have had a mirror for some time but
I don't think they have openly publicized the fact. Their servers sit on
fiber optic lines to the national backbone in Chicago and I have always
found it to be one of the fastest OpenBSD mirrors available no matter my
location (even in Europe). Sometimes they can be lax in updating their
mirror to the current release but if you send a email to [EMAIL PROTECTED]
(computer systems lab) they will generally update the mirror within a day
(M-F 9:00-5:000). I was hoping that Wisconsin could be added to the list
of download sites so that other people could take advantage of the
services provided by such a outstanding institution.

roger

btw
the actual path to the openbsd releases for both http and ftp is
mirror.cs.wisc.edu/pub/mirrors/OpenBSD



help

2007-10-01 Thread Roger Sistla
help

-- 

Roger Sistla
[EMAIL PROTECTED]




Re: [MVLUG] Sun Systems

2007-09-19 Thread roger
If you don't get takers, Bring them by the store/warehouse.

Roger Jones

WWW.EdgarDigital.com ,  LLC
WWW.Cyberquipment.com
Cyberquipment on eBay

In ALL replies, please include ALL previous E.MAIL messages -- if these are not 
included we will not be able to properly help you.

Alternate email [EMAIL PROTECTED]



Jonathan Lindsey wrote:

 I have several old sun workstations that I'm going to get rid of. 
  These include many sparc classics, a sparc 4, 5, 10, and 20.  Nothing 
 over 60Mhz I don't think.  Before I just get rid of them does anyone 
 want them?  I have a sun monitor too.  And several external drives, 
 including some tape drives.  I just don't have time/space to deal with 
 them anymore.

 -Jonathan

 Las Cruces, NM



___
MVLUG-list mailing list
[EMAIL PROTECTED]
http://lists.fastwave.biz/mailman/listinfo/mvlug-list



Mounting FreeBSD partitions on OpenBSD

2007-01-30 Thread roger
I'm trying to mount my FreeBSD partitions in OpenBSD. OpenBSD has no
problem finding, reading and writing to the root partition for FreeBSD but
doesn't see the other partitions(/home, /usr, /var). I know I have to
manually edit the disklabel to add those partitions. My problem is that
the disklabel editor doesn't want to change or edit a partition that isn't
on the OpenBSD slice. Is there anyway to edit the disklabel using
disklabel without resorting to an editor like vi since I don't feel
entirely comfortable manually computing and changing the tabel, or if that
is my only option, what is the required entries to the table I need to
provide?

thanks,
roger

Here is the disklabel from FreeBSD:
# /dev/ad0s2:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  102400004.2BSD0 0 0
  b:  4096000  1024000  swap
  c: 393592500unused0 0 # raw part,
don't edit
  d:  1024000  5124.2BSD0 0 0
  e:  1024000  61440004.2BSD0 0 0
  f: 1024  71680004.2BSD0 0 0
  g: 21951250 174080004.2BSD0 0 0

And here is the disklabel from OpenBSD: j is the partition I want to add
# /dev/rwd0c:
type: ESDI
disk: ESDI/IDE disk
label: HTS541060G9AT00
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 117210240
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0# microseconds
track-to-track seek: 0# microseconds
drivedata: 0
16 partitions:
# sizeoffset  fstype [fsize bsize  cpg]

  a:   1023435  78734565  4.2BSD   2048 16384  328 # Cyl 78109*-
79124
  b:   4095504  79758000swap   # Cyl 79125 -
83187
  c: 117210240 0  unused  0 0  # Cyl 0
-116279
  d:   1024128  83853504  4.2BSD   2048 16384  328 # Cyl 83188 -
84203
  e:   1024128  84877632  4.2BSD   2048 16384  328 # Cyl 84204 -
85219
  f:  10240272  85901760  4.2BSD   2048 16384  328 # Cyl 85220 -
95378
  g:  21068208  96142032  4.2BSD   2048 16384  328 # Cyl 95379
-116279
  i:  3937525263   MSDOS   # Cyl 0*-
39062*
  j:  39359250  39375315 unknown   # Cyl 39062*-
78109*



Maildroid Upgrade Questions

2006-09-07 Thread Roger Neth Jr

Hello List,

Thought I would try an upgrade to the 3.7 maildroid. So far upgraded 
3.73.83.9 from CD


Followed the upgrade FAQ and couldn't figure out the
   cd /
   patch -C -p0  upgrade39.patch

Where is this located? I looked in the ftp patches directory and there 
weren't any patches in 3.9
There were a couple of patches in 3.8 and could not figure out how to make a 
file called upgrade38.patch


Did the upgrade from 3.8 to 3.9 remove the need to apply any previous 
patches?


Also tried the # pkg_add -ui -F update -F updatedepends

A bunch of packages could not be updated and I guess these would have to be 
updated by hand from the orgs.


Found this in the dmesg apm0: AC on, battery charge unknown  and wonder if 
this is in the kernel and could be disabled or no need to bother. Just 
wondering as this is not a laptop.


Any advice and corrections to what I tried to do is much aprrectiated.

Thanks,

rogern

Romans 3:23

foo# pkg_add -ui -F update -F updatedepends
Candidates for updating smtp-vilter-1.1.8p0 -
Looking for updates: complete
Cannot find updates for arc-5.21e autoconf-2.13p0 autoconf-2.52p0 
autoconf-2.59
bzip2-1.0.2 c-client-4.61 clamav-0.85.1 curl-7.11.2p0 cyrus-sasl-2.1.20p3 
expat
1.95.6 freetds-0.62.4p0 freetype-1.3.1p1 gdbm-1.8.3 gettext-0.10.40p2 
gmake-3.8
p0 gmp-4.1.4 help2man-1.29 imap-uw-2004.357-plaintext iodbc-2.50.3 jpeg-6b 
lha-
.14i.p0 libiconv-1.9.2 libltdl-1.5.10 libmcrypt-2.5.7p0 libxml-2.6.16p0 
metaaut
-0.4 mhash-0.9.1 mysql-client-4.0.24 net-snmp-5.1.2p0 openldap-client-2.2.24 
p5
Digest-HMAC-1.01 p5-Digest-SHA1-2.10 p5-HTML-Parser-3.45 p5-HTML-Tagset-3.04 
p5
Mail-SpamAssassin-3.0.2 p5-Net-DNS-0.47 p5-XML-Parser-2.34 pdflib-4.0.3 
php4-co
e-4.3.10p1 pine-4.62 pkgconfig-0.15.0 png-1.2.7p1 postgresql-client-7.4.3p1 
pro
mail-3.22p0 recode-3.6p2 rsync-2.6.3 ruby-1.8.1 sablotron-1.0.1 
smtp-vilter-1.1
8p0 stunnel-4.08 t1lib-5.0.0 tcl-8.4.7p1 tiff-3.6.1p3 tk-8.4.7 unarj-2.43 
unrar

3.43 unzip-5.51 zoo-2.10.1
Proceed? [y/N] y

OpenBSD 3.9 (GENERIC) #617: Thu Mar  2 02:26:48 MST 2006
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Sempron(tm) (AuthenticAMD 686-class, 256KB L2 cache) 899 MHz
cpu0: FPU,V86,PSE,TSC,MSR,PAE,CX8,SEP,PGE,CMOV,MMX,FXSR,SSE
cpu0: AMD Powernow: TS
real mem  = 133734400 (130600K)
avail mem = 115302400 (112600K)
using 1658 buffers containing 6791168 bytes (6632K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 08/14/03
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xc/0xa000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82443BX rev 0x03
pcib0 at pci0 dev 7 function 0 Intel 82371AB PIIX4 ISA rev 0x01
pciide0 at pci0 dev 7 function 1 Intel 82371AB IDE rev 0x01: DMA, channel 
0 w

red to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: Virtual HD
wd0: 128-sector PIO, LBA, 16383MB, 33554304 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: MS, C/DVD-ROM, 3.0 SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
piixpm0 at pci0 dev 7 function 3 Intel 82371AB Power rev 0x02pci_intr_map: 
no

mapping for pin A
: polling
iic0 at piixpm0
vga1 at pci0 dev 8 function 0 S3 Trio32/64 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
de0 at pci0 dev 10 function 0 DEC 21140 rev 0x20: irq 11
de0:  pass 2.0 address 00:03:ff:e4:c5:e7
isa0 at pcib0
isadma0 at isa0
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
sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v4.13
sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v4.13
midi0 at sb0: SB MIDI UART
audio0 at sb0
opl0 at sb0: model OPL3
midi1 at opl0: SB Yamaha OPL3
pcppi0 at isa0 port 0x61
midi2 at pcppi0: PC speaker
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ti16750, 64 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ti16750, 64 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
fd1 at fdc0 drive 1: density unknown
isapnp0 at isa0 port 0x279: read port 0x203
Sound Blaster 16, PNPB003, PNPB003,  at isapnp0 port 0x221/16,0x0/16 irq 0 
dr

0,0 resource conflict
joy0 at isapnp0 Game Port, PNPB02F, PNPB02F,  port 0x201/1
biomask e745 netmask ef45 ttymask ffc7
pctr: user-level cycle counter enabled
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302

_
Check the weather 

broadcom wireless card

2006-09-04 Thread Roger Midmore
I recently got a acer aspire 3000 laptop which i got for a good price.
Unfortunately it's got a broadcom wireless card which won't work under
openbsd. I was wondering if there's some way to get it working or if i
have to replace it what would be a good cheap alternative. I don't know if
project evil works on openbsd but i'll try and give that a shot.

thanks,
roger



4.0-beta ports gnucash 1.8.12 error in help files

2006-08-15 Thread Roger Neth Jr
Hello Ports, have tried gnucash from ports on two different i386's with the 
same error running the help files (please see below). dmesg also.


Thank you,

Roger



$ cd /usr/local/bin
$ gnucash
Backtrace:
In unknown file:
  ?:  2  (let* ((nport #) (ans #)) (close-port nport) ans)
  ?:  3* [with-input-from-port #input: standard input /dev/ttyp1 ...]
  ?:  4  (let ((swaports (lambda () #))) (dynamic-wind swaports thunk 
swaports))
  ?:  5  [dynamic-wind #procedure #f () #procedure #f () #procedure #f 
()]

  ?:  6* [#procedure #f ()]
  ?:  7* [fill-out-topics (# # #)]
  ?:  8  (letrec ((first-non-blank-url #)) (cond (# input) (# #) (#t 
input)))

   ...
  ?:  9  [cons ...
  ?: 10*  [fill-out-topics (# gnc-help:gnucash-guide/index.html #)]
  ?: 11   (letrec ((first-non-blank-url #)) (cond (# input) (# #) (#t 
input)))

...
  ?: 12   [cons ...
  ?: 13*   [fill-out-topics (n_ GnuCash Tutorial and Concepts Guide)]
  ?: 14(letrec ((first-non-blank-url #)) (cond (# input) (# #) (#t 
input)))

 ...
  ?: 15[cons n_ ...
  ?: 16*[fill-out-topics (GnuCash Tutorial and Concepts Guide)]
  ?: 17 (letrec ((first-non-blank-url #)) (cond (# input) (# #) (#t 
input)))

  ...
  ?: 18 (cond ((and # #) (cons # #)) (#t (cons # #)))
  ?: 19*(and (string? (car input)) (eq?  (cadr input)))
  ?: 20 [eq?  ...
  ?: 21* [cadr (GnuCash Tutorial and Concepts Guide)]

unnamed port: In procedure cadr in expression (cadr input):
unnamed port: Wrong type argument in position 1: ()


dmesg.boot

OpenBSD 4.0-beta (GENERIC) #1055: Thu Aug  3 11:39:24 MDT 2006
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III (GenuineIntel 686-class, 128KB L2 cache) 565 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXS

R,SSE
real mem  = 132476928 (129372K)
avail mem = 113614848 (110952K)
using 1642 buffers containing 6725632 bytes (6568K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 08/02/00, BIOS32 rev. 0 @ 0xfda74, 
SMB

IOS rev. 2.3 @ 0xf0ea0 (55 entries)
bios0: Dell Computer Corporation L566cx
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf3030/192 (10 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0x800
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82810E rev 0x03: rng active, 7Kb/sec

_
Dont just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/




Clamav run from desktop PC

2006-08-11 Thread Roger Neth Jr

Hello List,

I installed ClamAV from ports on 4.0-beta on a desktop machine. I am able to 
manually update freshclam and run manually clamscan. But when I run 
clamdscan I get this message.


$ clamdscan
ERROR: Can't parse the configuration file.

--- SCAN SUMMARY ---
Infected files: 0
Time: 0.001 sec (0 m 0 s)
$


From my Googling my guess is that the clamd only works with mail servers. I 

am only running Thunderbird with pop.

I cannot get it to run as a daemon, also freshclam does not check updates 
when I reboot the computer.


I tried uncommenting listening on LocalSocket and then tried TCPSocket 
without any success.


Also read the man (5) clamd.conf without any success figuring this out.

Any assistance is appreciated.

Thank you,

rogern

John 3:16

## Example config file for the Clam AV daemon
## Please read the clamd.conf(5) manual before editing this file.
##


# Comment or remove the line below.
# Example

# Uncomment this option to enable logging.
# LogFile must be writable for the user running daemon.
# A full path is required.
# Default: disabled
# LogFile /var/log/clamd.log

# By default the log file is locked for writing - the lock protects against
# running clamd multiple times (if you want to run another clamd instance,
# please # copy the configuration file, change the LogFile variable, and run
# the daemon with the --config-file option).
# This option disables log file locking.
# Default: disabled
#LogFileUnlock
# Maximal size of the log file.
# Value of 0 disables the limit.
# You may use 'M' or 'm' for megabytes (1M = 1m = 1048576 bytes)
# and 'K' or 'k' for kilobytes (1K = 1k = 1024 bytes). To specify the size
# in bytes just don't use modifiers.
# Default: 1M
# LogFileMaxSize 2M

# Log time with each message.
# Default: disabled
#LogTime

# Also log clean files. Useful in debugging but drastically increases the
# log size.
# Default: disabled
#LogClean

# Use system logger (can work together with LogFile).
# Default: disabled
#LogSyslog

# Specify the type of syslog messages - please refer to 'man syslog'
# for facility names
# Default: LOG_LOCAL6
#LogFacility LOG_MAIL

# Enable verbose logging.
# Default: disabled
#LogVerbose

# This option allows you to save a process identifier of the listening
# daemon (main thread).
# Default: disabled
# PidFile /var/run/clamd.pid

# Optional path to the global temporary directory.
# Default: system specific (usually /tmp or /var/tmp).
# TemporaryDirectory /var/tmp

# Path to the database directory.
# Default: hardcoded (depends on installation options)
# DatabaseDirectory /var/db/clamav

# The daemon works in a local OR a network mode. Due to security reasons we
# recommend the local mode.
# Path to a local socket file the daemon will listen on.
# Default: disabled
# LocalSocket /tmp/clamd

# Remove stale socket after unclean shutdown.
# Default: disabled
#  FixStaleSocket

# TCP port address.
# Default: disabled
# TCPSocket 3310

# TCP address.
# By default we bind to INADDR_ANY, probably not wise.
# Enable the following to provide some degree of protection
# from the outside world.
# Default: disabled
# TCPAddr 127.0.0.1

# Maximum length the queue of pending connections may grow to.
# Default: 15
# MaxConnectionQueueLength 30
# Clamd uses FTP-like protocol to receive data from remote clients.
# If you are using clamav-milter to balance load between remote clamd 
daemons

# on firewall servers you may need to tune the options below.

# Close the connection when the data size limit is exceeded.
# The value should match your MTA's limit for a maximal attachment size.
# Default: 10M
# StreamMaxLength 20M

# Limit port range.
# Default: 1024
# StreamMinPort 3
# Default: 2048
# StreamMaxPort 32000

# Maximal number of threads running at the same time.
# Default: 10
# MaxThreads 20

# Waiting for data from a client socket will timeout after this time 
(seconds).

# Value of 0 disables the timeout.
# Default: 120
# ReadTimeout 300

# Waiting for a new job will timeout after this time (seconds).
# Default: 30
# IdleTimeout 60

# Maximal depth directories are scanned at.
# Default: 15
# MaxDirectoryRecursion 20

# Follow directory symlinks.
# Default: disabled
#FollowDirectorySymlinks

# Follow regular file symlinks.
# Default: disabled
#FollowFileSymlinks

# Perform internal sanity check (database integrity and freshness).
# Default: 1800 (30 min)
# SelfCheck 600

# Execute a command when virus is found. In the command string %v will
# be replaced by a virus name.
:# Execute a command when virus is found. In the command string %v will
# be replaced by a virus name.
# Default: disabled
#VirusEvent /usr/local/bin/send_sms 123456789 VIRUS ALERT: %v

# Run as a selected user (clamd must be started by root).
# Default: disabled
#User clamav

# Initialize supplementary group access (clamd must be started by root).
# Default: disabled
# AllowSupplementaryGroups

# Stop daemon when libclamav reports out of memory condition.
# 

UFS2 support

2006-08-10 Thread Roger Midmore
I was wondering who, if anyone, was working on supporting UFS2?

roger



USB Scheduling Overruns

2006-08-09 Thread Roger Neth Jr

Hello List,

I have been having this problem since OpenBSD since 3.7. This did not occur 
on OpenBSD 3.6. The dmesg on 4.0-beta has more information than 3.7-3.9 
dmesg.


I have to use UKCdisable ohci to eliminate this problem.

This is on an IBM i386 x220 model 8645.

Any ideas on how to fix this?

Thank you,

rogern

John 3:16


OpenBSD 4.0-beta (GENERIC.MP) #870: Thu Aug  3 11:50:54 MDT 2006
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel Pentium III (GenuineIntel 686-class) 1 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FX

SR,SSE
real mem  = 670564352 (654848K)
avail mem = 603058176 (588924K)
using 4256 buffers containing 33632256 bytes (32844K) of memory
User Kernel Config
UKC disable ohci
127 ohci* disabled128 ohci* disabled
UKC exit
Continuing...
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 11/04/02, BIOS32 rev. 0 @ 0xfd5a1
pcibios0 at bios0: rev 2.1 @ 0xf/0x
pcibios0: PCI BIOS has 9 Interrupt Routing table entries
pcibios0: PCI Exclusive IRQs: 9 10 11 15
pcibios0: PCI Interrupt Router at 000:15:0 (ServerWorks OSB4 rev 0x00)
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc/0xa000 0xca000/0x4800
mainbus0: Intel MP Specification (Version 1.4) (IBM ENSW xSeries 220 )
cpu0 at mainbus0: apid 3 (boot processor)
cpu0: apic clock running at 133 MHz
cpu1 at mainbus0: apid 0 (application processor)
cpu1: Intel Pentium III (GenuineIntel 686-class)
cpu1: FPU,CX8,APIC
mainbus0: bus 0 is type PCI
mainbus0: bus 1 is type PCI
mainbus0: bus 2 is type ISA
ioapic0 at mainbus0: apid 14 pa 0xfec0, version 11, 16 pins
ioapic1 at mainbus0: apid 13 pa 0xfec01000, version 11, 16 pins
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 ServerWorks CNB20LE Host rev 0x06
pchb1 at pci0 dev 0 function 1 ServerWorks CNB20LE Host rev 0x06
pci1 at pchb1 bus 1
ahc0 at pci1 dev 3 function 0 Adaptec AIC-7892 U160 rev 0x02: apic 13 int 
12 (irq

9)
scsibus0 at ahc0: 16 targets
sd0 at scsibus0 targ 0 lun 0: IBM-ESXS, MAN3184MC F, 5408 SCSI3 0/direct 
fixed

sd0: 17357MB, 29673 cyl, 2 head, 599 sec, 512 bytes/sec, 35548320 sec total
sd1 at scsibus0 targ 2 lun 0: SEAGATE, ST318404LC, 0002 SCSI3 0/direct 
fixed

sd1: 17501MB, 14384 cyl, 6 head, 415 sec, 512 bytes/sec, 35843670 sec total
safte0 at scsibus0 targ 8 lun 0: IBM, YGLv3 S2, 0 SCSI2 3/processor fixed
vga1 at pci0 dev 1 function 0 S3 Savage 4 rev 0x04
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
fxp0 at pci0 dev 2 function 0 Intel 8255x rev 0x08, i82559: apic 13 int 11 
(irq 11

), address 00:02:55:d4:d4:fa
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
ne3 at pci0 dev 9 function 0 Winbond Linksys EtherPCI II rev 0x00: apic 13 
int 0 (

irq 10), address 48:54:e8:26:17:f9
piixpm0 at pci0 dev 15 function 0 ServerWorks OSB4 rev 0x50: polling
iic0 at piixpm0
iic0: addr 0x27 00=00 01=01 02=02 03=03 04=04 05=05 06=06 07=07 08=08 09=09 
0a=0a 0b
=0b 0c=0c 0d=0d 0e=0e 0f=0f 10=00 11=01 12=02 13=03 14=04 15=05 16=06 17=07 
18=08 19
=09 1a=0a 1b=0b 1c=0c 1d=0d 1e=0e 1f=0f 20=00 21=01 22=02 23=03 24=04 25=05 
26=06 27
=07 28=08 29=09 2a=0a 2b=0b 2c=0c 2d=0d 2e=0e 2f=0f 30=00 31=01 32=02 33=03 
34=04 35
=05 36=06 37=07 38=08 39=09 3a=0a 3b=0b 3c=0c 3d=0d 3e=0e 3f=0f 40=00 41=01 
42=02 43
=03 44=04 45=05 46=06 47=07 48=08 49=09 4a=0a 4b=0b 4c=0c 4d=0d 4e=0e 4f=0f 
50=00 51
=01 52=02 53=03 54=04 55=05 56=06 57=07 58=08 59=09 5a=0a 5b=0b 5c=0c 5d=0d 
5e=0e 5f
=0f 60=00 61=01 62=02 63=03 64=04 65=05 66=06 67=07 68=08 69=09 6a=0a 6b=0b 
6c=0c 6d
=0d 6e=0e 6f=0f 70=00 71=01 72=02 73=03 74=04 75=05 76=06 77=07 78=08 79=09 
7a=0a 7b
=0b 7c=0c 7d=0d 7e=0e 7f=0f 80=80 81=81 82=82 83=83 84=84 85=85 86=86 87=87 
88=88 89
=89 8a=8a 8b=8b 8c=8c 8d=8d 8e=8e 8f=8f 90=80 91=81 92=82 93=83 94=84 95=85 
96=86 97
=87 98=88 99=89 9a=8a 9b=8b 9c=8c 9d=8d 9e=8e 9f=8f a0=80 a1=81 a2=82 a3=83 
a4=84 a5
=85 a6=86 a7=87 a8=88 a9=89 aa=8a ab=8b ac=8c ad=8d ae=8e af=8f b0=80 b1=81 
b2=82 b3
=83 b4=84 b5=85 b6=86 b7=87 b8=88 b9=89 ba=8a bb=8b bc=8c bd=8d be=8e bf=8f 
c0=80 c1
=81 c2=82 c3=83 c4=84 c5=85 c6=86 c7=87 c8=88 c9=89 ca=8a cb=8b cc=8c cd=8d 
ce=8e cf
=8f d0=80 d1=81 d2=82 d3=83 d4=84 d5=85 d6=86 d7=87 d8=88 d9=89 da=8a db=8b 
dc=8c dd
=8d de=8e df=8f e0=80 e1=81 e2=82 e3=83 e4=84 e5=85 e6=86 e7=87 e8=88 e9=89 
ea=8a eb
=8b ec=8c ed=8d ee=8e ef=8f f0=80 f1=81 f2=82 f3=83 f4=84 f5=85 f6=86 f7=87 
f8=88 f9

=89 fa=8a fb=8b fc=8c fd=8d fe=8e ff=8f
piixpm0: timeout, status 0x1BUSY
piixpm0: timeout, status 0x1BUSY
piixpm0: timeout, status 0x1BUSY
piixpm0: timeout, status 0x1BUSY
iic0: addr 0x48 00=24 01=00 02=4b 03=50 04=50 05=50 06=50 07=50 08=24 09=00 
0a=4b 0b

:
=00 1a=4b 1b=50 1c=50 1d=50 1e=50 1f=50 20=24 21=00 22=4b 23=50 24=50 25=50 
26=50 27
=50 28=24 29=00 2a=4b 2b=50 2c=50 2d=50 2e=50 2f=50 30=24 31=00 32=4b 33=50 
34=50 35
=50 36=50 37=50 38=24 39=00 3a=4b 3b=50 3c=50 3d=50 3e=50 3f=50 40=24 41=00 

Re: Totally bizarre problem - cannot connect to openbsd mahcine

2006-06-26 Thread Roger Neth Jr

On 6/26/06, Peter Blair [EMAIL PROTECTED] wrote:

That sorta makes sense if your firewall was working as a bridge, but I
don't think that you mentioned anything about a bridgename.bridge0.

Was/Is your machine acting as a nat-style firewall?  If so, then
you'll have to assign it some IPs.

How long was it running since its last reboot?  Were the IP settings
done manually via the console but never reflected in the
/etc/hotname.dc* files?

On 6/26/06, Matt Singerman [EMAIL PROTECTED] wrote:

 /etc/hostname.dc0 and .dc1 both just contain up and haven't been
 modified since 2003.

 Shouldn't there be an inet entry with the IP addresses for each of the
 cards listed?  What happened to them?



Hello, I was running a DEC Alpha firewall, just as a firewall for my
internal network. I created the pf.conf as on the OpenBSD small office
example without a problem.
A problem I had was to make sure you have your arp address on the
firewall from the clients connecting.
Another thing I had was when the firewall went down due to power
failure the pf.conf would not run. I went to a backup pf.conf and it
would work. I don't know why this would happen but it did.
I guess have a backup pf.conf on the firewall and probably backed up
to another machine. Also have physical access to the firewall if you
are unable to connect remotely.
Also check other network conf files like resolv.conf

Hope this give you some assistance.

rogern

John 3:16



libtool: link: 'format-python.lo'

2006-06-16 Thread Roger Midmore
I just got a new laptop and was installing OpenBSD 3.9 on it and I got a
linking error when I was trying to build clisp from ports. The error is

libtool: link: 'format-python.lo' is not a valid libtool object

I also get the same error when I try to install some other software from
ports like mozilla-firefox and others. They all seem to be related to this
one problem with libtool. I was wondering if anyone has encountered this
problem.

Laptop is a Acer Aspire 3000 with a 1.8 sempron 3100.



Re: libtool: link: 'format-python.lo'

2006-06-16 Thread Roger Midmore
On Fri, 16 Jun 2006, Roger Midmore wrote:

The port that seems to be broken is gettext since all the other packages
are having problems when they try to install it as a dependency.

 I just got a new laptop and was installing OpenBSD 3.9 on it and I got a
 linking error when I was trying to build clisp from ports. The error is

 libtool: link: 'format-python.lo' is not a valid libtool object

 I also get the same error when I try to install some other software from
 ports like mozilla-firefox and others. They all seem to be related to this
 one problem with libtool. I was wondering if anyone has encountered this
 problem.

 Laptop is a Acer Aspire 3000 with a 1.8 sempron 3100.



Re: Routing trouble with PPPoE on 3.8

2006-06-15 Thread Roger Neth Jr

On 6/15/06, Srikant Tangirala [EMAIL PROTECTED] wrote:

Hello

I am trying to connect my obsd 3.8-stable system to internet
via PPPoE ( ISDN connection-64Kbps). ppp program reports
an established connection, ifconfig shows an IP address
assigned to tun0 interface. But i simply can't use any program
like ping, ftp or firefox to connect to any server. They say
no route to host. I must be doing something stupid. Is the
pf ruleset the problem?

I have configured the userland pppoe with a plain ppp.conf:

default:
set log Phase Chat LCP IPCP CCP tun command
pppoe:
set device !/usr/sbin/pppoe -i rl0
set mtu max 1492
set mru max 1492
set speed sync
disable acfcomp protocomp
deny acfcomp
set authname [EMAIL PROTECTED]
set authkey 


When i run ppp, here is what i see-

#ifconfig rl0 up
#ppp pppoe
Working in interactive mode
Using interface tun0:
ppp ON mycomp dial
ppp ON mycomp Warning: deflink: Reducing configured MRU
from 1500 to 1492
Ppp ON mycomp
PPp ON mycomp
PPP ON mycomp


$ifconfig
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33224
   groups: lo0
   inet 127.0.0.1 netmask 0xff00
   inet6 ::1 prefixlen 128
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST
mtu 1500
   lladr 00:50:ba:a1:b1:0c
   media: Ethernet autoselect (none)
   status no carrier
   inet6 fe80::250:baff:fea7:b47c%rl0 prefixlen 64 scopeid 0x1
pflog0: flags=141UP,RUNNING,PROMISC mtu 33224
pfsync0: flags=0 mtu 1348
enc0: flags=0 mtu 1536
tun0: flags=8011UP,POINTTOPOINT,MULTICAST mtu 1492
   inet 210.211.129.64 -- 210.211.128.1 netmask 0x
   inet6 fe80::250:baff:fea7:b47c%tun0 - prefixlen 64 tentative
scopeid 0x6


#cat pf.conf
scrub in all

block in all
block out all

antispoof quick for { rl0 tun0 lo0 }


pass in log on tun0 proto tcp from any to any port ssh flags S/SA \
synproxy state
pass out on tun0 proto tcp all modulate state flags S/SA
pass out on tun0 proto { icmp, udp } all keep state


pass in log on rl0 proto tcp from any to any port ssh flags S/SA \
synproxy state
pass out on rl0 proto tcp all modulate state flags S/SA
pass out on rl0 proto { icmp, udp } all keep state


Do i need to have the above three rules for both tun0 and rl0?
pf is enabled in rc.conf apart from inetd and sshd. Not running
named.

This is a simple home PC- i386 with GENERIC kernel patched
up to date. rl0 is definitely the right interface, got it from dmesg
output. Sorry, did not include dmesg output since it is too long
to type. If needed, i will.

I did not customize dhclient.conf. I created a hostname.tun0 with
just dhcp in it. That did not solve my problem. Still cannot connect.
I do not have any other hostname.rl0 etc.No other config files in
/etc/ppp directory were changed.

I did not customize resolv.conf by hand. Seems like ppp puts
stuff in it everytime i invoke it.

#cat resolv.conf

nameserver 203.197.30.4
nameserver 202.54.2.17

Kindly let me know what i'm doing wrong.
Thanks a lot for your time.
Srikant.

--
  Srikant Tangirala
  [EMAIL PROTECTED]

Hello,  make sure your not mixing man pppoe(4) and pppoe(8) together.
Hope this will help you verify that this is not a problem.

rogern

John 3:16



eWeek comment on OpenBSD

2006-06-06 Thread Roger Neth Jr

Even OpenBSDin my humble opinion, the safest operating system on the
planetis crackable, if you allow anyone to come and pound away at its
network interface.

http://www.eweek.com/article2/0,1895,1972281,00.asp
--
rogern

John 3:16



Re: Recommended window manager for OpenBSD

2006-05-26 Thread Roger Neth Jr

On 5/26/06, Alexander Hall [EMAIL PROTECTED] wrote:

Christopher Nelson wrote:
[...]
 I was wondering what window manager was recommended for use with OpenBSD
 3.9?  i.e, one that is reasonably current, and not broken.

Am I the only one that is quite satisfied with fvwm? While not as
keyboard-only-friendly as ion et al by default, it is quite decent.

Furthermore, it comes with the base install, which is the main reason I
stick with it. I've tried quite a few window managers (briefly), and I
really did not find any reason to switch.

/Alexander




I have the same sentiment but never voiced it.

rogern

John 3:16



Re: Laptop recommendations

2006-05-12 Thread Roger Neth Jr

On 5/12/06, Samurai Chef [EMAIL PROTECTED] wrote:

On 5/11/06, Roger Neth Jr [EMAIL PROTECTED] wrote:
 On 5/11/06, Bryan Irvine [EMAIL PROTECTED] wrote:
  snip
   I had checked the archives for misc@, and what I had read indicated
   that the Macbook Pro could boot OpenBSD using Parallels virtualization
   software, but not natively due to hang while probing USB.  Also, I'm
   under the opinion that the wireless doesn't work as they use broadcom
   adapters under the Airport Express name.  I could be wrong though.  I
   was just wondering if that had improved any.
  snip
 
  The Broadcom thing still applies.  No drivers for airport.
 
  --Bryan
 
 
 Hello List,

 I was looking on Ebay for OpenBSD type of stuff and came across this.

 Doesn't this hurt the project? : (

 Or are they just generous?

 
http://cgi.ebay.com/OpenBSD-3-9-3-CD-Full-Set_W0QQitemZ7235743360QQcategoryZ4619QQssPageNameZWD1VQQrdZ1QQcmdZViewItem

 rogern

 John 3:16




I contacted the seller and asked Is this the full CD set with
stickers, or copies of the CD's?

This is the response I got: These cds are copies of the official 3 cd
set. All cds are verified by test installations of the product. The
official 3 CD set is available from www.openbsd.org for $45+$4
shipping and handling.

To answer the question, Does this hurt the project?  I respond, it
doesn't help.

eBay has strict policies about the illegal selling of copywrite
protected items, and this qualifies.  just go to the auction, and at
the bottom is a link that reads Report this Item.  It infringes on
the copyright of Theo de Raadt.  IIRC, three strikes and you're out on
ebay.

Jim



Hello Jim,

Thanks for investigating this more diligently than I had done. I went
ahead and reported this item.

rogern

John 3:16



Re: Laptop recommendations

2006-05-11 Thread Roger Neth Jr

On 5/11/06, Bryan Irvine [EMAIL PROTECTED] wrote:

snip
 I had checked the archives for misc@, and what I had read indicated
 that the Macbook Pro could boot OpenBSD using Parallels virtualization
 software, but not natively due to hang while probing USB.  Also, I'm
 under the opinion that the wireless doesn't work as they use broadcom
 adapters under the Airport Express name.  I could be wrong though.  I
 was just wondering if that had improved any.
snip

The Broadcom thing still applies.  No drivers for airport.

--Bryan



Hello List,

I was looking on Ebay for OpenBSD type of stuff and came across this.

Doesn't this hurt the project? : (

Or are they just generous?

http://cgi.ebay.com/OpenBSD-3-9-3-CD-Full-Set_W0QQitemZ7235743360QQcategoryZ4619QQssPageNameZWD1VQQrdZ1QQcmdZViewItem

rogern

John 3:16



Re: Mouse problem

2006-05-06 Thread Roger Neth Jr

On 5/6/06, Gabriel George POPA [EMAIL PROTECTED] wrote:

Have you tried xorgconfig?

rogern

John 3:16



Re: Empty root password

2006-05-06 Thread Roger Neth Jr

On 5/6/06, Eric Furman [EMAIL PROTECTED] wrote:

--- Peter Fraser [EMAIL PROTECTED] wrote:
 I was very surprised, that when I was installing
 a 3.9 system, that you can use an empty root
 password

 I accidentally entered a 'return' when it asked for
 the
 root password, so I entered a 'return again when
 I was asked to repeat the password, thinking that
 a empty password would be denied, and I would be
 asked
 again.

This is a feature, not a bug.
And I'm not being sarcastic. :-)
What if you have a test machine not connected
to any network and is physically secure
and you need to log on as root alot. It would
be nice to not have to enter any password if
you didn't want to. This is normal UNIX
behaviour. The OpenBSD people aren't going
to 'force' you to do everything securely.
They just give you the means and tools
to be so. It's up to you to use them correctly.
(Not that the scenario above is a 'good' idea.
It's just that I 'should' be able to do it
if I so choose)
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com




I remember what a pain it was on a Microsoft SBS2003 with advanced
password protection activated that I had to have a minimum amount of
password and numeric alpha mandatory on Administrator account. I
actually set up the root for a newbie without a password so he can
play with OpenBSD for the first time. This does not have a network
card and just for a newbie to play with.

rogern

John 3:16



Blobless i386 PC for Desktop Recommendations

2006-05-05 Thread Roger Neth Jr

Hello List, how are you?

I want to purchase a new PC and/or build my own desktop PC to run only
OpenBSD 3.9-current.

What does the OpenBSD community recommend for blobless parts from blob vendors?

And i386 hardware from friendly OpenBSD vendors.


Thank you,

rogern

John 3:16



Re: www.openbsd.org defaults to Japanese

2006-05-05 Thread Roger Neth Jr

On 5/5/06, Nick Holland [EMAIL PROTECTED] wrote:

On Fri, May 05, 2006 at 12:41:51PM +0200, Jacques wrote:
 Nick Holland wrote:
 You might want to check your browser cache.  The site was certainly
 was messed up at the moment you wrote that. :)
 
 yeah, there was an incident...it's been fixed, but it will take a
 while for the fix to replicate its way out...
 
 Nick.
 

 May we know, what kind of 'incident'?
 Sounds like a security issue.

Someone once said that life in the modern world requires a knowledge of
statistics and psychology, and those without will live in a world of
conspiracy theories.

I'd be tempted to add and the ability to do a little research on your
own.

Nick.




John 14:6 (English Standard Version)
English Standard Version (ESV)

Jesus said to him, I am the way, and the truth, and the life. No one
comes to the Father except through me.

No conspiracy and everyone should do their research on Jesus Christ.

rogern



Re: www.openbsd.org defaults to Japanese

2006-05-05 Thread Roger Neth Jr

On 5/5/06, Greg Thomas [EMAIL PROTECTED] wrote:

On 5/5/06, Roger Neth Jr [EMAIL PROTECTED] wrote:


 John 14:6 (English Standard Version)
 English Standard Version (ESV)

 Jesus said to him, I am the way, and the truth, and the life. No one
 comes to the Father except through me.

 No conspiracy and everyone should do their research on Jesus Christ.

EMSAD.  Jesus was great, but you're an idiot.

Greg

Matthew 19:12





Acts 8:32 (New International Version)
New International Version (NIV)

The eunuch was reading this passage of Scripture:
  He was led like a sheep to the slaughter,
 and as a lamb before the shearer is silent,
 so he did not open his mouth.

rogern

God Bless you.



Re: 3.9 sightings :: ot

2006-04-27 Thread Roger Neth Jr
On 4/27/06, Peter N. M. Hansteen [EMAIL PROTECTED] wrote:
 It seems I forgot to mention mine made it to Bergen, Norway on Saturday,
 all intact, with CDs wrapped in two T-shirts.
 --
 Peter N. M. Hansteen, member of the first RFC 1149 implementation team
 http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
 First, we kill all the spammers The Usenet Bard, Twice-forwarded tales
 20:11:56 delilah spamd[26905]: 146.151.48.74: disconnected after 36099 
 seconds.



Received my CD  t-shirt yesterday in Monterey, California. I don't
see a need to open the CD as I ftp.

rogern

John 3:16



Re: Why advocate Old daemon book?

2006-04-27 Thread Roger Neth Jr
On 4/27/06, Peter Blair [EMAIL PROTECTED] wrote:
 As an aside: I recently read The Design and Implementation of 4.2 BSD
 Operating System, which focused on the VAX architecture, and was
 published sometime in the early 80s.  In spite of its age, I found the
 concepts clearly stated and on a high level, I believe that reading
 the book forwarded my general knowledge of how *BSD systems operate.

 I especially enjoyed the chapter on memory management and paging.

 My $0.02.

 On 4/27/06, js [EMAIL PROTECTED] wrote:
  A silly question.
 
  I wonder why http://www.openbsd.org/books.html still recommend old
  daemon book, The Design and Implementation of the 4.4 BSD Operating
  System?
  As most of you know, there's newer version, The Design and
  Implementation of the FreeBSD Operating System.
 
  Is there any reason not to reccomend this new one?
 
  Thanks in advance.


That is another thing I appreciate about OpenBSD Unix-like OS. I can
read Unix type books from the past and still be relevant. Unlike
Microsoft e.g. DOS, Win 1.0, 3.11, 95 on and on.

Thank you OpenBSD!

rogern

John 3:16



Re: gnucash crash running tutorial or help

2006-04-20 Thread Roger Neth Jr
On 4/20/06, Derek Atkins [EMAIL PROTECTED] wrote:
 Hi,

 Sorry that nobody has responded.  Unfortunately I don't know
 what to tell you.  I'm not sure if this is specific to OpenBSD
 or what.  You don't mention what version of the gnucash-docs
 package you have installed.

 Also, the whole help system is being re-routed for 1.9/20 into
 Yelp, so the integration moving forward is going in a very different
 direction.  Considering that we're already at 1.9.5 beta releases
 enroute to the 2.0 stable release, I dont think we're going to
 want to spend much effort trying to get a 1.8 bastion working.

 Good Luck,

 -derek

 Roger Neth Jr [EMAIL PROTECTED] writes:

  Hello gnucash list,
 
  I successfully installed gnucash 1.8.12 on OpenBSD 3.9 beta. But when
  I run tutorial or help, gnucash abruptly closes.
 
  Do you know if this is something gnucash specific that I need to look
  at for configuration and/or OpenBSD specific?
 
  Please e-mail me directly as I am not on your mailing list.
 
  Thank you,
 
  Roger
 
  $ ./gnucash
  (0.5393s) [list] -*-helvetica-*-*-*-*-*-*-*-*-*-*-ISO8859-1 -- 64
  (0.0023s) [load] -*-helvetica-medium-r-*-*-12-*-*-*-*-*-ISO8859-1 -- 
  0x809dbe60
  Backtrace:
  In unknown file:
 ?:  2  (let* ((nport #) (ans #)) (close-port nport) ans)
 ?:  3* [with-input-from-port #input: standard input /dev/ttyp3 ...]
 ?:  4  (let ((swaports (lambda () #))) (dynamic-wind swaports thunk
  swaports))
 ?:  5  [dynamic-wind #procedure #f () #procedure #f ()
  #procedure #f ()]
 ?:  6* [#procedure #f ()]
 ?:  7* [fill-out-topics (# # #)]
 ?:  8  (letrec ((first-non-blank-url #)) (cond (# input) (# #) (#t 
  input)))
  ...
 ?:  9  [cons ...
 ?: 10*  [fill-out-topics (# gnc-help:gnucash-guide/index.html #)]
 ?: 11   (letrec ((first-non-blank-url #)) (cond (# input) (# #) (#t 
  input)))
   ...
 ?: 12   [cons ...
 ?: 13*   [fill-out-topics (n_ GnuCash Tutorial and Concepts Guide)]
 ?: 14(letrec ((first-non-blank-url #)) (cond (# input) (# #) (#t 
  input)))
...
 ?: 15[cons n_ ...
 ?: 16*[fill-out-topics (GnuCash Tutorial and Concepts Guide)]
 ?: 17 (letrec ((first-non-blank-url #)) (cond (# input) (# #)
  (#t input)))
 ...
 ?: 18 (cond ((and # #) (cons # #)) (#t (cons # #)))
 ?: 19*(and (string? (car input)) (eq?  (cadr input)))
 ?: 20 [eq?  ...
 ?: 21* [cadr (GnuCash Tutorial and Concepts Guide)]
 
  unnamed port: In procedure cadr in expression (cadr input):
  unnamed port: Wrong type argument in position 1: ()
 
  dmesg

 --
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board  (SIPB)
URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH
[EMAIL PROTECTED]PGP key available


Hello Derek, thanks for your reply and letting me know the direction
of GNUCASH, I will forward this to the OpenBSD misc mailing list.

Regards,

Roger

John 3:16



Re: Sys-Admin vs Network Admin

2006-04-01 Thread Roger Neth Jr
On 3/31/06, A Rossi [EMAIL PROTECTED] wrote:
 Funny, I live in the West Coast US. Oregon to be specific.
 Indeed, I am not qualified, so 50$/hr is quite out of the question. I
 thought 10$/hr seemed reasonable given that I'm not sweeping the floors
 or mowing his lawn, I'm managing his disorganized mess of a network.
 And that job is like a sweatshop, because my employer, a small business
 owner with franchisees, asks me to set up services that are still far
 beyond my abilities: e.g a VPN that allows him to log into his workgroup
 (I told him he needs domain) and access files on the file server (a
 windows computer).
 I tired to convince him that an OpenBSD box as the domain controller
 with Samba would fix the problems he's been having. (he's trying to get
 roaming profiles on a workgroup. AFAIK you need a domain to get the
 natively, he's got some kind of hack going right now)

 anyways, I've gotten off topic.


 Karsten McMinn wrote:
  On 3/30/06, Greg Thomas [EMAIL PROTECTED] wrote:
 
  Huh?  I'm not talking about any of the above and I'm not really
  talking talking about official sysadmins, either.  I'm talking about
  security-ignorant non-computer engineers that have root and no one's
  going to take root away from them.
 
 
 
  why don't you do it?
 
 
  But boy, will he be shocked to find out how much a professional will
  charge him per hour! He only paid me 7.50 USD/hour. Where I live, the
  statistics for network administrators show that the average pay is 30
  USD/hour.
 
 
  7.50 an hour?  30 an hour? yuck. 50/hr starting (approx) for qualified
  network/systems professionals on the west coast working at a company
  with benefits and the like. 7.50/hr? sounds like a sweatshop.



I'm not qualified just OJT making $95.00/hr USD weekdays $125.00/hr USD weekends
Of course I am self-employed. : )

rogern

John 3:16



Re: openbsd and the money

2006-03-28 Thread Roger Neth Jr
On 3/28/06, Daniel Walrond [EMAIL PROTECTED] wrote:

 On Thu, Mar 23, 2006 at 03:09:08PM +0100, frantisek holop wrote:
 
  twice a year (or maybe more) when it comes to money issues, Theo and
  the devs ask for donations, cd purchases. at the same time, people
  are every once in a while reminded how lucky they are to use what
  the devs create solely for themselves.  this brainwashing is so
  effective even some other advocators are using it now, defending
  the poor helpless devs.
 
  unfortunately there is no real community around openbsd. at least
  i dont see one -- one where there are people without cvs commit.
  if you don't have cvs commit, you are a nobody that's what misc@
  will teach any newcomer using iron and fire. i try to be part
  of a community but the devs say you are nobody and should be glad
  that you can use this stuff.

 Having met some of the OpenBSD developers last week, they're really
 friendly welcoming people. misc@ does get a bit warped at times though.
 As with any online commumication medium you lose all those non-verbal
 signals which makes it hard to take people the right way sometimes.

 Yes as users we are lucky to be able to use such quality code which
 OpenBSD produces. I think it's a pritty hard job to be a developer, paid
 consultant and offer free user support to the user base. So don't be so
 quick to judge, without trying it yourself ;)


 Dan


Dan, good insight and thanks for the adivce.

--
rogern

John 3:16



Re: openbsd and the money

2006-03-23 Thread Roger Neth Jr
On 3/23/06, Fergus Wilde [EMAIL PROTECTED] wrote:

 On Thursday 23 March 2006 14:09, frantisek holop wrote:
  just before i order my 3.9:
 
  this is what i feel sometimes, and i think sometimes more of you do.
 
 
  people who read misc@ for years might identify the following
  (for me disturbing) trend:
 
 
  twice a year (or maybe more) when it comes to money issues, Theo and
  the devs ask for donations, cd purchases. at the same time, people
  are every once in a while reminded how lucky they are to use what
  the devs create solely for themselves.  this brainwashing is so
  effective even some other advocators are using it now, defending
  the poor helpless devs.
 
 
  unfortunately there is no real community around openbsd. at least
  i dont see one -- one where there are people without cvs commit.
  if you don't have cvs commit, you are a nobody that's what misc@
  will teach any newcomer using iron and fire. i try to be part
  of a community but the devs say you are nobody and should be glad
  that you can use this stuff.

 Well I've been lurking here a long time, and feel I have had massive
 return
 for the odd purchase and donation. I don't see any hypocrisy whatever in
 the
 development process, rather I thank my lucky stars that OBSD has a strong
 purpose and direction. I don't think it's a problem that people are told
 they
 can't expect to get features put into or changed
 
 
  except when it comes to money.  well, well.
 
  then suddenly we ARE a community, we are NEEDED and should feel as one,
  so we can join powers and walk off into the setting sun.
 
 
 
  it is this hypocracy i hate the most (just as much as Theo does too
  -- that is why i love openbsd). if the project needs my money,
  i'd like to see a different stance from Theo and the devs and
  not the default go run something else idiot, we don't need you.
 
 
  because you obviously need my at least twice a year.
 
 
 
  you Theo, have the luxury only few have: work full time on what
  you like the most.  you don't have to go to meetings and live
  the corporate rat's life or some such non-sense.
 
  WE make it possible for YOU Theo to do this.
  so don't tell me i am lucky to use openbsd.
 
 
  having said that, i am going to order 3.9 just as i have been ordering
  releases every 6 month since i started making money.
 
  -f

 --
 Fergus Wilde
 Chetham's Library
 Long Millgate
 Manchester
 M3 1SB

 Tel: 0161 834 7961
 Fax: 0161 839 5797

 http://www.chethams.org.uk


Hello, I've been using OpenBSD for about a year now and lurking the mailing
list and sometimes posting.

Got yelled and appreciated it as it helped me understand that I have to do
some work and not expect a silver platter answer.

I think it is great that the devs are blogging what they are doing on
undeadly.

Also, how many times with other companies does the head dev and founder
answer a nobodies e-mail? : )

rogern

John 3:16



Re: openbsd and the money

2006-03-23 Thread Roger Neth Jr
On 3/23/06, Wojtek [EMAIL PROTECTED] wrote:

 Let's get straight. I don't need Theo de Raadt to tell me thank you, I
 don't need him to set any kind of thank letters, I need him to run this
 project, and make it work/develop. If he does, and project goes well...
 Yes, that's the way I know where are my money spend for.

 So let it just run, and please, don't say people, it's not we, it's not
 us, it's my own opinion, and I see it that way.

 --
 Wojtek


My name on the donation page is a good enough thank you.

I'll also include Theo and OpenBSD in my daily prayers.

rogern

John 3:16



Re: SGI O2

2006-03-22 Thread Roger Neth Jr
On 3/22/06, Bachman Kharazmi [EMAIL PROTECTED] wrote:

 After I downloaded the sets successfully and the rest of the
 installation went fine I tried to reboot the system, what happens
 after reboot is nothing. No boot ,  but I can enter the maintaing
 menu.

 Maybe of these lines have to be changed in console(maintain menu):
 SystemPartition=pci(0)scsi(0)disk(2)rdisk(0)partition(8)
 OSLoadPartition=pci(0)scsi(0)disk(2)rdisk(0)partition(0)

 In case that's my problem I don't know which one to change.
 printenv is pasted bellow.

 System Maintenance Menu

 1) Start System
 2) Install System Software
 3) Run Diagnostics
 4) Recover System
 5) Enter Command Monitor

 Option? 5
 Command Monitor.  Type exit to return to the menu.
  printenv
 AutoLoad=Yes
 diskless=0
 dbaud=9600
 volume=80
 sgilogo=y
 monitor=h
 TimeZone=PST8PDT
 netaddr=192.0.2.1
 crt_option=1
 SystemPartition=pci(0)scsi(0)disk(2)rdisk(0)partition(8)
 OSLoadPartition=pci(0)scsi(0)disk(2)rdisk(0)partition(0)
 OSLoader=boot
 OSLoadFilename=/bsd.rd
 OSLoadOptions=auto
 console=d
 ConsoleOut=serial(0)
 ConsoleIn=serial(0)
 cpufreq=270
 eaddr=08:00:69:0e:9b:ab
 videostatus=illegal_env_var
 On 22/03/06, Bachman Kharazmi [EMAIL PROTECTED] wrote:
  cool, it booted and I'm setting up my disk now :)
  thanks guys for all your replies.
  /bkw
  On 22/03/06, Bachman Kharazmi [EMAIL PROTECTED] wrote:
   I've two SGI O2 R12000 at home from today for experimental use.
   They've 32 of them unused at my uni so the admin said it was ok to
   take two :)
  
   Now I've problems installing osbd 3.8, I've choosed the cdboot
   installation method.
   First I : 'resetenv' then setenv OSLoader=boot and setenv
 OSLoadFilename=/bsd.rd
   Then I choose Install program from CDrom in the maintaining menu.
  
   What I can see on the screen is all the boot arguments at top (from
   the environment).
  
   OpenBSD/sgi Arcbios boot
   Boot: pci(0)scsi(0)cdrom(4)partition(0)/bsd.rd
   Loading ELF64 file
   0xfff... Loading symbol table
   Start at 0x
   ARCS32 Firmware Version 1.10
   SR=34010080
   Found SGI-IP32, setting up.
   And here it freeze, nothing else happens.
  
   any ideas are welcome, /bkw



Hello, here is my  02 setup and dmesg.

rogern

John 3:16



obsd39# cu -l tty00
Connected



System Maintenance Menu

1) Start System
2) Install System Software
3) Run Diagnostics
4) Recover System
5) Enter Command Monitor

Option? 5
Command Monitor.  Type exit to return to the menu.

 printenv
AutoLoad=Yes
console=g
diskless=0
dbaud=9600
volume=80
sgilogo=y
monitor=h
TimeZone=PST8PDT
netaddr=192.0.2.1
SystemPartition=pci(0)scsi(0)disk(1)rdisk(0)partition(8)
OSLoadPartition=pci(0)scsi(0)disk(1)rdisk(0)partition(0)
OSLoadFilename=/bsd
OSLoader=boot
cpufreq=180
eaddr=08:00:69:02:df:19
NoAutoLoad=CONSOLE OPEN FAILED.
ConsoleOut=serial(0)
ConsoleIn=serial(0)
 exitCannot connect to keyboard -- check the cable.
Cannot open keyboard() for input
Cannot connect to keyboard -- check the cable.
Cannot open keyboard() for input



 Running power-on diagnostics...



System Maintenance Menu

1) Start System
2) Install System Software
3) Run Diagnostics
4) Recover System
5) Enter Command Monitor

Option? 1


   Starting up the system...

arg 0: pci(0)scsi(0)disk(1)rdisk(0)partition(8)/boot
arg 1: OSLoadOptions=auto
arg 2: ConsoleIn=serial(0)
arg 3: ConsoleOut=serial(0)
arg 4: SystemPartition=pci(0)scsi(0)disk(1)rdisk(0)partition(8)
arg 5: OSLoader=boot
arg 6: OSLoadPartition=pci(0)scsi(0)disk(1)rdisk(0)partition(0)
arg 7: OSLoadFilename=/bsd

OpenBSD/sgi Arcbios boot
Boot: pci(0)scsi(0)disk(1)rdisk(0)partition(0)/bsd
Loading ELF64 file
0x8010:0x310d50, Zero 0x80410d50:0x5bb80, Loading symbol
table
Start at 0x8010
ARCS32 Firmware Version 1.10
SR=34010080
Found SGI-IP32, setting up.
Initial setup done, switching console.
NOTE: TLB code too large, using trampolines
[ using 267936 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2005 OpenBSD. All rights reserved.
http://www.OpenBSD.org

OpenBSD 3.8-beta (GENERIC) #156: Fri Aug 19 08:40:40 MDT 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/sgi/compile/GENERIC
real mem = 134217728
rsvd mem = 7020544
avail mem = 108875776
using 1638 buffers containing 6709248 bytes of memory
mainbus0 (root)
cpu0 at mainbus0: MIPS R5000 CPU rev 2.1 180 MHz with R5000 based FPC rev
1.0
cpu0: cache L1-I 32KB D 32KB 2 way, L2 512KB direct
macebus0 at mainbus0: crime rev 10.1
clock0 at macebus0: TOD with DS1687, ticker on int5 using count register
macepcibr0 at macebus0: mace rev 1, host system O2
pci0 at macepcibr0 bus 0
ahc0 at pci0 dev 1 function 0 Adaptec AIC-7880 rev 0x00: irq 9
ahc0: Host Adapter Bios disabled.  Using default SCSI device parameters
scsibus0 at ahc0: 16 targets
ahc0: target 1 using 8bit transfers
ahc0: target 1 using asynchronous transfers

Here we go - more nonesence out changein things (was: Reminder about the X Aperture)

2006-03-15 Thread Roger Neth Jr
On 3/15/06, Andrew Ng [EMAIL PROTECTED] wrote:
 Hi Chris,

 cool it. I think you meant nimrod. I said I believe Theo and others
 snip

Can anyone guess who nimrod was in history? : )

rogern

John 3:16



Re: Here we go - more nonesence out changein things (was: Reminder about the X Aperture)

2006-03-15 Thread Roger Neth Jr
On 3/15/06, unixadmin99 [EMAIL PROTECTED] wrote:
 On 15/03/06, Roger Neth Jr [EMAIL PROTECTED] wrote:
  On 3/15/06, Andrew Ng [EMAIL PROTECTED] wrote:
   Hi Chris,
  
   cool it. I think you meant nimrod. I said I believe Theo and others
   snip
 
  Can anyone guess who nimrod was in history? : )
 
  rogern
 
  John 3:16
 
 
 RTFM.
 Gen. 10:8-10
 http://www.htmlbible.com/kjv30/B01C010.htm#N8
 Gosh. even you should know :)
 *smiles*

 --
 ~michael



God Bless you

rogern

Romans 12:14



Re: Reminder about the X Aperture

2006-03-15 Thread Roger Neth Jr
On 3/15/06, Will H. Backman [EMAIL PROTECTED] wrote:
 Daniel Ouellet wrote:
  Sorry for my ignorance on the subject and this issue and the use of X
  all together.
 
  Not critical what so ever by any long shoot, but I was curious as to if
  there is some window manage that actually DO NOT need any of the X stuff
  all together?
 
  Meaning something that obviously will not be like KDE, or GNome for
  sure, not even remotely close to it, but anything like that, that works
  well and don't need ANY X stuff? Don't need or use the aperture stuff as
  well?
 
  I hope my question make some kind of senses.
 
  What's your favorite if any actually exists?
 
  Thanks
 
  Daniel
 
  PS: I guess my total ignorance on that specific subject show right! (:
 

 The only one that comes to mind is screen, but I don't think it is
 what you are looking for.



Hello,

I like the default xdm on OpenBSD and if no need for X I just install
without X and use console mode.

rogern

Romans 6:23



Re: Here we go - more nonesence out changein things (was: Reminder about the X Aperture)

2006-03-15 Thread Roger Neth Jr
On 3/15/06, unixadmin99 [EMAIL PROTECTED] wrote:
  God Bless you
 
  rogern
 
  Romans 12:14
 
 Comon Roger,
 Even you must have found a hint of humour in my reply. Oh and guess
 what... The list has just found yet another resource:
 http://www.htmlbible.com/kjv30
 Surely that deserves a few brownie points. :o)

 --
 ~michael

Hello Michael,

I installed a kjv program bible on OpenBSD.

To Greg

Matthew 4:4

rogern

John 3:16



Re: SGI's

2006-03-11 Thread Roger Neth Jr
On 3/11/06, Jason Crawford [EMAIL PROTECTED] wrote:
 I am soon going to be getting an Octane with dual R12000SC CPUs. I was
 wondering how well OpenBSD would work on this computer (I am pretty
 sure there isn't SMP support on the SGI stuff yet) and how much help
 is needed in getting the SGI port to work even better.

 Jason



Hello, I setup an SGI 02 with 3.8 last year and runs without a
problem. The only problem I had was understanding the SGI boot methods
and partitions. Once I understood that no problem.

As far as I know there isn't any X yet and I connect serially. I think
X is being worked on.

rogern

Romans 6:23



Re: SGI's

2006-03-11 Thread Roger Neth Jr
On 3/11/06, Jason Crawford [EMAIL PROTECTED] wrote:
 On 3/11/06, Roger Neth Jr [EMAIL PROTECTED] wrote:
  On 3/11/06, Jason Crawford [EMAIL PROTECTED] wrote:
   On 3/11/06, Roger Neth Jr [EMAIL PROTECTED] wrote:
On 3/11/06, Jason Crawford [EMAIL PROTECTED] wrote:
 I am soon going to be getting an Octane with dual R12000SC CPUs. I was
 wondering how well OpenBSD would work on this computer (I am pretty
 sure there isn't SMP support on the SGI stuff yet) and how much help
 is needed in getting the SGI port to work even better.

 Jason


   
Hello, I setup an SGI 02 with 3.8 last year and runs without a
problem. The only problem I had was understanding the SGI boot methods
and partitions. Once I understood that no problem.
   
As far as I know there isn't any X yet and I connect serially. I think
X is being worked on.
  
   Serial would be best for me, the SGI monitor I have is like 21+
   inches. I am pretty excited about trying this out, mips is one of the
   archs I don't have much experience with yet (some basic IRIX admin
   before, but that's it), so when I found one I thought I'd add it to my
   already somewhat large personal collection of differnet archs. I just
   wish I had a second one I could donate to the OpenBSD guys (SMP
   support would kick ass).
  
   Jason
  
 
  Last year I put OpenBSD on Sun Sparc (web server), DEC Alpha
  (firewall), plethora of i386's (laptops  desktops), one SMP on IBM
  x220 P3 (test machine).
 
  I would like to use OpenBSD with world wide missionaries as it is easy
  to setup and use, especially on older hardware. I anticipate that with
  Microsoft Vista coming out there will be a lot of old hardware
  available for OpenBSD. : )
 
  OpenBSD just keeps getting better and better all the time. Which
  reminds me to pre-order my CD's and t-shirt.

 Yeah I put it just about everywhere, and use it at work. My personal
 collection of archs is now at: x86, sparc, sparc64, sgi, hppa, hp300,
 alpha, and an old mac68k somewhere. Already pre-ordered my CD's, I
 just wish they had SGI and Alpha on them. I might be able to get a
 commador 64 at some point, but I think my fiance is going to shoot me
 if I bring another computer home.

 Jason


LOL, I know what you mean about all the computers. I am thankful that
I have an office and the power bill is part of the monthly rent.
I promised my Father in Heaven I was not going to buy any more
computers! And I haven't!

Best regards,

rogern

Job 23:10



SGI's

2006-03-11 Thread Roger Neth Jr
-- Forwarded message --
From: Roger Neth Jr [EMAIL PROTECTED]
Date: Mar 11, 2006 10:19 AM
Subject: Re: SGI's
To: Jason Crawford [EMAIL PROTECTED]


On 3/11/06, Jason Crawford [EMAIL PROTECTED] wrote:
 On 3/11/06, Roger Neth Jr [EMAIL PROTECTED] wrote:
  On 3/11/06, Jason Crawford [EMAIL PROTECTED] wrote:
   I am soon going to be getting an Octane with dual R12000SC CPUs. I was
   wondering how well OpenBSD would work on this computer (I am pretty
   sure there isn't SMP support on the SGI stuff yet) and how much help
   is needed in getting the SGI port to work even better.
  
   Jason
  
  
 
  Hello, I setup an SGI 02 with 3.8 last year and runs without a
  problem. The only problem I had was understanding the SGI boot methods
  and partitions. Once I understood that no problem.
 
  As far as I know there isn't any X yet and I connect serially. I think
  X is being worked on.

 Serial would be best for me, the SGI monitor I have is like 21+
 inches. I am pretty excited about trying this out, mips is one of the
 archs I don't have much experience with yet (some basic IRIX admin
 before, but that's it), so when I found one I thought I'd add it to my
 already somewhat large personal collection of differnet archs. I just
 wish I had a second one I could donate to the OpenBSD guys (SMP
 support would kick ass).

 Jason


Last year I put OpenBSD on Sun Sparc (web server), DEC Alpha
(firewall), plethora of i386's (laptops  desktops), one SMP on IBM
x220 P3 (test machine).

I would like to use OpenBSD with world wide missionaries as it is easy
to setup and use, especially on older hardware. I anticipate that with
Microsoft Vista coming out there will be a lot of old hardware
available for OpenBSD. : )

OpenBSD just keeps getting better and better all the time. Which
reminds me to pre-order my CD's and t-shirt.

rogern

John 3:16



Re: serial console

2006-03-09 Thread Roger Neth Jr
On 3/9/06, Gustavo Rios [EMAIL PROTECTED] wrote:
 Ok! Sorry, here is my dmesg:

 console is keyboard/display
 Copyright (c) 1982, 1986, 1989, 1991, 1993
 The Regents of the University of California.  All rights reserved.
 Copyright (c) 1995-2005 OpenBSD. All rights reserved.  http://www.OpenBSD.org

 OpenBSD 3.8 (GENERIC) #607: Sat Sep 10 16:03:59 MDT 2005
 [EMAIL PROTECTED]:/usr/src/sys/arch/sparc64/compile/GENERIC
 total memory = 67108864
 avail memory = 48103424
 using 409 buffers containing 3350528 bytes of memory
 bootpath: /[EMAIL PROTECTED],0/[EMAIL PROTECTED],840/[EMAIL 
 PROTECTED],880/[EMAIL PROTECTED],0
 mainbus0 (root): Sun Ultra 1 SBus (UltraSPARC 167MHz)
 cpu0 at mainbus0: SUNW,UltraSPARC @ 167 MHz, version 0 FPU
 cpu0: physical 32K instruction (32 b/l), 16K data (32 b/l), 512K
 external (64 b/l)
 timer0 at mainbus0 addr 0xfffc3c00 irq vectors 7f0 and 7f1
 sbus0 at mainbus0 addr 0xfffcc000: clock = 25 MHz
 STC0 on /mainbus enabled
 DVMA map: ff80 to e000
 IOTDB: 7ec000 to 7ee000
 audiocs0 at sbus0 slot 13 offset 0xc00 vector 24 ipl 8
 audio0 at audiocs0
 auxio0 at sbus0 slot 15 offset 0x190
 flashprom at sbus0 slot 15 offset 0x0 not configured
 fdc0 at sbus0 slot 15 offset 0x140 vector 29 ipl 11 softpri 4
 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
 clock1 at sbus0 slot 15 offset 0x120: mk48t59: hostid 808f6eda
 zs0 at sbus0 slot 15 offset 0x110 vector 28 ipl 12 softpri 6
 zstty0 at zs0 channel 0
 zstty1 at zs0 channel 1
 zs1 at sbus0 slot 15 offset 0x100 vector 28 ipl 12 softpri 6
 zskbd0 at zs1 channel 0: layout 33
 wskbd0 at zskbd0: console keyboard
 zstty2 at zs1 channel 1: mouse
 uperf0 at sbus0 slot 15 offset 0x130: model SUNW,sc-up (0/0) ports 3
 SUNW,pll at sbus0 slot 15 offset 0x1304000 not configured
 dma0 at sbus0 slot 14 offset 0x840: dma rev 2
 esp0 at dma0 slot 14 offset 0x880 vector 20 ipl 3: ESP200, 40MHz, SCSI ID 
 7
 scsibus0 at esp0: 8 targets
 sd0 at scsibus0 targ 0 lun 0: IBM, DCAS32160SUN2.1G, S65A SCSI2 0/direct 
 fixed
 sd0: 2063MB, 8188 cyl, 3 head, 172 sec, 512 bytes/sec, 4226725 sec total
 cd0 at scsibus0 targ 6 lun 0: TOSHIBA, XM5701TASUN12XCD, 0997 SCSI2
 5/cdrom removable
 ledma0 at sbus0 slot 14 offset 0x8400010: dma rev 2
 le0 at ledma0 slot 14 offset 0x8c0 vector 21 ipl 6: address
 08:00:20:8f:6e:da
 le0: 8 receive buffers, 2 transmit buffers
 SUNW,bpp at sbus0 slot 14 offset 0xc80 vector 22 ipl 2 not configured
 cgsix0 at sbus0 slot 2 offset 0x0 vector 5 ipl 5: SUNW,501-2325,
 1152x900, rev 11
 wsdisplay0 at cgsix0: console (std, sun emulation), using wskbd0
 pcons at mainbus0 not configured
 root on sd0a
 rootdev=0x700 rrootdev=0x1100 rawdev=0x1102
 syncing disks...
 console is keyboard/display
 Copyright (c) 1982, 1986, 1989, 1991, 1993


 This is my desktop. The remote unit have neither video board nor keyboard.

 Here is what i am trying on my local system:

 # tip -v -19200 ttya
 connected


 As you may see, not is shown when i turn on the remote box.

 Once more, thanks for your time and cooperation.

 /best regards.

 2006/3/9, Diana Eichert [EMAIL PROTECTED]:
  don't send attachments to the list, they get removed.



I have a Sun Ultra 2 Enterprise that I connect to serially by cu -l tty00
At first I had problems because I was not connected to the right serial port.
Also make sure you are using a null modem cable.

rogern

John 3:16



gnucash error snapshots i386

2006-02-09 Thread Roger Neth Jr
Hello,

I have the following error after pkg_add  gnucash-1.8.11p1.tgz from
snapshots on an i386

ERROR: In procedure dynamic-link:
ERROR: file: libgw-gnc, message: Cannot load specified object


Thank you,

rogern



Re: IBM admits that Puffy is the best defense!

2006-01-20 Thread Roger Neth Jr
On 1/20/06, Shane J Pearson [EMAIL PROTECTED] wrote:
 Howdy,

 http://www-8.ibm.com/e-business/au/operations/businesses.shtml?
 ca=auhomepageme=odbmet=051209defence

 ; )


 Shane



Hello, I think that ad is a negative connotation on puffy.

rogern

John 3:16



Re: umass trouble with USB flash drive

2005-11-29 Thread Roger Neth Jr
On 11/29/05, Matt Rowley [EMAIL PROTECTED] wrote:
  I have recently installed OpenBSD 3.8 from the official CDs.
  The Flash drive that worked perfectly in OpenBSD 3.6 and OpenBSD 3.7 now
  misbehaves.

 Hi, Zvezdan... not to be pedantic, but have you confirmed the flash drive
 working on another machine?  The only time I've seen errors like that,
 the drive itself was nearing its demise.

 cheers,
 --Matt


Hello, I have an old Sandisk 256 mini cruzer that times out on both
3.7 and 3.8. It worked before on 3.7 and works on XP. I tried a new
micro cruzer 512 and it works on all. I take this to mean that the
mini cruzer is getting close to it's demise.

rogern

John 3:16



Re: ssh brute force attacks

2005-11-11 Thread Roger Neth Jr
On 11/11/05, stan [EMAIL PROTECTED] wrote:
 I;ve got a machien that seems to getting atacked by what appears to be a
 simplistic brute force attck. it's getting hit multiple ties a second
 with bogus root login attempts, my guess is that they are trying dictionary
 atacks on the password for root.

 Any sugestions as to how to deal with this? Change the port ssh is
 listening on maybe?

 --
 U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong 
 Terror
 - New York Times 9/3/1967



I would also recommend no root login in your sshd_config

-- rogern

John 3:16



Re: a truly openbsd day

2005-10-31 Thread Roger Neth Jr
On 10/31/05, Gareth Nelson [EMAIL PROTECTED] wrote:
 Unfortunately people have been brainwashed with the windows way, being a *nix
 user myself I loved how simple OpenBSD was to setup, but I couldn't picture a
 complete newbie doing it.

 snip

Being a *nix newbie I decided on OpenBSD as I found it the easiest to
install and use. I did not like linux or some of the other BSD's.

I have been able to install OpenBSD on several different arches. Set
up a pf  ppp firewall, Apache webserver, laptops and desktops. Trying
to figure out sendmail (maildroid) as a mail server. Do I need a DNS
server for a mail server? I am trying with host files without success.

I have been learning OpenBSD on a regular basis since May of this
year. I still have tons to learn but I am able to complete my day to
day tasks at work and home on OpenBSD.

This mailing list, documentation, man pages, OpenBSD community are the best!

rogern

John 3:16



Re: iptables vs pf

2005-10-20 Thread Roger Neth Jr
On 10/19/05, Budhi Setiawan [EMAIL PROTECTED] wrote:
 On Wed, 19 Oct 2005 20:43:38 -0700
 Roger Neth Jr [EMAIL PROTECTED] wrote:

  Hello, I put OpenBSD 3.8 snapshot on an old DEC 500pws with pf.conf
  and it was okay on response. Then I redid my pf.conf with the tutorial
  by Jeff Hansteen posted a couple of days ago.
 

 can you send me that link, please ?

 Thanks
 BS


Here you go, enjoy! : )

http://www.bgnett.no/~peter/pf/en/ - full text, html, English



Re: iptables vs pf

2005-10-20 Thread Roger Neth Jr
On 10/20/05, Marc Peters [EMAIL PROTECTED] wrote:
 hi roger,

 i searched in the archives at marc.theaimsgroup.com but didn't find the
 thread you mention. du you have a link for me?

 TIA,
 marc

 Roger Neth Jr schrieb:
 
 
  Hello, I put OpenBSD 3.8 snapshot on an old DEC 500pws with pf.conf
  and it was okay on response. Then I redid my pf.conf with the tutorial
  by Jeff Hansteen posted a couple of days ago.
 
  Wow! what a difference. My DEC firewall is faster than snot loading up
  web pages. It is like I upgraded my ADSL to a faster speed.
 
  Beats my old Linksys router I was using before this.
 
  Thanks OpenBSD and Jeff.
 
  Best regards,
 
  rogern
 
  John 3:16
 
 



Sorry my bag, it is Peter Hansteen not Jeff Hansteen

rogern



Re: iptables vs pf

2005-10-19 Thread Roger Neth Jr
On 10/19/05, Edy Purnomo [EMAIL PROTECTED] wrote:
 i suggested to my friend to replace his linux box to openbsd.
 he uses mailnly for internet gateway : pf + squid proxy
 after 2 weeks later he switched it back linux and said : linux much faster
 to respond the http requests (he had a same configuration on openbsd, pf +
 squid proxy).

 is there any program that can proof what he says ?
 thanks.

 -edy-



Hello, I put OpenBSD 3.8 snapshot on an old DEC 500pws with pf.conf
and it was okay on response. Then I redid my pf.conf with the tutorial
by Jeff Hansteen posted a couple of days ago.

Wow! what a difference. My DEC firewall is faster than snot loading up
web pages. It is like I upgraded my ADSL to a faster speed.

Beats my old Linksys router I was using before this.

Thanks OpenBSD and Jeff.

Best regards,

rogern

John 3:16



Re: OpenBSD's 10th birthday -- how about a present?

2005-10-18 Thread Roger Neth Jr
I pre-orderd cd set and t-shirt (before the art was available). : )

Happy B-day OpenBSD.

rogern

John 3:16

On 10/18/05, STeve Andre' [EMAIL PROTECTED] wrote:
 On Tuesday 18 October 2005 21:07, Paul Greene wrote:
  STeve Andre' wrote:
 Seeing all sorts of good wishes to the project, but I haven't
  seen any gifts, yet. ;-)
  
 I just paypaled $25 to the project, as a birthday present.  Given
  what we all get from this OS, OpenBSD deserves something.
  
 Can I get 10 others to make some kind of donation?  It doesn't
  have to be a lot...
  
  --STeve Andre'
 
  Well, I finally got out the credit card and actually paid for some CD's.
 
  Does that count?
 
  Paul

 Sure it does.  It helps the project.  Thank you.

 So, four people donating money and one buying a CD set.

 ...Do I hear more?

 --STeve Andre'



Re: Happy Birthday OpenBSD

2005-10-14 Thread Roger Neth Jr
HAPPY BIRTHDAY OPENBSD! from Monterey, California.

On 10/14/05, Joco Salvatti [EMAIL PROTECTED] wrote:
 Brazilian community wish you happy birthday!!

 Feliz Aniversario OpenBSD!

 On 10/14/05, Marcin Wilk [EMAIL PROTECTED] wrote:
  HAPPY BIRTHDAY OPENBSD !!!
 
  Thank You Theo De Raadt for 10 years of hard work under OpenBSD!
  Thank You community for support, hacking  learning OpenBSD!
 
  VIVA LA OpenBSD!
  Wszystkiego najlepszego!
 
  At 11:53 2005-10-14, you wrote:
 
   HAPPY BIRTHDAY OPENBSD 

   \   ^__^
\  (oo)\___
   (__)\   )\/\
   ||w |
   || ||
  
  
  10`s years :)
 
 


 --
 Joco Salvatti
 Undergraduating in Computer Science
 Federal University of Para - UFPA
 web: http://salvatti.expert.com.br
 e-mail: [EMAIL PROTECTED]




--
Roger D Neth Jr
Owner

MR Services
651Cannery Row, Suite 11
Monterey, CA 93940

Office 831-641-9255
Fax 831-641-9255

e-mail [EMAIL PROTECTED]



Re: Happy Birthday OpenBSD

2005-10-14 Thread Roger Neth Jr
HAPPY BIRTHDAY OPENBSD! from Monterey, California.

 If any of you visit my way please look me up.

On 10/14/05, Joco Salvatti [EMAIL PROTECTED] wrote:
 Brazilian community wish you happy birthday!!

 Feliz Aniversario OpenBSD!

 On 10/14/05, Marcin Wilk [EMAIL PROTECTED] wrote:
  HAPPY BIRTHDAY OPENBSD !!!
 
  Thank You Theo De Raadt for 10 years of hard work under OpenBSD!
  Thank You community for support, hacking  learning OpenBSD!
 
  VIVA LA OpenBSD!
  Wszystkiego najlepszego!
 
  At 11:53 2005-10-14, you wrote:
 
   HAPPY BIRTHDAY OPENBSD 

   \   ^__^
\  (oo)\___
   (__)\   )\/\
   ||w |
   || ||
  
  
  10`s years :)
 
 


 --
 Joco Salvatti
 Undergraduating in Computer Science
 Federal University of Para - UFPA
 web: http://salvatti.expert.com.br
 e-mail: [EMAIL PROTECTED]



Searching for Unix based point of sale systems without much success

2005-10-13 Thread Roger Neth Jr
Hello List, I have been trying to find some Unix based point of sale
systems for restaurants and retailers. Mostly independents, mom and
pops.

The only ones of interest I have been able to find are
www.bananahead.com (based on Linux) and www.viewtouch.com (based on
freebsd)

My goal is to install OpenBSD as the operating system and run a point
of sale program on top of it being easy to install, secure, stable and
easy to maintain.

Anyone know of anything like this?

I'm not a programmer just a point of sale reseller that loves OpenBSD
and would like to use OpenBSD to produce some income to give to the
OpenBSD effort, further God's Kingdom and pay the expenses.

Thank you,

rogern

John 3:16



  1   2   >