Re: Dovecot OpenBSD 7.2 VM

2022-11-08 Thread Brad Smith

On 11/8/2022 6:50 PM, latin...@vcn.bc.ca wrote:

Hello misc

Is there a problem installing Dovecot? Thanks
I have 2 VMs upgraded working correctly, this is a new installation of
Dovecot at Vultr.

# pkg_add dovecot
quirks-6.42 signed on 2022-10-30T18:56:25Z
Can't install dovecot-2.3.19.1p0v0 because of libraries
|library iconv.7.1 not found
| /usr/local/lib/libiconv.so.7.0 (libiconv-1.16p0): minor is too small
|library sqlite3.37.20 not found
| /usr/local/lib/libsqlite3.so.37.15 (sqlite3-3.38.3): minor is too small
Direct dependencies for dovecot-2.3.19.1p0v0 resolve to icu4c-71.1v0
libstemmer-2.1.0 lz4-1.9.4 xz-5.2.5p1 libexttextcat-3.4.6 sqlite3-3.38.3
bzip2-1.0.8p0 libsodium-1.0.18p1 zstd-1.5.2 libiconv-1.16p0
Full dependency tree is icu4c-71.1v0 libstemmer-2.1.0 lz4-1.9.4 xz-5.2.5p1
sqlite3-3.38.3 libexttextcat-3.4.6 libsodium-1.0.18p1 bzip2-1.0.8p0
libiconv-1.16p0 zstd-1.5.2
Couldn't install dovecot-2.3.19.1p0v0


The system needs to have its packages updated. Those are not 7.2 packages.



Re: 50Gbe

2021-08-11 Thread Brad Smith

Only bnxt and mcx support 50. Intel chips that do are 800 series, beyond ixl.

On August 11, 2021 5:13:11 p.m. Chris Cappuccio  wrote:


ha...@sdf.org [ha...@sdf.org] wrote:

> Hi folks!
>
> I wonder if OBSD supports 50Gbe network cards. And what is the cable
> standard to support such data transfers ?
>
> Thanks.
>
> --
> The lion and the tiger may be more powerful, but the wolves do not perform
> in the circus

$ apropos 50gb
bnxt(4) - Broadcom NetXtreme-C/E 10/25/40/50Gb Ethernet device

https://man.openbsd.org/bnxt.4


mcx and ixl cards are the most likely 10/25/40/50/100 GbE chips to be well 
supported, bnxt doesn't even support per-CPU queues yet



Sent with Aqua Mail for Android
https://www.mobisystems.com/aqua-mail


Re: Dovecot maildir sync not working after upgrade to 6.9

2021-05-17 Thread Brad Smith

Hi William,

I would try posting what you have to the Dovecot mailing list and see what 
Aki says.


On May 17, 2021 7:18:35 a.m. William Orr  wrote:


Hey,

I have two mailservers running OpenBSD 6.9, and I use bidirectional
syncing of my maildirs through doveadm, part of dovecot. After the
upgrade, I noticed that the sync process was failing.

Here's a sample run:

kefka|~|02:57:05|0$ doas doveadm sync -u w...@worrbase.com 
remote:sabin.worrbase.com

doveadm(VERSION dsync   3   5): Error: User doesn't exist
dsync-local(worr): Error: read(sabin.worrbase.com) 
failed: EOF (version not received)
dsync-local(worr): Error: Remote command returned 
error 67: /usr/bin/ssh -i /root/.ssh/id_ed25519.dsync sabin.worrbase.com 
/usr/local/bin/dsync-in-wrapper.sh


kefka|~|02:57:08|75$ cat /usr/local/bin/dsync-in-wrapper.sh
#!/bin/ksh
read username
/usr/local/bin/doveadm dsync-server -u "$username"

I ktraced the process, and noticed that in the communication with the
remote mail server, that a bunch of doveadm plugins fail to load. It's
worth noting that these are plugins that are dlopen(3)ed in response to
certain commands sent over the wire, so they don't show up in ldd(1) output.

kefka|~|03:00:08|0$ doas kdump | grep symbol
  "doveadm:/usr/local/lib/dovecot/doveadm/lib10_doveadm_acl_plugin.so: 
  undefined symbol 'acl_user_module'
  "doveadm:/usr/local/lib/dovecot/doveadm/lib10_doveadm_acl_plugin.so: 
  undefined symbol 'acl_mailbox_get_aclobj'
  "doveadm:/usr/local/lib/dovecot/doveadm/lib10_doveadm_acl_plugin.so: 
  undefined symbol 'acl_mailbox_list_get_backend'
  "doveadm:/usr/local/lib/dovecot/doveadm/lib10_doveadm_acl_plugin.so: 
  undefined symbol 'acl_object_list_init'
  "doveadm:/usr/local/lib/dovecot/doveadm/lib10_doveadm_acl_plugin.so: 
  undefined symbol 'acl_object_list_next'
  "doveadm:/usr/local/lib/dovecot/doveadm/lib10_doveadm_acl_plugin.so: 
  undefined symbol 'acl_backend_rights_match_me'
  "doveadm:/usr/local/lib/dovecot/doveadm/lib10_doveadm_acl_plugin.so: 
  undefined symbol 'acl_rights_get_id'
  "doveadm:/usr/local/lib/dovecot/doveadm/lib10_doveadm_acl_plugin.so: 
  undefined symbol 'acl_object_list_deinit'
  "doveadm:/usr/local/lib/dovecot/doveadm/lib10_doveadm_acl_plugin.so: 
  undefined symbol 'acl_object_get_my_rights'
  "doveadm:/usr/local/lib/dovecot/doveadm/lib10_doveadm_acl_plugin.so: 
  undefined symbol 'acl_rights_update_import'
  "doveadm:/usr/local/lib/dovecot/doveadm/lib10_doveadm_acl_plugin.so: 
  undefined symbol 'acl_mailbox_update_acl'
  "doveadm:/usr/local/lib/dovecot/doveadm/lib10_doveadm_acl_plugin.so: 
  undefined symbol 'acl_lookup_dict_rebuild'
  "doveadm:/usr/local/lib/dovecot/doveadm/lib10_doveadm_acl_plugin.so: 
  undefined symbol 'acl_backend_nonowner_lookups_iter_init'
  "doveadm:/usr/local/lib/dovecot/doveadm/lib10_doveadm_acl_plugin.so: 
  undefined symbol 'acl_backend_nonowner_lookups_iter_next'
  "doveadm:/usr/local/lib/dovecot/doveadm/lib10_doveadm_acl_plugin.so: 
  undefined symbol 'acl_backend_nonowner_lookups_iter_deinit'
  "doveadm:/usr/local/lib/dovecot/doveadm/lib10_doveadm_acl_plugin.so: 
  undefined symbol 'acl_backend_nonowner_lookups_rebuild'
  "doveadm:/usr/local/lib/dovecot/doveadm/lib10_doveadm_acl_plugin.so: 
  undefined symbol 'acl_lookup_dict_is_enabled'
  "doveadm:/usr/local/lib/dovecot/doveadm/lib10_doveadm_acl_plugin.so: 
  undefined symbol 'acl_lookup_dict_iterate_visible_init'
  "doveadm:/usr/local/lib/dovecot/doveadm/lib10_doveadm_acl_plugin.so: 
  undefined symbol 'acl_lookup_dict_iterate_visible_next'
  "doveadm:/usr/local/lib/dovecot/doveadm/lib10_doveadm_acl_plugin.so: 
  undefined symbol 'acl_lookup_dict_iterate_visible_deinit'
  "doveadm:/usr/local/lib/dovecot/doveadm/lib10_doveadm_quota_plugin.so: 
  undefined symbol 'quota_user_module'
  "doveadm:/usr/local/lib/dovecot/doveadm/lib10_doveadm_quota_plugin.so: 
  undefined symbol 'quota_root_get_resources'
  "doveadm:/usr/local/lib/dovecot/doveadm/lib10_doveadm_quota_plugin.so: 
  undefined symbol 'quota_get_resource'
  "doveadm:/usr/local/lib/dovecot/doveadm/lib20_doveadm_fts_plugin.so: 
  undefined symbol 'fts_list_backend'
  "doveadm:/usr/local/lib/dovecot/doveadm/lib20_doveadm_fts_plugin.so: 
  undefined symbol 'fts_backend_lookup'
  "doveadm:/usr/local/lib/dovecot/doveadm/lib20_doveadm_fts_plugin.so: 
  undefined symbol 'fts_backend_lookup_done'
  "doveadm:/usr/local/lib/dovecot/doveadm/lib20_doveadm_fts_plugin.so: 
  undefined symbol 'fts_search_args_expand'
  "doveadm:/usr/local/lib/dovecot/doveadm/lib20_doveadm_fts_plugin.so: 
  undefined symbol 'fts_language_find'
  "doveadm:/usr/local/lib/dovecot/doveadm/lib20_doveadm_fts_plugin.so: 
  undefined symbol 'fts_user_get_language_list'
  

Re: OpenLDAP under 6.8 - no intermediate certs in chain

2020-11-16 Thread Brad Smith

On 11/16/2020 12:08 AM, Paul B. Henson wrote:

I just updated one of my servers running 6.7 to 6.8, and am having a
problem with openldap. I have the intermediate cert and root CA in a
file referenced by the openldap config:

TLSCACertificateFile/etc/openldap/cabundle.crt

Under 6.7 with the openldap port from that version, this results in the
chain being served:

Certificate chain
  0 s:CN = ldap-netsvc.pbhware.com
i:C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
  1 s:C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
i:O = Digital Signature Trust Co., CN = DST Root CA X3
  2 s:O = Digital Signature Trust Co., CN = DST Root CA X3
i:O = Digital Signature Trust Co., CN = DST Root CA X3

However, under 6.8 with the newer openldap 2.4.53 port, only the server
cert itself is being served, not the intermediate or root:

Certificate chain
  0 s:CN = ldap-netsvc.pbhware.com
i:C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3

This of course causes clients to fail to validate the server cert :(.

I'm running openldap 2.4.53 on other operating systems and as far as I
know there's no change in behavior with it. So I'm guessing there's an
interoperability issue between openbsd libressl and openldap that's
causing this problem?

Do I need to configure something differently? Any other suggestions?

Thanks much...



I remember seeing this commit recently. Not sure if this is your problem 
or not.


https://marc.info/?l=openbsd-cvs=160511882917510=2



Re: OpenBSD UEFI on QEMU emulator

2020-10-24 Thread Brad Smith

On 10/22/2020 11:22 PM, Jonathan Gray wrote:

On Thu, Oct 22, 2020 at 10:37:31PM -0400, Brad Smith wrote:

On 10/22/2020 9:59 PM, Kevin Shell wrote:

Hello misc@.

I want to try out OpenBSD UEFI.
How to install OpenBSD with UEFI boot on qemu?

The installer does prompt you during disk setup.

The install68.iso has no UEFI support.

This is not true.

It does not include a fat fs el torito image with efiboot only
cdbr for mbr.


Ya, my bad. I interpreted what he meant there differently. I thought he was
implying there was no EFI support at all post-install. On any X86 hardware
where I don't run Windows I typically keep CSM enabled. As I find I am more
likely to have to boot something that still requires MBR like from a USB key
to do firmware updates, though I have seen some EFI compatible update
images for some things. But I have heard of systems without CSM, since it is
optional. I see how this would be an issue with EFI only environments.



Re: OpenBSD UEFI on QEMU emulator

2020-10-23 Thread Brad Smith

On 10/22/2020 9:59 PM, Kevin Shell wrote:

Hello misc@.

I want to try out OpenBSD UEFI.
How to install OpenBSD with UEFI boot on qemu?

The installer does prompt you during disk setup.

The install68.iso has no UEFI support.


This is not true.


My following command on Linux can't boot OpenBSD UEFI.

qemu-system-x86_64 -enable-kvm \
-machine q35 \
-cpu host \
-smp cores=4,threads=1 \
-m 1G \
-bios /usr/share/edk2/ovmf/OVMF_CODE.fd \
-drive file=install68.img,format=raw


--
kevin





Re: WLAN roaming?

2015-01-01 Thread Brad Smith

On 01/01/15 17:14, Christian Weisgerber wrote:

My OpenBSD laptop, iwn(4), doesn't roam between my two access points.
It's a sorry sight when it struggles to push a signal through the
rebar floor instead of switching over to the other access point a
meter away.

Is this a limitation of OpenBSD's WLAN support or should I blame
the access points?  (Two stupid consumer APs with the same SSID and
on the same network segment.)

Searching for WLAN roaming leads to vague references to IEEE 802.11f,
but it's unclear to me whether this is required for roaming or just
intended to improve it.


Roaming is done by the client. This is an OpenBSD issue. It needs
the relevant support in the drivers and 802.11 layer.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: DigitalOcean's BSD debut is FreeBSD only

2014-12-18 Thread Brad Smith

On 12/18/14 13:57, Mike Larkin wrote:

On Thu, Dec 18, 2014 at 12:24:45PM -0600, Adam Thompson wrote:

On 14-12-18 12:06 PM, andrew fabbro wrote:

In short - the list of VPS providers who can support OpenBSD is actually
very big.

I have to take issue with that statement...

The list of VPS providers where OpenBSD will run, more or less
correctly, more or less all of the time, is actually very big.  It
will even run correctly all of the time on a fairly large list of
providers.

However, the list of VPS providers who are willing to *support*
OpenBSD is extremely small.

What do you do if one day you're only getting 100kbps throughput?
Call support, who - as soon as they learn you're running OpenBSD -
tell you that's not supported, sorry and hang up.  When ACPI goes
haywire (normal under KVM so far)... same thing.  Not naming names,


And your bug report for this is ... where?


It was a hypothetical situation not a known issue.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: Dovecot happy on 5.6?

2014-12-15 Thread Brad Smith

On 12/15/14 23:48, Rod Whitworth wrote:

I have been trying out dovecot for some years and it has always had some irritating 
bug or
limitation and I have seen a few gripes from others.

It seems to have been very quiet lately so I thought I'd have another attempt 
to get it running
whilst choosing options that look like ones to suit me.


It's been quiet because the bugs in OpenBSD were fixed and it just 
works. It works fine for tons of people.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: OpenBSD 5.6/current on Soekris 6501-70

2014-12-08 Thread Brad Smith

On 12/08/14 05:12, mxb wrote:

We have exactly this model.
tcpbench from base gave only around 340Mbit/s on those.

So CPU is probably one problem on those boards.

tcpbench done against 1U machines with better CPU and doing almost line rate on 
1G NIC.


I didn't want to quote any particular numbers as I do not have
any benchmarks but I was thinking in the hundreds of Mb/s range
but not really high. The unfortunate reality is systems of
this class are fine for low end to mid range use but are CPU
limited for anything further.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: OpenBSD Trademark Policy

2014-12-07 Thread Brad Smith

On 12/07/14 03:35, Riley Baird wrote:

As for why I want to create the distro, I think that OpenBSD has
excellent security, and I would like to create a version without the
binary-only microcode included.


Doesn't really make any sense why. But either way hopefully you're
not using common hardware like AMD GPUs or Intel Wifi otherwise that
is pretty crippling.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: OpenBSD Trademark Policy

2014-12-07 Thread Brad Smith

On 12/07/14 04:29, Riley Baird wrote:

However, remember that if someone doesn't know much about OpenBSD, they
will either: a) think that OpenBSD does not contain binary-only firmware
due to the Blob-Busters marketing or b) not know where to look to
remove it should they wish to


Your interpretation of the marketing is flawed. The marketing about
blobs was about device drivers in the kernel only.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: OpenBSD Trademark Policy

2014-12-07 Thread Brad Smith

On 12/07/14 05:18, Riley Baird wrote:

On 07/12/14 20:52, Otto Moerbeek wrote:

On Sun, Dec 07, 2014 at 08:29:48PM +1100, Riley Baird wrote:


On 07/12/14 20:20, Dmitrij D. Czarkoff wrote:

Riley Baird said:

As for why I want to create the distro, I think that OpenBSD has
excellent security, and I would like to create a version without the
binary-only microcode included.


Isn't it easier to just do

  # cd /mnt/etc; tar czf firmware{.tgz,}; rm -R firmware

from bsd.rd after installer exits?


Yes, it definitely would be. You'd also need to change the installer
script such that fw_update is not run on first boot. I've removed the
firmware from my own system already. Also, it would be nice to be able
to build the source tree without requiring the firmware files to exist.

However, remember that if someone doesn't know much about OpenBSD, they
will either: a) think that OpenBSD does not contain binary-only firmware
due to the Blob-Busters marketing or b) not know where to look to
remove it should they wish to


The blobs we do not like are pieces of code running inside the kernel.

Code running on a device is a completely different category.


True, but the press releases never even mentioned the microcode, which
is kind of confusing given the normal usage of the word binary blob.


Blobs are vendor-compiled binary drivers without any source code.

That couldn't be more clear what the projects meaning of blobs is.
Microcode won't be mentioned when it is already pretty clear what the
meaning is. Nothing to be confused about there at all. That is your
interpretation of the meaning and not the common use.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: OpenBSD 5.6/current on Soekris 6501-70

2014-12-07 Thread Brad Smith

On 12/07/14 21:18, Martin Hanson wrote:

I would like to be able to run ~100-120 MB/s from one NIC to the other
on this box, if possible?


The NICs should be fine but I'd be worried that even the -70 model
would be CPU limited for such throughput.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: OpenBSD embedded?

2014-12-04 Thread Brad Smith

On 12/04/14 07:05, Alan McKay wrote:

On Thu, Dec 4, 2014 at 1:15 AM, Vivek Vinod vi...@icanconnect.com wrote:

We have been using Mikrotik routerboards since 7 years


Huh?  With OpenBSD on them?


There are 3 PowerPC based RouterBOARDs. AFAIK the RB600 is supported
at the moment by the socppc port.

The RB800 and RB850Gx2 boards would probably be relatively easy to add
support for.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




Re: OT:Password strength

2014-12-03 Thread Brad Smith

On 11/30/14 15:20, Ted Unangst wrote:

Examples:

treetykaveprethicooputhedu
soonataviceenoopatecoge
gootrozapiceelytrithunula
preezypeendothanundipeesooka


That defeats the purpose of the second example in the OPs question.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: OT:Password strength

2014-12-03 Thread Brad Smith

On 12/03/14 15:04, Ted Unangst wrote:

On Wed, Dec 03, 2014 at 08:27, Brad Smith wrote:

On 11/30/14 15:20, Ted Unangst wrote:

Examples:

treetykaveprethicooputhedu
soonataviceenoopatecoge
gootrozapiceelytrithunula
preezypeendothanundipeesooka


That defeats the purpose of the second example in the OPs question.



If you want strong, short passwords that look ridiculous:

dd if=/dev/random bs=1 count=9 | b64encode password


Still not getting it.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: Poor disk performance

2014-11-27 Thread Brad Smith

On 11/27/14 10:57, David Unric wrote:

Hello,

I'd like to figure out what causes very low performance of disk operations
on my laptop.

I've tested it by unpacking gzipped tar archive (
http://ftp.heanet.ie/pub/OpenBSD/5.6/src.tar.gz) about 125 MiB big.
On the same machine, not cached, various results by operating system:

NetBSD 6.1.522 secs
Linux 3.14.228 secs
OpenBSD 5.6 aborted after 10 minutes as still not finished

Unpacking was done with `tar xzf src.tar.gz', even tried on uncompressed
src.tar but roughly same results.

By comparing with more similar NetBSD I've found the SATA disk is attached
differently:
  -  in OpenBSD detected as SCSI, `sd' driver used, no sign of Ultra-DMA
access
  -  in NetBSD detected as (SATA) IDE, `wd' driver used, UDMA/133 activated

I've tried mount the partition with softdeps and noatime options, but
that's only a slight improvement.

Any idea how to fix this issue (like forcing use of wd?) or I'm out of luck
and my 750GB Hitachi SATA IDE is unsupported in OpenBSD and no generic
driver can be used ?


Reply with the output of dmesg to the list as a start.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: Packet Filter router i368 vs 64bit

2014-11-27 Thread Brad Smith

On 11/27/14 22:35, jungle Boogie wrote:

Hello All,
On 25 November 2014 at 12:52, Motty Cruz motty.c...@gmail.com wrote:

Hello all,
I am searching for hardware to build a router with OpenBSD. I have found
mixed signals as to fastest system with i386 or 64bit. I know in the past
i386 OpenBSD used to perform a lot better than 64bit system.



I'm in similar situation as Motty, I'd like an OBSd to use for pf.

I'm interested in this: http://store.netgate.com/kit-APU1C4.aspx
with the msata drive.

Anyone have any objections? I know the NICs are not intel so that will
probably get a strike against it, but I like the low power.


Unless you guys give some sort of hints as to what these routers and /
or firewalls are going to be used for just asking for hardware
recommendations without such details is useless. What sort of throughput
/ packets per second do you forsee on the inside network? What is your
target or expectation? If there is a WAN connection how fast is it? Are
you lucky enough to have Gbit or is it only say a 50Mbps connection?
Those types of details matter.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: Packet Filter router i368 vs 64bit

2014-11-27 Thread Brad Smith

On 11/27/14 23:50, jungle Boogie wrote:

Hi,
On 27 November 2014 at 20:38,  thev...@openmailbox.org wrote:


you can just use old hardware for these purposes.

from the man who literally wrote the book on pf (from pf tutorial via
http://home.nuug.no/~peter/pf/en/long-firewall.html):

   I have not seen comparable tests performed recently [3.1 era], but in my
   own experience and that of others, the PF filtering overhead is pretty
   much negligible. As one data point, the machine which gateways between
   one of the networks where I've done a bit of work and the world is a
   Pentium III 450MHz with 384MB of RAM. When I've remembered to check, I've
   never seen the machine at less than 96 percent 'idle' according to top.



Yes, that's true! But less fun. ;)

I do have some Dell dimensions machine with OpenBSD -current running
now that I could easily get two NICs but its kinda old and slow to
update current. I'll measure the power to see how much it uses.

With the fact that old hardware, why would the APU be OK and not good?


I don't see anyone claiming it would not be good. It's more like if you
happen to have some old hw around that it would probably be good enough
for what you're describing but the APU system would also do the job just
fine.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: Packet Filter router i368 vs 64bit

2014-11-25 Thread Brad Smith

On 11/25/14 18:18, motty cruz wrote:

  Thank you Juan,

I appreciate your suggestions and advice.
I am planning on using Dual socket B2 (LGA 1356) supports Intel® Xeon®
processor E5-2400 v2, I suppose i386 would perform better rather than 64bit
amd processor. Thank you again!


The amd64 arch runs on any modern Intel CPU as well as AMD CPUs (as
well as VIA). amd64 refers to the ISA not that it will only run on AMD
CPUs.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: Postfix compilation error.

2014-11-11 Thread Brad Smith

On 11/11/14 15:51, giacomo wrote:

Hi at all,
I try to compile postfix on OpenBSD 5.6 with command

# env FLAVOR=mysql sasl2 make install

for install it with mysql and sasl2 support. I have compiled it
in OpenBSD 5.5 and 5.4 without problem. My system is upgrated from 5.4 to 5.5 
and to 5.6
The compiler show:


While upgrading your system you haven't followed the upgrade guide
to clean out old unused cruft from your system..

http://www.openbsd.org/faq/upgrade55.html
http://www.openbsd.org/faq/upgrade56.html

The Files to delete and move section.


/usr/local/lib/mysql -lmysqlclient -L/usr/local/lib -Wl,-R/usr/local/lib -lpcre
/usr/local/lib/libmysqlclient.so.23.0: warning: stpcpy() is dangerous; do not 
use it
../../lib/libutil.a(concatenate.o)(.text+0x77): In function `concatenate':
: warning: strcpy() is almost always misused, please use strlcpy()
../../lib/libutil.a(concatenate.o)(.text+0x88): In function `concatenate':
: warning: strcat() is almost always misused, please use strlcat()
../../lib/libglobal.a(mail_conf_time.o)(.text+0x46): In function 
`set_mail_conf_time_int':
: warning: sprintf() is often misused, please use snprintf()
/usr/bin/ld: warning: libcrypto.so.23.0, needed by 
/usr/local/lib/libsasl2.so.3.0, may conflict with libcrypto.so.30.0
/usr/bin/ld: warning: libroken.so.1.0, needed by 
/usr/local/lib/libsasl2.so.3.0, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libssl.so.20.0, needed by 
/usr/local/lib/libmysqlclient.so.23.0, may conflict with libssl.so.27.0
/usr/lib/libgssapi.so.7.1: undefined reference to `ct_memcmp'
/usr/lib/libkrb5.so.20.0: undefined reference to `rk_cloexec_dir'
/usr/lib/libasn1.so.20.0: undefined reference to `rk_strpoolcollect'
/usr/lib/libasn1.so.20.0: undefined reference to `rk_hex_encode'
/usr/lib/libkrb5.so.20.0: undefined reference to `rk_strupr'
/usr/lib/libkrb5.so.20.0: undefined reference to `net_write'
/usr/lib/libasn1.so.20.0: undefined reference to `rk_hex_decode'
/usr/lib/libkrb5.so.20.0: undefined reference to `rk_bswap16'
/usr/lib/libkrb5.so.20.0: undefined reference to `rk_bswap32'
/usr/lib/libgssapi.so.7.1: undefined reference to `rk_cloexec_file'
/usr/lib/libasn1.so.20.0: undefined reference to `rk_strpoolprintf'
/usr/lib/libkrb5.so.20.0: undefined reference to `arg_printusage'
/usr/lib/libkrb5.so.20.0: undefined reference to `roken_gethostby_setup'
/usr/lib/libkrb5.so.20.0: undefined reference to `rk_estrdup'
/usr/lib/libkrb5.so.20.0: undefined reference to `rk_dns_free_data'
/usr/lib/libkrb5.so.20.0: undefined reference to `base64_encode'
/usr/lib/libkrb5.so.20.0: undefined reference to `rk_socket_sockaddr_size'
/usr/lib/libkrb5.so.20.0: undefined reference to `rk_dns_lookup'
/usr/lib/libkrb5.so.20.0: undefined reference to `rk_socket_get_port'
/usr/lib/libkrb5.so.20.0: undefined reference to `net_read'
/usr/lib/libkrb5.so.20.0: undefined reference to `rk_strlwr'
/usr/lib/libgssapi.so.7.1: undefined reference to `issuid'
/usr/lib/libkrb5.so.20.0: undefined reference to `rk_cloexec'
/usr/lib/libkrb5.so.20.0: undefined reference to `roken_gethostbyname'
/usr/lib/libkrb5.so.20.0: undefined reference to `getarg'
/usr/lib/libkrb5.so.20.0: undefined reference to `rk_strsep_copy'
/usr/lib/libkrb5.so.20.0: undefined reference to `parse_time'
/usr/lib/libkrb5.so.20.0: undefined reference to `rk_dns_srv_order'
collect2: ld returned 1 exit status
*** Error 1 in src/master (Makefile:72 'master')
*** Error 1 in 
/usr/ports/pobj/postfix-2.12.20140701-sasl2-mysql/postfix-2.12-20140701 
(Makefile:83 'update')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2727 
'/usr/ports/pobj/postfix-2.12.20140701-sasl2-mysql/.build_done')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1922 
'/usr/ports/packages/i386/all/postfix-2.12.20140701-sasl2-mysql.tgz')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2475 
'_internal-package')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2455 'package')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1939 
'/var/db/pkg/postfix-2.12.20140701-sasl2-mysql/+CONTENTS')
*** Error 1 in /usr/ports/mail/postfix/snapshot 
(/usr/ports/infrastructure/mk/bsd.port.mk:2455 'install')

What is the problem? Has been lost something?

Thanks.





--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: search mailing list

2014-11-08 Thread Brad Smith
On Sat, Nov 08, 2014 at 03:21:00PM -0600, Edgar Pettijohn wrote:
 Is there an archive of the mailing list that is keyword searchable?

http://www.openbsd.org/mail.html

At the bottom of the page. The first two entries.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: openbsdstore: enable javascript and buy something or gtfo

2014-10-06 Thread Brad Smith

On 06/10/14 9:01 PM, Matti Karnaattu wrote:

Browsers are getting slower all the time.


Bullshit. Try this: http://peacekeeper.futuremark.com


Actually it isn't bullshit. It is the truth. You just fail to understand
what he means.


Newer browsers run software faster. Ancient browsers may even fail
tests.


and yet browsers on some of my systems run software slower and each
release is getting slower and slower. There is no good reason a quad
core system with 6GB of RAM should run a browser like its molasses on
a cold winter day, but that's the way it is with the bloated ass crap
we have called web browsers.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: chroot libressl

2014-09-15 Thread Brad Smith

On 15/09/14 12:42 PM, Kevin Chadwick wrote:

The pound man page says that OpenSSL requires access to /dev/urandom.


AFAIK that is a generic comment that isn't the case for OpenBSD.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: Good thing

2014-08-11 Thread Brad Smith

On 11/08/14 3:02 AM, Gustav Fransson Nyvell wrote:

Good thing OpenBSD didn't go down the multiple versions path.


The point of your sarcastic post is?

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: Good thing

2014-08-11 Thread Brad Smith

On 11/08/14 3:10 AM, Gustav Fransson Nyvell wrote:

On 08/11/14 09:04, Brad Smith wrote:

On 11/08/14 3:02 AM, Gustav Fransson Nyvell wrote:

Good thing OpenBSD didn't go down the multiple versions path.


The point of your sarcastic post is?


If I explain, will you ask what the point of my explanation is? You're
stuck in an eternal loop.


So I'll take it you're just trying to make yourself look like a fool.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: Good thing

2014-08-11 Thread Brad Smith

On 11/08/14 3:16 AM, Gustav Fransson Nyvell wrote:

On 08/11/14 09:10, Brad Smith wrote:

On 11/08/14 3:10 AM, Gustav Fransson Nyvell wrote:

On 08/11/14 09:04, Brad Smith wrote:

On 11/08/14 3:02 AM, Gustav Fransson Nyvell wrote:

Good thing OpenBSD didn't go down the multiple versions path.


The point of your sarcastic post is?


If I explain, will you ask what the point of my explanation is? You're
stuck in an eternal loop.


So I'll take it you're just trying to make yourself look like a fool.


Okay. Well, what I mean is, you are hypocrites.


This isn't a venting list for your retarded bullshit.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: Sysmerge problem with xetc56.tgz on July 16 amd64 snapshot

2014-07-17 Thread Brad Smith

On 17/07/14 7:24 PM, Edd Barrett wrote:

FWIW, I have the same here. I also notice that xdm did not start as it
usually does.


+1 I noticed the same issue the other day updating my systems.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: unbound missing on sgi?

2014-07-13 Thread Brad Smith

On 14/07/14 12:09 AM, Johan Hattne wrote:

I would have expected to find unbound(8) on my 5.5 sgi machine, but I can’t and 
neither can locate(1).  Any clues as to what’s going on?


Unbound didn't exist with 5.5 so of course it won't be there.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: issues with firefox

2014-07-12 Thread Brad Smith

On 12/07/14 3:46 PM, Chris Cappuccio wrote:

Kevin Chadwick [ma1l1i...@yahoo.co.uk] wrote:


I'm guessing this is due to the new KMS 3d support not being as fast
right now but much better than you had before.



It also affects Thunderbird. Here's my synopsis of Mark Kettenis's
analysis:


The quoted text from Kevin is out of context. He was replying to
the paragraph regarding video playback performance, but KMS isn't
the issue there.


Firefox uses an old version of cairo. This cairo library uses XGetImage
to get the image copied back to a ZPixmap in user space. It copies with
a 4k buffer size (the default). So your extremely large, uncompressed image
gets copied in 4k chunks with constant context switches.

Not only do the subsystems thrash themselves, but the server sends the
image in non-blocking mode, and the socket buffer is full, it fails with
EAGAIN and discards the data already sent by copying the remaining data to
the start of the buffer, waits for the socket to drain and tries again when
the socket is ready.

You can find Mark's buffer size improvement here:
http://comments.gmane.org/gmane.os.openbsd.cvs/128950
http://lists.x.org/archives/xorg-devel/2014-March/041543.html

This makes the problem less apparent.

Some in the ports tree tried using a newer cairo and found a whole new
set of problems (apparently firefox depends on old cairo and/or local
modifications to it)

Why Firefox needs a ZPixmap of the image displayed, that is, the entire
fully uncompressed image copied back to userland in 4k (or 64k) chunks,
that's totally beyond me, by itself. Why the X server does it in such
a poor way, beyond me. It's crazyland!!!


Playing video in browsers and even displaying pictures is a
surprisingly resource hungry task with umpteen potential rules working
out what shape and where everything should be and unfortunately more
effort has been spent on javascript performance than rendering.


These issues are not directly related (and largely solved when the X
clients use the right techniques, which sometimes vary between platforms
and display drivers)


The video playback issues are more to do with the relatively poor MP /
pthreads performance on OpenBSD.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: Dragonflybsd's pf concurrent instead of single-threaded

2014-07-05 Thread Brad Smith

On 05/07/14 8:01 PM, Predrag Punosevac wrote:

Franco Fichtner write:


I have immense respect for Matt as a user of his code since Amiga C
compiler. I probably speak for lots of people both in OpenBSD and
DragonFly camp if I say that I would prefer him to finish HAMMER2 and
leave concurrent threading in PF to Henning.



Talks about this date back at least two years.  These days NetBSD is
doing npf(4), and FreeBSD and DragonFly moved on to implement their
own SMP support.



The rumors are that npf is a vaporware.  DragonFly community is tiny. So
tiny that in-spite of HAMMER I could not use DragonFly on my production
file servers because it lacks LDAP support let alone NFSv4. FreeBSD
always had its own genuine firewall solution IPFW. IPFW is so good that
inspired even a better tool called iptables. Some people unfortunately
didn't buy it. OS X switched from IPFW to PF couple releases ago.


Missing SMP support is the fork in the road.  The window of
opportunity seems to be closing.  A penny for Henning's thoughts on
this...



I would say it is about a time. PF has never meant to be portable. A
quick look on the version of PF in use in other BSDs is quite revealing.
That being said OpenBSD project has its own pace which has never being
dictated by current fashion trends or a noise made by people like me
who don't contribute the code. Thanks God for that!


What is the point of your posts other than filling peoples mail
boxes with useless bits?


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: Intel Dual Band Wireless AC 7260 support on the horizon?

2014-07-02 Thread Brad Smith

On 02/07/14 2:59 PM, Peter N. M. Hansteen wrote:

While I was shopping around for a new laptop to replace my aging
Thinkpad SL500 I noticed that the Thinkpad's /etc/firmware directory had
a file called iwn-7260, so when I couldn't get the Atheros AR9485
included in one recent laptop here to work (and seeing it is included in
various other laptop models), I bought one Intel 7260 to play with.

However, the card comes up unconfigured:

pci2 at ppb1 bus 2
Intel Dual Band Wireless AC 7260 rev 0x73 at pci2 dev 0 function 0 not 
configured

Have I stumbled onto a new variant, or have I made some silly mistake
along the way?


The firmware was added so it is already included in the package
when and if someone adds the relevant code to iwn(4) to support
the 7260 / 3160 controllers but to date the driver does not
support these controllers.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: LAN vs VLAN interface performance

2014-06-24 Thread Brad Smith

On 24/06/14 3:08 PM, Chris Cappuccio wrote:

Kapetanakis Giannis [bil...@edu.physics.uoc.gr] wrote:

On 23/06/14 21:33, Henning Brauer wrote:

* Chris Cappuccio ch...@nmedia.net [2014-06-23 20:24]:

I have a sandy bridge Xeon box with PF NAT that handles a daily 200
to 700Mbps. It has a single myx interface using OpenBSD 5.5 (not
current). It does nothing but PF NAT and related routing. No barage
of vlans or interfaces. No dynamic routing. Nothing else. 60,000 to
100,000 states.

With an MP kernel, kern.netlivelocks increases by something like 150,000
per day!! I The packet loss was notable.

With an SP kernel, the 'netlivelock' counter barely moves. Maybe 100 per
day on average, but for the past week, maybe 5.

as already said in private, I'm not seeing anything like that which
makes me wonder what is different for you.


Me neither

# uname -a
OpenBSD server 5.5 GENERIC.MP#156 i386



I'm using amd64...


sysctl -a|grep netlive
kern.netlivelocks=50

# pfctl -ss|wc -l
73203

# pfctl -sr|wc -l
  294

routing/firewalling/some NAT at ~ 500Mbps


I have some ideas. I'm going to do some troubleshooting when I have a
chance to think clearly.

I think the disk subsystem could be part of the issue. I see the most
netlivelocks on a box with a USB key, mfi is in second place.


This reminds me of a system I had mentioned to you in the past.
Checking that system again I noticed since switching it from spinning
rust to SSDs that the number of livelocks seems to have gone down.

# sysctl -a | grep livelocks
kern.netlivelocks=4163
# uptime
 3:23PM  up 1 day, 45 mins, 1 user, load averages: 0.79, 0.91, 0.83
# sysctl -a | grep livelocks
kern.netlivelocks=4190
# uptime
 3:37PM  up 1 day, 59 mins, 1 user, load averages: 0.67, 0.99, 0.87

Before the switch that would be up into the tens of thousands by now.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: dovecot issues

2014-06-21 Thread Brad Smith

On 21/06/14 3:21 PM, Edgar Pettijohn wrote:

On 06/21/2014 02:17 AM, Otto Moerbeek wrote:

On Fri, Jun 20, 2014 at 11:37:07PM -0500, Edgar Pettijohn wrote:


On 06/20/2014 11:20 PM, Edgar Pettijohn wrote:

On 06/20/2014 10:58 PM, Mike Bregg wrote:

On 2014-06-20 21:14, Edgar Pettijohn wrote:

On 06/20/2014 10:05 PM, Mike Bregg wrote:

On 2014-06-20 20:48, Edgar Pettijohn wrote:

I'm trying to setup dovecot with opensmtpd and I'm getting the
following
errors for dovecot.

Jun 20 21:41:04 auth-worker(10932): Fatal:
pool_system_realloc(268435456): Out of memory
Jun 20 21:41:04 auth-worker(10932): Fatal: master:
service(auth-worker):
child 10932 returned error 83 (Out of memory (service auth-worker {
vsz_limit=256 MB }, you may need to increase it) - set CORE_OUTOFMEM=1
environment to get core dump)
Jun 20 21:41:04 auth: Error: auth worker: Aborted request: Worker
process died unexpectedly
Jun 20 21:41:10 auth-worker(12071): Fatal:
pool_system_realloc(268435456): Out of memory
Jun 20 21:41:10 auth: Error: auth worker: Aborted request: Worker
process died unexpectedly
Jun 20 21:41:10 auth-worker(12071): Fatal: master:
service(auth-worker):
child 12071 returned error 83 (Out of memory (service auth-worker {
vsz_limit=256 MB }, you may need to increase it) - set CORE_OUTOFMEM=1
environment to get core dump)

You could try increasing vsz_limit to something like 512 MB.  Do you

have mailboxes with a large quantity of emails (as in thousands) that
256 MB isn't enough?

Mike


I felt like that was a clue, but have no idea how to set vsz_limit,
however there is no mail on the system.  I got those errors just testing
imap login from mutt.

Have a look through the config files in /etc/dovecot/conf.d

Mike


Yeah I found it hiding out in 10-master.conf upped it to 512MB as
suggested with no luck.  Then just for fun I upped it to 5000M and still
no luck.

Edgar


I just noticed in the log even after raising vsz_limit the error remains
the same claiming vsz_limit=256MB

This is a know bug. If an unknown user tries to log in, the login code
goes into a loop expanding a buffer until it runs out of mem. The
cause of the bug is also known, but nobody (including myself) came up
with a diff yet.

The login process gets rsstarted, so there is no immediate functional
problem, apart from the log being filled.

-Otto


Thanks for all the replies.  Not sure what I was doing wrong I was
trying to use bsdauth, but could never get it to let me login.  Switched
to MySql and its working.  No more memory errors in the log.


Of course there are no more memory errors when you changed the
authentication mechanism. Otto mentioned to you the reason for the
errors.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: Very slow I/O under OpenBSD i386 on qemu-kvm from RHEL7rc

2014-06-17 Thread Brad Smith

On 17/06/14 4:56 AM, Mikolaj Kucharski wrote:

On Mon, Jun 16, 2014 at 11:07:39PM +0100, Kevin Chadwick wrote:

previously on this list Mikolaj Kucharski contributed:


by disabling mpbios on

OpenBSD and falling back to the old pic controller, in this case you



I cannot find how to enable 'the old pic controller' in libvirt with
qemu-kvm. Do you know by any chance how to enable it?


I believe he means disabling mpbios at OpenBSD's boot or in boot.conf
means KVM will automatically fall back. Virtual hosting companies like
arpnetworks generally ask you to do this for OpenBSD.

boot -c
disable mpbios


Ah, I got confused. Yes, I'm aware of this, as I've seen this on the
list archives mentioned few times. I actually tested this, and I don't
see any difference. See at my below tests:


Because ACPI is in use which takes higher precedence over MP BIOS. You
have to disable acpimadt.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: jun 12 snapshot freeze on boot.

2014-06-14 Thread Brad Smith

On 14/06/14 6:00 AM, Otto Moerbeek wrote:

On Sat, Jun 14, 2014 at 09:44:29AM +, Stuart Henderson wrote:


On 2014-06-13, Rodrigo Mosconi open...@mosconi.mat.br wrote:

Unfortunately,  I don`t manage the Host system.  The freeze server is a vps
machine from arpnetworks...


You didn't mention at what point it freezes, which may be useful
information.

BTW ARP Networks are in a round of host OS upgrades so this problem
might go away.


This might be relevant

http://support.arpnetworks.com/kb/vps/openbsd-hangs-at-setting-tty-flags-when-i-use-a-custom-kernel


I think kettenis commited something that made that no longer necessary.
4.5 is pretty old ;)


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: xSSL stuff

2014-06-12 Thread Brad Smith

On 12/06/14 11:43 PM, Christian Pedaschus wrote:

On Tue, 10 Jun 2014 12:14:46 -0600
Theo de Raadt dera...@cvs.openbsd.org wrote:


I was reading stuff in misc@ about OpenSSL broken things. I see
people from OpenBSD started LibreSSL project and they are forking
OpenSSL and remove the bad code. This is past, but I see more and
more lesions are discovered. It may be a stupid question, but
having all these, isn't more efficient to start LibreSSL from zero?


Impossible.

The OpenSSL API was built up through accretion over almost 2 decades.
It is fat, bloated, repetitive, and tricky.  In general, application
authors have chosen to use the first API's they spot which provide the
functionality they need.  As a result, almost all of the bloated API
is potentially used in the greater ecosystem.

It is quite simply impossible to reinvent this particular wheel.  Any
effort to reinvent it would be highly incompatible.  Features and
warts are too closely coupled.


wouldn't it be a feature?
less warts, less bugs, less features, less compatible, but secure?


What good is having a brand new from scratch API when almost nothing
uses it? There are thousands of apps / libraries using OpenSSL. Are YOU
going to go to each and every project and write SSL code for each
respective project to add support for this from scratch API?

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: xSSL stuff

2014-06-12 Thread Brad Smith

On 12/06/14 11:59 PM, Christian Pedaschus wrote:

On Thu, 12 Jun 2014 23:51:58 -0400
Brad Smith b...@comstyle.com wrote:


On 12/06/14 11:43 PM, Christian Pedaschus wrote:

wouldn't it be a feature?
less warts, less bugs, less features, less compatible, but secure?


What good is having a brand new from scratch API when almost nothing
uses it? There are thousands of apps / libraries using OpenSSL. Are
YOU going to go to each and every project and write SSL code for each
respective project to add support for this from scratch API?



One could have said the same about OpenSSH... or not?


That doesn't even make any sense.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: who develops NIC drivers?

2014-05-06 Thread Brad Smith

On 06/05/14 7:52 AM, Isak Lyberth wrote:

I am thinking Intel ET Quadport gigabit server cards


What about them? You need to be more forthcoming with
the details and what it is that you're after.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: question about pppoe(4) and IPv6

2014-05-02 Thread Brad Smith

On 02/05/14 10:24 AM, Peter J. Philipp wrote:

On 05/02/14 16:13, Stefan Sperling wrote:

OpenBSD doesn't support IPv6 autoconf on routers (i.e if forwarding
is enabled). Some ISPs have started using autoconf to assign a
global prefix for use on the WAN link. This violates early IPv6 RFCs
which said that a router cannot do autoconf. There is a newer RFC which
clears this up but OpenBSD doesn't support it yet:
http://tools.ietf.org/html/rfc6204

However, using a global prefix on your WAN link is usually not a
hard requirement since link-local addresses are sufficient for this.

Try setting a default route that points to pppoe0:

  !/sbin/route add -inet6 default -ifp pppoe0 fe80::

Your router should now be able to reach the IPv6 internet.



Thanks Stefan for the good explanation and the setting!  I'll try it out
in a bit.


Once this works you need to get your LAN connected, too.
Did you get a static IPv6 prefix from your ISP for your LAN?



Unfortunately it's all dynamic.  M-Net used to be a friend about static
IP addresses (which allowed me a tunnel to sixxs before), but they have
turned against giving out static, whether v4 or v6.  If I remember right
they assign a /64 for the link, and give out a /48 somehow which is
dynamic too.


You would need a DHCPv6-PD capable DHCPv6 client such as wide-dhcpv6.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: xbmc

2014-04-20 Thread Brad Smith
On Sun, Apr 20, 2014 at 12:08:23PM +0200, St?phane Guedon wrote:
 Hello
 
 Is there anybody who has successfully set up xbmc on openbsd.
 I do not see any official port in the port tree, but is there a non 
 official ?

I had started and had something sorta running but without sound.
It required some work on OpenBSD and a sound backend and now
that I have looked at it again it failed to build elsewhere
and not sure why. For some reason the build infrastructure
is confused and thinks my system is Windows and it is
tripping over a header in the DVD code.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: OpenSSL heartbleed ?

2014-04-08 Thread Brad Smith

On 08/04/14 6:53 PM, consultor wrote:

On 04/08/2014 10:31 AM, Ted Unangst wrote:

On Tue, Apr 08, 2014 at 11:19, Jack Woehr wrote:

http://www.itnews.com.au/News/382068,serious-openssl-bug-renders-websites-wide-open.aspx



accurate w/r/t 5.3?


5.3, 5.4, and 5.5 are all affected. only 5.2 and earlier are not.



Hello Ted, are you saying that 5.5 is going to go out affected on May?


Yes, it is way too late to do anything about it now.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: OpenBSD users web page updates

2014-03-31 Thread Brad Smith

On 31/03/14 1:34 PM, Craig R. Skinner wrote:

A few updates for the page: http://www.OpenBSD.org/users.html#isp

  * Fix broken Swebase link.

  * Add Devio.us
  * Add Grex
  * Add Polar Home


It looks like Reverse.Net should be removed. Their website makes
it pretty clear they don't run OpenBSD anymore. IMO the same thing
should be done for any other entries where it is known or can be
determined that a particular listed user isn't using OpenBSD anymore.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: USB Ethernet ASIX AX88179 not attaching to axen

2014-03-27 Thread Brad Smith

On 27/03/14 3:40 AM, Remi Locherer wrote:

I tried an Edimax USB Ethernet adapter on my -current system. It
attaches as ugen1 but not as axen0:

ugen1 at uhub3 port 2 ASIX Elec. Corp. AX88179 rev 2.10/1.00 addr 3

According to axen(4) this device should be supported. But config does not
find axen. Is this becaus usb is handled differently or is the driver not
enabled yet?


It is not enabled in the regular kernel builds yet.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: make release fault at OpenBSD 5.5

2014-03-04 Thread Brad Smith

On 04/03/14 5:24 PM, Theron ZORBAS wrote:

Hi,

I've just checked out from openbsd official cvs with -rOPENBSD_5_5 tag.
Then followed procedure from faq5/building from source.
It failed after make
release command; here is the output:
[..]
ld -Ttext
0x810001e0 -e start --warn-common -nopie -S -x -o bsd ${SYSTEM_HEAD}
vers.o ${OBJS}
textdatabss dec hex
4620925 2398568 520928
  7540421 730ec5
cp
/usr/src/distrib/amd64/ramdisk_cd/../../../sys/arch/amd64/compile/RAMDISK_CD/
bsd bsd
cc  -o rdsetroot
  /usr/src/distrib/amd64/ramdisk_cd/../../common/elfrdsetroot.c
/usr/src/distrib/amd64/ramdisk_cd/../../common/elf32.c
  /usr/src/distrib/amd64/ramdisk_cd/../../common/elf64.c
cp bsd bsd.rd
/usr/src/distrib/amd64/ramdisk_cd/obj/rdsetroot bsd.rd mr.fs
cp bsd.rd
bsd.strip
strip bsd.strip
strip -R .comment bsd.strip
gzip -c9n bsd.strip 
bsd.gz
dd if=/dev/zero of=/var/tmp/image.17536 bs=512 count=6976
6976+0
records in
6976+0 records out
3571712 bytes transferred in 0.120 secs
(29725623 bytes/sec)
vnconfig -v -c vnd0 /var/tmp/image.17536
vnd0: 3571712
bytes on /var/tmp/image.17536
fdisk -yi -l 6976 -f /usr/dest/usr/mdec/mbr vnd0
Warning CHS values out of bounds only saving LBA values
Writing MBR at offset
0.
disklabel -w vnd0 mini34
disklabel: unknown disk type: mini34
*** Error 1
in /usr/src/distrib/amd64/ramdisk_cd (../common/Makefile.inc:35
'miniroot55.fs')
*** Error 1 in /usr/src/distrib/amd64 (bsd.subdir.mk:48
'all')
*** Error 1 in /usr/src/distrib (bsd.subdir.mk:48 'all')
*** Error 1
in /usr/src/etc (Makefile:325 'distrib')

Any comment?


Make sure /etc/disktab is up to date.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: radeondrm errors (amd64) - Hoping bad things won't really happen

2014-03-01 Thread Brad Smith

On 01/03/14 10:41 AM, Scott Vanderbilt wrote:

On 3/1/2014 12:06 AM, Remco wrote:


I just upgraded a machine from source today.


Using snapshots might be a safer bet, unless you have good reason to use
sources instead.


Thank you for your reply.

I had to do a source update as this host is at remote co-location facility.


I don't know where you're getting this idea from that you have to do a
source update, but you do not.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: Xorg: Segmentation fault at address 0x28 w/ Intel HD Graphics 4600

2014-02-11 Thread Brad Smith
On Mon, Feb 10, 2014 at 01:20:46PM -0500, Kenneth Westerback wrote:
 On 10 February 2014 13:11, RD Thrush openbsd-m...@thrush.com wrote:
  With a somewhat recent i7 desktop, using startx, X seems to run ok; 
  however, at 1024x768 rather than the expected 1920x1200 resolution. 
  ctl-alt-keypad+ or - have no effect on resolution.  ctl-alt-backspace  
  correctly reverts to text mode.  I then tried Xorg -configure to look for 
  hints to improve resolution; however, that resulted in a segfault almost 
  immediately.
 
 
 I'm pretty sure
 
 vga1 at pci0 dev 2 function 0 Intel HD Graphics 4600 rev 0x06
 
 is not supported in the sense of working as opposed to being
 recognized. i.e. 1024x768 is likely as good as it gets until support
 is added. Even 4400 is problematic at the moment.
 
 But I'm willing to be corrected by people more in the know. :-)
 
  Ken

4400 works fine for me.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: OpenBSD packages extremely outdated?

2014-02-08 Thread Brad Smith
On Sat, Feb 08, 2014 at 08:35:41PM +0100, Antoine Jacoutot wrote:
 On Sat, Feb 08, 2014 at 07:17:41PM +, openda...@hushmail.com wrote:
  Hello,
  
  Are OpenBSD's packages extremely outdated? What would you say to this
  guy?
  
  At least with Linux I don't have to wait 6 hours for all my software
  to finish compiling. Think about all the trees that are unnecessarily
  cut down because of all that compiling. [...snip...] OpenBSD only has
  a small number of precompiled packages, and usually extremely
  outdated. If you want to get anything useful you have to compile
  ports.
  
   https://news.ycombinator.com/item?id=7196494
  
  Thanks!
 
 I would tell him:
 pkg_add gnome
 
 = on -current (soon to be 5.5) you end up with the same GNOME version (and 
 assorted dependencies) as with the latest Fedora.
 
 We have the latest version of gnome, cups, gnutls, libgcrypt, 
 .
 We have KMS with state of the art acceleration on Intel and ATI.
 
 And I don't understand why this guy spends hours compiling shits. This is not 
 gentoo but OpenBSD, we use binary packages.
 We have around 7750 packages on amd64, and unlike Linux distros we do not 
 split packages between -devel, -doc and stuffs -- so for a fair comparison 
 you should dounble of even triple this number.
 If he thinks we are outdated, point him to:
 http://ftp.fr.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/
 
 It is the usual FUD, People have *no* idea what OpenBSD is nor how it works 
 nor what is ships. Their mind is stuck in the 90's when they read the only 
 thing they ever read about BSD OSes.
 People are parrots, they don't make up their own mind because it actually 
 demands some effort; so they just repeat whatever shit sounded clever in 
 someone else's mouth.
 
 Oh and by the way, most big Linux shops I know and/or worked for also used to 
 compiled a big sets of packages for obvious (and sometime not-so-obvious) 
 reasons.

The world is full of people with mental issues and all too often people do
things for the dumbest reasons.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: Upgrade path from 4.1?

2014-02-07 Thread Brad Smith

On 07/02/14 8:46 AM, Kapetanakis Giannis wrote:

On 07/02/14 01:54, Chris Cappuccio wrote:

This is probably the time where most people would recommend against
that since it is essentially a complete reinstall of all items to upgrade
from pre-5.5 to 5.5 due to time_t ABI change.


Chris


Sorry but isn't the ABI time_t change
http://www.openbsd.org/faq/current.html#20130813
included in 5.4?


No, the time_t changes went in after the tree unlocked from the
5.4 release cycle.


Or am I confused cause I run -current almost everywhere?

What is this reinstall for 5.5 that all you people are talking about?
If we're talking about the same thing then no reinstall is needed...


Having to replace all binaries and remove all only binaries since there
is no backwards compatibility is close enough to a reinstall. It is not
literally a reinstall but its enough work that you don't want to do
that very often. For a lot of people it'll also require being physically
in front of a system to do an upgrade unlike most previous releases.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: Intermittent stops in network traffic with urtw interface

2014-02-06 Thread Brad Smith

On 06/02/14 9:25 AM, Alexey Suslikov wrote:

Brian Curran brian at brianpcurran.com writes:


when it stops passing traffic, does issuing ifconfig urtw0 scan help?



I test this just now and it seemed to help, although I only started
seeing ping replies about 10 seconds after issuing the scan. There is
a similar small delay, though usually not as long, when bringing the
interface down then up.

Also maybe of note is that the status of the interface as reported by
ifconfig remains active when it is not receiving any traffic.


I have urtwn(4) which also experience intermittent stops
with some Access Points (not all).

Looks like it is common problem for urtw(4) and urtwn(4).


and rsu(4).


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: Upgrade path from 4.1?

2014-02-06 Thread Brad Smith

On 06/02/14 12:45 PM, L. V. Lammert wrote:

On Thu, 6 Feb 2014, Chris Cappuccio wrote:


I don't see why everyone recommends install one version at a time.


It's not a recommendation, it is reality. Each upgrade is based on the
previuos version - skipping versions is not supported.


There is a difference between supported and supported. What Chris said
is true. Its the difference between people blindly following how-to's
and actually understanding what they're doing and this is not very
complex at all.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: The unknown in i386-unknown-openbsd5.4

2014-02-03 Thread Brad Smith

On 02/02/14 1:50 PM, Adam Jensen wrote:

On Sun, 2 Feb 2014 18:18:06 + (UTC)
na...@mips.inka.de (Christian Weisgerber) wrote:


Miod Vallat m...@online.fr wrote:


i386-donatetoopenbsdfoundationtoday-openbsd5.4?


or i386-bikeshed-openbsd.


What is the string equivalent of goatse or tubgirl?



Maybe something simple that distinguishes compilers:

i386-gcc-openbsd5.4
i386-clang-openbsd5.4


Or something more elaborate signifies the origin:

Locally compiled:
i386-srcbld-openbsd5.4
i386-portbld-openbsd5.4

Upstream binary releases:
i386-dist-openbsd5.4
i386-package-openbsd5.4


Enough is enough. Just drop it. Of course people are
going to start making fun of this non issue.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: The unknown in i386-unknown-openbsd5.4

2014-02-01 Thread Brad Smith

On 01/02/14 11:18 PM, Adam Jensen wrote:

On Sat, 01 Feb 2014 22:06:47 -0500
Ted Unangst t...@tedunangst.com wrote:


Well, that's true. If the admin cares about the value in
X-Mailer, the admin should configure a better value.



Patching the various occurrences of this string might be more
cumbersome than changing the way it's generated and used
throughout the system, but I get your gist.


The way it is generated can be changed very easily and contrary
to the previous comment it doesn't break all autoconf scripts
that use the triplet. But there is no purpose for doing so. OMG
something I don't understand, must... fiddle... with.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: samba and e2fsprogs packages -- 5.4

2013-12-04 Thread Brad Smith

On 04/12/13 4:44 PM, Vadim Zhukov wrote:

2013/12/5 Peter Fraser p...@thinkage.ca:

samba required the e2fsprogs package. The problem occurs when trying to use 
samba's net command.
The net command requires libuuid.
  It was not easy to find where libuuid was located.


pkg_locate libuuid.so - no?


Even if that tool was installed that would not locate anything
if the package in question is not already installed, right?

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: samba and e2fsprogs packages -- 5.4

2013-12-04 Thread Brad Smith

On 04/12/13 5:23 PM, Christian Weisgerber wrote:

Brad Smith b...@comstyle.com wrote:


pkg_locate libuuid.so - no?


Even if that tool was installed that would not locate anything
if the package in question is not already installed, right?


Wrong.


How does it find the file then?

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: samba and e2fsprogs packages -- 5.4

2013-12-04 Thread Brad Smith

On 04/12/13 5:37 PM, Philip Guenther wrote:

On Wed, Dec 4, 2013 at 2:29 PM, Brad Smith b...@comstyle.com wrote:

On 04/12/13 5:23 PM, Christian Weisgerber wrote:


Brad Smith b...@comstyle.com wrote:

...

Even if that tool was installed that would not locate anything
if the package in question is not already installed, right?


Wrong.


How does it find the file then?


As documented on the manpage, using tiny French elves cloned from espie@


That's about it.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: User land notification uppon pppoe(4) changes

2013-11-24 Thread Brad Smith

On 24/11/13 2:40 PM, David Keller wrote:

Hello,

***
* My setup

Say I have a router using pppoe to connect to internet.
It gets a different ip address from the ISP every day.

 From this router I want to create a gif tunnel to a static-ip host.

***
* My problem

How can I ensure the src outer address of the gif interface sticks to
the pppoe dynamic-ip ?

***
* My solution

I was thinking about updating the gif interface when the pppoe link
changes its IP using a userland daemon
which monitors the interface and executes user scripts.

***
* Your feeling

1) Is this a good idea ?
2) Does this daemon already exist ?
   2.1) If I write it, would you like me to share it ?


Take a look at ifstated(8).

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: Patch to remove adult content from spamd(8) man page

2013-11-21 Thread Brad Smith

On 21/11/13 2:15 PM, za...@gmx.com wrote:

On 2013-11-21 20:04, Gilles Chehade wrote:

On Thu, Nov 21, 2013 at 08:02:06PM +0100, za...@gmx.com wrote:

Different people have different concepts of morality. I believe it
would be better to remove anything that is controversial, for
whatever reason -- even if in *my* concept of morality there was
nothing wrong with it.



I feel offended by those who feel offended about some man page.
Maybe we should remove them as they are causing controversy ?


A reasonable person is the one who takes into consideration others,
among other things. Yes, you can take that defying attitude, but it does
not seem very constructive in the context of a community, such as the
OpenBSD community, where people are trying to achieve something useful.
Bickering about silly things is not constructive at all.
The best guideline with regard to similar matters is that of AVOIDING
bike shedding issues.


This is a useless discussion about silly things and is not constructive 
at all.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: OpenBSD 5.4 VMXNET3 not recognized

2013-11-20 Thread Brad Smith

On 20/11/13 3:11 PM, Dan Shechter wrote:

Hi All,

Running OpenBSD in VMWare workstation 10.

OpenBSD 5.4 amd64 do not recognize VMXNET3, but it does recognize VMXNET:

VMware Virtual VMXNET3 rev 0x01 at pci3 dev 0 function 0 not configured

Am I doing something wrong?


Yes, your expectation. 5.4 does not support VMXNET3. -current does. 
There was a mistake with 54.html/the release announcement.



Thanks,
Dan

OpenBSD 5.4 (GENERIC.MP) #41: Tue Jul 30 15:30:02 MDT 2013
 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 251592704 (239MB)
avail mem = 237289472 (226MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (364 entries)
bios0: vendor Phoenix Technologies LTD version 6.00 date 07/31/2013
bios0: VMware, Inc. VMware Virtual Platform
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP BOOT APIC MCFG SRAT HPET WAET
acpi0: wakeup devices PCI0(S3) USB_(S1) P2P0(S3) S1F0(S3) S2F0(S3)
S3F0(S3) S4F0(S3) S5F0(S3) S6F0(S3) S7F0(S3) S8F0(S3) S9F0(S3)
S10F(S3) S11F(S3) S12F(S3) S13F(S3) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz, 2394.13 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,MMX,FXSR,SSE,SSE2,SS,SSE3,PCLMUL,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
cpu0: apic clock running at 65MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz, 2393.95 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,MMX,FXSR,SSE,SSE2,SS,SSE3,PCLMUL,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 0, package 2
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 24 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-127
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
acpicpu1 at acpi0
acpibat0 at acpi0: BAT1 not present
acpibat1 at acpi0: BAT2 not present
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: LID_
vmt0 at mainbus0
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x01
ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev 0x01
pci1 at ppb0 bus 1
pcib0 at pci0 dev 7 function 0 Intel 82371AB PIIX4 ISA rev 0x08
pciide0 at pci0 dev 7 function 1 Intel 82371AB IDE rev 0x01: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
pciide0: channel 0 disabled (no drives)
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: NECVMWar, VMware IDE CDR10, 1.00 ATAPI
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
piixpm0 at pci0 dev 7 function 3 Intel 82371AB Power rev 0x08: SMBus disabled
VMware Virtual Machine Interface rev 0x10 at pci0 dev 7 function 7
not configured
vga1 at pci0 dev 15 function 0 VMware Virtual SVGA II rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
mpi0 at pci0 dev 16 function 0 Symbios Logic 53c1030 rev 0x01: apic 2 int 17
scsibus1 at mpi0: 16 targets, initiator 7
sd0 at scsibus1 targ 0 lun 0: VMware,, VMware Virtual S, 1.0 SCSI2
0/direct fixed
sd0: 256000MB, 512 bytes/sector, 524288000 sectors
mpi0: target 0 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1
ppb1 at pci0 dev 17 function 0 VMware Virtual rev 0x02
pci2 at ppb1 bus 2
uhci0 at pci2 dev 0 function 0 Intel 82371AB USB rev 0x00: apic 2 int 18
eap0 at pci2 dev 1 function 0 Ensoniq AudioPCI97 rev 0x02: apic 2 int 19
ac97: codec id 0x43525913 (Cirrus Logic CS4297A rev 3)
audio0 at eap0
midi0 at eap0: AudioPCI MIDI UART
vic0 at pci2 dev 3 function 0 VMware Virtual NIC rev 0x10: apic 2
int 17, address 00:50:56:2a:1e:d8
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1
ppb2 at pci0 dev 21 function 0 VMware Virtual PCIE-PCIE rev 0x01
pci3 at ppb2 bus 3
VMware Virtual VMXNET3 rev 0x01 at pci3 dev 0 function 0 not configured
ppb3 at pci0 dev 21 function 1 VMware Virtual PCIE-PCIE rev 0x01
pci4 at ppb3 bus 4
ppb4 at pci0 dev 21 function 2 VMware Virtual PCIE-PCIE rev 0x01
pci5 at ppb4 bus 5
ppb5 at pci0 dev 21 function 3 VMware Virtual PCIE-PCIE rev 0x01
pci6 at ppb5 bus 6
ppb6 at pci0 dev 21 function 4 VMware Virtual PCIE-PCIE rev 0x01
pci7 at ppb6 bus 7
ppb7 at pci0 dev 21 function 5 VMware Virtual PCIE-PCIE rev 0x01
pci8 at ppb7 bus 8
ppb8 at pci0 dev 21 function 6 VMware Virtual PCIE-PCIE rev 0x01
pci9 at ppb8 bus 9
ppb9 at pci0 dev 21 function 7 VMware Virtual PCIE-PCIE rev 0x01
pci10 at ppb9 bus 10
ppb10 at pci0 dev 22 function 0 VMware Virtual PCIE-PCIE rev 0x01
pci11 at ppb10 bus 11
ppb11 at pci0 dev 22 function 1 VMware Virtual PCIE-PCIE rev 0x01
pci12 at 

Re: Problem with dhcp requests on --current of Nov 2-4

2013-11-04 Thread Brad Smith

On 04/11/13 6:22 PM, STeve Andre' wrote:

Sometime between Oct 18th and now I've lost the ability to do a
dhcp request at boot time.  Dropping back to the Oct 18 kernel
fixes things so I don't have hardware problems.

When I attempt to do a dhclient em0 I get

DHCPREQUEST on em0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1 (00:1a:70:f8:07:38)

and thats it.

This is a thinkpad W500 running -current oct 18th that works, Nov 2-today
kernels that do not work.

Has anyone else seen this?


Yes.. as Tobias mentioned, make sure your kernel and userland are in sync.

From current.html..

2013/10/31 - new routing message version

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: nvidia driver what do you recommend

2013-11-02 Thread Brad Smith

On 02/11/13 11:57 AM, Gilles Cafedjian wrote:

Hello
I think vesa driver allow only built-in resolution of your bios.
I saw in my Xorg.0.log:
...
(II) VESA(0): Not using mode 1440x900_60.00 (no mode of this name)
...
(--) VESA(0): Virtual size is 1024x768 (pitch 1024)
(**) VESA(0): *Built-in mode 1024x768
(**) VESA(0): *Built-in mode 800x600
(**) VESA(0): *Built-in mode 640x480
(==) VESA(0): DPI set to (96, 96)
(II) VESA(0): Attempting to use 60Hz refresh for mode 1024x768 (118)
...
...

I guess I'm stuck with 1024x768 too :(


Correct, that's one of many reasons to want to have a port of the 
Nouveau driver. Using the VESA driver is pretty awful.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Looking for a laptop in the Toronto area

2013-10-29 Thread Brad Smith

Hi,

I added an entry to want.html as I am looking for a laptop to replace 
the laptop I have at the moment which has some really bad heat related 
issues and I have been hobbling along with it for awhile now. I am in 
the Toronto area. I thought I would post to misc@ for some greater 
exposure. Is there anyone that would be able to help me out?


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: Sorry OpenBSD people, been a bit busy

2013-10-07 Thread Brad Smith

On 07/10/13 9:57 PM, noah pugsley wrote:

Slander aside, pretty cool news. I do have one stupid question though,
what does the 'yy' in yycix stand for?


It is not YY it is YYC. It is an airport code.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: pure_ftpd other option(style) not work

2013-09-23 Thread Brad Smith

On 23/09/13 11:07 PM, Fung wrote:

in current snapshots

install pure_ftpd

default /etc/rc.d/pure_ftpd is
---
#!/bin/sh
#
# $OpenBSD: pure_ftpd.rc,v 1.1 2011/04/25 09:26:47 sthen Exp $

daemon=/usr/local/sbin/pure-ftpd
daemon_flags=-A -B -H -u1000

. /etc/rc.d/rc.subr

pexp=pure-ftpd: -pure-ftpd \(SERVER\)
rc_reload=NO

rc_cmd $1
--

# /etc/rc.d/pure_ftpd start

# ps -auwx | grep ftpd
root  8530  0.0  0.0   852  1264 ??  Is10:44AM0:00.00 pure-ftpd: 
-pure-ftpd (SERVER) (pure-ftpd)

now user login work

if  add other flags like -o, for example , change  /etc/rc.d/pure_ftpd

-daemon_flags=-A -B -H -u1000
+daemon_flags=-o -A -B -H -u1000


the daemon will start but nobody can login!

# pkill ftpd
# /etc/rc.d/pure_ftpd start
pure_ftpd(ok)


# ps -auwx | grep ftpd
root 15587  0.0  0.0   676   964 ??  Is10:48AM0:00.00 
/usr/local/sbin/pure-ftpd -o -A -B -H -u1000


# ftp localhost
Trying 127.0.0.1...
ftp: connect to address 127.0.0.1: Connection refused
Trying ::1...
ftp: connect: Connection refused
ftp


BTW, start pure-ftpd without rc.d script not work too

# pkill ftpd
# /usr/local/sbin/pure-ftpd -A -B -H -u1000 -o
# ftp localhost
Trying 127.0.0.1...
ftp: connect to address 127.0.0.1: Connection refused
Trying ::1...
ftp: connect: Connection refused
ftp






# sysctl kern.version
kern.version=OpenBSD 5.4-current (GENERIC) #55: Tue Sep 17 08:29:11 MDT 2013
 t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC

# pkg_info | grep pure
pure-ftpd-1.0.36p2-virtual_chroot small, easy to set up, fast and very secure 
FTP server


The pure-ftpd package works fine out of the box with either the rc.d 
script or manually running the equivalent binary and command line 
parameters. There is something you have done on your system to cause it 
to not work. Does fstat show the sockets created by pure-ftpd once it 
has been started up? Are you running a modified PF rule set?



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: no audio with aucat

2013-09-20 Thread Brad Smith

On 21/09/13 12:04 AM, Johan Huldtgren wrote:

This is a virtual machine, isn't it? AFAICS, virtual machines can't
do full duplex, while eap(4) cards claim they are full-duplex.


Correct, it's a virtual machine.


Could you add -mplay to the sndiod_flags variable in
/etc/rc.conf.local (or whatever you use) and see how this works?


that works too, so seems options are either using the -mplay
flag or disabling sndiod.


Use -mplay for sndiod. sndiod should not be disabled.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: This 48 core box...

2013-09-17 Thread Brad Smith

On 17/09/13 2:12 PM, Nick Holland wrote:

On 09/17/2013 01:41 PM, Andy wrote:

On Tue 17 Sep 2013 18:09:15 BST, Michael Chen wrote:

I'm considering bidding on this 48-core box:

http://www.ebay.com/itm/Supermicro-A-Server-1042G-TF-1U-H8QG6-4-CPUS-48-cores-2-2Ghz-128GB-RAM-/151119828428?pt=COMP_EN_Servershash=item232f7195cc



Does anyone have experience with it and can I use all the cores?

Thanks!



We use loads of Supermicro from Transtec and they work great.

This is second hand though..


never used one of those machines, but I did play with a mighty machine
recently. 1.5TB RAM, 4x8 HT'd cores (that's 64 sorta-cores...).
Unfortunately, it seemed that only 512G of RAM was usable, more than that caused
it to panic early in the boot process.  So, I used boot(8) to restrict memory
that the kernel saw.


CVSROOT:/cvs
Module name:src
Changes by: a...@cvs.openbsd.org2004/07/19 09:09:06

Modified files:
sys/arch/amd64/amd64: cpu.c machdep.c mptramp.S pmap.c
sys/arch/amd64/include: pmap.h

Log message:
Implement __HAVE_PMAP_DIRECT on amd64 using large pages. At this moment
it's limited to 512GB (one L4 page table entry) physical memory. Only
used carefully at this moment, but more improvements are in the pipeline.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: GCC 2.95 mention in intro(3)

2013-09-13 Thread Brad Smith

On 13/09/13 1:13 PM, Jim MacKenzie wrote:

-Original Message-
From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf
Of David Coppa
Sent: Friday, September 13, 2013 10:14 AM
To: Jim MacKenzie
Cc: misc
Subject: Re: GCC 2.95 mention in intro(3)


I think the GCC 2.95 line is no longer relevant.


I'm not sure if it matters here, but the VAX port of OpenBSD still
uses GCC 2.95.


No more.


My 5.3 VAXstation 4000/60 system still uses 2.95.  Yes, still have a VAX.
Maybe this is changing in 5.4.


Yes, 5.3 is old ;)


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: Modern C++ Compiler for OpenBSD

2013-09-10 Thread Brad Smith

On 10/09/13 6:10 PM, Gregor Best wrote:

On Tue, Sep 10, 2013 at 05:40:19PM -0400, Jeffrey Walton wrote:

[...]
Does anyone have a C++ compiler recommendation for OpenBSD?
[...]


What about GCC? Clang++'s C++11 support is spotty at best, at least it
was the last time I tried.


Clang's C++11 support doesn't work properly because it isn't using the 
proper release of libstdc++.



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: Modern C++ Compiler for OpenBSD

2013-09-10 Thread Brad Smith

On 10/09/13 6:20 PM, Jeffrey Walton wrote:

On Tue, Sep 10, 2013 at 6:10 PM, Gregor Best g...@ring0.de wrote:

On Tue, Sep 10, 2013 at 05:40:19PM -0400, Jeffrey Walton wrote:

[...]
Does anyone have a C++ compiler recommendation for OpenBSD?
[...]


What about GCC? Clang++'s C++11 support is spotty at best, at least it
was the last time I tried.


Thanks Gregor. I don't believe GCC 4.2.1 supports C++11x features, but
I could be wrong.

I also tried tracking down Clang and Comeau's support for OpenBSD, but
I could not find something stated it in clear terms (lots of mailing
list questions). At this point, it looks like the platofrm is not
supported.

I think that leaves PCC, which is a C99 compiler (according to
http://pcc.ludd.ltu.se/).


Do you not use ports / packages?


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: 10GbE (Intel X540) performance on OpenBSD 5.3

2013-08-09 Thread Brad Smith
- Original message -
 As far as I know X540-T2 out on the market don't do PCI 3.0.
 Cards I have are PCI 2.1, this means (if I remember my calculations
 right) this 10G card is caped by PCI bus - 6G max. Basically Intel sells
 10G which is caped up to 6G. and this is for the single port. If those
 ports are both in use, then you'll have to divide this number with
 2(avrg. and not precise number).

You're mentioning numbers that were relevant for PCI-X not PCIe. A single PCIe 
1 x8 slot is fine for a single port 10Gb adapter. A PCIe 2 x8 slot is required 
for a dual port 10Gb adapter.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: Fuse on OpenBSD

2013-07-03 Thread Brad Smith

On 03/07/13 11:07 PM, openda...@hushmail.com wrote:

Why do we need FUSE anyway?


To be able to utilize FUSE based filesystems.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: IPv6, automatic configuration and nameservers

2013-06-23 Thread Brad Smith

On 23/06/13 3:59 PM, Denis Fondras wrote:

Hi all,

Le 22/06/2013 03:28, Brad Smith a écrit :

On 13/06/13 7:53 AM, Gregor Best wrote:

Hi list,

recently, I've been playing around a bit with IPv6, and IPv6-only
networks. While doing that, I have not found an automated way to add
nameservers announced via router advertisements.

dhclient does that for IPv4 but the rtsol in OpenBSD doesn't have
FreeBSD's
-R option for adding recursive nameservers (and porting that without
also porting resolvconf seems to be less than trivial).

Is there a canonical solution with only the things in base or should I
just use something from ports?  And what's the port people use for that?


As you have already noticed our rtsold does not have support for RFC
6106 (yet). The only option you have at the moment is using a DHCPv6
client such as net/isc-dhcp.




Stephane Sezer developped a patch more than 2 years ago :
http://openbsd.7691.n7.nabble.com/RFC6106-RDNSS-and-DNSSL-options-support-for-rtadvd-8-td162760.html


It seems it hasn't been merged but it worked nicely back then.

Denis


That is for rtadvd, which has been integrated, not rtsold.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: IPv6, automatic configuration and nameservers

2013-06-21 Thread Brad Smith

On 13/06/13 7:53 AM, Gregor Best wrote:

Hi list,

recently, I've been playing around a bit with IPv6, and IPv6-only
networks. While doing that, I have not found an automated way to add
nameservers announced via router advertisements.

dhclient does that for IPv4 but the rtsol in OpenBSD doesn't have FreeBSD's
-R option for adding recursive nameservers (and porting that without
also porting resolvconf seems to be less than trivial).

Is there a canonical solution with only the things in base or should I
just use something from ports?  And what's the port people use for that?


As you have already noticed our rtsold does not have support for RFC 
6106 (yet). The only option you have at the moment is using a DHCPv6 
client such as net/isc-dhcp.



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: Atom D2550 (cedarview) working now with kms?

2013-03-23 Thread Brad Smith
On Sun, Mar 24, 2013 at 01:10:25PM +1100, Brett Mahar wrote:
 On 03/24/13 08:00, Ted Unangst wrote:
 On Sun, Mar 24, 2013 at 00:39, Brett Mahar wrote:
 Hi,
 
 Now that the KMS stuff has arrived (thanks for that!), I'm looking at
 this device from Shuttle http://axcco.com/xs35v3.html. It has an Atom
 D2550 with Intel GMA 3650 Graphic engine, should it work as well as
 the Pineview series Atoms do in displaying Xvideo output?
 
 No. Only video with D/Nxxx (three digit) Atoms may work, if it's
 the regular onboard chipset intel video. A lot of them are nvidia ion,
 which is bad news too, obviously. 4 digit models are crazy powervr video.
 
 
 Thanks Ted and Jonathan, I would have wasted $200 without that info!
 Looks like the ancient core2duo will be playing movies for a while
 longer.

The new ValleyView Atom coming out in a few months will finally replace
the PowerVR cores being used in the past with the platform with a Gen7
(Ivy Bridge) core.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: resize disklabel partitions and ffs filesystems

2013-03-17 Thread Brad Smith
On Sun, Mar 17, 2013 at 07:46:34PM +1100, John Tate wrote:
 I had a problem building something in ports ports with a default 2.0gb
 /usr. I tried moving ports to /home/usr/ports to /usr/ports but I get...
 
 Fatal: /usr/ports is a symlink. Please set to the real directory

Don't try to make a symlink. Create /etc/mk.conf and add to that file
`PORTSDIR=/home/usr/ports'.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: WebRTC, google and firefox

2013-03-06 Thread Brad Smith
On Wed, Mar 06, 2013 at 02:10:45PM +0100, Dmitrij D. Czarkoff wrote:
 On Tue, Mar 05, 2013 at 06:53:43PM -0500, Brad Smith wrote:
  . It'll be a lot easier to have an HTML5
  compliant browser with support for WebRTC all over the place then it will
  be to get some of these services using proprietary protocols, plugins, and
  host apps to be ported all over the place.
 
 I'm not sure it's all that easy. Effectively, HTML5 turns out being equal to
 OOXML and flash in terms of reimplementation possibility: albeit quite trivial
 to reimplement in terms of specs availability, the task is too huge to
 undertake for a community project.

Which community is this relevant to? A niche browser literally no one uses?

The relevant rendering engines that count already have support and its much
easier to reimplment WebRTC over Flash. WebRTC is fully open spec and has
already been done. Flash is not and has not been done.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: WebRTC, google and firefox

2013-03-06 Thread Brad Smith
On Wed, Mar 06, 2013 at 06:33:04PM -0800, patrick keshishian wrote:
 On Wed, Mar 6, 2013 at 6:13 PM, Brad Smith b...@comstyle.com wrote:
  On Wed, Mar 06, 2013 at 02:10:45PM +0100, Dmitrij D. Czarkoff wrote:
  On Tue, Mar 05, 2013 at 06:53:43PM -0500, Brad Smith wrote:
   . It'll be a lot easier to have an 
   HTML5
   compliant browser with support for WebRTC all over the place then it will
   be to get some of these services using proprietary protocols, plugins, 
   and
   host apps to be ported all over the place.
 
  I'm not sure it's all that easy. Effectively, HTML5 turns out being equal 
  to
  OOXML and flash in terms of reimplementation possibility: albeit quite 
  trivial
  to reimplement in terms of specs availability, the task is too huge to
  undertake for a community project.
 
  Which community is this relevant to? A niche browser literally no one uses?
 
  The relevant rendering engines that count already have support and its much
  easier to reimplment WebRTC over Flash. WebRTC is fully open spec and has
  already been done. Flash is not and has not been done.
 
 not to give the impression that I care much about flash (i do not).
 however, i was under the impression adobe had opened the
 specifications[1] to its flash technology.

A lot of it is but not everything that is required for an open source
implementation has been provided. HTML5 is still the better option anyway
even if there was enough interest to bother going the full mile with an
open source Flash implementation.

 regardless, i find it very ironic how something that was initially
 designed to be a thin-client (i.e., the web-browser) has grown to the

That's your opinion. I've never thought of a browser as needing to be
thin. It is thin and useless or rely upon plugins and having some OS's
with plugins and lots without. HTML5 builds infrastructure to remove
the necessity for plugins and allowing the same functionality everywhere.

 monster it is. as pointed out by someone else (sorry didn't keep track
 of messages or even threads that closely, since it isn't really a
 topic of choice atm) it is amazing how much software, say, firefox
 requires. e.g., pulling in dbus. someone said (again I forget who)

DBus is small and a very common dependency on systems anyway.

 that dbus is small ... still it is crap i don't want on my system
 regardless of how small it may be. but hey, i digress ... the world
 has bigger problems than what is being hashed out here.

Can you rant about anything more irrelevant?

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: A slight twist on the OpenBSD laptop question

2013-03-06 Thread Brad Smith
On Wed, Mar 06, 2013 at 12:10:18PM -0430, Andres Perera wrote:
 i don't think it's as drastic as that
 
 if you buy a Clarkdale cpu you're good to go
 
 these came out ~2010, they are still modern

The issue isn't the CPU but the GPU and the GPUs in question come with
Sandy Bridge/Ivy Bridge based systems and anything newer.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: WebRTC, google and firefox

2013-03-05 Thread Brad Smith
On Tue, Mar 05, 2013 at 10:25:31PM +0100, Pau wrote:
 Hi,
 
 I have been searching but could not find information in this respect.
 
 I have 5.2 installed on a thinkpad x220s and, while ekiga seems to work
 fine, I have not found a way to make empathy or pidgin work with a gtalk
 account.

The Pidgin port doesn't have VV support and last time I looked at this
it didn't seem to work too well or at all and seemed to be issues with
GStreamer and/or other components Pidgin relies upon for Jingle support.

 Should not WebRTC, Google Hangout, work in firefox?
 HTML5 should work  everywhere I thought?

HTML5 entails a variety of different standards and support for those
standards in each respective browser. FF and Chromium on OpenBSD still
do not have WebRTC support. You're making an assumption which is wrong.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: WebRTC, google and firefox

2013-03-05 Thread Brad Smith
On Tue, Mar 05, 2013 at 04:46:04PM -0500, Brad Smith wrote:
 On Tue, Mar 05, 2013 at 10:25:31PM +0100, Pau wrote:
  Hi,
  
  I have been searching but could not find information in this respect.
  
  I have 5.2 installed on a thinkpad x220s and, while ekiga seems to work
  fine, I have not found a way to make empathy or pidgin work with a gtalk
  account.
 
 The Pidgin port doesn't have VV support and last time I looked at this
 it didn't seem to work too well or at all and seemed to be issues with
 GStreamer and/or other components Pidgin relies upon for Jingle support.
 
  Should not WebRTC, Google Hangout, work in firefox?
  HTML5 should work  everywhere I thought?
 
 HTML5 entails a variety of different standards and support for those
 standards in each respective browser. FF and Chromium on OpenBSD still
 do not have WebRTC support. You're making an assumption which is wrong.

Another thing I forgot to mention. WebRTC is not a part of HTML5 yet. It
is a work in progress spec and implementations that could potentially be
a part of HTML5.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: WebRTC, google and firefox

2013-03-05 Thread Brad Smith
On Tue, Mar 05, 2013 at 02:47:47PM -0800, patrick keshishian wrote:
 On Tue, Mar 5, 2013 at 1:58 PM, Brad Smith b...@comstyle.com wrote:
  On Tue, Mar 05, 2013 at 04:46:04PM -0500, Brad Smith wrote:
  On Tue, Mar 05, 2013 at 10:25:31PM +0100, Pau wrote:
   Hi,
  
   I have been searching but could not find information in this respect.
  
   I have 5.2 installed on a thinkpad x220s and, while ekiga seems to work
   fine, I have not found a way to make empathy or pidgin work with a gtalk
   account.
 
  The Pidgin port doesn't have VV support and last time I looked at this
  it didn't seem to work too well or at all and seemed to be issues with
  GStreamer and/or other components Pidgin relies upon for Jingle support.

   Should not WebRTC, Google Hangout, work in firefox?
   HTML5 should work  everywhere I thought?
 
  HTML5 entails a variety of different standards and support for those
  standards in each respective browser. FF and Chromium on OpenBSD still
  do not have WebRTC support. You're making an assumption which is wrong.
 
  Another thing I forgot to mention. WebRTC is not a part of HTML5 yet. It
  is a work in progress spec and implementations that could potentially be
  a part of HTML5.
 
 and so the web-browser becomes the OS.

I'd rather have WebRTC and what is possible via standardized mecnanisms
over Skype, plugins for GTalk, and various other services based on closed
apps limited to certain major OS's. It'll be a lot easier to have an HTML5
compliant browser with support for WebRTC all over the place then it will
be to get some of these services using proprietary protocols, plugins, and
host apps to be ported all over the place. A lot of the focus of HTML5 is
to design standardized means of doing what all too often required external
plugins and all too often are limited to Windows and maybe OS X at best.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: A slight twist on the OpenBSD laptop question

2013-03-05 Thread Brad Smith
On Wed, Mar 06, 2013 at 07:36:58AM +0100, Matthieu Herrb wrote:
 On Mon, Mar 04, 2013 at 03:30:54PM +, Kevin Chadwick wrote:
  I was about to buy two thinkpads which are often suggested when the
  OpenBSD laptop question is raised but the 93 in stock have disappeared
  since saturday, aaargh.
  
  There are still core2duos and lesser spec'd systems available which
  has prompted me to ask the question I had pondered on.
  
  Does anyone know what the latest full screen (! widescreen) AMD laptops
  would be that have excellent compatibility with OpenBSD or if 2Ghz is
  the highest spec non core 2 duo and non widescreen reliable laptop
  suitable for OpenBSD available?
  
 
 If no idea which kind of graphics card the machine that you're
 considering has. This is probably the key point. Stay away from nVidia
 mobile chipsets and from recent AMD integated graphics.

and recent Intel graphics.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: A slight twist on the OpenBSD laptop question

2013-03-05 Thread Brad Smith
On Tue, Mar 05, 2013 at 11:00:01PM -0800, patrick keshishian wrote:
 On Tue, Mar 5, 2013 at 10:53 PM, Brad Smith b...@comstyle.com wrote:
  On Wed, Mar 06, 2013 at 07:36:58AM +0100, Matthieu Herrb wrote:
  On Mon, Mar 04, 2013 at 03:30:54PM +, Kevin Chadwick wrote:
   I was about to buy two thinkpads which are often suggested when the
   OpenBSD laptop question is raised but the 93 in stock have disappeared
   since saturday, aaargh.
  
   There are still core2duos and lesser spec'd systems available which
   has prompted me to ask the question I had pondered on.
  
   Does anyone know what the latest full screen (! widescreen) AMD laptops
   would be that have excellent compatibility with OpenBSD or if 2Ghz is
   the highest spec non core 2 duo and non widescreen reliable laptop
   suitable for OpenBSD available?
  
 
  If no idea which kind of graphics card the machine that you're
  considering has. This is probably the key point. Stay away from nVidia
  mobile chipsets and from recent AMD integated graphics.
 
  and recent Intel graphics.
 
 so what's left to chose from? :)

That's the whole point. You're screwed running anything modern (so far).

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: automake 1.11.5: never mind

2013-03-04 Thread Brad Smith
On Mon, Mar 04, 2013 at 10:36:00PM -0500, Alan Corey wrote:
 Changing my .cshrc to define AUTOMAKE_VERSION 1.11 instead of 1.11.5
 and rebooting cured the problem.  Not sure why since I don't have
 1.11.0 installed.  I have 1.10.3p6, 1.11.5p1, 1.9.6p10.  Oh well.
 
 End of story for now.

The version specified by the variable only refers to the major version
of each respective automake release. Look at the naming of the binaries
for each automake release within their packages.

   Alan
 
  The distfile name is automake-1.11.5.tar.gz and pkg_info reports
  1.11.5, but sqlports rejects it.
 
  In the ports tree there are 6 versions:
  d530# cd automake
  d530# ls
  1.10 1.12 1.8  CVS  Makefile.inc
  1.11 1.4  1.9  Makefile
 
Alan
 
 
 
 
 On 3/4/13, Brad Smith b...@comstyle.com wrote:
  On Mon, Mar 04, 2013 at 01:04:51AM -0500, Alan Corey wrote:
  I'm defining
  setenv AUTOMAKE_VERSION 1.11.5
  In my .cshrc, I don't know why exactly.
 
  The value should be 1.11 not 1.11.5.
 
 
 -- 
 Credit is the root of all evil.  - AB1JX
 
 
 
 -- 
 Credit is the root of all evil.  - AB1JX
 
 
 -- 
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.
 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: automake 1.11.5: never mind

2013-03-03 Thread Brad Smith
On Mon, Mar 04, 2013 at 01:04:51AM -0500, Alan Corey wrote:
 I'm defining
 setenv AUTOMAKE_VERSION 1.11.5
 In my .cshrc, I don't know why exactly.

The value should be 1.11 not 1.11.5.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: Softraid 3TB Problems

2013-03-02 Thread Brad Smith
On Sat, Mar 02, 2013 at 07:25:18PM -0600, Brandon Tanner wrote:
 By the way, does softraid on amd64 support 4096 bytes per sector?

No matter what the architecture is softraid to date does not support
devices with anything other than 512 bytes/sector.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: ARP and npppd

2013-02-17 Thread Brad Smith
On Sun, Feb 17, 2013 at 11:03:44PM +0100, mxb wrote:
 I think this is on TODO-list. This is why npppd considered to be not ready 
 and thus not linked to build.

It is linked to the build and has been for 5 months.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: using snapshots to stay current - 5.3 snapshot question

2013-02-03 Thread Brad Smith
- Original message -
 Hi
 
 For the last few months i've been following -current using snapshots.
 I see on the ftp mirrors that 5.3 is now there. This is probably a
 stupid question but is it the same process for upgrading to the 5.3
 snapshot as it has been with the 5.2 snapshots? Is there anything
 extra/special that I need to read before I go ahead and do the
 upgrade?

There is no change in the process you're already using.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: two equal filenames in one dir

2013-01-27 Thread Brad Smith
On Sun, Jan 27, 2013 at 05:20:14AM -0500, Jiri B wrote:
 Hello,
 
 I'm confused, how is it possible I have two files with same
 names in one dir?
 
 $ ls -li
 total 1245376
 3611817 -rw-r--r--  1 jirib  jirib  168392755 Jan 14 23:35 
 Crostata_Alla_Fruta.mp4
 3741698 -rw-r--r--  1 jirib  jirib  165519511 Mar 12  2010 Pizza 
 Margherita-10115892.mp4
 3611818 -rw-r--r--  1 jirib  jirib  165519511 Jan 14 23:35 
 Pizza_Margherita-10115892.mp4
 3741699 -rw-r--r--  1 jirib  jirib   68932635 Jul 31 21:02 jablecny 
 kolac-46705666.mp4
 3611819 -rw-r--r--  1 jirib  jirib   68932635 Jan 14 23:35 
 jablecny_kolac-46705666.mp4

They do not appear to be the same to me. One set has an underscore and the 
other has a
space.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: How do I compile 32-bit binaries on amd64 OpenBSD?

2013-01-22 Thread Brad Smith
- Original message -
 Thanks Peter. I found that many autotools packaged programs out there
 expect newer gcc environments.

I'd love to what programs these are. I haven't run into these many programs, 
only a very small few.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: How do I compile 32-bit binaries on amd64 OpenBSD?

2013-01-22 Thread Brad Smith
- Original message -
 - Original message -
  Thanks Peter. I found that many autotools packaged programs out there
  expect newer gcc environments.
 
 I'd love to what programs these are. I haven't run into these many
 programs, only a very small few.

love to know*

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: firefox crashes

2013-01-22 Thread Brad Smith
On Wed, Jan 23, 2013 at 08:43:36AM +0800, Salil Wadnerkar wrote:
 Hi,
 
 On my amd64 machine, firefox crashes regularly after some time.
 
 Here is the info about the crash:
 
 gdb /usr/local/bin/firefox firefox.core
 GNU gdb 6.3
 This GDB was configured as amd64-unknown-openbsd5.2...(no debugging
 symbols found)
 ...
 Core was generated by `firefox'.
 Program terminated with signal 11, Segmentation fault.
 
 (gdb) where
 #0  0x0002053d4d4a in kill () at stdin:2
 #1  0x000200cc6f12 in XRE_InstallX11ErrorHandler () from
 /usr/local/lib/firefox-18.0/libxul.so.37.0
 #2  signal handler called
 #3  0x000202163fe9 in JS_DefineProfilingFunctions () from
 /usr/local/lib/firefox-18.0/libxul.so.37.0
 #4  0x00020168a8d7 in non-virtual thunk to
 js::DirectWrapper::toWrapper() () from
 /usr/local/lib/firefox-18.0/libxul.so.37.0
 #5  0x0002021607a6 in JS_DefineProfilingFunctions () from
 /usr/local/lib/firefox-18.0/libxul.so.37.0
 #6  0x0002021099f0 in JS_DefineDebuggerObject () from
 /usr/local/lib/firefox-18.0/libxul.so.37.0
 #7  0x000202163ecd in JS_DefineProfilingFunctions () from
 /usr/local/lib/firefox-18.0/libxul.so.37.0

This should be built with debug symbols and get a proper traceback, then file
a bug report upstream with Mozilla.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: how to use cpu affinity from user space

2013-01-21 Thread Brad Smith
On Tue, Jan 22, 2013 at 09:25:04AM +0500,  ??? wrote:
 Hello!
 
 I'm investigating how program should set cpu affinity, is there any
 examples ? (I didn't find any except the commit that adds cpu affinity
 thing, but there's no user space documentation, no utility, no man page).

As far as I know of it isn't possible to do so.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: unable to build -current from 5.2 beta

2013-01-20 Thread Brad Smith
On Sun, Jan 20, 2013 at 03:43:22PM +0200, Ivo Chutkin wrote:
 Hello,
 I am trying to build -current from 5.2 beta from Jul 1 but getting
 the following error:
 
 {standard input}: Assembler messages:
 {standard input}:105: Error: no such instruction: `rdrand %rbx'
 *** Error code 1
 
 Stop in /usr/src/sys/arch/amd64/compile/GENERIC (line 89 of
 /usr/share/mk/sys.mk).
 
 I am getting the same error with GENERIC and GENERIC.MP
 
 Is this know problem or I am doing something wrong?

Upgrade using a snapshot.

 Dmesg bellow.
 
 Thanks for the help,
 Ivo
 
 
 OpenBSD 5.2-beta (GENERIC.MP) #340: Sun Jul  1 23:18:37 MDT 2012
 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 real mem = 8560926720 (8164MB)
 avail mem = 8310677504 (7925MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb4c0 (56 entries)
 bios0: vendor American Megatrends Inc. version 2.00 date 05/08/2012
 bios0: Supermicro X9SCL/X9SCM
 acpi0 at bios0: rev 2
 acpi0: sleep states S0 S1 S4 S5
 acpi0: tables DSDT FACP APIC FPDT MCFG PRAD HPET SSDT SPMI SSDT SSDT
 SPCR EINJ ERST HEST BERT BGRT
 acpi0: wakeup devices PS2K(S4) PS2M(S4) UAR1(S4) UAR2(S4) P0P1(S4)
 USB1(S4) USB2(S4) USB3(S4) USB4(S4) USB5(S4) USB6(S4) USB7(S4)
 PXSX(S4) RP01(S4) PXSX(S4) R
 P02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) RP05(S4)
 PXSX(S4) RP06(S4) PXSX(S4) RP07(S4) PXSX(S4) RP08(S4) PEGP(S4)
 PEG0(S4) PEG1(S4) PEG2(S4) PEG3(S
 4) GLAN(S4) EHC1(S4) EHC2(S4) HDEF(S4) PWRB(S4)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: Intel(R) Xeon(R) CPU E3-1220 V2 @ 3.10GHz, 3093.46 MHz
 cpu0: 
 FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,
 EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX,NXE,LONG,LAHF
 cpu0: 256KB 64b/line 8-way L2 cache
 cpu0: apic clock running at 99MHz
 cpu1 at mainbus0: apid 2 (application processor)
 cpu1: Intel(R) Xeon(R) CPU E3-1220 V2 @ 3.10GHz, 3092.97 MHz
 cpu1: 
 FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,
 EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX,NXE,LONG,LAHF
 cpu1: 256KB 64b/line 8-way L2 cache
 cpu2 at mainbus0: apid 4 (application processor)
 cpu2: Intel(R) Xeon(R) CPU E3-1220 V2 @ 3.10GHz, 3092.97 MHz
 cpu2: 
 FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,
 EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX,NXE,LONG,LAHF
 cpu2: 256KB 64b/line 8-way L2 cache
 cpu3 at mainbus0: apid 6 (application processor)
 cpu3: Intel(R) Xeon(R) CPU E3-1220 V2 @ 3.10GHz, 3092.97 MHz
 cpu3: 
 FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,
 EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX,NXE,LONG,LAHF
 cpu3: 256KB 64b/line 8-way L2 cache
 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
 acpimcfg0 at acpi0 addr 0xf800, bus 0-63
 acpihpet0 at acpi0: 14318179 Hz
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 3 (P0P1)
 acpiprt2 at acpi0: bus 1 (RP01)
 acpiprt3 at acpi0: bus -1 (RP02)
 acpiprt4 at acpi0: bus -1 (RP03)
 acpiprt5 at acpi0: bus -1 (RP04)
 acpiprt6 at acpi0: bus 2 (RP05)
 acpiprt7 at acpi0: bus -1 (RP06)
 acpiprt8 at acpi0: bus -1 (RP07)
 acpiprt9 at acpi0: bus -1 (RP08)
 acpiprt10 at acpi0: bus -1 (PEG0)
 acpiprt11 at acpi0: bus -1 (PEG1)
 acpiprt12 at acpi0: bus -1 (PEG2)
 acpiprt13 at acpi0: bus -1 (PEG3)
 acpiec0 at acpi0: Failed to read resource settings
 acpicpu0 at acpi0: C3, C1, PSS
 acpicpu1 at acpi0: C3, C1, PSS
 acpicpu2 at acpi0: C3, C1, PSS
 acpicpu3 at acpi0: C3, C1, PSS
 acpipwrres0 at acpi0: FN00
 acpipwrres1 at acpi0: FN01
 acpipwrres2 at acpi0: FN02
 acpipwrres3 at acpi0: FN03
 acpipwrres4 at acpi0: FN04
 acpitz0 at acpi0: critical temperature is 106 degC
 acpitz1 at acpi0: critical temperature is 106 degC
 acpibat0 at acpi0: BAT0 not present
 acpibat1 at acpi0: BAT1 not present
 acpibat2 at acpi0: BAT2 not present
 acpibtn0 at acpi0: PWRB
 acpibtn1 at acpi0: LID0
 acpivideo0 at acpi0: GFX0
 acpivout0 at acpivideo0: DD02
 ipmi at mainbus0 not configured
 cpu0: Enhanced SpeedStep 3093 MHz: speeds: 3101, 3100, 3000, 2900,
 2800, 2700, 2600, 2500, 2300, 2200, 2100, 2000, 1900, 1800, 1700,
 1600 MHz
 pci0 at mainbus0 bus 0
 pchb0 at pci0 dev 0 function 0 vendor Intel, unknown product
 0x0158 rev 0x09
 em0 at pci0 dev 25 function 0 Intel 82579LM rev 0x05: msi, address
 00:25:90:77:64:19
 ehci0 at pci0 dev 26 function 0 Intel 6 Series USB rev 0x05: apic 2 int 16
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
 ppb0 at pci0 dev 28 

Re: how to upgrade gcc 4.2.1 to gcc-4.7.1

2013-01-17 Thread Brad Smith
On Thu, Jan 17, 2013 at 03:57:48PM +0100, Janne Johansson wrote:
 2013/1/17 WANG Siyuan wangsiyuanb...@gmail.com:
  Hi,
 
  I install gcc 4.7 on openbsd using pkg_add. after installation, I use
  'gcc -v' to check, I found it is also gcc 4.2 !
  how to upgrade gcc 4.2 to gcc 4.7 on openbsd? thank you!
 
 The non-system gcc ends up in /usr/local/bin
 Edit your PATH accordingly.
 And don't compile the base system with the non-system compiler.

You don't need to edit your PATH. The GCC 4.7 binaries are installed
as egcc / eg++.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: named error from /var/named/etc/root.hint

2013-01-14 Thread Brad Smith
On Mon, Jan 14, 2013 at 09:32:57AM +, Jamie Paul Griffin wrote:
 Hi
 
 I recently upgraded my system to the Dec 21 snapshot, will be updating again 
 to the Jan 09 snapshot; but, I noticed an error message in /var/log/messages 
 yesterday when I rebooted my machine:
 
 
 Jan 13 21:16:43 kontrol named[23666]: checkhints: d.root-servers.net/A 
 (199.7.91.13) missing from hints
 Jan 13 21:16:43 kontrol named[23666]: checkhints: d.root-servers.net/A 
 (128.8.10.90) extra record in hints
 
 I managed to fix it by downloading a new file from 
 ftp://ftp.internic.net/domain/named.cache and copying it to 
 /var/named/etc/root.hints.
 
 I Just thought I would post that in case anyone else has/had the same issue.
 
 Cheers, Jamie

The hints file was updated 10 days ago within the -current src tree.

That is more so a warning than an error and your name server will work
fine even without the most up to date hints file.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: ImageMagick and perl

2013-01-13 Thread Brad Smith
On Sun, Jan 13, 2013 at 11:54:05AM +, Stuart Henderson wrote:
 It doesn't need to actually be built with support for threads, just to
 be linked with -lpthread.

It doesn't but there is no point putting the effort in and not doing so.
I have run into a few Perl projects over the years that do require it.

  Once perl is built with thread support you won't need this workaround.
  I'm not sure when this will be done though. Someone was working on this some
  time ago but I don't know how far that effort did go.
 
 Actual threaded perl support had issues on some arch.

There were some issues with rthreads which threaded Perl exposed on
alpha but that was fixed awhile ago. AFAIK all of the other archs
were fine as is. Its about time this is fixed because this is just
getting ridiculous.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: Unused swap

2013-01-12 Thread Brad Smith
- Original message -
 http://www.openbsd.org/cgi-bin/cvsweb/src/etc/login.conf.in
 http://www.openbsd.org/cgi-bin/cvsweb/src/etc/mklogin.conf
 http://www.openbsd.org/cgi-bin/man.cgi?query=login.confsektion=5
 
 plus, last i checked, firefox was not even 64-bit friendly anyways

You're probably thinking of Windows and even there that isn't true. Ever other 
major OS FF runs on which has 64-bit support FF has been running on for years 
without issue.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: openBSD 5.2 amd64 on lenovo x201s

2013-01-04 Thread Brad Smith
- Original message -
 El Fri, 4 Jan 2013 08:08:24 +0100
 Tomas Bodzar tomas.bod...@gmail.com escribió:
 
  On Thu, Jan 3, 2013 at 8:15 PM, Andriy Samsonyuk
  andriy.samson...@ch.tum.de wrote:
   On Thu, Jan 03, 2013 at 06:40:39PM +0100, Jes wrote:
And probably no power on usb ports after resume, like my T410.
   have not checked yet
   
   Do i understand it correctly, that there is no chance of it
   running properly until the CEO of Intel want to improve his
   karma?
  
  You need to run current with latest HW. Not release/stable.
  
   
 
 
 IMHO OpenBSD is pretty usable in a laptop, old or modern.

On the GPU side of things its pretty bad if not non existent for modern systems.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



  1   2   >