couldn't find audio device

2020-04-24 Thread Damien Thiriet
Hi misc@, I am trying to make audio records from my web cam but cannot succeed in doing it. I read the FAQ, aucat(1), audioctl(1) and sndiod(8) man pages (but I certainly misunderstood them) and searched the mailing list. I think they are obvious things I simply don't understand, any help

Re: timegm()

2020-04-24 Thread Ingo Schwarze
Hi Todd, Todd C. Miller wrote on Wed, Apr 22, 2020 at 09:21:28PM -0600: > On Thu, 23 Apr 2020 04:21:42 +0200, Ingo Schwarze wrote: >> Calling timelocal(3) deprecated makes sense to me because it is >> nothing but a trivial wrapper around mktime(3), and the latter >> is standardized, while

Re: rc daemon_timeout

2020-04-24 Thread Thomas de Grivel
Le jeu. 23 avr. 2020 à 16:41, Antoine Jacoutot a écrit : > On Thu, Apr 23, 2020 at 02:34:20PM +0200, Thomas de Grivel wrote: > > I tried changing the following line in /etc/rc.d/rc.subr but the > > actual timeout remains 30 sec (from 'time'). > > > [ -z "${daemon_timeout}" ] &&

Re: _types.h: increase size of size_t

2020-04-24 Thread Anders Andersson
On Fri, Apr 24, 2020 at 4:47 AM Ian Sutton wrote: > > Following the revalations made by a misc@ poster, I am happy to present > the following patch which increases the width of size_t from "long" to > "long long", which is twice the width as before, on all platforms. This > has the effect of

Re: _types.h: increase size of size_t

2020-04-24 Thread Otto Moerbeek
On Thu, Apr 23, 2020 at 10:45:38PM -0400, Ian Sutton wrote: > Following the revalations made by a misc@ poster, I am happy to present > the following patch which increases the width of size_t from "long" to > "long long", which is twice the width as before, on all platforms. This > has the effect

Re: MIdnight Commander won't run

2020-04-24 Thread Stuart Henderson
Does pcretest start, or does it fail in the same way? Can you post output of "objdump -p /usr/local/lib/libpcre.so.3.0" please? I guess "ls -l /usr/local/lib" might give some clues too. On 2020/04/23 20:04, Jay Hart wrote: > Here is the output... > > Script started on Thu Apr 23 19:37:38 2020 >

Re: More than 16 partitions

2020-04-24 Thread Christian Weisgerber
On 2020-04-23, Ian Darwin wrote: > So: I was able to newfs, mount, and use an OpenBSD partition which > disklabel called 'a' and which had no trace of an fdisk partition around it. > > As Allan pointed out, this is not for booting from - none of those > fdisk partitions looks very healthy.

Re: OT: Qualcomm MDM

2020-04-24 Thread trubak
ref: https://marc.info/?l=openbsd-misc=158763262607487=4 indeed i minded the older model IK40 with the written name (instead of the ideogram) on it while the manufacturer's site provides info on the latter only. thank you very much for your time Sir! /tru

Re: Porting Jitsi to OpenBSD

2020-04-24 Thread Aisha Tammy
based af will do On 4/24/20 8:36 AM, Daniel Jakots wrote: > On Fri, 24 Apr 2020 08:25:51 -0400, Aisha Tammy > wrote: > >> Hey all, >> I'm hoping to port jitsi and wanted to know if anyone else is already >> working on a port so that I don't do work that might be unnecessary. > > > This kind

PPP connection terminated every 5 minutes

2020-04-24 Thread Jan Stary
This is current/amd64 on an APU2.E2. It is connected via pppoe over vlan over em as follows: $ cat /etc/hostname.em0 up $ cat /etc/hostname.vlan848 descr UVTNET vlan 848 vlandev em0 up $ cat /etc/hostname.pppoe0 inet 0.0.0.0 255.255.255.255 NONE pppoedev vlan848 \ authproto 'pap'

Re: MIdnight Commander won't run

2020-04-24 Thread Jay Hart
I did a "pkg_add -r pcre" and fixed the issue. mc is now running. Appeared libpcre.so.3.0 was corrupted. Thanks for the support! Jay > > On 2020/04/23 20:04, Jay Hart wrote: >> Here is the output... >> >> Script started on Thu Apr 23 19:37:38 2020 >> ld.so loading: 'mc' >> exe load offset:

Porting Jitsi to OpenBSD

2020-04-24 Thread Aisha Tammy
Hey all, I'm hoping to port jitsi and wanted to know if anyone else is already working on a port so that I don't do work that might be unnecessary. Cheers, Aisha

Re: couldn't find audio device

2020-04-24 Thread Paco Esteban
On Fri, 24 Apr 2020, Damien Thiriet wrote: > Hi misc@, > > > I am trying to make audio records from my web cam but > cannot succeed in doing it. > I read the FAQ, aucat(1), audioctl(1) and sndiod(8) man pages (but I > certainly misunderstood them) and searched the mailing list. > I think they

net.inet.ip.ifq missing

2020-04-24 Thread karlis . mikelsons
Hello, After upgrade to OpenBSD 6.6 I noticed that net.inet.ip.ifq sysctl metrics are no longer there. We used to monitor these values to see that our firewalls are performing properly. Is there any other way to find values of these counters? Quick search through release notes and mailing lists

Re: Porting Jitsi to OpenBSD

2020-04-24 Thread Daniel Jakots
On Fri, 24 Apr 2020 08:25:51 -0400, Aisha Tammy wrote: > Hey all, > I'm hoping to port jitsi and wanted to know if anyone else is already > working on a port so that I don't do work that might be unnecessary. This kind of email should go on ports@. Since misc@ has a very low SNR [1] don't

Re: couldn't find audio device

2020-04-24 Thread Alexandre Ratchov
On Fri, Apr 24, 2020 at 09:43:12AM +0200, Damien Thiriet wrote: > Hi misc@, > > > I am trying to make audio records from my web cam but > cannot succeed in doing it. > I read the FAQ, aucat(1), audioctl(1) and sndiod(8) man pages (but I > certainly misunderstood them) and searched the mailing

Re: _types.h: increase size of size_t

2020-04-24 Thread Stuart Henderson
On 2020-04-24, Otto Moerbeek wrote: > On Thu, Apr 23, 2020 at 10:45:38PM -0400, Ian Sutton wrote: > >> Following the revalations made by a misc@ poster, I am happy to present >> the following patch which increases the width of size_t from "long" to >> "long long", which is twice the width as

Re: More than 16 partitions

2020-04-24 Thread Theo de Raadt
Lars, Your email didn't contain a diff. Is there a reason for that? I'm wondering whether it is because it is too difficult for you, or maybe it is too difficult for everyone, or maybe you are simply talking out of your ass by trying to assign work to other people because that is your nature?

Re: More than 16 partitions

2020-04-24 Thread Allan Streib
Ingo Schwarze writes: > The limitation to 16 partitions definitely feels painful to me. Well, one pragmatic solution is to add another disk -- 16 more partitions. Not always possible, granted. Seems like one of those numbers that was chosen long ago, when disks had orders of magnitude less

Re: More than 16 partitions

2020-04-24 Thread Theo de Raadt
Allan Streib wrote: > Seems like one of those numbers that was chosen long ago, when disks > had orders of magnitude less storage capacity they have now, and 16 > partitions really would have been more than enough. the word "chosen" makes it seem like such an arbitrary decision. As currently

Re: PPP connection terminated every 5 minutes

2020-04-24 Thread Jan Stary
> Note the time seqence: > * when ifconfig says time 00:05:00, pings die > * after 20 seconds, a LCP Echo Request comes > * after another 10 seconds, another LCP Echo Request comes > * after another 10 seconds, another LCP Echo Request comes > * after another 10 seconds, a LCP Terminate Request

Re: More than 16 partitions

2020-04-24 Thread Ingo Schwarze
Hi Strahil, Strahil Nikolov wrote on Thu, Apr 23, 2020 at 11:16:41PM +0300: > And who the hell needs more than 16 partitions ? Me, and i'm quite sure many do. It's certainly not a good idea to combine any partitions that are separate in a default install because there are good reasons for all

Re: More than 16 partitions

2020-04-24 Thread Lars Schotte
HAMMER2 could be ported. There is much collaboration between OpenBSD and DragonflyBSD already (drivers for example). https://www.dragonflybsd.org/docs/handbook/environmentquickstart/#index3h2 On Thu, 2020-04-23 at 16:48 -0400, Eric Furman wrote: > ZFS cannot be ported to OBSD. It has an

Re: Comments in source code

2020-04-24 Thread flauenroth
Pretty much this. I am a huge supporter of "useful documentation" but over 90% of what I read either code, techbooks, manuals, the list goes on is written by people who don´t know how to do it properly. OpenBSDs code is clean though as far as I can judge. I read through the whole thing simply

Re: More than 16 partitions

2020-04-24 Thread Theo de Raadt
Allan Streib wrote: > Theo de Raadt writes: > > > Allan Streib wrote: > > > >> Seems like one of those numbers that was chosen long ago, when disks > >> had orders of magnitude less storage capacity they have now, and 16 > >> partitions really would have been more than enough. > > > > the

Re: More than 16 partitions

2020-04-24 Thread Mihai Popescu
A little bit of fun, slightly related to some of the discussion: [1] is something that comes into my mind each time i read some of the emails [2] is coming next [1] https://www.youtube.com/watch?v=nlt5Wa13fFU [2] https://www.youtube.com/watch?v=zIV4poUZAQo

Re: More than 16 partitions

2020-04-24 Thread Allan Streib
Theo de Raadt writes: > Allan Streib wrote: > >> Seems like one of those numbers that was chosen long ago, when disks >> had orders of magnitude less storage capacity they have now, and 16 >> partitions really would have been more than enough. > > the word "chosen" makes it seem like such an

Re: More than 16 partitions

2020-04-24 Thread j
Ingo Schwarze wrote: The limitation to 16 partitions definitely feels painful to me. There is softraid(4). The only discipline that supports a single chunk is crypto. Make a couple of OpenBSD RAID partitions, set them up as crypto, partition those new crypto pseudo-devices, up to 16

Re: More than 16 partitions

2020-04-24 Thread Allan Streib
Theo de Raadt writes: > OpenBSD has apparently become popular amongst people who can't think > and connect "real world constraints" and "reality" with "no alternative > decision was possible". This is very common amongst people who won't > lift their finger. I'm not the one complaining about

Re: More than 16 partitions

2020-04-24 Thread Strahil Nikolov
On April 25, 2020 4:09:53 AM GMT+03:00, Theo de Raadt wrote: >Allan Streib wrote: > >> Theo de Raadt writes: >> >> > OpenBSD has apparently become popular amongst people who can't >think >> > and connect "real world constraints" and "reality" with "no >alternative >> > decision was possible".

Re: More than 16 partitions

2020-04-24 Thread Theo de Raadt
Strahil Nikolov wrote: > On April 25, 2020 4:09:53 AM GMT+03:00, Theo de Raadt > wrote: > >Allan Streib wrote: > > > >> Theo de Raadt writes: > >> > >> > OpenBSD has apparently become popular amongst people who can't > >think > >> > and connect "real world constraints" and "reality" with

Re: More than 16 partitions

2020-04-24 Thread Allan Streib
Theo de Raadt writes: > Reality hasn't changed. A sector is still 512 bytes, and > disklabel has to fit in it. OK. Allan

Re: More than 16 partitions

2020-04-24 Thread Theo de Raadt
Allan Streib wrote: > Theo de Raadt writes: > > > OpenBSD has apparently become popular amongst people who can't think > > and connect "real world constraints" and "reality" with "no alternative > > decision was possible". This is very common amongst people who won't > > lift their finger. >

Re: More than 16 partitions

2020-04-24 Thread Amelia A Lewis
I have a dread sense that I'm going to regret asking questions, but I'm going to do it anyway, because hey, what the hell, I can always drink bleach. On Fri, 24 Apr 2020 19:09:53 -0600, Theo de Raadt wrote: [snip] > > Reality hasn't changed. A sector is still 512 bytes, and > disklabel has to

Re: More than 16 partitions

2020-04-24 Thread Theo de Raadt
Amelia A Lewis wrote: > So, and I recognize that the answer might reasonably be "go read more > code and figure it out yourself," a question for Theo and others if you > have a moment: why couldn't an arch expand past sixteen? It seems, both > from the math calculating struct size (which may