Re: Possible regression on dhclient (current)

2012-11-12 Thread Joerg Zinke
Am 12.11.2012 um 23:01 schrieb Ville Valkonen weezeld...@gmail.com:

 Hello all,
 
 I was surfing on a Web when suddenly all traffic stopped. Closer examination
 revealed Too many open files failure with the dhclient. Since there have 
 been
 improvements in the dhclient lately, could this be related?


Are you really on latest -current?
There was a fix committed for a descriptor leak, which results in the 
problems you describe.
http://www.openbsd.org/cgi-bin/cvsweb/src/sbin/dhclient/kroute.c.diff?r1=1.12;r2=1.13;f=h


 Tried to do pkill -TERM dhclient  sudo dhclient trunk0 but no cigar. Any
 hints what to try the next time if this occurs?

route flush 

 Uptime was 3 days if it happens
 to matter. I'm also testing Brain Fuck Scheduler patch since it makes videos
 playable. Yes, I can rule it out by running GENERIC if necessary.
 
 Complete dmesg at the bottom of this message.
 
 But now, here's some information:
 $ dmesg |tail -100
 ...
 arpresolve: 192.168.50.101: route without link local address
 arpresolve: 192.168.50.101: route without link local address
 arpresolve: 192.168.50.101: route without link local address
 arpresolve: 192.168.50.101: route without link local address
 arpresolve: 192.168.50.101: route without link local address
 ...
 
 /var/log/daemon:
 Nov 12 23:08:38  dhclient[9627]: DHCPDISCOVER on trunk0 to
 255.255.255.255 port 67 interval 3
 Nov 12 23:08:38  dhclient[9627]: DHCPOFFER from 192.168.50.101
 (00:30:18:a4:f8:e3)
 Nov 12 23:08:38  dhclient[9627]: DHCPREQUEST on trunk0 to
 255.255.255.255 port 67
 Nov 12 23:08:38  dhclient[9627]: DHCPACK from 192.168.50.101 
 (00:30:18:a4:f8:e3)
 Nov 12 23:08:38  dhclient[7427]: socket open failed: Too many open files
 Nov 12 23:08:38  dhclient[9627]: bound to 192.168.50.102 -- renewal in
 300 seconds.
 Nov 12 23:08:38  dhclient[9627]: DHCPDISCOVER on trunk0 to
 255.255.255.255 port 67 interval 3
 Nov 12 23:08:38  dhclient[9627]: DHCPOFFER from 192.168.50.101
 (00:30:18:a4:f8:e3)
 Nov 12 23:08:38  dhclient[9627]: DHCPREQUEST on trunk0 to
 255.255.255.255 port 67
 Nov 12 23:08:38  dhclient[9627]: DHCPACK from 192.168.50.101 
 (00:30:18:a4:f8:e3)
 Nov 12 23:08:38  dhclient[7427]: socket open failed: Too many open files
 Nov 12 23:08:38  dhclient[9627]: bound to 192.168.50.102 -- renewal in
 300 seconds.
 
 /var/log/messages
 Nov 12 23:11:59  /bsd: arpresolve: 192.168.50.101: route without link
 local address
 Nov 12 23:12:21  /bsd: arpresolve: 192.168.50.101: route without link
 local address
 Nov 12 23:14:58  last message repeated 15 times
 Nov 12 23:22:22  last message repeated 32 times
 Nov 12 23:22:24  dhclient[9276]: SIOCDIFADDR failed (192.168.50.102):
 Can't assign requested address
 Nov 12 23:22:24  dhclient[9276]: SIOCDIFADDR failed (192.168.50.102):
 Can't assign requested address
 Nov 12 23:22:27  /bsd: arpresolve: 192.168.50.101: route without link
 local address
 Nov 12 23:23:04  last message repeated 5 times
 
 $ ulimit -a
 time(cpu-seconds)unlimited
 file(blocks) unlimited
 coredump(blocks) unlimited
 data(kbytes) 716800
 stack(kbytes)4096
 lockedmem(kbytes)1298308
 memory(kbytes)   3881796
 nofiles(descriptors) 500
 processes128
 
 NOTICE: Closed Chromium since it had several descriptors opened. After that
 fstat |wc -l   showed ~400. Tried to restart dhclient again but with no luck.
 
 
 $ route -n show # (not using inet6)
 Routing tables
 
 Internet:
 DestinationGatewayFlags   Refs  Use   Mtu  Prio Iface
 default192.168.50.101 UGS4  192 - 8 trunk0
 127/8  127.0.0.1  UGRS   00 33152 8 lo0
 127.0.0.1  127.0.0.1  UH 2 2935 33152 4 lo0
 192.168.50/24  link#5 UC 10 - 4 trunk0
 192.168.50.101 00:30:18:a4:f8:e3  UHLc   0   55 - 4 trunk0
 192.168.50.102 127.0.0.1  UG 00 3315256 lo0
 224/4  127.0.0.1  URS00 33152 8 lo0
 
 
 OpenBSD 5.2-current (GENERIC.MP) #0: Fri Nov  9 15:19:24 EET 2012
weezel@:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 real mem = 4121640960 (3930MB)
 avail mem = 3989434368 (3804MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xe0010 (44 entries)
 bios0: vendor LENOVO version 6JET93WW (1.51 ) date 03/26/2012
 bios0: LENOVO 284756G
 acpi0 at bios0: rev 4
 acpi0: sleep states S0 S3 S4 S5
 acpi0: tables DSDT FACP HPET MCFG APIC BOOT SLIC SSDT SSDT SSDT
 acpi0: wakeup devices P0P2(S4) P0P1(S4) USB0(S3) USB1(S3) USB2(S3)
 USBR(S3) EHC1(S3) USB3(S3) USB4(S3) USB5(S3) EHC2(S3) HDEF(S4)
 PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4)
 RP04(S4) PXSX(S4) RP05(S4) RP06(S4) BLAN(S4) LID_(S3) SLPB(S3)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpihpet0 at acpi0: 14318179 Hz
 acpimcfg0 at acpi0 addr 0xe000, bus 0-255
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: 

Re: dwm in base

2012-07-11 Thread Joerg Zinke
On Tue, Jul 10, 2012 at 08:26:28PM -0400, Sean Howard wrote:
 Almost everyone compiles dwm on their own, binaries are almost useless. At
 least amongst the users I've known.

  On Tue Jul 10 2012 20:52, z...@sdf.org wrote:
  And, last but not least, its configuration is modified by editing its
  config.h by hand. So, everyone seriously using it compiles it from
  source, anyway.

I think you are both wrong. Several people are fine with the more or less sane
upstream defaults and do not tweak them.

I seriously use dwm from OpenBSD packages since a long time and I know furthers
doing the same (with other OS packages) as well.

Regards,
Joerg



Re: Hosting at Strato.de: anybody using PowerServer L with Opteron 1212 HE?

2010-06-10 Thread Joerg Zinke
Hi,

On Wed, 09 Jun 2010 22:07:08 +0200
Markus Hennecke markus-henne...@markus-hennecke.de wrote:

 Am 09.06.2010 20:35, schrieb umaxx:
 
  I have a PowerServer M with Opteron 1210 which runs fine with
  4.7-stable and native(!) IPv6.
 
 Does the PowerServer M still got the serial console option?

Yes, I used serial console for installation and it is still listed in
feature list of the server offer too.

 A guy
 working at Strato told me that it was left out for marketing reasons
 to make the virtual servers look better.

He seems to be wrong.

 Ok, marketing and reason in
 one sentence does not make any sense. I still got the old M server
 with the athlon and I have to disable ACPI to make it run correctly.

I did not need to disable ACPI.

Regards,

JC6rg



Re: openbsd router hardware

2008-03-02 Thread Joerg Zinke
On Sat, 01 Mar 2008 20:32:33 -0500
Brian A. Seklecki (Mobile) [EMAIL PROTECTED] wrote:

 
 On Mon, 2007-12-24 at 13:29 +0100, Joerg Zinke wrote:
  Hi,
  
  I'm looking for hardware to install an openbsd based dsl-router.
  I already searched the list archives and looked at WRAP and Soekris,
  but it seems that they do not match my requirements:
  
  - fanless
  - as small as possible
 
 - Soekris
 - Routerboard
 - Axiomtek
 - ARInfotek
 - Nexcom
 - Advantech
 - Acrosser
 - Win Enterprises
 
 I think that we can agree that you really want to avoid VIA-anything.
 You really get what you pay for.  Some set top models I've looked at:
 
 http://www.axiomtek.com/products/ViewProduct.asp?view=470
 
 http://www.nexcom.com/product/productshow.jsp?iid=11pid=919
 
 http://www.advantech.com/products/Tabletop-Intel-Pentium-MProcessor-based-Platformwith-4-PCIe-LAN-Ports-MINIPCI-Expansion-Onboard/mod_1-2JKJKY.aspx
 
 
 http://www.acrosser.com/Product/Networking%
 20applicance/VPN-V-Series/Firewall_eden_m9923.html
 
 
 http://www.arinfotek.com/product/product.asp?idx=2002pid=11

Thanks for all the links, I already have this box up and running:

http://www.omtec.de/200/cgi-bin/artikel/121/

with a 80GB HDD (24/7) and an additionally built-in:

ral0 at pci1 dev 6 function 0 Ralink RT2561 rev 0x00: irq 11, address
xx:xx:xx:xx:xx:xx 
ral0: MAC/BBP RT2561C, RF RT2527

And I ordered this: 

http://www.mini-itx.com/store/?c=42

together with this:

http://www.mini-itx.com/store/?c=2#epiasn

to build a NAS based on an Areca Hardware-Raid Controller (SATA-II).
This will be my first VIA Board, will see how it works...

Cheers,

Joerg



Re: Problems with Sticky-Address Not Sticking with Hoststated

2008-01-25 Thread Joerg Zinke
Hi David,

On Fri, 25 Jan 2008 13:24:25 -0500
David Goldsmith [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 We have two firewalls running OpenBSD 4.2 with PF and CARP.  We have
 two web servers that we want to load balance traffic between and have
 clients stay connected to one server as long as that server is up.
 
 Our /etc/pf.conf and /etc/hoststated.conf files are configured per the
 examples in The Book of PF on pages 51-53.  The problem is that a
 web client is not sticking to one server or the other.  Each time we
 refresh the page in the browser, we connect to the other server.  The
 servers each have a web page whose contents identify which server it
 is.
 
 We have been testing this from clients with IP addresses on the
 10.1.16.0/24 subnet which is attached to the trunk0 interface on the
 firewalls.  The web servers are on the 10.1.48.0/24 subnet connected
 to trunk2 on the firewalls.
 
 Here are the contents of the config files:
 
 /etc/pf.conf
 - 
 int_if=trunk0
 build_if=trunk2
 
 webserver=10.1.48.200
 webports = { http, https }
 table webpool persist { 10.1.48.100, 10.1.48.101 }
 
 set timeout src.track 60
 
 rdr-anchor hoststated/*
 
 rdr on $int_if proto tcp from any to $webserver port $webports - \
 ~webpool round-robin sticky-address

^^^ I think the second rule is not needed if hoststated is running.
AFAIK this second rule will never be executed if hoststaed is
running, because hoststated creates the same rule (before) on the
anchor position.

 pass in on $int_if proto tcp from any to webpool port $webports
 pass out on $build_if proto tcp from any to webpool port $webports
 
 
 /etc/hoststated.conf
 - 
 interval 30
 timeout 2000
 
 site1_public= 10.1.48.200
 site1_web1a = 10.1.48.100
 site1_web1b = 10.1.48.101
 
 # Port 80
 table webpool {
 ~real port http
 ~check http /up.txt code 200
 ~host $site1_web1a
 ~host $site1_web1b
 }
 
 service site1 {
 ~virtual host $site1_public port http
 ~tag HOSTSTATED
 ~table webpool
 }

^^^ here you missed the sticky-address option, check: man
hoststated.conf 

Regards,

Joerg



Re: facts about OpenBSD

2008-01-10 Thread Joerg Zinke
On Wed, 9 Jan 2008 23:03:29 +0200
Nikns Siankin [EMAIL PROTECTED] wrote:

 Facts about OpenBSD:
 
 # Stable release cycle. 
   If you want to run latest bugfree ClamAV or FireFox - upgrade to
 CURRENT! But don't forget to buy release CD's!!!

if you do not like to use CURRENT, send a patch which backports
these versions to stable. 
you are listed as maintainer for some ports, means you should
know how things work.

 # Secure By Default.
   OpenBSD uses broken WEP for securing WiFi networks.
   Has no WPA/WPA2 support.

wpa is not much better than wep. useful alternative: ipsec, another
alternative: secure your wlan with pf/authpf.

 # Do not let serious problems sit unsolved. 
   OpenBSD doesn't need MAC because it has their own security flawed
 systrace. 

i do not get the point. seriously, have you ever used systrace?

 # Use of Cryptography. 
   OpenBSD uses file-backed encryption (svnd) which is very suited
   for Full-disk-encryption. NOT.

wrong. i use it on a whole raid 1 disk for example, no problems here.

$ df -h
Filesystem SizeUsed   Avail Capacity  Mounted on
[...]
/dev/svnd0c411G249G141G64%/media

 # Full Disclosure. 
   OpenBSD at first denies remote exploitable flaws. 
   DoS flaws gets marked as reliability not security issues.

what's the problem?

 # Easy maintainable. 
   OpenBSD distributes source patches to make your farm of
   Pentium2 firewalls updated easly.

if you own such a cluster (i doubt that) you would compile the patch
only once and then distriubute the binaries.

 # Secure Distribution.
   The most secure operation system gets distributed on FTP servers
   as unsigned binaries.

buy the cd or use cvs+ssh if you do not like unsigned ftp binaries. 
 
 Disclaimer: Like it or not. I'm OpenBSD user for 4 years.
 Shit on my head - shit on all OpenBSD supporters.

why did you start such a flame-mail? it makes you look like a 
whiner.
if you do not like openbsd, use something else.

regards,

joerg



Re: Problem while chroot python and modules in apache

2008-01-02 Thread Joerg Zinke
On Wed, 02 Jan 2008 10:59:27 +0800
Michael Bibby [EMAIL PROTECTED] wrote:

 Hi, all.
 
 I use OpenBSD 4.2 -release and the default chrooted apache.
 
 I copied all files python needed, and it works. but the modules
 py-ldap doesn't work.
 
 
 # tail -f /var/www/logs/error_log
 Traceback (most recent call last):
   File /cgi-bin/msm/domain_list, line 5, in ?
 import ldapoperation
   File /cgi-bin/msm/ldapoperation.py, line 4, in ?
 import ldap
   File /usr/local/lib/python2.4/site-packages/ldap/__init__.py,
 line 23, in ?
 from _ldap import *
 ImportError: Cannot load specified object
 [Wed Jan  2 19:05:44 2008] [error] [client 172.16.252.1] Premature
 end of script headers: /cgi-bin/msm/domain_list
 

did you copied openldap libs/files too?
afaik, py-ldap module is linked against them.

regards,

joerg



Re: openbsd router hardware

2007-12-25 Thread Joerg Zinke
On Mon, 24 Dec 2007 13:02:31 +
Sevan / Venture37 [EMAIL PROTECTED] wrote:

  - fanless
  - as small as possible
  - at least 2, better 3 ethernet ports
  - a wlan-card (as access point in hostap mode)
  - mainboard and other hardware should work with openbsd of course,
would be nice to see output from hw.sensors*
  - storage should have at least 10GB, I think this leads to a real
ide/sata-disk (maybe 2.5)
  - vga-output (because I have no other machine with a serial port to
  do the installation)
  - lcd-display (something that is supported by lcdproc, which seems
  to work fine on openbsd)
 
  Not a requirement, but nice-to-have: usb-2.0 port(s).
 
  Does anyone know a company or vendor which builds such an
  (openbsd-)ready system fulfilling the above requirements?
 
  Or did I need to start buying all pieces (maybe mini-itx based?) and
  assembly them on my own?
 
  Any hints?
 
 mini-itx looks to be your best option

thats what I think now too. 

anyway, I would like to say thanks to all who replied on this
thread.

Regards,

Joerg



openbsd router hardware

2007-12-24 Thread Joerg Zinke
Hi,

I'm looking for hardware to install an openbsd based dsl-router.
I already searched the list archives and looked at WRAP and Soekris,
but it seems that they do not match my requirements:

- fanless
- as small as possible
- at least 2, better 3 ethernet ports
- a wlan-card (as access point in hostap mode)
- mainboard and other hardware should work with openbsd of course,
  would be nice to see output from hw.sensors*
- storage should have at least 10GB, I think this leads to a real
  ide/sata-disk (maybe 2.5)
- vga-output (because I have no other machine with a serial port to do
  the installation)
- lcd-display (something that is supported by lcdproc, which seems to
  work fine on openbsd)

Not a requirement, but nice-to-have: usb-2.0 port(s).

Does anyone know a company or vendor which builds such an
(openbsd-)ready system fulfilling the above requirements?

Or did I need to start buying all pieces (maybe mini-itx based?) and
assembly them on my own?

Any hints?

Regards,

Joerg



Re: adding authentication to app with web interface

2007-12-17 Thread Joerg Zinke
On Mon, 17 Dec 2007 15:17:00 -0500
Frank Bax [EMAIL PROTECTED] wrote:

 We have an app running on windows machine that has a web interface.
 We would like to access this web-app from a mobile device (cell
 phone).  Is there software we could install on OpenBSD that sits
 between this box and windows box that would provide authentication?
 Something like .htaccess in apache would work; except that I don't
 know how to tell apache that pages are to be really retrieved from
 another system is this even possible).  Web interface contains forms,
 so solution must pass through POST variables,
 

maybe apache + htaccess + mod_proxy (configured as reverse proxy)



Re: Theo vs. Richard - avoiding the facts!

2007-12-16 Thread Joerg Zinke
On Sun, 16 Dec 2007 02:56:52 +0100
Rico Secada [EMAIL PROTECTED] wrote:

 Who am I Theo asked, a big fat nobody (maybe), but I started this
 issue to begin with and after criticizing Theo for being unnecessary
 rude to Richard I have noticed that Richard keeps avoiding the facts!
 
 Richard you continue to avoid the questions or issues brought forth by
 Theo, could you please focus on the issue rather than commenting the
 same statements over and over again!

FULL ACK! 

Richard, please answer to the (following) issues/facts brought up by
Theo!

 Theo wrote:
 
  On the bsd talk show you did not withhold your recommendation
  because the ports system suggests non-free programs.  No way,
  that's not what you said on that show.
  
  What actually happened is that you withheld your recommendation
  because it CONTAINS non-free programs; that is what your words were.
 
 This is the TRUTH, anybody can hear that for himself, and that's why I
 wrote to the list in the first place!
  
  It turns out that the above assessment was based on a complete lack
  of research.  It was uneducated, and you should have apologized for
  the error.
  
  You were really clear in your interview.  And wrong.
  
  Later on, on this mailing list, you have changed your statements to
  say that your recommend against OpenBSD because it now... RECOMMENDS
  non-free software.
 
 Clearly the TRUTH as well! We have all witnessed that!
 
  We've made it quite clear that Emacs and gcc recommend the use of
  non-free software, by directly containing code to support those
  systems.  The ports tree does not contain code to support non-free
  components.  It simply provides URLs to a few select things which
  people might wish to use.  Itself, it contains no non-free code and
  makes no recommendations.  But gcc and emacs directly contain code
  which RECOMMENDS compilation on non-free systems, by actually
  compiling and running there.
 
 This is the TRUTH! By containing code which recommends compilation on
 non-free system then Richard you are doing MORE to support non-free
 than the OpenBSD ports system is! That's a fact! That's NOT an
 opinion.
 
  You are a hypocritical liar, Richard.
  
  Your lies taint the efforts of the entire FSF and GNU communities.
  
  Shame on you all for letting Richard mislead you so.
 
 I am sorry Theo, I know you don't give a rats ass, but you are right,
 and you have been right all along! 
 
 Dear Richard unless you actually address the above mentioned issues,
 in context of the e-mail from Theo, you will look hypocritical! You
 say what you don't do yourself.
 
 Best regards.
 
 Rico Secada.



Re: touch screens

2007-09-25 Thread Joerg Zinke
On Mon, 24 Sep 2007 16:15:08 -0700
Chris Cappuccio [EMAIL PROTECTED] wrote:

 Does anyone have any recommendations on 7 or smaller touch screens
 that have a USB input ?
 
 I want something preferrably under or around $100... I want to mount
 it on a car dash.
 

from: http://www.openbsd.org/cgi-bin/man.cgi?query=uts

 The uts driver works with the following touchscreens and panels:

   -   Gunze USB Touch Panel
   -   Hantouch
   -   LG L1510SF LCD Monitor
   -   Origin AE X15e HTPC case with 7 LCD



Re: pppoe problems

2007-08-11 Thread Joerg Zinke
Hi,

 Am 10.08.2007 um 19:42 schrieb Umaxx:
 

 Try deleting these two statements:

   enable lqr
   set lqrperiod 5

 The default is that these settings are disabled then and if it is  
 required they are automatically added. Since I disabled those two  
 settings my pppoe connection runs flawlessly.


Thanks for the hint, I tried that already - was not working.

Cheers,

Joerg



Re: Macbook on Openbsd

2007-07-25 Thread Joerg Zinke
On Wed, 25 Jul 2007 08:13:41 +0200
Karl Sjvdahl - dunceor [EMAIL PROTECTED] wrote:

 On 7/15/07, Richard Storm [EMAIL PROTECTED] wrote:
  The final:
 
  MacBook 13 Core2Duo
 
  *  OpenBSD 4.1-release partly works.
  * Integrated 82945GM works fine with the 1280x800 wide screen,
  after enabling the resolution using the x11/915resolution package by
  invoking it in /etc/securelevel like:
  /usr/local/sbin/915resolution 4d 1280 800 /dev/null
  * Sound (azalia) works only in -current kernel, but no recording
  anyway
  * Built in keyboard/trackpad gets recognized only in amd64 acpi
  enabled bsd.mp, openbsd can be installed using external usb
  keyboard plugged in first USB port
  * no APM support (no batery status, halt -p, no suspend).
  * The onboard GigaBit NIC (msk) works fine.
  * Wireless doesn't work (vendor Atheros, unknown product 0x0024).
  * Enhanced SpeedStep works in -current (sysctl hw.setperf).
  * hw.sensors.cpu0.temp0 works in -current.
  * Infrared/bluetooth doesn't work.
  http://stormrichard.bravehost.com/macbook/dmesg_amd64_aci_mp.txt
  http://stormrichard.bravehost.com/macbook/xorg.conf
 
 

 I'm going to buy a macbook today so I checked out what people say.
 There are two post, one says to use adm64 and ones says to use i386
 (or at least they have used that them self).

 Does the keyboard/trackpad work in i386 or is it no working in both
 i386/amd64.

my keyboard/trackpad works fine with enabled acpi 4.1-stable i386 on an
older macbook core duo (not pro and not core 2 duo)

https://www.umaxx.net/src/dmesg.txt

keyboard on boot loader prompt is not working, not even with an
external usb keyboard.

--
https://www.umaxx.net

A: Because it messes up the order in which people read text.
Q: Why does top-posting make it difficult?
A: Top-posting.
Q: What is something that makes email communication difficult?



Re: Failing to get [EMAIL PROTECTED] in X

2007-05-17 Thread Joerg Zinke
On Sat, 12 May 2007 12:59:09 -0700
Michael Oliver [EMAIL PROTECTED] wrote:

 On 5/12/07, Alex Holst [EMAIL PROTECTED] wrote:
 
  Quoting Tobias Weingartner [EMAIL PROTECTED]:
   xdpyinfo | grep dim
 
  tori$ xdpyinfo | grep dim
dimensions:1680x1050 pixels (474x303 millimeters)
 
  And my current xorg.conf with what I believe are correct HorizSync
  and VertRefresh:
  http://a.mongers.org/x/xorg.conf
 
  This config outputs [EMAIL PROTECTED]
 
  --
  I prefer the dark of the night, after midnight and before
  four-thirty, when it's more bare, more hollow.
  http://a.mongers.org
 
 
 
 I had a similar problem a few weeks back. It turned out that the 'nv'
 driver didn't support wide screen resolutions. However, I installed
 the 'nvidia' drivers and it worked out just fine. Perhaps this
 problem is similar.


you installed the nvidia driver on openbsd, how? i assume you talk about
a linux distribution or some other BSD which supports nvidia binaries.



Re: 4.1 and Macbook Pro

2007-05-02 Thread Joerg Zinke
On Tue, 1 May 2007 20:59:31 +0200
Paul de Weerd [EMAIL PROTECTED] wrote:

 On Tue, May 01, 2007 at 01:27:38PM -0500, Aaron Hsu wrote:
 | On Tue, 01 May 2007 13:15:04 -0500, Otto Moerbeek [EMAIL PROTECTED]
 wrote: |
 | On Tue, 1 May 2007, Aaron Hsu wrote:
 | 
 | On Tue, 01 May 2007 03:35:33 -0500, Otto Moerbeek [EMAIL PROTECTED]
 | wrote:
 |
 | [...]
 |
 |  The UKC prompt is still not working, you'll need an ACPI
 enabled  | bsd.rd.
 | 
 | I do not havebunfortunately, a current installation of OpenBSD on
 | which I can
 | compile a new BSD.RD kernel. Is there a way I can work around
 this? |
 | [...]
 |
 | One quite involved method I can think of: if you have parallels,
 you | could use that to build a ACPI enabled release (see
 release(8), remove | disable from the acpi line for GENERIC and
 RAMDISK_CD). |
 | Well wait a second, that makes sense! Hah, I think I can do that.
 All I | would have to do is build two new kernels, right? A BSD.RD
 and a BSD? And | then I could just make a bootable iso straight from
 the rest of 4.1, no?
 
 I think you can just run config(8) against a bsd.rd from some
 snapshot. After installation, you can chroot into your installed OS
 and config(8) /bsd and/or /bsd.mp (the Core Duo has two cores, you can
 run bsd.mp to get SMP support).
 
 $ config -ef bsd.rd
 OpenBSD 4.1-current (RAMDISK_CD) #298: Sun Apr 29 14:18:55 MDT 2007
 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK_CD
 Enter 'help' for information
 ukc find acpi
 216 acpi0 at mainbus0 disable bus -1 flags 0x0
 ukc enable acpi
 216 acpi0 enabled
 ukc quit
 Saving modified kernel.
 

 does this work with a standard kernel build from GENERIC or
GENERIC.MP, too? 

Or did i need to get a snapshot respectively built an own
kernel and uncomment the acpi lines in GENERIC(.MP)?

 No need to build kernels.
 

regards,

joerg



Re: 4.1 and Macbook Pro

2007-05-02 Thread Joerg Zinke
On Wed, 2 May 2007 10:21:10 +0200
Paul de Weerd [EMAIL PROTECTED] wrote:

 On Wed, May 02, 2007 at 09:54:51AM +0200, Joerg Zinke wrote:
 |  $ config -ef bsd.rd
 |  OpenBSD 4.1-current (RAMDISK_CD) #298: Sun Apr 29 14:18:55 MDT
 2007 | 
 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK_CD |
  Enter 'help' for information |  ukc find acpi
 |  216 acpi0 at mainbus0 disable bus -1 flags 0x0
 |  ukc enable acpi
 |  216 acpi0 enabled
 |  ukc quit
 |  Saving modified kernel.
 | 
 |
 |  does this work with a standard kernel build from GENERIC or
 | GENERIC.MP, too?
 
 Yes.
 
 | Or did i need to get a snapshot respectively built an own
 | kernel and uncomment the acpi lines in GENERIC(.MP)?
 
 There's no need to uncomment the acpi driver, it already is
 uncommented in the GENERIC{,.MP} cases (it's just disabled). If you
 want additional acpi drivers, then you'll have to recompile.
 
 

thanks for your advice.

cheers,

joerg



gigabit lan chipset

2007-01-18 Thread Joerg Zinke
Hi,

I'm planning to buy this:
http://www.msi.com.tw/program/products/mainboard/mbd/pro_mbd_detail.php?UID=730

or as alternative this mainboard:
http://de.asus.com/products4.aspx?modelmenu=2model=1163l1=3l2=101l3=300

First one has a Vitesse VSC8601 LAN-Chipset.
Second one has a NVIDIA nForce 590 SLI MCP built-in dual Gigabit MAC
with external Marvell PHY. 

Both seem not to be supported according to the hardware pages.
Anyone knows if I can get one of these working, maybe the second one
with nfe(4) and with -current?

Regards,

Joerg



Re: gigabit lan chipset

2007-01-18 Thread Joerg Zinke
On Thu, 18 Jan 2007 16:36:21 -0600
Vijay Sankar [EMAIL PROTECTED] wrote:

 On Thursday 18 January 2007 16:05, Joerg Zinke wrote:
  Hi,
 
  I'm planning to buy this:
  http://www.msi.com.tw/program/products/mainboard/mbd/pro_mbd_detail.php?UID
 =730
 
  or as alternative this mainboard:
  http://de.asus.com/products4.aspx?modelmenu=2model=1163l1=3l2=101l3=300
 
  First one has a Vitesse VSC8601 LAN-Chipset.
  Second one has a NVIDIA nForce 590 SLI MCP built-in dual Gigabit MAC
  with external Marvell PHY.
 
 My regular workstation is a M2NSLI-Deluxe with two e-GeForce 7100GS
 Cards. It does not have wireless but does have dual gigabit. I
 installed 4.0 from the CD and it worked well initially. After a while
 the nfe0 interface stopped responding (I was syncing with the CVS
 repository at this time). I upgraded to -current and the same thing
 happened when compiling OpenOffice. I was trying different things to
 solve this problem thinking that it had something to do with activity
 on the machine or the network. For some reason setting mediaopt to
 100BaseT instead of autoselect seemed to resolve the issue.I have not
 had a problem with nfe0 for the past few weeks.
 

many thanks for the info. i will give it a try...



Re: problems installing mysql-python

2006-10-27 Thread Joerg Zinke
On Thu, 26 Oct 2006 17:36:14 -0500
Patrick McNamee [EMAIL PROTECTED] wrote:

 Hi all,
 
 I've been unable to successfully install mysql-python. 


mysql-python is in ports/packages.
 
 Here are the details:
 
 
 ##
 # versions:
 ##
 OpenBSD 3.9 stable
 Python 2.5
 MySQL 3.23.58
 MySQL-python-1.2.1_p2
 

i assume you want to install or have already installed all this versions
from source on 3.9? a bleeding edge python version vs. a historic mysql-
version, why?

why did you not take the versions from ports in -current or the
packages from 3.9?

regards,

joerg



Re: RAIDFrame parity rebuild: why so slow?

2006-10-03 Thread Joerg Zinke
On Mon, 02 Oct 2006 20:11:36 +0200
nothingness [EMAIL PROTECTED] wrote:

 Hi all,
 
   I've been using RAIDFrame on OpenBSD since 3.1 and in 4 years I've
 never seen any performance improvement in getting the system to work
 any faster at rebuilding parity after a hard shutdown. I've tried
 RAID1, RAID5, SCSI drives, IDE drives, processors from PentiumII 400s
 to Athlon64 3200+ and it has *always* been ridiculously slow at
 rebuilding. Just a 9G RAID5 partition takes over 2 hours. A 60G RAID1
 takes 11 hours. 11!!! Before flaming me to say, just go and edit the
 code, it's never been out of beta or whatever, explain why compared
 to other OSes it's always so slow, even to build the first time
 around. Linux's code in particular comes to mind.

maybe this is one of the reasons why raidframe is not officially
supported and not enabled in stable kernel. i think another reason is
that the actual raidframe implementation is not the best - citation of a
developer: the code is crap... but hey its open source, go, go, go:
rewrite it :)

i use a 250 gb raid 1 and tooks 3h to rebuild parity on an athlon 2600
(32-bit).
 
regards,

joerg

-- 
https://www.umaxx.net

A: Because it messes up the order in which people read text.
Q: Why does top-posting make it difficult?
A: Top-posting.
Q: What is something that makes email communication difficult?



Re: OpenBSD as TV media center

2006-10-01 Thread Joerg Zinke
On Sun, 1 Oct 2006 21:30:40 +1300
Graeme Neilson [EMAIL PROTECTED] wrote:

 I am using mediabox from https://www.umaxx.net/mediacat/. It is
 written in python and I customised the code to add xmame and it was
 very straightforward. Recommended
 

wtf - hui - a real user :) 
i thought nobody uses my stuff.

what have you customized? send me patch - i will add it to
the next release/subversion.

the current svn tree (actually broken) is a complete rewrite of
mediabox called mediacat - with a lot of new features.

at the moment i'm really busy, but if i find some time i will try to
make a stable/working release... 

any help is wanted and greatly appreciated.

regards,

joerg

-- 
https://www.umaxx.net

A: Because it messes up the order in which people read text.
Q: Why does top-posting make it difficult?
A: Top-posting.
Q: What is something that makes email communication difficult?



Re: OpenBSD alternative for Bruce Schneier's password safe

2006-05-05 Thread Joerg Zinke
On Fri, 5 May 2006 14:27:45 +0530
Siju George [EMAIL PROTECTED] wrote:

 Hi,
 
 What can I use in OpenBSD instead of.
 
 http://passwordsafe.sourceforge.net
 

hint: $ cd /usr/ports/; make search key=password

will give you at least these:

security/kedpm
security/pwsafe
x11/gnome/keyring

-- 
https://www.umaxx.net

A: Because it messes up the order in which people read text.
Q: Why does top-posting make it difficult?
A: Top-posting.
Q: What is something that makes email communication difficult?