Stuart Henderson | 13 Feb 21:45 2016
Gravatar

Re: Kernel panic during installation

On 2016-02-12, Donald Allen <donaldcallen <at> gmail.com> wrote:
> On Fri, Feb 12, 2016 at 3:42 PM, Stefan Sperling <stsp <at> stsp.name> wrote:
>
>> On Fri, Feb 12, 2016 at 03:03:46PM -0500, Donald Allen wrote:
>> > I just used this exchange as an example to a friend who buys everything
>> > Apple and then complains when their software is buggy. This is a perfect
>> > example of how a direct negative feedback path makes software converge
>> > quickly to correctness, something you don't get with the big proprietary
>> > players like Apple, Microsoft, etc.
>>
>> That's correct, and it's why we're all here.
>>
>> Make sure your friend understands that we're not trying to provide a
>> drop-in replacement for Apple, to avoid potential disappointment ;-)
>>
>
> Now *I'm* disappointed. I was looking forward to the OpenBSD equivalent of
> Siri, which I expected would be called Theo. Can you imagine the response
> to "Theo -- where is the nearest good pizza place?".

mg
(esc) x theo

Michal Mazurek | 13 Feb 20:32 2016
Picon

"Abort trap" when pledge()d and compiled with -pg

When compiling a program that calls pledge(2) with "-pg" the resulting
binary will execute seemingly fine, but at the very end die with:
	Abort trap (core dumped)
I think the problem lies in a call to profil(2).

Is this a bug or a feature?

--

-- 
Michal Mazurek

Tinker | 13 Feb 19:06 2016

Buffer cache made to use >32bit mem addresses (i.e. >~3GB support for the buffer cache) nowadays or planned soon?

Hi,

Some quite deep reading [1] taught me that at least quite recently, 
there was a ~3GB cap on the buffer cache, independent of architecture 
and system RAM size.

Reading the source history of vfs_bio.c [2] gives me a vague impression 
that this cap is there also today.

Just wanted to check, has this cap been removed, or is there any plan to 
remove it next months from now?

Thanks,
Tinker

(Sorry for the spam, hope it serves some constructive purpose.)

[1]:
  *

http://unix.stackexchange.com/questions/61459/does-sysctl-kern-bufcachepercent-not-work-in-openbsd-5-2-above-1-7gb 
mentions:
    "... the buffer cache being restricted to 32bit DMA memory ...
    http://www.openbsd.org/cgi-bin/cvsweb/src/sys/kern/vfs_bio.c
    http://marc.info/?l=openbsd-tech&m=130174663714841&w=2 "

  * Ted mentions:
    "One hopeful change is to finally add support for highmem on amd64 
systems."
    http://undeadly.org/cgi?action=article&sid=20140908113732
(Continue reading)

Tinker | 13 Feb 17:50 2016

Will Softraid RAID1 read from the fastest mirror/-s / supports user-specified device read priority order, nowadays? Takes broken disk out of use?

Hi,

1)
http://www.openbsd.org/papers/asiabsdcon2010_softraid/softraid.pdf page 
3 "2.2 RAID 1" says that it reads "on a round-robin basis from all 
active chunks", i.e. read operations are spread evenly across disks.

Since then did anyone implement selective reading based on experienced 
read operation time, or a user-specified device read priority order?

That would allow Softraid RAID1 based on 1 SSD mirror + 1 SSD mirror + 1 
HDD mirror, which would give the best combination of IO performance and 
data security OpenBSD would offer today.

2)
Also if there's a read/write failure (or excessive time consumption for 
a single operation, say 15 seconds), will Softraid RAID1 learn to take 
the broken disk out of use?

Thanks,
Tinker

Tinker | 13 Feb 17:47 2016

How extensive OpenBSD's write caching (for softdep or async-mounted UFS, as long as I never fsync() )?

Hi,

How much of my file writing, and filesystem operations such as creating 
a new file/directory, will land in OpenBSD's disk/write cache without 
touching the disk before return of the respective operation to my 
program, for softdep or async UFS media and I never fsync() ?

This is relevant to know for any usecase where there may be a big write 
load to a magnet disk *and* there's lots of RAM and "sysctl 
kern.bufcachepercent" is high.

If those ops will be done in a way that is synchronous with the magnet 
disk, the actual fopen(), fwrite(), fread() (for re-read of the data 
that's been written but still only is in the OS RAM CACHE) etc. might be 
so slow that a program would need to implement its own write cache for 
supporting even small spikes in write activity.

Sorry for the fuss but neither "man" nor googling taught me anything.

Thanks!!
Tinker

Alan Corey | 13 Feb 13:41 2016
Picon
Gravatar

Re: Daily digest, Issue 3715 (21 messages)

Re: dhcrelay: send_packet: No buffer space available

If it's easy to do try a different network card.  The only time I've
ever seen that error came from a urtwn card under OpenBSD 5.7 and
earlier.  But Stuart knows a lot more about it than I do.

On 2/13/16, owner-misc <at> openbsd.org <owner-misc <at> openbsd.org> wrote:
> The pre-dawn daily digest
> Volume 1 : Issue 3715 : "text" Format
>
> Messages in this Issue:
>   Re: Kernel panic during installation
>   Re: Kernel panic during installation
>   Re: Kernel panic during installation
>   Re: Kernel panic during installation
>   Re: Kernel panic during installation
>   Re: Kernel panic during installation
>   Re: Kernel panic during installation
>   OpenBGPd RTBH peer with match clause on community
>   Re: OpenBGPd RTBH peer with match clause on community
>   Re: OpenBGPd RTBH peer with match clause on community
>   Re: NVM Express (NVMe) support status
>   Re: Problems using squid as transparent proxy for SSL/TLS
>   Re: dhcrelay: send_packet: No buffer space available
>   Re: dhcrelay: send_packet: No buffer space available
>   Re: OpenBSD5.7, hangs on ppb6 "Intel 5000 PCIE" Dell poweredge 1950
>   how to mount a *dmg in -current
>   Re: how to mount a *dmg in -current
>   Re: how to mount a *dmg in -current
>   pfsync and table
(Continue reading)

Daniel Boyd | 12 Feb 23:13 2016

Re: sshfs man page, -o idmap=user

I am having this same issue.  I also tried adding the -d switch
to see if that would shed any light.

$ sshfs -d -o idmap=user ...
command-line line 0: Bad number.
remote host has disconnected

$ sshfs -d -o idmap=file,uidfile=myuidfile,gidfile=mygidfile ...
command-line line 0: Bad number.
remote host has disconnected

Any ideas?  I'm also running 5.8.

Thanks!
Daniel

sven falempin | 12 Feb 20:21 2016
Picon

pfsync and table

Hello All, Sunday is Valentine day

I know pfsync will sync the state between two routers, sasync and other
tools will help syncing other daemon,

Are pf table synced as well ? is it possible to ignore one table ?

Best.

--

-- 
---------------------------------------------------------------------------------------------------------------------
() ascii ribbon campaign - against html e-mail
/\

Andrew | 12 Feb 19:43 2016
Picon

how to mount a *dmg in -current

sh> file tws-stable-standalone-macosx-x64.dmg

tws-stable-standalone-macosx-x64.dmg: Macintosh HFS Extended version 4
data last mounted by: '10.0', created: Tue Feb  2 16:12:22 2016, last
modified: Tue Feb  2 22:12:22 20to 16, last backup: Tue Feb  2
22:12:22 2016, last checked: Tue Feb  2 22:12:22 2016, block size:
4096, number of blocks: 23105, free blocks: 0

--

FWIW: The old version of this software was simply a couple *jar files
that will work flawlessly on 5.7 doing nothing more than adding jdk*
from packages. This company repackaged the *jar files using install4j
into a *dmg image. I think they also customized java somehow and
included it in the *dmg. Now I'm supposed to "click on the icon" to
unpack everything.

Can I mount this *dmg using just -current -- or mount it by adding
something else from packages ??  Have I overlooked the obvious
solution ?? hfsplus does not work  An old marc thread mentioned
dmg2img but it is not in packages,

My current test setup is a GENERIC.MP #1847 amd64.

Thank you in advance for any suggestions.

Laurent CARON | 12 Feb 14:23 2016

OpenBGPd RTBH peer with match clause on community

Hi,

I'm trying to achieve the following:

I have a RTBH peer configured (router from my ISP I access over multihop).

Config is the following:

group "eBGP_RTBH_COGENT" {

         remote-as               174
         holdtime                30
         holdtime min            3
         announce                none
         set med                 325
         set localpref           50
         multihop                64

     neighbor    $COGENT_RTBH_PEER_IPv6  {
          descr                   ev6_gw-003_to_RTBH_COGENT
          local-address           $COGENT_MY_IPv6
          announce IPv4           none
          announce IPv6           none
     }

     neighbor    $COGENT_RTBH_PEER_IPv4  {
         descr                   ev4_gw-003_to_RTBH_COGENT
         local-address           $COGENT_MY_IPv4
         announce IPv4           none
         announce IPv6           none
(Continue reading)

Kapetanakis Giannis | 12 Feb 12:15 2016
Picon

dhcrelay: send_packet: No buffer space available

Hi,

I have a carped firewall which is using dhcrelay to forward dhcp 
requests to another carped dhcp server.
After upgrade to Feb  4 snapshot I'm seeing these in my logs:

Feb  8 21:00:04  dhcrelay: send_packet: No buffer space available
Feb  9 16:47:02  dhcrelay: send_packet: No buffer space available
Feb  9 18:43:50  dhcrelay: send_packet: No buffer space available
Feb 10 10:00:14  dhcrelay: send_packet: No buffer space available
Feb 10 12:34:02  dhcrelay: send_packet: No buffer space available
Feb 10 18:05:02  dhcrelay: send_packet: No buffer space available
Feb 10 20:19:02  dhcrelay: send_packet: No buffer space available
Feb 10 23:10:05  dhcrelay: send_packet: No buffer space available
Feb 11 23:30:09  dhcrelay: send_packet: No buffer space available
Feb 12 11:48:52  dhcrelay: send_packet: No buffer space available

Before I start pushing buttons I shouldn't, any recommendations?

Thanks,

G

# netstat -m

460 mbufs in use:
         450 mbufs allocated to data
         5 mbufs allocated to packet headers
         5 mbufs allocated to socket names and addresses
447/1968/6144 mbuf 2048 byte clusters in use (current/peak/max)
(Continue reading)


Gmane