Re: disklabel and df -h don't show same size

2024-03-03 Thread Otto Moerbeek
On Sun, Mar 03, 2024 at 11:48:01AM -, beecdadd...@danwin1210.de wrote: > > disklabel -h sd3 shows this > > # /dev/rsd3c: > type: SCSI > disk: SCSI disk > label: SR CRYPTO > duid: some-number > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 255 > sectors/cylinder: 16065 > c

Re: disklabel and df -h don't show same size

2024-03-03 Thread Otto Moerbeek
g newfs from the start). -Otto > > On Sun, March 3, 2024 11:57 am, Otto Moerbeek wrote: > > On Sun, Mar 03, 2024 at 11:48:01AM -, beecdadd...@danwin1210.de > > wrote: > > > > > >> > >> disklabel -h sd3 shows this > >> > >> # /dev/

Re: disklabel and df -h don't show same size

2024-03-03 Thread Otto Moerbeek
On Sun, Mar 03, 2024 at 12:14:14PM -, beecdadd...@danwin1210.de wrote: > On Sun, March 3, 2024 12:07 pm, Otto Moerbeek wrote: > > On Sun, Mar 03, 2024 at 12:01:12PM -, beecdadd...@danwin1210.de > > wrote: > > > > > >> oh okay reserved for root? I ran

Re: unbound signature expired

2024-03-21 Thread Otto Moerbeek
On Mon, Mar 18, 2024 at 08:04:38PM +0100, Evan Sherwood wrote: > > Wild guess, your time is off. > > Huh, I think you're right. `date` shows me 7 hours ahead of my timezone. > > I restarted ntpd and I see no errors in /var/log/daemon, but the time is > still off. I should be 1200 PDT but it's s

Re: need help to access my machine after upgrade -- system immediately logs me out

2024-04-02 Thread Otto Moerbeek
On Wed, Apr 03, 2024 at 12:45:33AM +0530, Sandeep Gupta wrote: > Thank you for all the inputs. This is so useful. I am able to at least > access the file system and rescue the data. > However, I'm not able to restore the system yet. The command "pkg_add -u" > runs into "out of memory error". > ul

Re: Ping blocked by firewall

2024-04-09 Thread Otto Moerbeek
On Tue, Apr 09, 2024 at 10:52:45AM +0200, Karel Lucas wrote: > I defined the table as stated in your book (3rd edition, page 42). However, > that gives an error message. In the lines with that table: macro 'martians' > not defined. Moreover, I now also have a Syntax error in lines 38, 39 and > 46,

Re: newfs fast, but newfs_msdos and newfs_ext2fs very slow

2024-04-10 Thread Otto Moerbeek
On Wed, Apr 10, 2024 at 08:31:26AM -, Stuart Henderson wrote: > On 2024-04-09, Stanislav Syekirin > wrote: > > Hi, > > > > I'm trying to figure out the best way to format a USB stick as FAT32. > > This is what I've tried: > > > > $ time doas newfs_msdos /dev/rsd1c > > /dev/rsd1c: 60007944 s

Re: Upgraded to 7.5: vfs.ffs.dirhash_dirsize no longer exists and large directory ere veeery slow

2024-04-11 Thread Otto Moerbeek
On Thu, Apr 11, 2024 at 04:15:19PM +0200, Claudio Jeker wrote: > On Thu, Apr 11, 2024 at 03:36:29PM +0200, Federico Giannici wrote: > > On 4/11/24 14:12, Nick Holland wrote: > > > On 4/11/24 05:47, Federico Giannici wrote: > > > > We have a server with A LOT of files in some directories (an email

Re: Upgraded to 7.5: vfs.ffs.dirhash_dirsize no longer exists and large directory ere veeery slow

2024-04-11 Thread Otto Moerbeek
On Thu, Apr 11, 2024 at 05:08:01PM +0200, Federico Giannici wrote: > On 4/11/24 16:15, Claudio Jeker wrote: > > On Thu, Apr 11, 2024 at 03:36:29PM +0200, Federico Giannici wrote: > > > On 4/11/24 14:12, Nick Holland wrote: > > > > On 4/11/24 05:47, Federico Giannici wrote: > > > > > We have a serv

Re: Upgraded to 7.5: vfs.ffs.dirhash_dirsize no longer exists and large directory ere veeery slow

2024-04-11 Thread Otto Moerbeek
On Thu, Apr 11, 2024 at 05:20:24PM +0200, Otto Moerbeek wrote: > On Thu, Apr 11, 2024 at 05:08:01PM +0200, Federico Giannici wrote: > > > On 4/11/24 16:15, Claudio Jeker wrote: > > > On Thu, Apr 11, 2024 at 03:36:29PM +0200, Federico Giannici wrote: > > > > On

Re: Upgraded to 7.5: vfs.ffs.dirhash_dirsize no longer exists and large directory ere veeery slow

2024-04-11 Thread Otto Moerbeek
On Thu, Apr 11, 2024 at 05:29:14PM +0200, Otto Moerbeek wrote: > On Thu, Apr 11, 2024 at 05:20:24PM +0200, Otto Moerbeek wrote: > > > On Thu, Apr 11, 2024 at 05:08:01PM +0200, Federico Giannici wrote: > > > > > On 4/11/24 16:15, Claudio Jeker wrote: > > >

Re: Upgraded to 7.5: vfs.ffs.dirhash_dirsize no longer exists and large directory ere veeery slow

2024-04-12 Thread Otto Moerbeek
On Fri, Apr 12, 2024 at 12:21:43PM +0200, Dan wrote: > > Really, I fear this value is due to a wrong tweak.. Fear is a bad advisor. If you look at man 3 sysctl, you'll see what vfs.ffs.dirhash_mem means: FFS_DIRHASH_MEM (vfs.ffs.dirhash_mem) The amou

Re: errors rebuilding binaries after sysupgrade to 7.5

2024-04-22 Thread Otto Moerbeek
On Mon, Apr 22, 2024 at 10:09:51PM +0100, Steve Fairhead wrote: > Hi folks, > > (Apologies if this is a dupe. Looks to me like this didn't originally get > far.) > > Pretty sure this is pilot error, so please be gentle. > > I sysupgraded 3 machines (all different) to 7.5; no problems. I then >

Re: maximum file system size

2024-04-25 Thread Otto Moerbeek
On Thu, Apr 25, 2024 at 07:26:41AM +0200, Peter J. Philipp wrote: > On Thu, Apr 25, 2024 at 12:45:29AM -0300, Gustavo Rios wrote: > > Hi folks! > > > > What is the maximum file size in OpenBSD ? > > > > Thanks a lot. > > > > -- > > The lion and the tiger may be more powerful, but the wolves do

Re: Named: max open files (7030) is smaller than max sockets (21000)

2022-09-22 Thread Otto Moerbeek
kern.maxfiles is a system wide max. openfiles is per user. Increase system wide limnit by puttting kern.maxfiles= in /etc/sysctl.conf -Otto On Thu, Sep 22, 2022 at 12:37:51PM +, Mik J wrote: > Hello, > When I restart ISC Bind I get this messagenamed[95122]: max open files (70

Re: Named: max open files (7030) is smaller than max sockets (21000)

2022-09-22 Thread Otto Moerbeek
t looks at the system value (kern.maxfiles)Yes > I do have kern.maxfiles=7030 on my system > > > Le jeudi 22 septembre 2022 à 14:53:51 UTC+2, Otto Moerbeek > a écrit : > > kern.maxfiles is a system wide max. openfiles is per user. > > Increase system wide li

Re: using netstat without terminal

2022-10-22 Thread Otto Moerbeek
On Sat, Oct 22, 2022 at 08:30:47AM +0200, Harald Dunkel wrote: > Hi folks, > > would it be possible to fix netstat for 7.3 wrt the assumed screen size, > even if there is no terminal involved? Something like > > netstat -f inet6 -ln > should not be restricted to 80 columns output, making

Re: Syncthing permissions question

2022-10-26 Thread Otto Moerbeek
On Wed, Oct 26, 2022 at 10:38:04PM -0400, Jag Talon wrote: > Hello, > > I'm new to OpenBSD and I'm unfamiliar with permissions in general so I'm a > little lost. I installed syncthing, and it creates the default folder in > /var/syncthing/Sync which is owned by _syncthing and has the group > _syn

Re: Slight Confusion with ntpd(8)

2022-11-05 Thread Otto Moerbeek
On Sun, Nov 06, 2022 at 05:12:12AM +, indivC wrote: > I'm a little confused with the man page for ntpd. > > For the '-n' flag, it says: > 'Configtest mode. Only check the configuration file for validity.'. > I have no problem with this and understand it. > > However, the section below that

Re: Slight Confusion with ntpd(8)

2022-11-06 Thread Otto Moerbeek
On Sun, Nov 06, 2022 at 07:00:19AM +, Jason McIntyre wrote: > On Sun, Nov 06, 2022 at 07:48:39AM +0100, Otto Moerbeek wrote: > > On Sun, Nov 06, 2022 at 05:12:12AM +, indivC wrote: > > > > > I'm a little confused with the man page for ntpd. > >

Re: ntp(d) on Boot Behavior

2022-11-06 Thread Otto Moerbeek
On Sun, Nov 06, 2022 at 05:06:57PM +, indivC wrote: > The ntpd man page says the following: > 'ntpd will stay for a maximum of 15 seconds in the foreground > and make efforts to verify and correct the time > if constraints are configured and satisfied or > if trusted servers or sensors return

Re: Opensearch can't start if memory is ore than 4g

2022-11-22 Thread Otto Moerbeek
On Tue, Nov 22, 2022 at 09:31:19PM +, Mik J wrote: > i'm not sure I understand because I did write:datasize=8192M:\ > However > ...-Xms3g > -Xmx3g > Works > /etc/opensearch/jvm.options...-Xms4g > -Xmx4g > Doesn't work (mistake in my first message I mean't it doesn't work) > In login.conf I h

Re: How to set up a data disk of 4TB?

2022-12-09 Thread Otto Moerbeek
On Fri, Dec 09, 2022 at 04:19:49PM +, James Johnson wrote: > Hi all, > > I have installed an internal hard drive of 4TB. This drive will be used for > storing data only. It will not contain the OpenBSD system itself. > > Knowing the limitations of MBR, I have opted for a GPT partitioning sy

Re: pf tcpdump rule def ?

2022-12-26 Thread Otto Moerbeek
On Tue, Dec 27, 2022 at 04:23:13AM +, Shadrock Uhuru wrote: > hi everyone > viewing my pf logs with > tcpdump -nettt -i pflog0 there are lines with no rule numbers > just rule def on the line instead, > i've tried googling without success, > need to know if they are wolf,sheep or misconfigurat

Re: fsck UNREF FILE

2023-01-02 Thread Otto Moerbeek
On Mon, Jan 02, 2023 at 05:53:25PM -0800, Randall wrote: > After my OpenBSD 7.2 box lost power, bootup halted when rc ran fsck which > reported problems with inodes. At the root prompt, I ran fsck and answered > 'y' to each prompt. Now, in normal mode, running fsck reports a few > unreferenced fil

Re: Is CRONTAB(5) random really random ?

2023-01-05 Thread Otto Moerbeek
On Fri, Jan 06, 2023 at 12:58:48AM +0100, Rachel Roch wrote: > > > > 5 Jan 2023, 18:24 by purushar...@gmx.com: > > > Namaste Rachel, Theo(s), > > > >> Sent: Thursday, January 05, 2023 at 5:50 PM > >> From: "Theo de Raadt" > >> To: "Theo Buehler" > >> Cc: "Rachel Roch" , "Misc" > >> Subject:

Re: chmod change means dump(8) the file

2023-01-25 Thread Otto Moerbeek
On Thu, Jan 26, 2023 at 12:18:45AM +0100, Jan Stary wrote: > I have a large /media disk that I backup nightly using dump(8): > full level 0 on the Sun/Mon night, incrementals through the week. > The level 0 dump is huge, the incrementals are usualy trivial > unless I add something to /media. > >

Re: Unbound fails to resolve some domains

2023-01-26 Thread Otto Moerbeek
On Fri, Jan 27, 2023 at 01:26:10AM +, Rodrigo Readi wrote: > It still happens. But when I kill unbound and start it again, then > resolves domains that previously did not resolve. > > BTW, I am using Wifi with weak signal. Perhaps this plays a role? > > Rod. > > > 2023-01-11 20:06 GMT, Rod

Re: hw.ncpuonline

2023-01-31 Thread Otto Moerbeek
On Wed, Feb 01, 2023 at 07:35:16AM +0100, Janne Johansson wrote: > Den ons 1 feb. 2023 kl 03:08 skrev Justin Muir : > > I've got an AMD A10 with 4 cores and only 2 are online. I'm not sure how to > > enable the other 2. > > > > hw.ncpufound=4 btw > > Any ideas out there? > > OpenBSD disables hype

Re: permission denied when writing to mounted directory exported by NFS server

2023-02-08 Thread Otto Moerbeek
On Thu, Feb 09, 2023 at 11:41:12AM +0530, Sandeep Gupta wrote: > Following up on this. I looked into the /var/log/messages/ and > /var/log/daemon. Both are quite after starting the portmap, mountd, and > nfsd services. > > Here is verbose output from the client side when mounting the share: > ```

Re: permission denied when writing to mounted directory exported by NFS server

2023-02-10 Thread Otto Moerbeek
On Fri, Feb 10, 2023 at 09:10:55AM +0100, carsten.re...@t-online.de wrote: > On Fri, Feb 10, 2023 at 12:58:21PM +0530, Sandeep Gupta wrote: > > On test setup I got this fixed. I will try to see if it works on actual > > system. > > > > I made following changes: > > - modified /etc/exports entry >

Re: Taring a "posix problemozauro"..

2023-02-10 Thread Otto Moerbeek
On Fri, Feb 10, 2023 at 11:24:55AM +0100, Peter N. M. Hansteen wrote: > On Fri, Feb 10, 2023 at 11:12:44AM +0100, Daniele Bonini wrote: > > > > But when it is matter to deliver things from OpenBSD eg. to other > > live destination taring the same stuff I get the following error: > > > > tar: Fil

Re: Performance optimizing OpenBSD 7.2

2023-02-15 Thread Otto Moerbeek
On Tue, Feb 14, 2023 at 11:04:57PM +0100, Lars Bonnesen wrote: > What can be done to optimize obsd 7.2 running on top of ESXi 7 with > > 7 vmx "phys" ifs > 3 em "phys" ifs > 22 virtual ifs > > Very simply pf ruleset - the box is only running VPN solution between two > sites up against a similar

Re: Weird clang behavior

2023-03-02 Thread Otto Moerbeek
On Thu, Mar 02, 2023 at 12:00:18PM +, Ali Farzanrad wrote: > Hi, > > Is it normal to have such behavior? > > $ cat loop.c > int > main(void) > { > for (;;) > ; > } > $ clang -O1 -Wall -Wextra -S -o loop.c.s loop.c > $ clang++ -O1 -Wall -Wextra -S -o loop.cxx.s loop.c > cl

malloc leak detection available in -current

2023-04-17 Thread Otto Moerbeek
If you're developing C or C++ code on OpenBSD, this might be of interest: https://marc.info/?l=openbsd-tech&m=168171382927798&w=2 -Otto

Re: dhcpleased losing route

2023-05-09 Thread Otto Moerbeek
On Wed, May 10, 2023 at 01:17:05PM +1000, David Diggles wrote: > > Just to update, I've added the following to dhclient.conf but > it's still renewing every 5 minutes (approximately) and the > default route is disappearing for a couple of seconds. :( > > send dhcp-lease-time 86400; dhcpleased d

Re: dhcpleased losing route

2023-05-10 Thread Otto Moerbeek
al. > > > > You could try running dhcpleased manually like this to see details about > > what is going on: > > # dhcpleased -vv -d > > > > (But you???d need to stop the processes started by rc(8) first. E.g.: `# > > rcctl stop dhcpleased`. Don???t forge

Re: OpenBSD Hackathons

2023-05-12 Thread Otto Moerbeek
On Sat, May 13, 2023 at 09:18:45AM +1000, David wrote: > On Fri, 2023-05-12 at 22:07 +0200, Anders Andersson wrote: > > On Fri, May 12, 2023 at 9:39 PM Katherine Mcmillan > > wrote: > > > > > > Hi Stuart, > > > > > > Thank you for your response.  The upcoming OpenBSD Hackathons > > > aren't pub

Re: Pkg_add Python version and LibreSSL seem to be incompatible in OpenBSD 7.3

2023-05-14 Thread Otto Moerbeek
On Sun, May 14, 2023 at 12:25:28PM -0400, Judah Kocher wrote: > After updating one of my routers to OpenBSD 7.3, my python scripts that > update various public DNS records when my public IP changes started failing > with generic segfaults. I did see the note in the OpenBSD Upgrade Guide > about 3.

Re: NFS mounted but shows nothing even df -h has it

2023-05-31 Thread Otto Moerbeek
On Wed, May 31, 2023 at 05:25:07PM +0800, Jazzi Hong wrote: > You made the point, thank you Maksim. > > I checked /mnt/hdd and nothing there. > > > # cat /etc/fstab > 1593ab2ee369c420.b none swap sw > 1593ab2ee369c420.a / ffs rw 1 1 > 1593ab2ee369c420.e /var ffs rw,nodev,nosuid 1 2 > 2b6c2b5b929

Re: NFS mounted but shows nothing even df -h has it

2023-05-31 Thread Otto Moerbeek
On Wed, May 31, 2023 at 11:21:15AM +0100, Zé Loff wrote: > On Wed, May 31, 2023 at 05:25:07PM +0800, Jazzi Hong wrote: > > You made the point, thank you Maksim. > > I checked /mnt/hdd and nothing there. > > > # cat /etc/fstab > > 1593ab2ee369c420.b none swap sw > > 1593ab2ee369c420.a / ffs rw 1 1

Re: NFS mounted but shows nothing even df -h has it

2023-05-31 Thread Otto Moerbeek
fstab, sd0i is marked ar "do not run fsck on it" (last zero in its fstab line). That is bad. Try running fsck on sd0i. It might be that the filesystem is damaged so mount does not like it, but fsck still has a chance to repair it. -Otto > > On Wed, May 31, 2023 at 7:56 PM

Re: NFS mounted but shows nothing even df -h has it

2023-05-31 Thread Otto Moerbeek
ab lines (except for the root fs, which whould be 1), unless you have a very good reason to use 0. -Otto > > On Wed, May 31, 2023 at 10:41 PM Otto Moerbeek wrote: > > > > On Wed, May 31, 2023 at 10:25:06PM +0800, Jazzi Hong wrote: > > > > > Thanks for

recent malloc changes

2023-06-04 Thread Otto Moerbeek
Hi, no idea how many people run snapshots or current here, but if you do, please note https://marc.info/?l=openbsd-tech&m=168587666517667&w=2 -Otto

Re: dhcpleased[59824]: sendto: Permission denied

2023-07-04 Thread Otto Moerbeek
On Mon, Jul 03, 2023 at 10:34:24AM -0600, Zack Newman wrote: > On 7/3/23 11:25, Mark wrote: > > I'm getting (I think once per day) "dhcpleased[59824]: sendto: Permission > > denied" error message in my daemon and messages log files. > > > > I think that's happening due to my PF configuration. >

Re: Migrate Root Partition to another disk

2013-05-14 Thread Otto Moerbeek
On Tue, May 14, 2013 at 11:08:49AM +0200, Adrien wrote: > Hi, > > I have added a second hard drive in my virtual machine, as my root > partition is full. My idea was to add a new disk to the system, then > migrate the root partition to the new disk. > > What I did so far : > > - In recovery, ad

Re: Migrate Root Partition to another disk

2013-05-14 Thread Otto Moerbeek
telling me that no > such file or directory. Seems my drive is good as during the early > bootstage I have hd0+ (my old hdd) and hd1+ (new hdd). > > Can this be due to the fact my filesystem is currently read-only, as I have > no more space left on my root partition ? > > &g

Re: who is using obsd

2013-05-14 Thread Otto Moerbeek
On Tue, May 14, 2013 at 08:34:27AM -0400, Salim Shaw wrote: > Scott, > > I'll be sure not to give up my day job at DUKE Medical Center. We > have over 20,000 employees in this medical institution and we know > what works for desktops and we know what works for enterprise server > environments. D

Re: Migrate Root Partition to another disk

2013-05-14 Thread Otto Moerbeek
tar xpf -) > > 7. Then runned install boot with : > > /usr/mdec/installboot -v /mnt/boot /usr/mdec/biosboot sd2 > > 8. My BSD is still booting on hd0 instead of hd1 :( Did you tell the bios to boot from the other disk? -Otto > > > 2013/5/14 Otto Moerbeek &g

Re: xenocara build failure

2013-05-14 Thread Otto Moerbeek
On Tue, May 14, 2013 at 11:13:58AM -0700, Marco S Hyman wrote: > On May 13, 2013, at 11:54 PM, Maurice Janssen wrote: > > >> *** Error 1 in /usr/xenocara (Makefile:35 'build') > >> > >> Any hints as to what I'm doing wrong? > > > > Are you using make in parallel (-j) mode? If so, please try w

Re: xenocara build failure

2013-05-14 Thread Otto Moerbeek
On Tue, May 14, 2013 at 02:02:27PM -0700, Marco S Hyman wrote: > On May 14, 2013, at 1:56 PM, Ted Unangst wrote: > > >> You are on to something... cvs up -PAd should remove all tags, no? It > >> didn't. > > > > Yes, it should. No, it doesn't. There's a bug somewhere in cvs. > > *nod* Trash

Re: out-of-order TCP

2013-05-15 Thread Otto Moerbeek
On Wed, May 15, 2013 at 08:54:02PM +, Stuart Henderson wrote: > On 2013-05-15, Adam Atkinson wrote: > > Stuart Henderson wrote: > > > >> Two pairs of per-packet load balanced (slow) ADSLs, round robinning > >> connections > >> between the pairs to avoid *too* many problems. > > > > Is ppp mu

Re: out-of-order TCP

2013-05-16 Thread Otto Moerbeek
On Thu, May 16, 2013 at 07:41:41AM +0200, Otto Moerbeek wrote: > On Wed, May 15, 2013 at 08:54:02PM +, Stuart Henderson wrote: > > > On 2013-05-15, Adam Atkinson wrote: > > > Stuart Henderson wrote: > > > > > >> Two pairs of per-packet l

Re: smp

2013-05-16 Thread Otto Moerbeek
On Wed, May 15, 2013 at 10:03:40PM +0200, Alfonso S. Siciliano wrote: > Hi, > I'm trying to study the concurrency and the parallelism of OpenBSD. > Fortunately SMP is supported on my platform, amd64. > Where can I find documentation about what components are been > parallelized? (queue, stack, etc

Re: smp

2013-05-16 Thread Otto Moerbeek
On Thu, May 16, 2013 at 05:05:09PM +0200, Alfonso S. Siciliano wrote: > On Thu, 16 May 2013 11:19:08 +0200 > Otto Moerbeek wrote: > > > > Since you do not tell us if you are interested in the kernel or > > userland side of things, it is hard to point you to m

Re: openbsd hosting

2013-05-28 Thread Otto Moerbeek
On Tue, May 28, 2013 at 06:20:39PM -0300, Friedrich Locke wrote: > Dear list members, > > i am in need to host my web stuff oversea. Is any aware about any hosting > services with the following features: My oversea might not be your oversea. Try to be more specific. -Otto > > OpenBSD

Re: Western Digital - Advanced Format

2013-06-02 Thread Otto Moerbeek
On Mon, Jun 03, 2013 at 03:34:07AM +0100, MD wrote: > On 01/06/13 15:59, MD wrote: > >On 01/06/13 12:56, Kenneth R Westerback wrote: > >>On Sat, Jun 01, 2013 at 07:38:50AM +0100, MD wrote: > >>>Recently obtained WD7500-BPKT (750g) hard drive that apparently > > > >>>Will Advanced Format Just Work(

Re: Wireless access point not appearing to clients.

2013-06-07 Thread Otto Moerbeek
On Fri, Jun 07, 2013 at 04:41:06PM +1000, John Tate wrote: > I just configured a wireless device for hostap and put it on a bridge with > my wired network and a virtual ethernet device to give it an address. The > wired network is working fine, so if I solve this problem the wireless > should work

Re: /var/cache/fontconfig ??

2013-06-09 Thread Otto Moerbeek
On Sun, Jun 09, 2013 at 10:10:06AM +0100, Jason McIntyre wrote: > On Sun, Jun 09, 2013 at 05:06:01AM -0400, Jiri B wrote: > > >Sorry but this seems to bizzare to make 'cache' appropriate > > >subdir in /var just because of one specific tool. Wouldn't be > > >better to customize it to use /var/db/f

Re: ldom physical resources required not available

2013-06-10 Thread Otto Moerbeek
On Mon, Jun 10, 2013 at 04:32:37PM -0700, Chris Cappuccio wrote: > I'm trying to use ldom on a few sun fire t1000s. The host system > tells me "ERROR: Physical resources required by LDoms configuration: openbsd > not available. Falling back to default set" after I "ldomctl download" and > then "re

Re: Recommended new laptop under US$800 for OpenBSD

2013-06-17 Thread Otto Moerbeek
On Mon, Jun 17, 2013 at 01:43:41PM +, Jack wrote: > Tito Mari Francis Esca??o gmail.com> writes: > > > > > Good day, > > I'd like to seek your advise what new laptop brand and model should I buy > > that is fully functional (video, LAN, Wifi, sound) with OpenBSD 5.x. I > > searched online a

Re: Detailed statistics on em(4) driver

2013-06-20 Thread Otto Moerbeek
On Thu, Jun 20, 2013 at 08:38:11AM +0200, Bernd wrote: > >Hi, > > > >I've got problems with increasing Ierrs on several machines with > >several em(4) interfaces. Is there a way to get *detailed* information > >on these? > > > ># netstat -I em3 -d > >NameMtu Network Address

Re: ACPI support on HP laptop

2013-07-10 Thread Otto Moerbeek
On Wed, Jul 10, 2013 at 12:55:27PM +0200, Riccardo Mottola wrote: > Hi Paul, > > Paul Irofti wrote: > >On Sun, Jul 07, 2013 at 10:42:57PM +0200, Riccardo Mottola wrote: > >> > >>$ sysctl hw.setperf > >>hw.setperf=99 > >What's the setperf value when you boot on battery and you have the CPU > >set

Re: Aug 12 Snapshot - Upgrade clarification

2013-08-17 Thread Otto Moerbeek
On Sat, Aug 17, 2013 at 01:03:28PM +0100, James Griffin wrote: > Hi > > Today I used the Aug 12 snapshot files to upgrade. It wasn't successful > as I did not read the notes at [1]. I had become complacent WRT upgrades > as over the last 6 months they've been extremely straight forward and I > fo

Re: mysql.sock location

2013-08-18 Thread Otto Moerbeek
On Sun, Aug 18, 2013 at 01:29:14PM +0300, Ville Valkonen wrote: > ehm.. 127.0.0.1 == localhost yes, but if you use 127.0.0.1 you force a tcp connection and no unix domain socket is even needed. -Otto > On Aug 18, 2013 12:06 PM, "K??rlis Mi??elsons" > wrote: > > > Broken r

Re: snapshot mirror t32 directory

2013-08-19 Thread Otto Moerbeek
On Mon, Aug 19, 2013 at 11:33:41AM +0100, James Griffin wrote: > Hi > > On the ftp server I usually get my snapshots from [1] there are the sets > for upgrade. There is also a new t32 directory that contains the same > upgrade sets (or the same names and dates, at least). These are OLD sets. >

Re: snapshot mirror t32 directory

2013-08-19 Thread Otto Moerbeek
s > even older than the one in -i386/t32?(No complaint on my side - I should > have been more careful. After all this is -/current!) amd64 and i386 already have the proper files atm. Other platforms will follow soonish. -Otto > Cheers,STEFAN Gesendet: Montag, 19. August 2013 um

Re: In some man pages Mb means MB, in others it means Mb/s

2013-08-26 Thread Otto Moerbeek
On Mon, Aug 26, 2013 at 03:06:22PM +0200, Erling Westenvik wrote: > On Mon, Aug 26, 2013 at 11:27:36AM +, Stuart Henderson wrote: > > you will then end up with some of them switching to dreadful MiB etc. ;) > > Kinda off topic and I take it you were being sarcastic, but your > mentioning of t

Re: res_init() and 0.0.0.0

2013-09-13 Thread Otto Moerbeek
On Fri, Sep 13, 2013 at 03:01:45PM +0300, Kapetanakis Giannis wrote: > Hi, > > Could someone help me debug this following program on OBSD? > > #include > #include > #include > #include > #include > #include > > main() { > int i; > res_init(); > printf("Number of NS in re

Re: res_init() and 0.0.0.0

2013-09-13 Thread Otto Moerbeek
On Fri, Sep 13, 2013 at 05:30:50PM +0300, Kapetanakis Giannis wrote: > On 13/09/13 16:34, Otto Moerbeek wrote: > >Groping into _res is not a wise thing. The OpenBSD async resolver only > >has minimal support for that. > > > >ASR_DEBUG=1 ./a.out > > > >Will p

Re: res_init() and 0.0.0.0

2013-09-13 Thread Otto Moerbeek
On Fri, Sep 13, 2013 at 05:57:41PM +0300, Kapetanakis Giannis wrote: > On 13/09/13 17:36, Otto Moerbeek wrote: > > > > > >the program uses the following: > >sendto(resfd, msg, len, 0, (struct sockaddr *) > >&(_res.ns

Re: res_init() and 0.0.0.0

2013-09-17 Thread Otto Moerbeek
On Tue, Sep 17, 2013 at 12:25:17AM -0400, Ted Unangst wrote: > On Mon, Sep 16, 2013 at 21:23, Kapetanakis Giannis wrote: > > > The following diff fixes the problem and the program works in current. > > The program is bahamut ircd and I managed to make it work up to 5.3 > > without this. > > In cu

Re: PHP 5.3.1 on OpenBSD 4.2

2013-10-02 Thread Otto Moerbeek
On Wed, Oct 02, 2013 at 01:52:29PM +0200, Markus Rosjat wrote: > Hey there, > > I have a server that runs a OpenBSD 4.2 with a php of 5.2.3 and now > I just need some information if it's possible to switch to php 5.3.1 > without bigger problems or is it just not recommended? Some kind of > help i

Re: suspend/resume regression

2013-10-03 Thread Otto Moerbeek
On Thu, Oct 03, 2013 at 02:04:14PM +0100, Fred Crowson wrote: > I had the same issue - I've just built a kernel from cvs and suspend / > resume is now working again, but I seem to have lost a few cores :~p You are running GENERIC, not GENERIC.MP -Otto > > dmesg below. > > Cheers > > F

Re: setgid problem

2013-10-09 Thread Otto Moerbeek
On Wed, Oct 09, 2013 at 04:26:20PM +0200, Bambero wrote: > Hello > > I have a small php script which creates a file: > > > #!/usr/local/bin/php-5.2 -q > > //set group ID to operator > posix_setgid(5); > posix_setegid(5); > > //set user ID to nobody > posix_setuid($_uid); >

Re: setgid problem

2013-10-09 Thread Otto Moerbeek
oup list. See getgroups(2) and setgroups(). getgroups(2) maps to posix_getgroups(). But is seems posix_setgroups() was forgotten by the php folks. -Otto > > Bambero > > > On Wed, Oct 9, 2013 at 4:30 PM, Otto Moerbeek wrote: > > > On Wed, Oct 09, 2013 at 04:26:20PM +02

Re: ntpd issue

2013-10-13 Thread Otto Moerbeek
On Sun, Oct 13, 2013 at 11:23:22PM +1000, mufurcz wrote: > Greetings, > > I set up this mail server (postfix/dovecot/mysql) some years back. > There is an issue with ntpd (read below). Any idea why I am not > geting the right time? > > -bash-3.2$ uname -prs > OpenBSD 4.2 SUNW,UltraSPARC-IIIi (r

Re: new queueing subsystem

2013-10-16 Thread Otto Moerbeek
On Wed, Oct 16, 2013 at 09:08:55AM -0500, Boris Goldberg wrote: > Hello misc, > > The changes in the pf queueing subsystem (for some reason not mentioned > in the http://openbsd.org/faq/upgrade54.html) are getting me worried. > Couldn't find the word "altq" in the > http://www.openbsd.org/cgi

Re: Full disk encryption and hibernate on amd64

2013-10-24 Thread Otto Moerbeek
On Thu, Oct 24, 2013 at 02:20:15PM +0200, Tomas Bodzar wrote: > On Thu, Oct 24, 2013 at 2:14 PM, David Coppa wrote: > > > On Thu, Oct 24, 2013 at 2:02 PM, Jiri B wrote: > > > Hi, > > > > > > after I read mlarkin@'s report on Undeadly.org[1] about > > > hibernation, I've got curious question. >

Re: Yubikey login: bad file descriptor.

2013-10-24 Thread Otto Moerbeek
On Thu, Oct 24, 2013 at 07:44:27PM +0200, Daniel Hartmeier wrote: > On Thu, Oct 24, 2013 at 03:07:19PM +0200, Pieter Verberne wrote: > > > -r--r- 1 root auth 33 Oct 24 14:47 pieter.key > > -r--r- 1 root auth 10 Oct 24 14:47 pieter.uid > > Your uid file looks too small, it's usually

Re: Yubikey login: bad file descriptor.

2013-10-24 Thread Otto Moerbeek
On Thu, Oct 24, 2013 at 10:23:49PM +0200, Alexander Hall wrote: > On 10/24/13 21:30, Otto Moerbeek wrote: > >On Thu, Oct 24, 2013 at 07:44:27PM +0200, Daniel Hartmeier wrote: > > > >>On Thu, Oct 24, 2013 at 03:07:19PM +0200, Pieter Verberne wrote: > >> > >&

Re: make release problem with -current

2013-11-06 Thread Otto Moerbeek
> Op 6 nov. 2013 om 05:23 heeft Scott McEachern het > volgende geschreven: > >> On 11/05/13 23:02, Philip Guenther wrote: >>> On Tue, Nov 5, 2013 at 7:33 PM, Scott McEachern wrote: On 11/05/13 22:29, Ted Unangst wrote: > On Tue, Nov 05, 2013 at 22:18, Scott McEachern wrote: > Anyon

Re: does this patch make sense?

2013-11-07 Thread Otto Moerbeek
On Thu, Nov 07, 2013 at 11:32:48AM -0500, Ted Unangst wrote: > On Thu, Nov 07, 2013 at 17:19, Peter J. Philipp wrote: > > >> + gid = getgid(); > >> + > >> + if (setgroups(1, &gid) == -1) > >> + err(1, "setgroups"); > >> + > >> + if (setresgid(gid, gid, gid) == -1)

Re: does this patch make sense?

2013-11-07 Thread Otto Moerbeek
On Thu, Nov 07, 2013 at 04:35:46PM -0500, Ted Unangst wrote: > On Thu, Nov 07, 2013 at 17:48, Otto Moerbeek wrote: > >> > - for (t = toskeywords; t->keyword != NULL; t++) { > >> > - if (strcmp(s, t->keyword) == 0) { > >&g

Re: QEMU CPU cores not showing up

2013-11-13 Thread Otto Moerbeek
On Wed, Nov 13, 2013 at 07:36:58PM +, Bruno Delbono wrote: > Hello, > > > I have a QEMU instance that works perfectly fine at detecting cpu cores on > NetBSD/FreeBSD/Linux. All except OpenBSD 5.4 > > > - I have tried the GENERIC amd64 and i386 bsd.mp kernel and the bsd.mp > snapshot kernel

Re: QEMU CPU cores not showing up

2013-11-13 Thread Otto Moerbeek
354 4700 > > > From: Otto Moerbeek > Sent: Wednesday, November 13, 2013 3:11 PM > To: Bruno Delbono > Cc: misc@openbsd.org > Subject: Re: QEMU CPU cores not showing up > > On Wed, Nov 13, 2013 at 07:36:58PM +, Bruno Del

Re: maxmaxusers in 4.4-stable

2008-12-03 Thread Otto Moerbeek
On Wed, Dec 03, 2008 at 02:09:12PM +0100, Sico Bruins wrote: > On Wed, Dec 03, 2008 at 12:42:42PM +0100, Otto Moerbeek wrote: > > > On Wed, Dec 03, 2008 at 12:36:49PM +0100, Sico Bruins wrote: > > > >> On Wed, Dec 03, 2008 at 12:06:14PM +0100, Otto Moerbeek wrote:

Re: possible bug in OpenNTPD code?

2008-12-09 Thread Otto Moerbeek
On Tue, Dec 09, 2008 at 08:10:20PM -0800, Anirban Sinha wrote: > I hope I will get some response to this. If not, I will assume that > there is really no interest in fixing bugs in openntpd and in that case, > I will patch only our local copy of the ntpd codebase (as opposed to > reporting to the

Re: possible bug in OpenNTPD code?

2008-12-09 Thread Otto Moerbeek
On Wed, Dec 10, 2008 at 12:05:05AM -0600, Todd Alan Smith wrote: > On Tue, Dec 9, 2008 at 10:10 PM, Anirban Sinha <[EMAIL PROTECTED]> wrote: > > I hope I will get some response to this. If not, I will assume that > > there is really no interest in fixing bugs in openntpd and in that case, > > Why

Re: possible bug in OpenNTPD code?

2008-12-09 Thread Otto Moerbeek
On Tue, Dec 09, 2008 at 09:57:25PM -0800, Philip Guenther wrote: > On Tue, Dec 9, 2008 at 8:10 PM, Anirban Sinha <[EMAIL PROTECTED]> wrote: > > There is yet another bug in Openntpd. This is direct copy-paste from > > openntpd code (ntpd.c:main()): > > > > do { > >if ((pid = wait(NU

Re: libm changes

2008-12-10 Thread Otto Moerbeek
On Wed, Dec 10, 2008 at 02:59:52PM +0100, Tim Saueressig, thepixelz.com wrote: > hi list, > > i tried to build my userland but it suddenly stops. > this is current from today via anoncvs.de.openbsd.org I suspect the mirror was partly updated. Try again after a new cvs up. -Otto > > ---

Re: Large disks on 4.4

2008-12-11 Thread Otto Moerbeek
On Thu, Dec 11, 2008 at 03:24:42PM -0500, (private) HKS wrote: > I recently built out an OpenBSD backup server on a Dell 2950 > with a 2.7TB RAID array, and I ran into some trouble with fdisk > recognizing my disk. The geometries it reported were worth > about 750GB. Attempting to change CHS geome

Re: getarg(3)

2008-12-14 Thread Otto Moerbeek
On Sun, Dec 14, 2008 at 06:46:13PM +0100, Floor Terra wrote: > Hi, > > While browsing the manpages for getopt(3), I stumbled upon getarg(3). > Can someone point me to getarg.h? Even the online manpage[1] can't > find it[2]. locate(1) is your friend. It's a kerberos specific file: /usr/src/kerbero

Re: getarg(3)

2008-12-15 Thread Otto Moerbeek
On Mon, Dec 15, 2008 at 09:47:45AM +0001, Jason McIntyre wrote: > On Sun, Dec 14, 2008 at 08:03:30PM +0100, Otto Moerbeek wrote: > > On Sun, Dec 14, 2008 at 06:46:13PM +0100, Floor Terra wrote: > > > > > Hi, > > > > > > While browsing the manpag

Re: growfs(8) -- FFS2 question

2008-12-23 Thread Otto Moerbeek
On Wed, Dec 24, 2008 at 01:06:17AM -0500, Ted Unangst wrote: > On Tue, Dec 23, 2008 at 11:54 PM, Denis Doroshenko > wrote: > >> even if it worked, you won't be able to run fsck after the fact. > > > > could you please be more informative? won't it work because of FFS2 or > > because of 1.5TB? it

Re: environmental prerequisites for kernel development (was Re: Any Dev interested in SIS Ethernet/SATA driver development?)

2008-12-30 Thread Otto Moerbeek
On Tue, Dec 30, 2008 at 01:45:49PM +0100, Martin Schr?der wrote: > 2008/12/30 Henning Brauer : > > Virtualization promises isolation, and doesn't even remotely keep > > that promise, today, regardless of the implementation. > > > > That makes it, for now, both a security and relibility disaster. >

Re: Changing IRQ setting from console/userland

2009-01-05 Thread Otto Moerbeek
On Mon, Jan 05, 2009 at 03:03:47PM +0700, Insan Praja SW wrote: > Hi Misc@, > is there anything on man (8) how to set irq allocation for certain > devices like NICs? I tried apropos but I can't find userland application > on base to change this. > Thanks, In general allocating IRQs is a kernel

Re: Changing IRQ setting from console/userland

2009-01-05 Thread Otto Moerbeek
On Mon, Jan 05, 2009 at 03:48:57PM +0700, Insan Praja SW wrote: > On Mon, 05 Jan 2009 15:29:01 +0700, Otto Moerbeek wrote: > >> On Mon, Jan 05, 2009 at 03:03:47PM +0700, Insan Praja SW wrote: >> >>> Hi Misc@, >>> is there anything on man (8) how to set irq all

Re: ntp strangeness

2009-01-30 Thread Otto Moerbeek
On Fri, Jan 30, 2009 at 11:07:03PM +1100, Steve Laurie wrote: > Hi all, > > I noticed something I can't explain or find any explanation for > anywhere. > > I have one machine setup as a NTP server and another setup as couple of > others setup as NTP clients. > > I ran tcpdump on the server list

Re: Is it possible to increase wscale multiplier?

2009-02-04 Thread Otto Moerbeek
On Wed, Feb 04, 2009 at 11:34:25AM +0100, Claudio Jeker wrote: > On Tue, Feb 03, 2009 at 04:28:36PM +, Dieter wrote: > > > > > > How high is too high? I have a utility that sets recv buf size > > > > > > to 100,000,000 and it works fine on FreeBSD and NetBSD. (Not > > > > > > tested yet on O

<    1   2   3   4   5   6   7   8   9   10   >