Heiko Zimmermann | 22 May 20:33 2015

IPv6 is not working at Hetzner

Hello OpenBSD users,

I have a server at Hetzner, but IPv6 is not working. IPv4 is all fine.

My Net: 2a01:4f8:160:XXXX:: 64

I tried this configuration:

hostname.re0
--------------------------------------------
# IPv4
...
# IPv6
inet6 2a01:4f8:160:XXXX::2 64
inet6 alias 2a01:4f8:160:XXXX::80 64
inet6 alias 2a01:4f8:160:XXXX::25 64
!route add -inet6 default fe80::1%re0

mygate
--------------------------------------------
176.9.YY.65
fe80::1
2a01:4f8:160:XXXX::1

pf.conf
--snip--------------------------------------
# for testing
pass inet6 proto icmp6
pass in on $if inet6 proto udp from any to any port 33433 >< 33626 keep
state
(Continue reading)

Tinker | 22 May 09:27 2015

Will mmap and the read buffer cache be unified, anyone working with it?

Hi,

Will mmap and the read buffer cache be unified, anyone working with it?

Some programs disable features on OBSD for this reason so would be nice! 
(I admit though that a program combining mmap() and read() on the same 
file sounds like a slightly quirky design choice to me.)

Thanks!
Tinker

Jan Lambertz | 22 May 16:45 2015

Panic UVM on educake

Hi,

i've bought an new device. x86duino educake. there is a dmesg that
looks like it has worked with openbsd 5.4 [1].
I'm trying to run 5.7 release on it an getting a panic. any ideas ?

jan

[1] http://www2192ue.sakura.ne.jp/~uaa/gomitext/2014/20140219/dmesg.txt

>> OpenBSD/i386 BOOT 3.26
boot>
booting hd0a:/bsd: 9777628+1068236 [72+409680+404343]=0xb1ec54
entry point at 0x200120

[ using 814508 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2015 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 5.7 (GENERIC) #738: Sun Mar  8 10:59:31 MDT 2015
    deraadt <at> i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
RTC BIOS diagnostic error b<fixed_disk>
cpu0: Vortex86 SoC  (686-class) 301 MHz
cpu0: FPU,TSC,CX8,SEP,CMOV,MMX,PERF
real mem  = 133246976 (127MB)
avail mem = 118726656 (113MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
(Continue reading)

Eivind Eide | 22 May 15:28 2015
Picon

Re: seamonkey error

> From: L.R. D.S. <arrowscript <at> mail.com>
> Subject: Re: seamonkey error
> Date: 2015-04-17 22:21:28 GMT
>
> Solved on lastest snapshot.
>

For me this has not changed. I still can't start seamonkey.
I have uninstalled and reinstalled. Removed files in $HOME.
I still get the same error:

$ seamonkey
XPCOMGlueLoad error for file
/usr/local/lib/seamonkey-2.33.1/../../ldap/sdks/c-sdk/ldap/libraries/libldap/libldap60.so.41.0:
File not found
Couldn't load XPCOM.

$ pkg_info | grep seamonkey
lightning-seamonkey-3.8p1v0 Mozilla Seamonkey calendar extension
seamonkey-2.33.1p0  Mozilla application suite
seamonkey-i18n-nb-NO-2.33.1 nb-NO language pack for Seamonkey

$ dmesg
OpenBSD 5.7-current (GENERIC) #852: Wed May 20 17:49:55 MDT 2015
    deraadt <at> i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz ("GenuineIntel"
686-class) 1.80 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PERF
real mem  = 2146852864 (2047MB)
avail mem = 2099519488 (2002MB)
(Continue reading)

Torsten | 22 May 11:45 2015
Picon

fastcgi (without slowcgi)

Hi!

I am trying to use fastcgi in OpenBSD 5.7 httpd but keep getting "500
Internal Server Error".

httpd.conf:
######################################################
ext_addr="*"
server "www.domain.com" {
        listen on $ext_addr tls port 443
        tls dhe "auto"
        connection { max requests 500, timeout 3600 }
        location "/cgi-bin/*" {
                fastcgi socket "/run/fcgi.socket"
                root "/"
        }
        root "/htdocs/www.domain.com"
}
######################################################

/var/www/cgi-bin/fcgi-test.cgi:
######################################################
#!/usr/bin/perl
  use CGI::Fast;
  $ENV{FCGI_SOCKET_PATH} = "/run/fcgi.socket";
  $ENV{FCGI_LISTEN_QUEUE} = 100;
  my $cnt=0;
  while ($q = new CGI::Fast) {
   print "Content-type: text/html\r\n\r\n";
   print "<head>\n<title>FastCGI Demo Page (perl)</title>\n</head>\n";
(Continue reading)

Yassen Damyanov | 22 May 10:54 2015
Picon

ikev2 road warrior setup not working

[Apologies if anyone gets this a second time --
 Sent twice but did not show up in the list]

5.7-stable.
Cannot get an ikev2 road warrior setup working for days now.

Read all relevant stuff but cannot see what I am doing wrong.
Other people report similar setup working, so it must be my fault.

The connection schema follows:

(Note: 57.57.57.57 is the OBSD-5.7 box ext interface;
81.81.81.81 is the ext interface of the router the win box
is behind.)

LAN (10.15.0.0/16) <--> [ obsd 5.7 box (ext if 57.57.57.57) ] <-->
<--> Internet <--> router (81.81.81.81) <--> win 8.1 box

The win box shows error 809 (remote server is not responding) on
connection attempt. (I never managed to get anything else.)

Client is Win8.1 Enterprise (behind nat, should not matter...?)
Connection properties:
-- General | Host name: 57.57.57.57
-- Security | Type of VPN: IKEv2
-- Security | Data Encryption: Require Encryption
-- Security | Authentication: use machine certificates
-- Networking | IPv4 (the only thing enabled):
set to IP 10.10.10.7, DNS 8.8.8.8

(Continue reading)

Daniel Bolgheroni | 22 May 01:57 2015
Picon

Resolve names from chroot'ed OpenBSD httpd

Hi,

Any advice on resolving names from a chroot'ed httpd?

OpenBSD 5.7, Wordpress downloaded from site, mariadb configured, paths
set on httpd.conf. Also have /var/www/etc/hosts and
/var/www/etc/resolv.conf in place.

Works almost as expected, except for some functions like installing
plugins/themes, which I get a lot of "php_network_getaddresses:
getaddrinfo failed: no address associated with name" when activating
Wordpress debug.

Warning: stream_socket_client(): unable to connect to
tcp://api.wordpress.org:80 (php_network_getaddresses: getaddrinfo
failed: no address associated with name) in
/htdocs/wordpress/wp-includes/class-http.php on line 1008

Same problem with nginx from ports.

Thank you.

--

-- 
db

Chris Moody | 21 May 23:22 2015

IPv6 help needed


Hello - new list-subscriber here.

Need a little help debugging IPv6 on OpenBSD 5.7.   I've got a VMware VM
running as a router.  IPv4 is working beautifully.  V6 is not working
for some reason.  I'm unable to even ping6 the system's local interfaces.

I've cleared all v6 interface settings and am trying to bring them up
one interface at a time while debugging but still no luck.

link-local and global addresses are not responding.  PF is disabled
while troubleshooting.

I've included some relevant v6 settings and outputs in case it sheds
some light or gives any ideas.

==========[ pf disabled
root <at> spike ~ # pfctl -d
pfctl: pf not enabled

==========[ first interface I'm bringing up
root <at> spike ~ # ifconfig em5
em5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:0c:29:cc:5c:76
        priority: 0
        groups: egress
        media: Ethernet autoselect (1000baseT full-duplex,master)
        status: active
        inet 192.168.255.254 netmask 0xffffff00 broadcast 192.168.255.255
        inet6 fe80::20c:29ff:fecc:5c76%em5 prefixlen 64 scopeid 0x6
(Continue reading)

Adam Wolk | 21 May 17:36 2015
Picon

Large file uploads/downloads - owncloud-8.0.3 + httpd

Hi misc <at> 

For about 2 months I have been running owncloud on an amd64 -current
machine using httpd from base.

I'm so far quite happy with the setup but can't get the service
working with large file uploads & downloads.

When trying with the owncloud client from a Linux machine I receive
connection timeouts while synchronizing directories containing large
files (7.5-8 GB per file). I have the same issues while uploading the file.

I see no errors related to this in:
 - /var/www/logs/access.log
 - /var/www/logs/error.log
 - /var/log/php-fpm.log

So far I have tried:
 - setting connection max request body to 10GiB (10737418240 bytes)
 - setting connection timeout to 43200 (12h instead of default 10
   minutes)
 - changing upload_max_filesize/post_max_size in .user.ini of owncloud
   but that only seems to impact the UI itself
 - changing upload_mmax_filesize in php-5.5.ini this doesn't seem to
   also have any impact

I think I must have gotten something wrong in my httpd setup that keeps
breaking the connection. More normally sized files (5-250 MB?) go
through without any issues.

(Continue reading)

Duncan Patton a Campbell | 21 May 05:58 2015
Picon

Softraid question


I appear to have a disk failure of some kind.

softraid0 at root
scsibus4 at softraid0: 256 targets
softraid0: not all chunks were provided; attempting to bring volume 0 online
softraid0: trying to bring up sd3 degraded
sd3 at scsibus4 targ 1 lun 0: <OPENBSD, SR RAID 1, 005> SCSI2 0/direct fixed
sd3: 1907726MB, 512 bytes/sector, 3907023473 sectors

Which mebbe is ok, but how to determine which physical disk is having problems
(if it is) and what to do about it?

Any pointers or info would be helpful... (yes, I am reading the man pages,
but they talk about whole disk failures, not sector/block ones etc...

Thanks

Dhu

--

-- 

https://babayaga.neotext.ca/PublicKeys/Duncan_Patton_a_Campbell_pubkey.txt

Ne obliviscaris, vix ea nostra voco.
iF4EAREIAAYFAlVdV+cACgkQiY6AzzR1lzzKYwEAo8EPzHRkvyZf3ZZNdfVTRFDR
pvB2YF5PrEkjofpCZx8BALJNzNKHaSxejk/8fcyz5dUFaFo0plY8KG1llau+7fM3
=w/Ee
-----END PGP SIGNATURE-----

(Continue reading)

Shaun Reiger | 21 May 04:56 2015
Picon

CPU power consumption on thinkpad x201

Hello I'm trying to find out if the power consumption relating to the
intel_powerclamp driver ("Package Level C-state Idle Injection for
Intel CPUs") was ever fixed. I'm current running 5.7 stable and I find
my cpu is still consuming 6W of power in any state.  It was mentioned
in the emails from last year that a Linux driver fixed this issue. Any
updates on this issue would be great. I have attached my dmesg for
review.

Thanks

-- 
Shaun

hw.sensors.acpithinkpad0.fan0=3280 RPM
hw.sensors.itherm0.power0=7.00 W (CPU power consumption)
hw.cpuspeed=1199
hw.setperf=0

OpenBSD 5.7-stable (GENERIC.MP) #0: Tue May 19 23:28:13 MDT 2015
    :/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4062691328 (3874MB)
avail mem = 3950624768 (3767MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6  <at>  0xe0010 (78 entries)
bios0: vendor LENOVO version "6QET70WW (1.40 )" date 10/11/2012
bios0: LENOVO 3626GG3
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
(Continue reading)


Gmane