def | 26 Jul 09:27 2014

Re[3]: Broadcom BCM5709 and ­BCM57711 driver features

Change in max_std_mtu of if_bnxreg to 9000 (and appropriate max eth mtu to 9018, etc) didnt make mtu to be
allowed higher than 1500 via ifconfig (invalid argument error). Moreover max hw mtu is still displayed as
1500 in ifconfig bnx hwfeatures.

Maybe i missed something?


Птн 25 Июл 2014 14:43:30 +0400, def <dstr <at> fromru.com> написал:
> ok doing 'make' for bnx mtu right now.
> I knew that its configurable via rebuild, but if standard max value was not set by 5.5, does it mean that it
can be turn on safely for kernel or for hw tx/rx rings, memory pages, etc..?
> 
> I have some time before install the box to production, so i can try 57711 a little.
> As i understood it will be done in 5.6 as stable driver?
> 
> Птн 25 Июл 2014 10:53:34 +0400, David Gwynne <david <at> gwynne.id.au> написал:
> > On 24 Jul 2014, at 19:37, def <dstr <at> fromru.com> wrote:
> > 
> > > Hi!
> > > 
> > > Currently using 5.5-stable and It seems (as per hwfeatures) that driver for BCM 5709 (1GE dual port
adapter) 
> > > doesnt support jumbo frames at all which is critical for activation mpls on bnx.
> > > The card supports jumbo itself.
> > > Return invalid argument when trying to setup jumbo via ifconfig.
> > > is there an way to reach the high mtu values?
> > 
> > yes. from memory it just required the use of vi and make.
> > 
> > > Also, simple question - is the driver for Broadcom 10GE dual port adapter BCM 57711 availiable ?
(Continue reading)

Gordon Turner | 27 Jul 22:58 2014
Picon

Re: l2tp / ipsec follow up

On 2014-07-27 18:04, Stefan Sieg wrote:
> On 27.07.2014 13:46, Gordon Turner wrote:
>> On 2014-07-27 08:06, Stefan Sieg wrote:
>> >On 26.07.2014 17:34, Gordon Turner wrote:
> 
> and you need a route to 10.0.0.0/24 for the hosts in your
> 192.168.2.0/24 network.
> Without that route your hosts in your LAN have no idea how to reach
> 10.0.0.0/24. This is needed because your VPN is not terminated on your
> default gateway.
> If the address of your OpenBSD box is assigned by dhcp, then you should 
> change
> that to static and use this as the gateway to 10.0.0.0/24.

The OpenBSD ip (192.168.2.232) is statically assigned by the dhcp 
server.

I added a static route to my router / firewall:
Destination: 10.0.0.0
Gateway:     192.168.2.232
Subnet Mask: 255.255.255.0

But testing with an iOS device that doesn't seem to be enough.

Do I have to add routing on the OpenBSD box?

> If this is your whole config then actually everything is allowed,
> you might want to change that ... the pf faq is really good.

Yeah, definitely, once I get the routing sorted.
(Continue reading)

Jan Stary | 27 Jul 20:28 2014
Picon

Re: 5.6-beta graphics on MacMini

This is 5.6-beta on a MacMini (see dmesg bellow).
Once OpenBSD boots, it works fine, but the Radeon graphics
radeondrm0 at pci0 dev 16 function 0 "ATI Radeon 9200" rev 0x01
gets the GPU acceleration disabled. Indeed, when playing a movie
with mplayer the image lags behind the sound and is visibly
"jumping" from frame to frame.

I remember these problems were not there back in 5.4
which had appeagp(4). Is there any way of getting the
GPU acceleration back?

	Thank you

		Jan

[ using 560188 bytes of bsd ELF symbol table ]
console out [ATY,RockHopper2_A]console in [keyboard] , using USB
using parent ATY,RockHopper2Paren:: memaddr 98000000 size 8000000, : consaddr 9c008000, : ioaddr
90020000, size 20000: width 1280 linebytes 1280 height 1024 depth 8
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2014 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 5.6-beta (GENERIC) #157: Fri Jul 25 14:56:58 MDT 2014
    deraadt <at> macppc.openbsd.org:/usr/src/sys/arch/macppc/compile/GENERIC
real mem = 1073741824 (1024MB)
avail mem = 1030475776 (982MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root: model PowerMac10,2
(Continue reading)

Jan Stary | 27 Jul 20:22 2014
Picon

booting 5.6-beta on MacMini

This is an upgrade to 5.6-beta on a MacMini (see dmesg bellow).
It gets through the OpenFirmware stage fine, even automatically,
after I specified

	setenv auto-boot? true
	setenv boot-device hd:,ofwboot
	reset-all

Then:

>> OpenBSD/macppc BOOT 1.3
/pci <at> f4000000/ata-6 <at> d/disk <at> 1:/etc/boot.conf: line too long

It seems that BOOT attempts to load /bsd from 'disk <at> 1'.
That's not the disk, that's the CD (says devalias).
Strangely, the CD is not present in the dmesg.

The disk is 'disk <at> 0'. Once I specify

	boot hd:/bsd

on the boot> prompt, it boots just fine, recognizing
bootpath: /pci <at> f4000000/ata-6 <at> d/disk <at> 0:/bsd

I remember having a similar problem with this machine in the past.
In the meantime I disassemled and reassemled the machine (to get
the bwi out, unrelated); possibly I connected the CD wrong.
But anyway, the BOOT seems to be confused about what the disk is.
How can I help debug this?

(Continue reading)

Gordon Turner | 27 Jul 19:46 2014
Picon

Re: l2tp / ipsec follow up

On 2014-07-27 08:06, Stefan Sieg wrote:
> On 26.07.2014 17:34, Gordon Turner wrote:
>> But any attempt to reach the 192.168.2.0/24 network fails.
> 
> did you set the route on your clients accordingly, so that they know 
> how to reach that network?

After connecting the VPN, I tried adding different routes on the client:

/sbin/route add 192.168.2.0/24 10.0.0.186

and when that didn't work I rebooted, connected the VPN and tried:

/sbin/route add 192.168.2.0/24 10.0.0.1

I admit that I have never needed to add routes before so I am starting 
from scratch here.

I also check the 'Send all traffic over VPN connection', but if I 
understand things correctly, the traffic gets to 10.0.0.1 and has no 
where to go.

>> pass in quick on egress proto udp from any to any port {500, 4500, 
>> 1701} keep state
> 
> You don't need to forward l2tp on your router, it is encapsulated in 
> ipsec.
> 
>> pass quick proto { esp, ah } from any to any
> 
(Continue reading)

Edward | 26 Jul 13:41 2014
Picon

[Patch] CVS on Web broken link in FAQ 8

Hi,

While browsing for mg editor tutorial[1] from www.openbsd.org, stumble
on broken link to it in FAQ 8. A random check on cvsweb related target
link, is broken as well. Below is a patch for fixing all the links in
faq8.html. 

If this looks good, I'll send in more patch (particularly on FAQ 5,9,10
and 11) as I'm not too sure whether there's something going on behind
the scene (change of web setup?) that causes this or it has broken for a
while.

Ok?

Regards,
Edward.

[1]http://openbsd.cs.toronto.edu/cgi-bin/cvsweb/~checkout~/src/usr.bin/mg/tutorial?rev=HEAD

Index: faq8.html
===================================================================
RCS file: /cvs/www/faq/faq8.html,v
retrieving revision 1.253
diff -u -p -r1.253 faq8.html
--- faq8.html	3 Jun 2014 11:11:20 -0000	1.253
+++ faq8.html	26 Jul 2014 11:24:09 -0000
 <at>  <at>  -250,7 +250,7  <at>  <at>  feel free to <a href="../report.html">re

 <tr valign="top">
 <td>
(Continue reading)

Fung | 26 Jul 11:38 2014

fdisk fuction in bsd.rd

http://www.openbsd.org/faq/faq4.html#Morefdisk

uh-oh! What's our offset? Simple -- the offset of the previous partition plus the size of the partition, in
this case, 63+10490382 = 10490445.

offset: [0] 10490445
size: [0] *
fdisk:*1>

in this situation, default offset = 0  , may this fuction change to auto caculate the default to 10490445 ?
just like
offset: [10490445]

Todd Zimmermann | 26 Jul 10:04 2014
Picon

unbound on ~ last 2-3 snapshots - i386

Have name resolution failure after an upgrade ( rebooting into the the
new system) on my crusty i386 server. A # kill -9 'unbound pid' plus
starting unbound from rc.d after and everything is fine. Might have
been going on for awhile, but usually it works itself out.

-- Z

emigrant | 25 Jul 20:02 2014
Picon

MinnowBoard MAX

new toy for OpenBSD? ;) ->  http://www.minnowboard.org/meet-minnowboard-max/

frantisek holop | 25 Jul 17:40 2014

openbsd and chromebooks

has anyone tried any of the existing chromebooks?
any dmesgs?

http://en.wikipedia.org/wiki/Chromebook#Chromebook_models

-f
--

-- 
tap here >>> <<< with hammer for a new monitor.

motty cruz | 25 Jul 17:17 2014
Picon

reload isakmpd

Hello, how to reload configuration without restarting isakmpd?

Thanks,


Gmane