Re: Watching Videos via NFS - NFS is damn slow (too slow.)

2008-12-11 Thread Daniel Ouellet

Is there anything I could do to get more speed?


Sure there is and we don't know what version you are running as you 
didn't provide a dmesg, but let say that in the last few months, if you 
have a quick look at marc you will see a pretty good amount of commit on 
the nfs code.


http://marc.info/?l=openbsd-cvsw=2r=1s=nfsq=b

and there is also here, specific request to users like you asking to 
test diff to improve performance:


http://www.undeadly.org/cgi?action=articlesid=20081102194017

So, try the latest snapshot first to see if that help and test the 
diff's as well if not done and provide the feedback requested.


That will help them help you.

Best,

Daniel



Re: bge/OpenBSD4.4 -current

2008-12-11 Thread Stuart Henderson
On 2008-12-11, O. Griener [EMAIL PROTECTED] wrote:
 bge stopped transmitting any packets. It won't send, nor receive. I am having 
 no problems with other devices though, fxp, for instance. My bge cannot be 
 out of order either since it works properly when I re-install:
 OpenBSD 4.4-current (GENERIC.MP) #1986: Sat Nov 22 05:07:59 MST 2008
 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 ifconfig output is the same on all versions and no error messages. pf was not 
 running so it cannot be a pf issue either.

Can you diff the dmesg from working and non-working kernels and
see if there's any change?

You should be able to pull them from /var/log/messages{,.?.gz}.

 Thank you for any suggestions.
 --
 OpenBSD 4.4-current (GENERIC.MP) #2016: Tue Dec  9 16:45:58 MST 2008
 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 real mem = 2132938752 (2034MB)
 avail mem = 2071097344 (1975MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf (71 entries)
 bios0: vendor Dell Inc. version 2.1.6 date 05/04/2008
 bios0: Dell Inc. OptiPlex 740 Enhanced
 acpi0 at bios0: rev 0
 acpi0: tables DSDT FACP BOOT SSDT ASF! HPET MCFG SLIC APIC
 acpi0: wakeup devices HUB0(S5) XVRA(S5) XVRB(S5) XVRC(S5) USB0(S3) USB2(S3) 
 AZAD(S5) MMAC(S5) MMCI(S5) UAR1(S5) PS2M(S4) PS2K(S4)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpihpet0 at acpi0: 2500 Hz
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 4800+, 2505.58 MHz
 cpu0: 
 FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
 cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 
 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: apic clock running at 200MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 4800+, 2505.23 MHz
 cpu1: 
 FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
 cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 
 64b/line 16-way L2 cache
 cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
 cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
 ioapic0 at mainbus0 apid 4 pa 0xfec0, version 11, 24 pins
 ioapic0: misconfigured as apic 0, remapped to apid 4
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 4 (HUB0)
 acpicpu0 at acpi0: PSS
 acpicpu1 at acpi0: PSS
 acpibtn0 at acpi0: PWRB
 cpu0: PowerNow! K8 2505 MHz: speeds: 2500 2400 2200 2000 1800 1000 MHz
 pci0 at mainbus0 bus 0: configuration mode 1
 NVIDIA C51 Host rev 0xa2 at pci0 dev 0 function 0 not configured
 NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 1 not configured
 NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 2 not configured
 NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 3 not configured
 NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 4 not configured
 NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 5 not configured
 NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 6 not configured
 NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 7 not configured
 ppb0 at pci0 dev 2 function 0 NVIDIA C51 PCIE rev 0xa1
 pci1 at ppb0 bus 1
 ppb1 at pci0 dev 3 function 0 NVIDIA C51 PCIE rev 0xa1
 pci2 at ppb1 bus 2
 bge0 at pci2 dev 0 function 0 Broadcom BCM5754 rev 0x02, BCM5754/5787 A2 
 (0xb002): apic 4 int 16 (irq 14), address 00:1e:c9:2e:0b:a3
 brgphy0 at bge0 phy 1: BCM5787 10/100/1000baseT PHY, rev. 0
 ppb2 at pci0 dev 4 function 0 NVIDIA C51 PCIE rev 0xa1
 pci3 at ppb2 bus 3
 vga1 at pci3 dev 0 function 0 ATI Radeon X1550 rev 0x00
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 radeondrm0 at vga1: apic 4 int 16 (irq 14)
 drm0 at radeondrm0
 vendor ATI, unknown product 0x717f (class display subclass miscellaneous, 
 rev 0x00) at pci3 dev 0 function 1 not configured
 NVIDIA MCP51 Host rev 0xa2 at pci0 dev 9 function 0 not configured
 pcib0 at pci0 dev 10 function 0 NVIDIA MCP51 ISA rev 0xa3
 nviic0 at pci0 dev 10 function 1 NVIDIA MCP51 SMBus rev 0xa3
 iic0 at nviic0
 spdmem0 at iic0 addr 0x52: 1GB DDR2 SDRAM non-parity PC2-5300CL5
 spdmem1 at iic0 addr 0x53: 1GB DDR2 SDRAM non-parity PC2-5300CL5
 iic1 at nviic0
 NVIDIA MCP51 Memory rev 0xa3 at pci0 dev 10 function 2 not configured
 ohci0 at pci0 dev 11 function 0 NVIDIA MCP51 USB rev 0xa3: apic 4 int 20 
 (irq 15), version 1.0, legacy support
 ehci0 at pci0 dev 11 function 1 NVIDIA MCP51 USB rev 0xa3: apic 4 int 20 
 (irq 5)
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 NVIDIA EHCI root hub rev 2.00/1.00 addr 1
 pciide0 at pci0 dev 14 function 0 NVIDIA MCP51 SATA rev 0xa1: DMA
 

Re: PHP5 And Apache on 4.4

2008-12-11 Thread Julien Cabillot
Le Thu, 11 Dec 2008 19:55:27 +1300,
Richard Toohey [EMAIL PROTECTED] a C)crit :

 [cut]
 
  Yes a clean install, Apache works fine,, index,html servers up
  across my network... php -i from the command line works,,, a page
  called qw.php with only ? phpinfo(); ?  displays nothing but from
  firefox a show page source shows the ? phpinfo(); ? as being
  there. also did multiple reboots to make sure.
 
  Bret

 PHP 5, mate, you have got to use long tags

 ?php

 phpinfo();

 ?


Or set short_open_tag to On in /etc/php.ini
But long tag is cleaner.

Julien



Re: Watching Videos via NFS - NFS is damn slow (too slow.)

2008-12-11 Thread Alexander Hall

Sebastian Rother wrote:

Well I am sorry for this post if it wont match to misc@ but I noticed
some strange behavior and I assume the NFS code is responseable.

If you store the VIDEO_TS directories to a HDD and share it via NFS to
have a kind of media server at home you might notice this:

Watching the movies with mplayer works (partly, you wont be able to
select other languages at least not with the stuff I watch somehow)
but it playes kinda fluetly. If you try to watch it with VLC it just
starts/stops.

I assume the NFS Server isn't able to provide the data in time.
I tried incasing the buffers but that didn't helped.


Is there anything I could do to get more speed?

Also if I try to copy data via NFS it is DAMN slow.
I just get speeds around 3.x - 4.x MB/s. If I copy the same data via
SSH I get ~9.xMB (depending to the files and their size and co).

So it seams soemthing is wrong with the NFSd here.


exports:
/mnt/hdd1 -alldirs -maproot=sr -network=192.168.1 -mask=255.255.255.0

On the client: mount_nfs 192.168.1.1:/mnt/hdd1 /mnt/hdd1
I tried using UDP, incrased the buffers but it has no effect somehow.
Also I just have one active client so the default of 4 started NFS
daemons should be fine.

Is there anything I do wrong or is it the NFS code wich is propably too
slow?


I noticed that for local NFS mounts setting -a 0 (-o -a=0) which 
disables prefetching speeded things up considerately. You might want to 
try that.


/Alexander



Re: fvwm - move a window freeze others

2008-12-11 Thread Hannah Schroeter
Hi!

On Wed, Dec 10, 2008 at 04:05:45PM -0500, Ted Unangst wrote:
On Wed, Dec 10, 2008 at 3:29 PM, Jesus Sanchez [EMAIL PROTECTED] wrote:
 I'm using FVWM as window manager and works really fine but when I have
 various windows (xterms for example) and drag one window to move it
 around, after a few seconds, all of them stops doing its work, also
 gkrellm freezes until I drop the moving window in any place, this is
 normal?

I don't consider it particularly desirable, but that's normal for fvwm.

Yes, I can confirm that, too, also for fvwm2 from ports, alas.

Nice if that interrupts xmms from playing sound (because it blocks on
updating its display), for example.

Of course, for fvwm2, it's an upstream issue rather than an OpenBSD (or
port maintainer) issue.

Kind regards,

Hannah.



How to start Syslogd with -u and -n options

2008-12-11 Thread Sma11T0wnITGuy
I'm an OpenBSD noob.  

I'm setting up an OpenBSD Syslog Server.  It will be the only device plugged
into a particular switchport off its own VLAN on a switchcard in a Router. 
I'm running OpenBSD 4.3 with all applicable patches.

The Syslog Server will not resolve any names, just accept log entries from
the router, so I'd like to specify the -n option and the -u option.

I've read the man pages for syslogd and syslog.conf, but I can't figure out
how to get the daemon to start with the desired options.  I must be missing
or misunderstanding something in the man pages, or looking in the wrong
places.  Can someone help me define the startup options for syslogd, and
tell me where to do so?

Here's my syslog.conf file:

# cat /etc/syslog.conf
#   $OpenBSD: syslog.conf,v 1.17 2005/05/25 07:35:38 david Exp $
#

*.notice;auth,authpriv,cron,ftp,kern,lpr,mail,user.none /var/log/messages
kern.debug;syslog,user.info /var/log/messages
auth.info   /var/log/authlog
authpriv.debug  /var/log/secure
cron.info   /var/cron/log
daemon.info /var/log/daemon
ftp.info/var/log/xferlog
lpr.debug   /var/log/lpd-errs
mail.info   /var/log/maillog
#uucp.info  /var/log/uucp

# Uncomment this line to send important messages to the system
# console: be aware that this could create lots of output.
#*.err;auth.notice;authpriv.none;kern.debug;mail.crit   /dev/console

# Uncomment this to have all messages of notice level and higher
# as well as all authentication messages sent to root.
*.notice;auth.debug root

# Everyone gets emergency messages.
*.emerg *

# Uncomment to log to a central host named loghost.  You need to run
# syslogd with the -u option on the remote host if you are using this.
# (This is also required to log info from things like routers and
# ISDN-equipment).  If you run -u, you are vulnerable to syslog bombing,
# and should consider blocking external syslog packets.
#*.notice;auth,authpriv,cron,ftp,kern,lpr,mail,user.none@loghost
#auth,daemon,syslog,user.info;authpriv,kern.debug   @loghost

# Uncomment to log messages from sudo(8) and chat(8) to their own
# respective log files.  Matches are done based on the program name.
# Program-specific logs:
!sudo
*.* /var/log/sudo
!chat
*.* /var/log/chat

# This line added to accept log files from Router
*.* /var/log/router
#
-- 
View this message in context: 
http://www.nabble.com/How-to-start-Syslogd-with--u-and--n-options-tp20956554p20956554.html
Sent from the openbsd user - misc mailing list archive at Nabble.com.



Re: fvwm - move a window freeze others

2008-12-11 Thread Dan Harnett
On Thu, Dec 11, 2008 at 02:10:04PM +0100, Hannah Schroeter wrote:
 Hi!
 
 On Wed, Dec 10, 2008 at 04:05:45PM -0500, Ted Unangst wrote:
 On Wed, Dec 10, 2008 at 3:29 PM, Jesus Sanchez [EMAIL PROTECTED] wrote:
  I'm using FVWM as window manager and works really fine but when I have
  various windows (xterms for example) and drag one window to move it
  around, after a few seconds, all of them stops doing its work, also
  gkrellm freezes until I drop the moving window in any place, this is
  normal?
 
 I don't consider it particularly desirable, but that's normal for fvwm.
 
 Yes, I can confirm that, too, also for fvwm2 from ports, alas.
 
 Nice if that interrupts xmms from playing sound (because it blocks on
 updating its display), for example.
 
 Of course, for fvwm2, it's an upstream issue rather than an OpenBSD (or
 port maintainer) issue.

Just a me too.

The best workaround that I'm aware of (and still use fvwm) is to disable
opaque window movements by setting OpaqueMoveSize to 0.  At least that
used to help things the last time I used fvwm.



Re: How to start Syslogd with -u and -n options

2008-12-11 Thread Christoph Leser
as far as I know you need to set the syslogd_flags variable in

/etc/rc.conf.local or /etc/rc.conf

regards
Christoph


 -Urspr|ngliche Nachricht-
 Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Im Auftrag von Sma11T0wnITGuy
 Gesendet: Donnerstag, 11. Dezember 2008 15:35
 An: misc@openbsd.org
 Betreff: How to start Syslogd with -u and -n options


 I'm an OpenBSD noob.

 I'm setting up an OpenBSD Syslog Server.  It will be the only
 device plugged into a particular switchport off its own VLAN
 on a switchcard in a Router.
 I'm running OpenBSD 4.3 with all applicable patches.

 The Syslog Server will not resolve any names, just accept log
 entries from the router, so I'd like to specify the -n option
 and the -u option.

 I've read the man pages for syslogd and syslog.conf, but I
 can't figure out how to get the daemon to start with the
 desired options.  I must be missing or misunderstanding
 something in the man pages, or looking in the wrong places.
 Can someone help me define the startup options for syslogd,
 and tell me where to do so?

 Here's my syslog.conf file:

 # cat /etc/syslog.conf
 #   $OpenBSD: syslog.conf,v 1.17 2005/05/25 07:35:38 david Exp $
 #

 *.notice;auth,authpriv,cron,ftp,kern,lpr,mail,user.none
 /var/log/messages
 kern.debug;syslog,user.info
 /var/log/messages
 auth.info
 /var/log/authlog
 authpriv.debug
 /var/log/secure
 cron.info   /var/cron/log
 daemon.info
 /var/log/daemon
 ftp.info
 /var/log/xferlog
 lpr.debug
 /var/log/lpd-errs
 mail.info
 /var/log/maillog
 #uucp.info  /var/log/uucp

 # Uncomment this line to send important messages to the
 system # console: be aware that this could create lots of output.
 #*.err;auth.notice;authpriv.none;kern.debug;mail.crit   /dev/console

 # Uncomment this to have all messages of notice level and
 higher # as well as all authentication messages sent to root.
 *.notice;auth.debug root

 # Everyone gets emergency messages.
 *.emerg *

 # Uncomment to log to a central host named loghost.  You
 need to run # syslogd with the -u option on the remote host
 if you are using this. # (This is also required to log info
 from things like routers and # ISDN-equipment).  If you run
 -u, you are vulnerable to syslog bombing, # and should
 consider blocking external syslog packets.
 #*.notice;auth,authpriv,cron,ftp,kern,lpr,mail,user.none
   @loghost
 #auth,daemon,syslog,user.info;authpriv,kern.debug
   @loghost

 # Uncomment to log messages from sudo(8) and chat(8) to their
 own # respective log files.  Matches are done based on the
 program name. # Program-specific logs: !sudo
 *.* /var/log/sudo
 !chat
 *.* /var/log/chat

 # This line added to accept log files from Router
 *.*
 /var/log/router
 #
 --
 View this message in context:
 http://www.nabble.com/How-to-start-Syslogd-with--u-and--n-opti
ons-tp20956554p20956554.html
Sent from the openbsd user - misc mailing list archive at Nabble.com.



Re: How to start Syslogd with -u and -n options

2008-12-11 Thread Andreas Kahari
1. Create /etc/rc.conf.local
2. In it, say syslogd_flags='your flags here'

That goes for any flags from /etc/rc.conf that you'd like to change.

Read the rc.conf(8) manual.

Regards,
Andreas

2008/12/11 Sma11T0wnITGuy [EMAIL PROTECTED]:
 I'm an OpenBSD noob.

 I'm setting up an OpenBSD Syslog Server.  It will be the only device plugged
 into a particular switchport off its own VLAN on a switchcard in a Router.
 I'm running OpenBSD 4.3 with all applicable patches.

 The Syslog Server will not resolve any names, just accept log entries from
 the router, so I'd like to specify the -n option and the -u option.

 I've read the man pages for syslogd and syslog.conf, but I can't figure out
 how to get the daemon to start with the desired options.  I must be missing
 or misunderstanding something in the man pages, or looking in the wrong
 places.  Can someone help me define the startup options for syslogd, and
 tell me where to do so?

 Here's my syslog.conf file:

 # cat /etc/syslog.conf
 #   $OpenBSD: syslog.conf,v 1.17 2005/05/25 07:35:38 david Exp $
 #

 *.notice;auth,authpriv,cron,ftp,kern,lpr,mail,user.none /var/log/messages
 kern.debug;syslog,user.info /var/log/messages
 auth.info   /var/log/authlog
 authpriv.debug  /var/log/secure
 cron.info   /var/cron/log
 daemon.info /var/log/daemon
 ftp.info/var/log/xferlog
 lpr.debug   /var/log/lpd-errs
 mail.info   /var/log/maillog
 #uucp.info  /var/log/uucp

 # Uncomment this line to send important messages to the system
 # console: be aware that this could create lots of output.
 #*.err;auth.notice;authpriv.none;kern.debug;mail.crit   /dev/console

 # Uncomment this to have all messages of notice level and higher
 # as well as all authentication messages sent to root.
 *.notice;auth.debug root

 # Everyone gets emergency messages.
 *.emerg *

 # Uncomment to log to a central host named loghost.  You need to run
 # syslogd with the -u option on the remote host if you are using this.
 # (This is also required to log info from things like routers and
 # ISDN-equipment).  If you run -u, you are vulnerable to syslog bombing,
 # and should consider blocking external syslog packets.
 #*.notice;auth,authpriv,cron,ftp,kern,lpr,mail,user.none@loghost
 #auth,daemon,syslog,user.info;authpriv,kern.debug   @loghost

 # Uncomment to log messages from sudo(8) and chat(8) to their own
 # respective log files.  Matches are done based on the program name.
 # Program-specific logs:
 !sudo
 *.* /var/log/sudo
 !chat
 *.* /var/log/chat

 # This line added to accept log files from Router
 *.* /var/log/router
 #
 --
 View this message in context: 
 http://www.nabble.com/How-to-start-Syslogd-with--u-and--n-options-tp20956554p20956554.html
 Sent from the openbsd user - misc mailing list archive at Nabble.com.





-- 
Andreas Kahari
Somewhere in the general Cambridge area, UK



Re: possible bug in OpenNTPD code?

2008-12-11 Thread Ed Ahlsen-Girard (TYBRIN Corp.)
 From: Tom Van Looy [mailto:[EMAIL PROTECTED]

 Sent: Wednesday, December 10, 2008 10:50 AM

 To: Anirban Sinha

 Cc: misc@openbsd.org

 Subject: Re: possible bug in OpenNTPD code?



 Why would you assume that? That seems a bit hostile. Perhaps the

 developers are a bit busy at the moment.

 

 True. I generally post on the Linux lists and I believe I am spoiled by

 getting quick responses from my postings. In future, I will remember to keep

 more patience.



 I would like to respond to this with a small anecdote: I opened a call at

 vendor x at 17/sep/2008. The call resulted in me having to open a design

 change request for their OS. So, 65 days later (coincidently today), I

 received a tracking number and probably have to wait an other (max) 90 days

 for the developers to decide if they even will make a fix. Oh, did I mention

 how ridiculously much we pay each month for their support?





This varies GREATLY from vendor to vendor.  We had a vendor that put additional 
features in the product, because we asked for them.



Of course, we were paying for between a third and half of a full time engineer 
in support fees.



--



Ed Ahlsen-Girard




Re: Dim console after exiting X [Radeon driver problem?]

2008-12-11 Thread Ed Ahlsen-Girard (TYBRIN Corp.)
 From: Kostas Zorbadelos [mailto:[EMAIL PROTECTED]

 Sent: Wednesday, December 10, 2008 7:21 AM

 To: misc@openbsd.org

 Subject: Re: Dim console after exiting X [Radeon driver problem?]



 On Sunday 30 November 2008 04:02:33 Paco Esteban wrote:

  On Sat, Nov 29, 2008 at 17:43, Kostas Zorbadelos [EMAIL PROTECTED] wrote:

   On Tuesday 11 November 2008 22:55:49 Brynet wrote:



 I just wanted to tell you that I opened a bug report for this issue identified

 by



 system/6022: Dim console after exiting X with ATI radeon 9200 PRO chip



 Was anyone able to overcome this (apart from DefaultDepth 16 which did not

 work for me)?



   Hi Ed,

  

   I've also seen this behaviour on a OptiPlex GX240, it has a ATI Rage

   128 Pro TF card, the only solution I've found is to change the depth

   to 16 instead of the default 24.

  

   Just add DefaultDepth 16 to your Screen section.

  

   I would like to hear an alternative solution, but I can't seem to tell

   the different between the two depths.

  

   Hope that helps.. :-)

  

   -Brynet

  

   Hello,

  

   I also see this behaviour in my system after clean installation of

   OpenBSD 4.4. I didn't see this in previous versions. Here is my dmesg, I

   run amd64. Please let me know if I can provide any more information to

   track down the problem.  Iwill try to upgrade to current in the next day

   and see if the problem is present there. The workarounf DefaultDepth 16

   did not work for me.

  

   Kostas

 

  Same issue in my old i386 with ATI Radeon 9600 XT, following stable.





My current workaround is very crude:



s/xdm_flags=NO/xdm_flags=/



I rarely need a completely X-less login on that machine.

--



Ed Ahlsen-Girard




Re: How to start Syslogd with -u and -n options

2008-12-11 Thread Sma11T0wnITGuy
Thanks for the replies guys.  I'm checking out rc.conf.local.
-- 
View this message in context: 
http://www.nabble.com/How-to-start-Syslogd-with--u-and--n-options-tp20956554p20957728.html
Sent from the openbsd user - misc mailing list archive at Nabble.com.



Sound problems

2008-12-11 Thread Duncan Patton a Campbell
Howdy list?  

I am having problems with the sound on a 4.3 system 
running Gnome desktop.  

The error that  mplayer gives is:

AO SUN  Can t open audio device /dev/audio, Device busy -  nosound 

This has not always been broken, and there is nothing apparent to
me in the dmesg (following).  If anyone can give me a clue as to
what is wrong here I would greatly appreciate it.

Thanks,

Dhu
 
OpenBSD 4.3-current (GENERIC) #951  Wed Jun 25 10 53 21 MDT 2008 
[EMAIL PROTECTED] /usr/src/sys/arch/i386/compile/GENERIC 
cpu0  AMD Duron(tm) processor (AuthenticAMD 686-class, 64KB L2 cache) 1.40 
GHz 
cpu0  
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
 
real mem  = 1073250304 (1023MB) 
avail mem = 1029591040 (981MB) 
mainbus0 at root 
bios0 at mainbus0  AT/286  BIOS, date 09/09/03, BIOS32 rev. 0 @ 0xfb7f0, SMBIOS 
rev. 2.2 @ 0xf0800 (33 entries) 
bios0  vendor Phoenix Technologies, LTD version 6.00 PG date 09/09/2003 
bios0  VIA Technologies, Inc. KM266-8235 
apm0 at bios0  Power Management spec V1.2 (slowidle) 
apm0  AC on, battery charge unknown 
acpi at bios0 function 0x0 not configured 
pcibios0 at bios0  rev 2.1 @ 0xf/0xdaa4 
pcibios0  PCI IRQ Routing Table rev 1.0 @ 0xfd9f0/176 (9 entries) 
pcibios0  PCI Exclusive IRQs  5 10 11 12 
pcibios0  PCI Interrupt Router at 000 17 0 (VIA VT82C596A ISA rev 0x00) 
pcibios0  PCI bus #1 is the last bus 
bios0  ROM list  0xc/0x8000 0xc8000/0x8000! 
cpu0 at mainbus0 
pci0 at mainbus0 bus 0  configuration mode 1 (no bios) 
pchb0 at pci0 dev 0 function 0 VIA VT8375 PCI rev 0x00 
ppb0 at pci0 dev 1 function 0 VIA VT8633 AGP rev 0x00 
pci1 at ppb0 bus 1 
vga1 at pci1 dev 0 function 0 ATI Mach64 GZ rev 0x7a 
wsdisplay0 at vga1 mux 1  console (80x25, vt100 emulation) 
wsdisplay0  screen 1-5 added (80x25, vt100 emulation) 
agp0 at vga1  v2, aperture at 0xc000, size 0x1000 
eap0 at pci0 dev 8 function 0 Ensoniq CT5880 rev 0x02  irq 11 
ac97  codec id 0x83847608 (SigmaTel STAC9708/11) 
ac97  codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D 
audio0 at eap0 
midi0 at eap0   AudioPCI MIDI UART  
rl0 at pci0 dev 9 function 0 Accton MPX 5030/5038 rev 0x10  irq 10, address 
00 e0 29 88 90 26 
rlphy0 at rl0 phy 0  RTL internal PHY 
uhci0 at pci0 dev 16 function 0 VIA VT83C572 USB rev 0x80  irq 11 
uhci1 at pci0 dev 16 function 1 VIA VT83C572 USB rev 0x80  irq 10 
uhci2 at pci0 dev 16 function 2 VIA VT83C572 USB rev 0x80  irq 5 
ehci0 at pci0 dev 16 function 3 VIA VT6202 USB rev 0x82  irq 12 
usb0 at ehci0  USB revision 2.0 
uhub0 at usb0 VIA EHCI root hub rev 2.00/1.00 addr 1 
viapm0 at pci0 dev 17 function 0 VIA VT8235 ISA rev 0x00 
iic0 at viapm0 
spdmem0 at iic0 addr 0x50  512MB DDR SDRAM non-parity PC3200CL3.0 
spdmem1 at iic0 addr 0x51  512MB DDR SDRAM non-parity PC3200CL3.0 
pciide0 at pci0 dev 17 function 1 VIA VT82C571 IDE rev 0x06  ATA133, channel 
0 configured to compatibility, channel 1 configured to compatibility 
wd0 at pciide0 channel 0 drive 0   WDC WD800JB-00JJC0  
wd0  16-sector PIO, LBA, 76319MB, 156301488 sectors 
wd1 at pciide0 channel 0 drive 1   WDC WD2500JB-00GVA0  
wd1  16-sector PIO, LBA48, 238475MB, 488397168 sectors 
wd0(pciide0 0 0)  using PIO mode 4, Ultra-DMA mode 5 
wd1(pciide0 0 1)  using PIO mode 4, Ultra-DMA mode 5 
atapiscsi0 at pciide0 channel 1 drive 0 
scsibus0 at atapiscsi0  2 targets, initiator 7 
cd0 at scsibus0 targ 0 lun 0   HL-DT-ST, DVD-RAM GSA-H50N, 1.00  ATAPI 5/cdrom 
removable 
atapiscsi1 at pciide0 channel 1 drive 1 
scsibus1 at atapiscsi1  2 targets, initiator 7 
cd1 at scsibus1 targ 0 lun 0   PIONEER, DVD-RW DVR-105, 1.30  ATAPI 5/cdrom 
removable 
cd0(pciide0 1 0)  using PIO mode 4, Ultra-DMA mode 2 
cd1(pciide0 1 1)  using PIO mode 4, Ultra-DMA mode 2 
vr0 at pci0 dev 18 function 0 VIA RhineII-2 rev 0x74  irq 11, address 00 0d 
87 30 5c 98 
ukphy0 at vr0 phy 1  Generic IEEE 802.3u media interface, rev. 8  OUI 0x004063, 
model 0x0032 
usb1 at uhci0  USB revision 1.0 
uhub1 at usb1 VIA UHCI root hub rev 1.00/1.00 addr 1 
usb2 at uhci1  USB revision 1.0 
uhub2 at usb2 VIA UHCI root hub rev 1.00/1.00 addr 1 
usb3 at uhci2  USB revision 1.0 
uhub3 at usb3 VIA UHCI root hub rev 1.00/1.00 addr 1 
isa0 at mainbus0 
isadma0 at isa0 
com0 at isa0 port 0x3f8/8 irq 4  ns16550a, 16 byte fifo 
pckbc0 at isa0 port 0x60/5 
pckbd0 at pckbc0 (kbd slot) 
pckbc0  using irq 1 for kbd slot 
wskbd0 at pckbd0  console keyboard, using wsdisplay0 
pcppi0 at isa0 port 0x61 
midi1 at pcppi0   PC speaker  
spkr0 at pcppi0 
lpt0 at isa0 port 0x378/4 irq 7 
it0 at isa0 port 0x2e/2  IT8705F rev 0x02, EC port 0x290 
npx0 at isa0 port 0xf0/16  reported by CPUID  using exception 16 
biomask ff6d netmask ff6d ttymask  
mtrr  Pentium Pro MTRR support 
uhidev0 at uhub2 port 1 configuration 1 interface 0 Logitech USB Receiver rev 
1.10/34.10 addr 2 
uhidev0  iclass 3/1 
ums0 at uhidev0  16 buttons, Z dir 
wsmouse0 at ums0 mux 0 
uhidev1 at uhub2 port 2 configuration 1 interface 0 Darfon USB Combo Keyboard 

PPTP Server behind PF firewall

2008-12-11 Thread cbc
  Hello,

  I have a PPTP server (running Windows Server) behind PF (OpenBSD
4.4). I tried 'rdr pass' on 1723/TCP and all GRE traffic, without
success. Then, I tried to set up an alias on WAN interface and create
a binat rule, doesn't work too.

  Is there any limitation with PF? I wouldn't like to use Netfilter
(ip_gre module) to solve this problem. Any idea?

  Thanks in advance,



Re: Sound problems

2008-12-11 Thread Alexandre Ratchov
On Thu, Dec 11, 2008 at 09:15:53AM -0700, Duncan Patton a Campbell wrote:
 Howdy list?  
 
 I am having problems with the sound on a 4.3 system 
 running Gnome desktop.  
 
 The error that  mplayer gives is:
 
 AO SUN  Can t open audio device /dev/audio, Device busy -  nosound 
 
 This has not always been broken, and there is nothing apparent to
 me in the dmesg (following).  If anyone can give me a clue as to
 what is wrong here I would greatly appreciate it.
 

try to fstat /dev/audio and/or fstat /dev/sound to see
which application is using your device. Then you can stop
the application and try mplayer again.

-- Alexandre



Re: Dim console after exiting X [Radeon driver problem?]

2008-12-11 Thread Kostas Zorbadelos

Owain Ainsworth wrote:

On Wed, Dec 10, 2008 at 03:21:21PM +0200, Kostas Zorbadelos wrote:
  

On Sunday 30 November 2008 04:02:33 Paco Esteban wrote:


On Sat, Nov 29, 2008 at 17:43, Kostas Zorbadelos kzo...@otenet.gr wrote:
  

On Tuesday 11 November 2008 22:55:49 Brynet wrote:

I just wanted to tell you that I opened a bug report for this issue identified 
by


system/6022: Dim console after exiting X with ATI radeon 9200 PRO chip

Was anyone able to overcome this (apart from DefaultDepth 16 which did not 
work for me)?





This issue has been known for a fair while. It's a bug in xf86-video-ati
(the Xorg radeon driver) wich vga output, it's not restoring a register
(I'm not sure which) correctly. It would probably be more productive to
open a bug report with them.
  

Who is them in the above phrase? The Xorg developers?


Kostas



Re: Sound problems

2008-12-11 Thread Duncan Patton a Campbell
On Thu, 11 Dec 2008 18:02:00 +0100
Alexandre Ratchov a...@caoua.org wrote:

 On Thu, Dec 11, 2008 at 09:15:53AM -0700, Duncan Patton a Campbell wrote:
  Howdy list?  
  
  I am having problems with the sound on a 4.3 system 
  running Gnome desktop.  
  
  The error that  mplayer gives is:
  
  AO SUN  Can t open audio device /dev/audio, Device busy -  nosound 
  
  This has not always been broken, and there is nothing apparent to
  me in the dmesg (following).  If anyone can give me a clue as to
  what is wrong here I would greatly appreciate it.
  
 
 try to fstat /dev/audio and/or fstat /dev/sound to see
 which application is using your device. Then you can stop
 the application and try mplayer again.
 
 -- Alexandre
 
 

Turns out to be a hw problem with the sound card:
replace and voila.. 8-/

Thank you.  

Dhu



Re: Sound problems

2008-12-11 Thread Duncan Patton a Campbell
On Thu, 11 Dec 2008 18:02:00 +0100
Alexandre Ratchov a...@caoua.org wrote:

 On Thu, Dec 11, 2008 at 09:15:53AM -0700, Duncan Patton a Campbell wrote:
  Howdy list?  
  
  I am having problems with the sound on a 4.3 system 
  running Gnome desktop.  
  
  The error that  mplayer gives is:
  
  AO SUN  Can t open audio device /dev/audio, Device busy -  nosound 
  
  This has not always been broken, and there is nothing apparent to
  me in the dmesg (following).  If anyone can give me a clue as to
  what is wrong here I would greatly appreciate it.
  
 
 try to fstat /dev/audio and/or fstat /dev/sound to see
 which application is using your device. Then you can stop
 the application and try mplayer again.
 
 -- Alexandre
 
 

Achh.  I spoke too soon.  Anyways, the problem seems to be the
esd sound daemon not getting out of the way when something else
wants to play.

Dhu



Setting time range and timeout for authpf rules

2008-12-11 Thread carlopmart

Hi all,

 How can I establish a time range and timeout for an authpf rule? For example I 
will to permit access from my windows servers access (previous ssh 
authentication) to windowsupdate servers from 10:00 am to 13:00 am and block 
this traffic if any connection is established during 10 minutes.


Many thanks.

--
CL Martinez
carlopmart {at} gmail {d0t} com



Re: fvwm - move a window freeze others

2008-12-11 Thread Jesus Sanchez

Dan Harnett escribis:

On Thu, Dec 11, 2008 at 02:10:04PM +0100, Hannah Schroeter wrote:
  

Hi!

On Wed, Dec 10, 2008 at 04:05:45PM -0500, Ted Unangst wrote:


On Wed, Dec 10, 2008 at 3:29 PM, Jesus Sanchez zexe...@gmail.com wrote:
  

I'm using FVWM as window manager and works really fine but when I have
various windows (xterms for example) and drag one window to move it
around, after a few seconds, all of them stops doing its work, also
gkrellm freezes until I drop the moving window in any place, this is
normal?


I don't consider it particularly desirable, but that's normal for fvwm.
  

Yes, I can confirm that, too, also for fvwm2 from ports, alas.

Nice if that interrupts xmms from playing sound (because it blocks on
updating its display), for example.

Of course, for fvwm2, it's an upstream issue rather than an OpenBSD (or
port maintainer) issue.



Just a me too.

The best workaround that I'm aware of (and still use fvwm) is to disable
opaque window movements by setting OpaqueMoveSize to 0.  At least that
used to help things the last time I used fvwm.


  

Indeed I tried a Opaquemovesize 100 and worked !
I already didn't know why but if the window is opaque the
activity dont stops.

-J



slow read/write performance with compact flash at PCMCIA

2008-12-11 Thread Michael
Hi,

I've got me a PCMICA adapter for compact flash cards. It is recognized
and basically works, but the read/write performance is really bad.

dmesg is with the GENERIC UP kernel + NTFS support.

Additionally some systat output, first is while

dd if=/dev/rwd2c of=/root/128mb.cf

and second is during

dd if=/dev/zero of=/dev/rwd2c


Any ideas?

Thanks in advance,

Michael




   3 usersLoad 2.44 1.78 0.97  Thu Dec 11
19:12:08 2008

memory totals (in KB)PAGING   SWAPPING
Interrupts
   real   virtual free   in  out   in  out 3175
total
Active41852 41852  1303004   ops  1 bge0
All  228196228196  2353840   pages
uhci2

ehci0
Proc:r  d  s  wCsw   Trp   Sys   Int   Sof  Flt   forks1414 cbb0
 1  6 10  2914   179  6758  1725   224 1478   fkppw  49
sdhc0
  fksvm iwi0
  69.9%Int  10.6%Sys   0.3%Usr   0.0%Nic  19.2%Idle   pwait  69
pciide0
|||||||||||   relck
pciide0
|||=  rlkok
pckbc0
  noram
pckbc0
Namei Sys-cacheProc-cacheNo-cache  53 ndcpy 100
clock
Calls hits%hits %miss   % fltcp 128 rtc
 6457   130 112 26332  98  54 zfod 1414 wdc2
  cow
Disks   wd0   wd1   sd0   wd2   12760 fmin
seeks   17013 ftarg
xfers69   1  1414 itarg
Kbyte  1109  22   707   1 wired
  sec   0.2 0.7   0.9 pdfre
  pdscn
  pzidle
   57 kmapent





   3 usersLoad 1.39 1.66 1.04  Thu Dec 11
19:14:24 2008

memory totals (in KB)PAGING   SWAPPING
Interrupts
   real   virtual free   in  out   in  out 1035
total
Active40824 40824  1303816   ops  1 bge0
All  227384227384  2354652   pages
uhci2

ehci0
Proc:r  d  s  wCsw   Trp   Sys   Int   Sof  Flt   forks 403 cbb0
2  7   816 5   862   633   105  413   fkppw
sdhc0
  fksvm iwi0
   1.6%Int  38.4%Sys   0.0%Usr   0.0%Nic  60.1%Idle   pwait
pciide0
|||||||||||   relck
pciide0
|===  rlkok
pckbc0
  noram
pckbc0
Namei Sys-cacheProc-cacheNo-cache ndcpy 100
clock
Calls hits%hits %miss   % fltcp 128 rtc
  zfod  403 wdc2
  cow
Disks   wd0   wd1   sd0   wd2   12760 fmin
seeks   17013 ftarg
xfers 403 itarg
Kbyte 4   202   2 wired
  sec   0.0   0.7 pdfre
  pdscn
  pzidle
   57 kmapent





OpenBSD 4.4-current (BELENUS) #0: Thu Nov 20 11:43:39 CET 2008
r...@notebook:/usr/src/sys/arch/i386/compile/BELENUS
cpu0: Intel(R) Pentium(R) M processor 1.60GHz (GenuineIntel 686-class)
1.60 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2
real mem  = 1600548864 (1526MB)
avail mem = 1538039808 (1466MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/14/06, BIOS32 rev. 0 @ 0xfd750,
SMBIOS rev. 2.33 @ 0xe0010 (59 entries)
bios0: vendor IBM version 74ET64WW (2.09 ) date 12/14/2006
bios0: IBM 2525FAG
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 100%
apm0: AC on, battery charge high
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdec0/240 (13 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #5 is the last bus
bios0: ROM list: 0xc/0xf600! 0xcf800/0x1600 0xd1000/0x1000
0xdc000/0x4000! 0xe/0x1
cpu0 at mainbus0: (uniprocessor)
cpu0: Enhanced SpeedStep 1600 MHz (1116 mV): speeds: 1600, 1500, 1400,
1300, 1200, 1100, 1000, 900, 800, 600 MHz
pci0 at mainbus0 

Re: fvwm - move a window freeze others

2008-12-11 Thread Dan Harnett
On Thu, Dec 11, 2008 at 07:10:02PM +0100, Jesus Sanchez wrote:
 Indeed I tried a Opaquemovesize 100 and worked !
 I already didn't know why but if the window is opaque the
 activity dont stops.

Ah, that was it.  I had it backwards.  Window resizing should also
freeze things then.



Running another OS under OpenBSD

2008-12-11 Thread Jeff_1981
Dear All,

Please can you indicate me how to run Windows or Linux under OpenBSD ?
Under Linux for example there is possibility to virtualize another OS.
If the other OS is hacked from the web does it compromizes the security of
OpenBSD ?

Another question is if I run a server under OpenBSD is this impossible to
hack it from the web ?
The standard install of OpenBSD has no security holes anymore if I
understand, does this mean noone can hack it from the web ? what about an
OpenBSD on which wa have activated one or more services, like mail server /
web server and file sharing for within network (if used as NAS / server as
example ?

Thanks a lot for your help.

Regards,
JF
-- 
View this message in context: 
http://www.nabble.com/Running-another-OS-under-OpenBSD-tp20961548p20961548.html
Sent from the openbsd user - misc mailing list archive at Nabble.com.



Re: Running another OS under OpenBSD

2008-12-11 Thread Jussi Peltola
On Thu, Dec 11, 2008 at 10:30:50AM -0800, Jeff_1981 wrote:
 Dear All,
 
 Please can you indicate me how to run Windows or Linux under OpenBSD ?
 Under Linux for example there is possibility to virtualize another OS.
 If the other OS is hacked from the web does it compromizes the security of
 OpenBSD ?

Who cares; if your service gets hacked, it doesn't help to keep the
underlying OS clean, your service is still compromised. This list seems
to generally not recommend virtualization if security is important, and
is especially critical of any claim that virtualization is going to
improve (and not reduce) security, since it is a new, not-too-well-known
and complex technology.

 Another question is if I run a server under OpenBSD is this impossible to
 hack it from the web ?
 The standard install of OpenBSD has no security holes anymore if I
 understand, does this mean noone can hack it from the web ? what about an
 OpenBSD on which wa have activated one or more services, like mail server /
 web server and file sharing for within network (if used as NAS / server as
 example ?

Nobody has claimed OpenBSD has no security holes; it is quite possible
(almost certain) there are some that have not been found yet. This
applies to any software that is not created and used by perfect beings
that never make any mistakes.

That said, there are relatively few holes in the OpenBSD base system.

Enabling services will, of course, make you more vulnerable. The OpenBSD
base services are well audited and should be secure, but nobody
guarantees they have no holes, and certainly nobody will claim it is
un-hackable. There may be holes in OpenBSD or the software you run on
it, and if you use kitty for a root password there is nothing OpenBSD
can do to help you.

That said, OpenBSD base services are extremely secure, compared to the
competition, when properly configured and patched. Note that no security
audits are done to software in the ports tree; you're on your own with
3rd party software.

Still, whatever it is, it certainly isn't unhackable. Anyone who claims
so is lying, or talking about a machine that is turned off and not
connected to a network.

-- 
Jussi Peltola



Re: pf: how to set per-rule options?

2008-12-11 Thread Toni Mueller
Hi,

thanks for your answer.

On Thu, 11.12.2008 at 02:29:22 +, Stuart Henderson s...@spacehopper.org 
wrote:
 On 2008-12-10, Toni Mueller openbsd-m...@oeko.net wrote:
  Example:
  pass on $ext_if all max-mss 1400
 you should use scrub on ... max-mss 1400

I have seen, and verified, that that works, but I hoped to apply such a
rule to only some of the packets (think different transport media
etc.pp.).

 the BNF section is wrong, there should be a separate 'scrub-rule'
 and the relevant options (max-mss, set-tos, no-df and some others)
 should be moved to something like 'scrubopt'.
 
 any volunteers for a diff? :-) this (in src/share/man/man5/pf.conf.5)
 is plaintext, you don't even need mdoc.samples(7).

Would it be a big problem to adjust the code instead?


Kind regards,
--Toni++



Shaping and QOS with multiple IP's on a single NIC in bridge mode

2008-12-11 Thread martin
Hello.

Does the traffic shaping and QOS work well across multiple public IP's with 
only One network card in bridge mode ?

I haven't come across this issue before, but will very soon.

Anyone have experience with this ?

Thanks...Martin



Re: Running another OS under OpenBSD

2008-12-11 Thread Scott Francis
On Thu, Dec 11, 2008 at 10:30 AM, Jeff_1981 jfsimon1...@gmail.com wrote:
 Dear All,

 Please can you indicate me how to run Windows or Linux under OpenBSD ?
 Under Linux for example there is possibility to virtualize another OS.

in theory, you could install the linux compatibility packages (see
compat_linux(8)) and run e.g. VMware Server as a platform for a
Windows VM. I haven't tried this myself yet (although it is on my list
of things to do the next time I'm bored).

 If the other OS is hacked from the web does it compromizes the security of
 OpenBSD ?

a guest OS is always vulnerable to flaws in the host (because the host
controls it), to varying degrees.

 Another question is if I run a server under OpenBSD is this impossible to
 hack it from the web ?

nothing's impossible. :) Even if your host OS (OpenBSD) is highly
secure, if your guest is less so and you expose it to the network, it
could be attacked over the same channels it uses to communicate with
the network. The only truly secure machine is one that is not
connected to any network and has no physical access.

 The standard install of OpenBSD has no security holes anymore if I
 understand, does this mean noone can hack it from the web ? what about an
 OpenBSD on which wa have activated one or more services, like mail server /
 web server and file sharing for within network (if used as NAS / server as
 example ?

clearly, you'd have to evaluate the security of any services or
applications you're running on the network independently of the OS
they're running on top of.
-- 
darkun...@{gmail.com,darkuncle.net} || 0x5537F527
  http://darkuncle.net/pubkey.asc for public key



Re: Running another OS under OpenBSD

2008-12-11 Thread Toni Mueller
Hi,

On Thu, 11.12.2008 at 21:35:36 +0200, Jussi Peltola pe...@pelzi.net wrote:
 On Thu, Dec 11, 2008 at 10:30:50AM -0800, Jeff_1981 wrote:
  Please can you indicate me how to run Windows or Linux under OpenBSD ?
  Under Linux for example there is possibility to virtualize another OS.
  If the other OS is hacked from the web does it compromizes the security of
  OpenBSD ?

this is generally possible. If you kept an eye on the virtualization
methods under Linux, you will have encountered several cases where it
was possible for virtual machines to break out of their compartment,
and invade the host or other guest systems. Search eg. for blue pill
if you want more details.

 Who cares; if your service gets hacked, it doesn't help to keep the
 underlying OS clean, your service is still compromised.

This is true, but also true is that recovery from a compromized virtual
machine is generally much faster than recovery from a compromized
physical machine, provided you have a clean image lying around, and you
are sure that the host is not compromized. But noone can guarantee you
that.


-- 
Kind regards,
--Toni++



DO NOT FEED THE TROLL

2008-12-11 Thread Dieter Rauschenberger
[TROLL DETECTED] [TARGET AIMING] [TARGET LOCKED] [   FIRE!!!   ]
.--. .-. .-. .-.
|  o   | |  |  | |\ o /| |  \`. | .'/  |
|/( )\ | |   -- + --   | |   --(+)--   | |-- *PLONK* --|
|_/_\__| |  |  | |_/|\_| |__/_'_|_'_\__|
'--' '-' '-' '-'



Large disks on 4.4

2008-12-11 Thread (private) HKS
I recently built out an OpenBSD backup server on a Dell 2950
with a 2.7TB RAID array, and I ran into some trouble with fdisk
recognizing my disk. The geometries it reported were worth
about 750GB. Attempting to change CHS geometry led to out
of bounds errors. I did not mess with sector-only settings - I
ran through the installation, as it was, leaving my huge partitions
out. Once the machine was built, I used disklabel's b
command to change the disk boundaries to the whole disk.

Things are working just fine now, but is fdisk partitioning with
sectors the Right way to do this?

-HKS


OpenBSD 4.4-stable (GENERIC) #0: Wed Nov 19 12:00:19 EST 2008
r...@backup.local:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Xeon(R) CPU 5110 @ 1.60GHz (GenuineIntel 686-class) 1.60 GHz
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,VMX,TM2,CX16,xTPR
real mem  = 2142142464 (2042MB)
avail mem = 2062938112 (1967MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 02/05/08, BIOS32 rev. 0 @
0xffe90, SMBIOS rev. 2.5 @ 0x7fb9c000 (66 entries)
bios0: vendor Dell Inc. version 2.2.6 date 02/05/2008
bios0: Dell Inc. PowerEdge 2950
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP APIC SPCR HPET MCFG WD__ SLIC ERST HEST BERT EINJ TCPA
acpi0: wakeup devices PCI0(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (PEX2)
acpiprt2 at acpi0: bus 5 (UPST)
acpiprt3 at acpi0: bus 6 (DWN1)
acpiprt4 at acpi0: bus 8 (DWN2)
acpiprt5 at acpi0: bus 1 (PEX3)
acpiprt6 at acpi0: bus 0 (PE2P)
acpiprt7 at acpi0: bus 10 (PEX4)
acpiprt8 at acpi0: bus 12 (PEX6)
acpiprt9 at acpi0: bus 2 (SBEX)
acpiprt10 at acpi0: bus 14 (COMP)
acpicpu0 at acpi0: C3
bios0: ROM list: 0xc/0x9000! 0xc9000/0x1000 0xca000/0x1e00
0xcc000/0x5e00 0xec000/0x4000!
ipmi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 5000X Host rev 0x12
ppb0 at pci0 dev 2 function 0 Intel 5000 PCIE rev 0x12
pci1 at ppb0 bus 4
ppb1 at pci1 dev 0 function 0 Intel 6321ESB PCIE rev 0x01
pci2 at ppb1 bus 5
ppb2 at pci2 dev 0 function 0 Intel 6321ESB PCIE rev 0x01
pci3 at ppb2 bus 6
ppb3 at pci3 dev 0 function 0 ServerWorks PCIE-PCIX rev 0xc3
pci4 at ppb3 bus 7
bnx0 at pci4 dev 0 function 0 Broadcom BCM5708 rev 0x12: irq 5
ppb4 at pci2 dev 1 function 0 Intel 6321ESB PCIE rev 0x01: irq 5
pci5 at ppb4 bus 8
ppb5 at pci1 dev 0 function 3 Intel 6321ESB PCIE-PCIX rev 0x01
pci6 at ppb5 bus 9
ppb6 at pci0 dev 3 function 0 Intel 5000 PCIE rev 0x12
pci7 at ppb6 bus 1
mfi0 at pci7 dev 0 function 0 Symbios Logic SAS1078 rev 0x04: irq 5,
Dell PERC 6/i integrated
mfi0: logical drives 1, version 6.0.1-0080, 256MB RAM
scsibus0 at mfi0: 1 targets, initiator 64
sd0 at scsibus0 targ 0 lun 0: DELL, PERC 6/i, 1.11 SCSI3 0/direct fixed
sd0: 2859520MB, 44942 cyl, 511 head, 255 sec, 512 bytes/sec,
5856296960 sec total
ppb7 at pci0 dev 4 function 0 Intel 5000 PCIE x8 rev 0x12
pci8 at ppb7 bus 10
ppb8 at pci0 dev 5 function 0 Intel 5000 PCIE rev 0x12
pci9 at ppb8 bus 11
ppb9 at pci0 dev 6 function 0 Intel 5000 PCIE x8 rev 0x12
pci10 at ppb9 bus 12
ppb10 at pci0 dev 7 function 0 Intel 5000 PCIE rev 0x12
pci11 at ppb10 bus 13
pchb1 at pci0 dev 16 function 0 Intel 5000 Error Reporting rev 0x12
pchb2 at pci0 dev 16 function 1 Intel 5000 Error Reporting rev 0x12
pchb3 at pci0 dev 16 function 2 Intel 5000 Error Reporting rev 0x12
pchb4 at pci0 dev 17 function 0 Intel 5000 Reserved rev 0x12
pchb5 at pci0 dev 19 function 0 Intel 5000 Reserved rev 0x12
pchb6 at pci0 dev 21 function 0 Intel 5000 FBD rev 0x12
pchb7 at pci0 dev 22 function 0 Intel 5000 FBD rev 0x12
ppb11 at pci0 dev 28 function 0 Intel 6321ESB PCIE rev 0x09
pci12 at ppb11 bus 2
ppb12 at pci12 dev 0 function 0 ServerWorks PCIE-PCIX rev 0xc3
pci13 at ppb12 bus 3
bnx1 at pci13 dev 0 function 0 Broadcom BCM5708 rev 0x12: irq 5
uhci0 at pci0 dev 29 function 0 Intel 6321ESB USB rev 0x09: irq 11
uhci1 at pci0 dev 29 function 1 Intel 6321ESB USB rev 0x09: irq 10
uhci2 at pci0 dev 29 function 2 Intel 6321ESB USB rev 0x09: irq 11
uhci3 at pci0 dev 29 function 3 Intel 6321ESB USB rev 0x09: irq 10
ehci0 at pci0 dev 29 function 7 Intel 6321ESB USB rev 0x09: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb13 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0xd9
pci14 at ppb13 bus 14
vga1 at pci14 dev 13 function 0 ATI ES1000 rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
drm at vga1 unsupported
ichpcib0 at pci0 dev 31 function 0 Intel 6321ESB LPC rev 0x09: PM disabled
pciide0 at pci0 dev 31 function 1 Intel 6321ESB IDE rev 0x09: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets, 

Re: Large disks on 4.4

2008-12-11 Thread Otto Moerbeek
On Thu, Dec 11, 2008 at 03:24:42PM -0500, (private) HKS wrote:

 I recently built out an OpenBSD backup server on a Dell 2950
 with a 2.7TB RAID array, and I ran into some trouble with fdisk
 recognizing my disk. The geometries it reported were worth
 about 750GB. Attempting to change CHS geometry led to out
 of bounds errors. I did not mess with sector-only settings - I
 ran through the installation, as it was, leaving my huge partitions
 out. Once the machine was built, I used disklabel's b
 command to change the disk boundaries to the whole disk.
 
 Things are working just fine now, but is fdisk partitioning with
 sectors the Right way to do this?

yeah, using the b command in disklabel(8) is the right way.
fdisk is limited to 32-bit block numbers.

-Otto

 
 -HKS
 
 
 OpenBSD 4.4-stable (GENERIC) #0: Wed Nov 19 12:00:19 EST 2008
 r...@backup.local:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Intel(R) Xeon(R) CPU 5110 @ 1.60GHz (GenuineIntel 686-class) 1.60 GHz
 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,VMX,TM2,CX16,xTPR
 real mem  = 2142142464 (2042MB)
 avail mem = 2062938112 (1967MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 02/05/08, BIOS32 rev. 0 @
 0xffe90, SMBIOS rev. 2.5 @ 0x7fb9c000 (66 entries)
 bios0: vendor Dell Inc. version 2.2.6 date 02/05/2008
 bios0: Dell Inc. PowerEdge 2950
 acpi0 at bios0: rev 2
 acpi0: tables DSDT FACP APIC SPCR HPET MCFG WD__ SLIC ERST HEST BERT EINJ TCPA
 acpi0: wakeup devices PCI0(S5)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpihpet0 at acpi0: 14318179 Hz
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 4 (PEX2)
 acpiprt2 at acpi0: bus 5 (UPST)
 acpiprt3 at acpi0: bus 6 (DWN1)
 acpiprt4 at acpi0: bus 8 (DWN2)
 acpiprt5 at acpi0: bus 1 (PEX3)
 acpiprt6 at acpi0: bus 0 (PE2P)
 acpiprt7 at acpi0: bus 10 (PEX4)
 acpiprt8 at acpi0: bus 12 (PEX6)
 acpiprt9 at acpi0: bus 2 (SBEX)
 acpiprt10 at acpi0: bus 14 (COMP)
 acpicpu0 at acpi0: C3
 bios0: ROM list: 0xc/0x9000! 0xc9000/0x1000 0xca000/0x1e00
 0xcc000/0x5e00 0xec000/0x4000!
 ipmi at mainbus0 not configured
 cpu0 at mainbus0
 pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
 pchb0 at pci0 dev 0 function 0 Intel 5000X Host rev 0x12
 ppb0 at pci0 dev 2 function 0 Intel 5000 PCIE rev 0x12
 pci1 at ppb0 bus 4
 ppb1 at pci1 dev 0 function 0 Intel 6321ESB PCIE rev 0x01
 pci2 at ppb1 bus 5
 ppb2 at pci2 dev 0 function 0 Intel 6321ESB PCIE rev 0x01
 pci3 at ppb2 bus 6
 ppb3 at pci3 dev 0 function 0 ServerWorks PCIE-PCIX rev 0xc3
 pci4 at ppb3 bus 7
 bnx0 at pci4 dev 0 function 0 Broadcom BCM5708 rev 0x12: irq 5
 ppb4 at pci2 dev 1 function 0 Intel 6321ESB PCIE rev 0x01: irq 5
 pci5 at ppb4 bus 8
 ppb5 at pci1 dev 0 function 3 Intel 6321ESB PCIE-PCIX rev 0x01
 pci6 at ppb5 bus 9
 ppb6 at pci0 dev 3 function 0 Intel 5000 PCIE rev 0x12
 pci7 at ppb6 bus 1
 mfi0 at pci7 dev 0 function 0 Symbios Logic SAS1078 rev 0x04: irq 5,
 Dell PERC 6/i integrated
 mfi0: logical drives 1, version 6.0.1-0080, 256MB RAM
 scsibus0 at mfi0: 1 targets, initiator 64
 sd0 at scsibus0 targ 0 lun 0: DELL, PERC 6/i, 1.11 SCSI3 0/direct fixed
 sd0: 2859520MB, 44942 cyl, 511 head, 255 sec, 512 bytes/sec,
 5856296960 sec total
 ppb7 at pci0 dev 4 function 0 Intel 5000 PCIE x8 rev 0x12
 pci8 at ppb7 bus 10
 ppb8 at pci0 dev 5 function 0 Intel 5000 PCIE rev 0x12
 pci9 at ppb8 bus 11
 ppb9 at pci0 dev 6 function 0 Intel 5000 PCIE x8 rev 0x12
 pci10 at ppb9 bus 12
 ppb10 at pci0 dev 7 function 0 Intel 5000 PCIE rev 0x12
 pci11 at ppb10 bus 13
 pchb1 at pci0 dev 16 function 0 Intel 5000 Error Reporting rev 0x12
 pchb2 at pci0 dev 16 function 1 Intel 5000 Error Reporting rev 0x12
 pchb3 at pci0 dev 16 function 2 Intel 5000 Error Reporting rev 0x12
 pchb4 at pci0 dev 17 function 0 Intel 5000 Reserved rev 0x12
 pchb5 at pci0 dev 19 function 0 Intel 5000 Reserved rev 0x12
 pchb6 at pci0 dev 21 function 0 Intel 5000 FBD rev 0x12
 pchb7 at pci0 dev 22 function 0 Intel 5000 FBD rev 0x12
 ppb11 at pci0 dev 28 function 0 Intel 6321ESB PCIE rev 0x09
 pci12 at ppb11 bus 2
 ppb12 at pci12 dev 0 function 0 ServerWorks PCIE-PCIX rev 0xc3
 pci13 at ppb12 bus 3
 bnx1 at pci13 dev 0 function 0 Broadcom BCM5708 rev 0x12: irq 5
 uhci0 at pci0 dev 29 function 0 Intel 6321ESB USB rev 0x09: irq 11
 uhci1 at pci0 dev 29 function 1 Intel 6321ESB USB rev 0x09: irq 10
 uhci2 at pci0 dev 29 function 2 Intel 6321ESB USB rev 0x09: irq 11
 uhci3 at pci0 dev 29 function 3 Intel 6321ESB USB rev 0x09: irq 10
 ehci0 at pci0 dev 29 function 7 Intel 6321ESB USB rev 0x09: irq 11
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
 ppb13 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0xd9
 pci14 at ppb13 bus 14
 vga1 at pci14 dev 13 function 0 ATI ES1000 rev 0x02
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 drm at vga1 unsupported
 

vid input hardware recomendation

2008-12-11 Thread Paul M
I need a video capture card for a research project, and would welcome 
any recomendations.


I need about 4 inputs, and would prefer a well designed device that 
simply does it's core task well.


I grabbed this list of cards from the bktr man page, if anybody has any 
comments - for or against, or additions to this list, I'd be very 
gratefull.
Most of these seem quite old, and are pretty much geared towards TV. 
I'm not interested in TV.
Also most have a single video input - I could use a switcher, but I 
dont want to unless I have to.


   Animation Technologies FlyVideo
   AOpen VA1000
   Askey/Dynalink Magic TView
   ATI TV-Wonder and Wonder/VE
   AverMedia cards
   Hauppauge Wincast TV and WinTV/PCI
   IMS TV Turbo
   Intel Smart Video Recorder III
   I/O DATA GV-BCTV2/PCI
   I/O DATA GV-BCTV3/PCI
   KISS TV/FM PCI
   Leadtek Winfast TV 2000
   Leadtek Winfast TV 2000 XP
   Miro PC TV
   MMAC Osprey
   NEC PK-UG-X017
   STB TV PCI Television Tuner
   Terratec TerraTVplus
   Video Highway XTreme
   VideoLogic Captivator PCI
   Zoltrix TV and Genie TV/FM

Thanks

paulm



Re: pf: how to set per-rule options?

2008-12-11 Thread Stuart Henderson
On 2008-12-11, Toni Mueller openbsd-m...@oeko.net wrote:
 Hi,

 thanks for your answer.

 On Thu, 11.12.2008 at 02:29:22 +, Stuart Henderson s...@spacehopper.org 
 wrote:
 On 2008-12-10, Toni Mueller openbsd-m...@oeko.net wrote:
  Example:
  pass on $ext_if all max-mss 1400
 you should use scrub on ... max-mss 1400

 I have seen, and verified, that that works, but I hoped to apply such a
 rule to only some of the packets (think different transport media
 etc.pp.).

scrub supports that.



Re: slow read/write performance with compact flash at PCMCIA

2008-12-11 Thread Stuart Henderson
On 2008-12-11, Michael bele...@bsdmail.de wrote:
 I've got me a PCMICA adapter for compact flash cards. It is recognized
 and basically works, but the read/write performance is really bad.

 dmesg is with the GENERIC UP kernel + NTFS support.

 Additionally some systat output, first is while

 dd if=/dev/rwd2c of=/root/128mb.cf

 and second is during

 dd if=/dev/zero of=/dev/rwd2c


 Any ideas?

best way is probably to change it for a USB CF adapter.



Re: slow read/write performance with compact flash at PCMCIA

2008-12-11 Thread Michael
Hi,

Stuart Henderson schrieb:
 On 2008-12-11, Michael bele...@bsdmail.de wrote:
 I've got me a PCMICA adapter for compact flash cards. It is recognized
 and basically works, but the read/write performance is really bad.

 dmesg is with the GENERIC UP kernel + NTFS support.

 Additionally some systat output, first is while

 dd if=/dev/rwd2c of=/root/128mb.cf

 and second is during

 dd if=/dev/zero of=/dev/rwd2c


 Any ideas?
 
 best way is probably to change it for a USB CF adapter.

PCMCIA was a nice idea because adapter and CD card just fits 100% into
that PCMCIA slot and doesn't look out.

However, just noticed in the dmesg that a lot of devices have the same
IRQ, could that also be a problem?


Michael



Re: OpenBGPD Flaps, 32bit ASn in the wild.

2008-12-11 Thread tico

Claudio Jeker wrote:

On Wed, Dec 10, 2008 at 04:47:31PM -0500, Ted Unangst wrote:
  

On Wed, Dec 10, 2008 at 4:38 PM, Claudio Jeker cje...@diehard.n-r-g.com wrote:


I looked at the porblem and I'm currently unsure what the best way is to
handle such bad AS4_* attributes. The RFC in all its glory does not
mention how to handle errors. So at the moment I'm in favor of just
dropping/ignoring the bad optional attribute but I need to recheck with
the BGP RFC to see if this is valid. Another solution is to ignore the
full update but I have a bad feeling about that.
  

Can you ignore just the route with the bad attribute?  We don't want
to propagate it more.




The best thing we can do is to mark the update as ineligible so it will
not propaget further and will not be used but this is a quite radical
measure. On the other hand this is porbably the safest way to handle this
error.

Comments?
  


My thinking is in line with yours. RFC4271 doesn't appear to specify how 
to handle this scenario gracefully,

as already mentioned here:
http://www.merit.edu/mail.archives/nanog/msg13422.html
Apparently there are already enough BGP speakers on the net that don't 
check for a valid AS4_PATH before announcing it onwards to cause 
problems for OpenBGPd users, if not others.


I'd rather be missing a route than missing an entire feed and/or 
propagating attributes that will kill others' BGP sessions.

-tico



Re: slow read/write performance with compact flash at PCMCIA

2008-12-11 Thread Christian Weisgerber
Michael bele...@bsdmail.de wrote:

 I've got me a PCMICA adapter for compact flash cards. It is recognized
 and basically works, but the read/write performance is really bad.

Yes.  These purely mechanical adapters don't support DMA and all
data must be transferred by the CPU with very, very slow accesses
(8 MHz ISA-style bus).  It may have made sense 15 years ago, but
it doesn't now.

There were a few smart Cardbus adapters out there that provided CF
access without completely bogging down the CPU, but they are rare,
comparitively expensive, and we don't have a driver.  (NetBSD's
njata(4) could be ported.)

-- 
Christian naddy Weisgerber  na...@mips.inka.de



Re: OpenBGPD Flaps, 32bit ASn in the wild.

2008-12-11 Thread Graeme Lee

tico wrote:

Claudio Jeker wrote:

On Wed, Dec 10, 2008 at 04:47:31PM -0500, Ted Unangst wrote:
 
On Wed, Dec 10, 2008 at 4:38 PM, Claudio Jeker 
cje...@diehard.n-r-g.com wrote:
   
I looked at the porblem and I'm currently unsure what the best way 
is to

handle such bad AS4_* attributes. The RFC in all its glory does not
mention how to handle errors. So at the moment I'm in favor of just
dropping/ignoring the bad optional attribute but I need to recheck 
with

the BGP RFC to see if this is valid. Another solution is to ignore the
full update but I have a bad feeling about that.
  

Can you ignore just the route with the bad attribute?  We don't want
to propagate it more.




The best thing we can do is to mark the update as ineligible so it will
not propaget further and will not be used but this is a quite radical
measure. On the other hand this is porbably the safest way to handle 
this

error.

Comments?
  


My thinking is in line with yours. RFC4271 doesn't appear to specify 
how to handle this scenario gracefully,

as already mentioned here:
http://www.merit.edu/mail.archives/nanog/msg13422.html
Apparently there are already enough BGP speakers on the net that don't 
check for a valid AS4_PATH before announcing it onwards to cause 
problems for OpenBGPd users, if not others.


I'd rather be missing a route than missing an entire feed and/or 
propagating attributes that will kill others' BGP sessions.

-tico


I concur.



Re: Running another OS under OpenBSD

2008-12-11 Thread Felipe Alfaro Solana
On Thu, Dec 11, 2008 at 7:30 PM, Jeff_1981 jfsimon1...@gmail.com wrote:

 Dear All,

 Please can you indicate me how to run Windows or Linux under OpenBSD ?
 Under Linux for example there is possibility to virtualize another OS.
 If the other OS is hacked from the web does it compromizes the security of
 OpenBSD ?


Does QEMU work under OpenBSD? But even if it does, it's probably too slow to
use it in production. Also, it might contain bugs and crash, decrease the
security of the host or guest, etc. If I were you and decided on using
virtualization, I'd go with a proven, mature solution. I don't think QEMU is
that mature or that it got enough exposure.


 Another question is if I run a server under OpenBSD is this impossible to
 hack it from the web ?


Nothing is impossible (or impossible is nothing). Even operating systems
certified as EAL4+ have been hacked, and some of them have horrible security
tracks, despite being certified. No software is bug-free, so forget about
the concept of unbreakable or unhackable. It does not exist at all.


 The standard install of OpenBSD has no security holes anymore if I
 understand, does this mean noone can hack it from the web ? what about an
 OpenBSD on which wa have activated one or more services, like mail server /
 web server and file sharing for within network (if used as NAS / server as
 example ?


Being hackable from the Web is just too vague. Your system might have SSH
enabled and a poor password for a particular user, such as that a hacker can
log in and, from there, launch a local attack against the system (local
exploit instead of a remote exploit, like crashing the box), launching a DoS
attack, etc.

As usual, the security of the system depends on the weakest chain. That's
typically the user, or a poor password, or an unpatched system, or a
misconfigured system, or an unqualified administrator, or ... :)

Thanks a lot for your help.

 Regards,
 JF
 --
 View this message in context:
 http://www.nabble.com/Running-another-OS-under-OpenBSD-tp20961548p20961548.html
 Sent from the openbsd user - misc mailing list archive at Nabble.com.




-- 
http://www.felipe-alfaro.org/blog/disclaimer/



vge watchdog timeouts with latest snapshot

2008-12-11 Thread Dawe
Hello,

running a bsd with acpi from the latest snapshot produces watchdog
timeouts for my vge(4).
bsd.mp with acpi and bsd without acpi work fine.

Before this upgrade I used a snapshot from November 25th.
The bsd (with acpi) from back then didn't produce any timeouts.

It's not really a big issue for this machine, but it seems like a
regression that should be reported.
I hope to have enough time in the next days to build some kernels and to
find the exact change that caused this.

Dawe

latest bsd with acpi (with timeouts):
OpenBSD 4.4-current (GENERIC) #1605: Wed Dec 10 16:01:09 MST 2008
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) 64 Processor 3000+ (AuthenticAMD 686-class, 512KB
L2 cache) 1.84 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3
cpu0: AMD erratum 113 detected and fixed
cpu0: AMD erratum 89 present, BIOS upgrade may be required
real mem  = 536375296 (511MB)
avail mem = 510377984 (486MB)
User Kernel Config
UKC disable apm
341 apm0 disabled
UKC quit
Continuing...
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 01/19/05, BIOS32 rev. 0 @ 0xfba20,
SMBIOS rev. 2.3 @ 0xf (39 entries)
bios0: vendor Phoenix Technologies, LTD version 6.00 PG date 01/19/2005
bios0: http://www.abit.com.tw/ AV8 (VIA K8T800P-8237)
apm at bios0 function 0x15 not configured
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP BOOT APIC
acpi0: wakeup devices PCI0(S5) USB0(S3) USB1(S3) USB2(S3) USB3(S3)
USB4(S3) USB5(S3) USB6(S3) AC97(S5) MC97(S5) UAR1(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
acpibtn0 at acpi0: PWRB
bios0: ROM list: 0xc/0xbc00 0xcc000/0x8000!
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD erratum 89 present, BIOS upgrade may be required
cpu0: AMD erratum 89 present, BIOS upgrade may be required
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 VIA K8HTB Host rev 0x00
agp at pchb0 not configured
pchb1 at pci0 dev 0 function 1 VIA K8HTB Host rev 0x00
pchb2 at pci0 dev 0 function 2 VIA K8HTB Host rev 0x00
pchb3 at pci0 dev 0 function 3 VIA K8HTB Host rev 0x00
pchb4 at pci0 dev 0 function 4 VIA K8HTB Host rev 0x00
pchb5 at pci0 dev 0 function 7 VIA K8HTB Host rev 0x00
ppb0 at pci0 dev 1 function 0 VIA K8HTB AGP rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 NVIDIA GeForce3 Ti 200 rev 0xa3
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
bktr0 at pci0 dev 9 function 0 Brooktree BT878 rev 0x11: irq 11
bktr0: TerraTVplus, Temic NTSC tuner.
Brooktree BT878 Audio rev 0x11 at pci0 dev 9 function 1 not configured
rl0 at pci0 dev 12 function 0 Realtek 8139 rev 0x10: irq 10, address
00:50:ba:bb:60:5f
rlphy0 at rl0 phy 0: RTL internal PHY
vge0 at pci0 dev 14 function 0 VIA VT612x rev 0x11: irq 3, address
00:50:8d:d3:18:38
ciphy0 at vge0 phy 1: CS8201 10/100/1000TX PHY, rev. 2
pciide0 at pci0 dev 15 function 0 VIA VT6420 SATA rev 0x80: DMA
pciide0: using irq 11 for native-PCI interrupt
pciide1 at pci0 dev 15 function 1 VIA VT82C571 IDE rev 0x06: ATA133,
channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide1 channel 0 drive 0: SAMSUNG SP1203N
wd0: 16-sector PIO, LBA48, 114498MB, 234493056 sectors
wd1 at pciide1 channel 0 drive 1: SAMSUNG SP2514N
wd1: 16-sector PIO, LBA48, 238475MB, 488397168 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
wd1(pciide1:0:1): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide1 channel 1 drive 1
scsibus0 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, DVDRAM GSA-4163B, A103 ATAPI
5/cdrom removable
cd0(pciide1:1:1): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 16 function 0 VIA VT83C572 USB rev 0x81: irq 11
uhci1 at pci0 dev 16 function 1 VIA VT83C572 USB rev 0x81: irq 11
uhci2 at pci0 dev 16 function 2 VIA VT83C572 USB rev 0x81: irq 11
uhci3 at pci0 dev 16 function 3 VIA VT83C572 USB rev 0x81: irq 11
ehci0 at pci0 dev 16 function 4 VIA VT6202 USB rev 0x86: irq 10
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 VIA EHCI root hub rev 2.00/1.00 addr 1
viapm0 at pci0 dev 17 function 0 VIA VT8237 ISA rev 0x00
iic0 at viapm0
spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM non-parity PC3200CL3.0
auvia0 at pci0 dev 17 function 5 VIA VT8233 AC97 rev 0x60: irq 10
ac97: codec id 0x414c4780 (Avance Logic ALC658 rev 0)
ac97: codec features 20 bit DAC, 18 bit ADC, No 3D Stereo
audio0 at auvia0
pchb6 at pci0 dev 24 function 0 AMD AMD64 0Fh HyperTransport rev 0x00
pchb7 at pci0 dev 24 function 1 AMD AMD64 0Fh Address Map rev 0x00
pchb8 at pci0 dev 24 function 2 AMD AMD64 0Fh DRAM Cfg rev 0x00
kate0 at pci0 dev 24 function 3 AMD AMD64 0Fh Misc Cfg rev 0x00
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 VIA UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 VIA UHCI root hub rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0

Re: vid input hardware recomendation

2008-12-11 Thread Jacob Meuser
On Fri, Dec 12, 2008 at 09:27:23AM +1300, Paul M wrote:
 I need a video capture card for a research project, and would welcome  
 any recomendations.

 I need about 4 inputs, and would prefer a well designed device that  
 simply does it's core task well.

 I grabbed this list of cards from the bktr man page, if anybody has any  
 comments - for or against, or additions to this list, I'd be very  
 gratefull.
 Most of these seem quite old, and are pretty much geared towards TV. I'm 
 not interested in TV.
 Also most have a single video input - I could use a switcher, but I dont 
 want to unless I have to.

you have to.  the kernel only allows one bktr.  some cards have e.g.
tuner, s-video and RCA inputs, but you can only capture one input at
a time.

otoh, you might be able to find something that works with uvideo(4),
but that's just a guess.

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



Re: PHP5 And Apache on 4.4

2008-12-11 Thread Bret

Richard Toohey wrote:

[cut]


Yes a clean install, Apache works fine,, index,html servers up across 
my network... php -i from the command line works,,, a page called 
qw.php with only ? phpinfo(); ?  displays nothing but from firefox 
a show page source shows the ? phpinfo(); ? as being there. also 
did multiple reboots to make sure.


Bret


PHP 5, mate, you have got to use long tags

?php

phpinfo();

?





Well just everybody PLEASE Laugh at me... No I mean Laugh with me... 
Thats what I get for using an old learn Apache, MySQL and PHP book


Thanks and Yes I was LMAO ;-D

Bret



Re: PPTP Server behind PF firewall

2008-12-11 Thread SJP Lists
2008/12/12 cbc ccapo...@gmail.com:
  Hello,

  I have a PPTP server (running Windows Server) behind PF (OpenBSD
 4.4). I tried 'rdr pass' on 1723/TCP and all GRE traffic, without
 success. Then, I tried to set up an alias on WAN interface and create
 a binat rule, doesn't work too.

  Is there any limitation with PF? I wouldn't like to use Netfilter
 (ip_gre module) to solve this problem. Any idea?

  Thanks in advance,

http://marc.info/?l=openbsd-miscm=119549491121338w=2



Re: PHP5 And Apache on 4.4

2008-12-11 Thread Marcos Laufer - Ipv4networks.com
Or you could just enable short tags in php.ini:

short_open_tag = On


On Thu, Dec 11, 2008 at 08:14:14PM -0700, Bret wrote:
 Richard Toohey wrote:
 [cut]
 
 Yes a clean install, Apache works fine,, index,html servers up across 
 my network... php -i from the command line works,,, a page called 
 qw.php with only ? phpinfo(); ?  displays nothing but from firefox 
 a show page source shows the ? phpinfo(); ? as being there. also 
 did multiple reboots to make sure.
 
 Bret
 
 PHP 5, mate, you have got to use long tags
 
 ?php
 
 phpinfo();
 
 ?
 
 
 
 
 Well just everybody PLEASE Laugh at me... No I mean Laugh with me... 
 Thats what I get for using an old learn Apache, MySQL and PHP book
 
 Thanks and Yes I was LMAO ;-D
 
 Bret