Re: 4k sector disk on APU2 problems

2021-03-02 Thread Raimo Niskanen
On Mon, Mar 01, 2021 at 09:41:31PM +, Stuart Henderson wrote: > On 2021-03-01, Raimo Niskanen wrote: > > Hi Misc! > > > > Unfortunately I do not have one clear question here, but I wonder if > > somebody > > could shed som light on some problems I have encou

4k sector disk on APU2 problems

2021-03-01 Thread Raimo Niskanen
uld upgrading to OpenBSD 6.8 improve the situation * How is the disk sector size determined, and can I affect that? Cheers! -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: PC Engines APU2 boot problem

2021-03-01 Thread Raimo Niskanen
On Wed, Feb 17, 2021 at 02:05:27PM +0100, Raimo Niskanen wrote: > On Wed, Feb 17, 2021 at 12:36:57PM +0100, Stefan Sperling wrote: > > On Wed, Feb 17, 2021 at 12:08:52PM +0100, Raimo Niskanen wrote: > > > Hello misc! > > > > > > I have problem bootin

Re: PC Engines APU2 Leds control

2021-02-22 Thread Raimo Niskanen
I have now made a pull request for an example on PC Engines' qpu_gpio_lib GitHub repository of my LED server solution: https://github.com/pcengines/apu_gpio_lib/pull/4 Maybe it should use unveil(2) and pledge(2), if I manage to figure out how to use them... / Raimo Niskanen On Wed, Feb

Re: PC Engines APU2 boot problem

2021-02-17 Thread Raimo Niskanen
On Wed, Feb 17, 2021 at 12:36:57PM +0100, Stefan Sperling wrote: > On Wed, Feb 17, 2021 at 12:08:52PM +0100, Raimo Niskanen wrote: > > Hello misc! > > > > I have problem booting an APU2 from SD card and USB stick. > > It boots fine from the mSATA disk where I ha

PC Engines APU2 boot problem

2021-02-17 Thread Raimo Niskanen
penBSD 6.7 from at least an USB stick, right? Cheers -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: PC Engines APU2 Leds control

2021-02-17 Thread Raimo Niskanen
is in a lousy state build-wise, so I need to clean it up and for example create a pull request for PCEngines' repository to add this daemon as an OpenBSD example. Even if they would not accept a pull request it would be published my GitHub account... / Raimo Niskanen On Fri, May 08, 2020 at 09:43:38PM

Re: How to debug hanging machines / proc: table is full

2019-11-25 Thread Raimo Niskanen
I have upgraded the machines to 6.6 and the problem seems to be gone. The machines now have been up for 10 and 16 days, which is a record. Great! / Raimo Niskanen On Fri, Nov 01, 2019 at 11:50:18AM +0100, Andreas Kusalananda Kähäri wrote: > On Fri, Nov 01, 2019 at 11:38:06AM +0100, Ra

Re: Disabling laptop display & turning off suspend on lid close

2019-11-22 Thread Raimo Niskanen
t; > if test $# -lt 1 > > then > > xset dpms 500 660 900 > > fi > > > > Thank you for the suggestion! > > Will using xset work without running X? I intended to not use X as I am > just trying to set up a simple mailserver. :) > > Best, > > Unicorn Have a look at wsconsctl.conf(5). Might be relevant. -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: Patch suggestion for sysupgrade

2019-11-15 Thread Raimo Niskanen
DIR} > > fi > > > > cd ${SETSDIR} > > @@ -185,7 +184,7 @@ > > > > cat <<__EOT >/auto_upgrade.conf > > Location of sets = disk > > -Pathname to the sets = /home/_sysupgrade/ > > +Pathname to the sets = ${SETSDIR}/ > > Set name(s) = don

Re: Patch suggestion for sysupgrade

2019-11-15 Thread Raimo Niskanen
I see in that thread that this is hard to find a safe solution to this problem... / Raimo > > > November 14, 2019 3:01 PM, "Raimo Niskanen" > wrote: > > > The use case for this patch is that in our lab network we have NFS > > automounted /home/* dire

Patch suggestion for sysupgrade

2019-11-14 Thread Raimo Niskanen
contain SHA256.sig. Continue without verification = yes __EOT @@ -193,7 +192,7 @@ if ! ${KEEP}; then CLEAN=$(echo SHA256 ${SETS} | sed -e 's/ /,/g') cat <<__EOT > /etc/rc.firsttime -rm -f /home/_sysupgrade/{${CLEAN}} +rm -f ${SETSDIR}/{${CLEAN}} __EOT fi Best reg

Re: How to debug hanging machines / proc: table is full

2019-11-01 Thread Raimo Niskanen
On Mon, Sep 09, 2019 at 05:44:32PM +0200, Raimo Niskanen wrote: > On Mon, Sep 09, 2019 at 05:42:02PM +0200, Raimo Niskanen wrote: > > On Wed, Jul 31, 2019 at 05:46:08PM +0200, Raimo Niskanen wrote: > > > On Mon, Jul 29, 2019 at 01:20:58PM +, Stuart Henderson wrote: > >

Re: How to debug hanging machines / proc: table is full

2019-09-09 Thread Raimo Niskanen
On Mon, Sep 09, 2019 at 05:42:02PM +0200, Raimo Niskanen wrote: > On Wed, Jul 31, 2019 at 05:46:08PM +0200, Raimo Niskanen wrote: > > On Mon, Jul 29, 2019 at 01:20:58PM +, Stuart Henderson wrote: > > > On 2019-07-29, Raimo Niskanen wrote: > > > > A n

Re: How to debug hanging machines / proc: table is full

2019-09-09 Thread Raimo Niskanen
On Wed, Jul 31, 2019 at 05:46:08PM +0200, Raimo Niskanen wrote: > On Mon, Jul 29, 2019 at 01:20:58PM +, Stuart Henderson wrote: > > On 2019-07-29, Raimo Niskanen wrote: > > > A new hang, I tried to invstigate: > > > > > > At July 19 the last log entry fr

Re: How to debug hanging machines / proc: table is full

2019-08-01 Thread Raimo Niskanen
On Wed, Jul 31, 2019 at 04:20:12PM +, Visa Hankala wrote: > On Wed, Jul 31, 2019 at 05:46:08PM +0200, Raimo Niskanen wrote: > > I have enabled Witness, it went so-so. We'll see what it catches. > > > > I downloaded 6.5 amd64 src.tar.gz and sys.tar.gz, unpacked them, &g

Re: How to debug hanging machines / proc: table is full

2019-07-31 Thread Raimo Niskanen
On Mon, Jul 29, 2019 at 01:20:58PM +, Stuart Henderson wrote: > On 2019-07-29, Raimo Niskanen wrote: > > A new hang, I tried to invstigate: > > > > At July 19 the last log entry from my 'ps' log was from 14:55, which is > > also the time on the 'systat v

Re: How to debug hanging machines / proc: table is full

2019-07-30 Thread Raimo Niskanen
On Mon, Jul 29, 2019 at 01:20:58PM +, Stuart Henderson wrote: > On 2019-07-29, Raimo Niskanen wrote: > > A new hang, I tried to invstigate: > > > > At July 19 the last log entry from my 'ps' log was from 14:55, which is > > also the time on the 'systat v

Re: How to debug hanging machines / proc: table is full

2019-07-29 Thread Raimo Niskanen
On Mon, Jul 15, 2019 at 08:55:35AM +0200, Raimo Niskanen wrote: > On Tue, Jul 02, 2019 at 05:13:43PM +, Stuart Henderson wrote: > > On 2019-07-02, Raimo Niskanen wrote: > > > Hi misc@! > > > > > > If anyone has got some tips about how to debug two hanging

Re: How to debug hanging machines / proc: table is full

2019-07-15 Thread Raimo Niskanen
On Tue, Jul 02, 2019 at 05:13:43PM +, Stuart Henderson wrote: > On 2019-07-02, Raimo Niskanen wrote: > > Hi misc@! > > > > If anyone has got some tips about how to debug two hanging machines we have > > in our test lab I am eager to learn. > > > > The m

smartd - Currently unreadable (pending) sectors

2019-07-12 Thread Raimo Niskanen
of this, so I have a very early warning about getting a new disk... (sd0a's Reallocated_Sector_Ct is 148 while sd0b's is 0) Best regards -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: How to debug hanging machines / proc: table is full

2019-07-09 Thread Raimo Niskanen
On Tue, Jul 09, 2019 at 10:33:46AM -0400, Kenneth Gober wrote: > On Tue, Jul 2, 2019 at 10:06 AM Raimo Niskanen < > raimo+open...@erix.ericsson.se> wrote: > > > In /var/log/messages I find suspicious entries "/bsd: proc: table is full" > > possibly be

Re: Feeding DHCP leases into unbound

2019-07-04 Thread Raimo Niskanen
as both DHCP and > DNS server, but I'd rather use the software in the base system if at all > possible. > > Regards, > Kusalananda -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: How to debug hanging machines / proc: table is full

2019-07-03 Thread Raimo Niskanen
On Tue, Jul 02, 2019 at 05:13:43PM +, Stuart Henderson wrote: > On 2019-07-02, Raimo Niskanen wrote: > > Hi misc@! > > > > If anyone has got some tips about how to debug two hanging machines we have > > in our test lab I am eager to learn. > > > > The m

How to debug hanging machines / proc: table is full

2019-07-02 Thread Raimo Niskanen
t display that might tell me anything. Best regards -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: 6.5 pkg_add "Fatal error: Can't write session into tmp directory"

2019-07-01 Thread Raimo Niskanen
1.5G698M734M49% 16248 191622 8% /usr > mfs:42325 62.9M2.0K 59.7M 0% 18189 0% /usr/tmp Am I reading the numbers correctly that /tmp and /usr/tmp are two different memory file systems of maximum size 62.9M? If so, I wonder what pkg_add is t

Re: how to know the progressive state of dd

2018-06-28 Thread Raimo Niskanen
which will send a signal to the most recent background command. -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: fdisk MBR contains more than one OpenBSD partition!

2018-05-14 Thread Raimo Niskanen
;other machines". What OS:es. What filesystem? How do you envision a separete MBR partition will help you with this? > > Ruda -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: fdisk MBR contains more than one OpenBSD partition!

2018-05-09 Thread Raimo Niskanen
ry much on what kind of backup you have in mind. There are probably many other more BSD:ish ways to do it than you think. So please describe more in detail what kind of backuping you want. > > Thanks for comments! > > Ruda -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: 6.2 song?

2018-03-20 Thread Raimo Niskanen
the EU it has become a mess about date formats here. Before that the ISO 8601 was winning, now we have 3 different date markings on food depending which type of food it is or whatnot. So I celebrate both Pi dates, just to be sure :-) -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: http_proxy for rc.firsttime after Upgrade

2018-01-29 Thread Raimo Niskanen
On Mon, Jan 29, 2018 at 09:48:08AM +, Stuart Henderson wrote: > On 2018-01-23, Raimo Niskanen <raimo+open...@erix.ericsson.se> wrote: > > On Mon, Jan 22, 2018 at 08:22:34PM -0500, trondd wrote: > >> On Mon, January 22, 2018 2:36 am, Raimo Niskanen wrote: > >>

Re: http_proxy for rc.firsttime after Upgrade

2018-01-23 Thread Raimo Niskanen
On Mon, Jan 22, 2018 at 08:22:34PM -0500, trondd wrote: > On Mon, January 22, 2018 2:36 am, Raimo Niskanen wrote: > > On Fri, Jan 19, 2018 at 10:47:15AM -0500, trondd wrote: > >> On Fri, January 19, 2018 4:29 am, Raimo Niskanen wrote: > >> > Hello list! > >&g

Re: Boot problem OpenBSD 6.2 amd64 softraid keydisk

2018-01-23 Thread Raimo Niskanen
On Mon, Jan 22, 2018 at 11:16:29AM +0100, Stefan Sperling wrote: > On Mon, Jan 22, 2018 at 10:08:30AM +0100, Raimo Niskanen wrote: > > Hello misc@! > > > > I just wanted to share a problem and a solution that I encountered. Just > > posting to maybe help someone else

Re: http_proxy for rc.firsttime after Upgrade

2018-01-22 Thread Raimo Niskanen
On Fri, Jan 19, 2018 at 10:47:15AM -0500, trondd wrote: > On Fri, January 19, 2018 4:29 am, Raimo Niskanen wrote: > > Hello list! > > > > I have some machines behind a squid proxy and have set the http_proxy and > > ftp_proxy environment variables both in /etc/profile

Boot problem OpenBSD 6.2 amd64 softraid keydisk

2018-01-22 Thread Raimo Niskanen
start of the OpenBSD section, and the MSDOS section at the end of the disk, and the installation booted. Best regards -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

http_proxy for rc.firsttime after Upgrade

2018-01-19 Thread Raimo Niskanen
the proxy is not used, so I have to wait for that to time out or break it with Ctrl-C and call fw_update manually. So I just wonder if anybody have an idea of how to set the http_proxy and ftp_proxy environment variables so they are picked up by rc.firsttime? Best regards -- / Raimo Niskanen

Re: Writing "ones" instead of "zeroes" when wiping disk

2018-01-12 Thread Raimo Niskanen
e exercise in the > process. Or a screwdriver and a pair of pliers if you want less excersise. > > Lee -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: Wifi Ierrs

2018-01-11 Thread Raimo Niskanen
On Thu, Jan 11, 2018 at 01:43:11PM +0100, Stefan Sperling wrote: > On Thu, Jan 11, 2018 at 10:51:32AM +0100, Raimo Niskanen wrote: > > Hello misc! > > > > I have an PC Engines Alix 2d13 with an Atheros AR9280 running WPA2-PSK, > > and see a lot of input errors ove

Wifi Ierrs

2018-01-11 Thread Raimo Niskanen
block ack window start So is this normal for a congested neighbourhood (6 stories apartment house - lots of APs around in the house on the 2.4 GHz band), or can anybody think of a setting to tweak? The router runs OpenBSD 6.2 stable (patched). Best regards -- / Raimo Niskanen

Re: Read sysctl from file

2017-07-25 Thread Raimo Niskanen
gh the usual @misc communication style of go f*ck your self you know nothing. There are better ways to send that message then what used in this thread. For example by writing it up front. -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: Read sysctl from file

2017-07-24 Thread Raimo Niskanen
blem, that do not involve adding -p to OpenBSD's sysctl. So I thik that was uncalled for. > > Let's just stop this. You just aren't capable of listening to what > is being said. Also, you are ridiculously rude. I just do not get that. I think Peter has listened to what was said and that others are rude to him for no (very little) reason. Best regards -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: Read sysctl from file

2017-07-24 Thread Raimo Niskanen
you feel you ought to defend yourself for getting maybe deliberately misunderstood. Best regards -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: Restoring /altroot

2017-07-18 Thread Raimo Niskanen
On Mon, Jul 17, 2017 at 08:18:25AM -0400, Nick Holland wrote: > On 07/17/17 05:50, Raimo Niskanen wrote: > > On Fri, Jul 14, 2017 at 10:46:14PM -0400, Nick Holland wrote: > >> On 07/14/17 09:00, Raimo Niskanen wrote: > >> > Hi misc@. > >> > > >>

Re: syspatch glitch

2017-07-18 Thread Raimo Niskanen
On Mon, Jul 17, 2017 at 02:20:00PM +0200, Antoine Jacoutot wrote: > On Mon, Jul 17, 2017 at 12:04:19PM +0200, Raimo Niskanen wrote: > > It seems syspatch looks at the current machine capabilities instead of > > which kernel is running when it decides on if /bsd is /bsd.sp or /

Re: Restoring /altroot

2017-07-17 Thread Raimo Niskanen
On Fri, Jul 14, 2017 at 10:46:14PM -0400, Nick Holland wrote: > On 07/14/17 09:00, Raimo Niskanen wrote: > > Hi misc@. > > > > I wonder how to restore from an /altroot backup? > > > > (I missed that pax -r happily writes absolute paths and wrote over > &

syspatch glitch

2017-07-17 Thread Raimo Niskanen
that syspatch looks at the running machine instead of the running kernel? I would have expected it the other way around... By the way. Syspatch and openup really makes keeping a system updated a breeze - thank you very much for these tools, everyone involved! Best regards -- / Raimo Niskanen, Erlang

Restoring /altroot

2017-07-14 Thread Raimo Niskanen
missed to skip the first 16 blocks, and I used the block devices instead of the character devices. The result was a vegetable, and would like to understand which of my mistakes that were fatal.) Best regards -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: File Server with OpenBSD?

2017-03-08 Thread Raimo Niskanen
D, you won't get snapshots, on-the-fly compression etc... > > Don't forget backups, that the most important thing for your file server > :-) Oh yes! -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: rcctl hickups on OpenBSD 6.0?

2017-02-16 Thread Raimo Niskanen
now the status and > flags of your daemons without having to look into several files. Maybe make a pointer in /etc/rc.conf to rcctl(8) since historically the defaults were found there. Thank you for your prompt response! > > Thanks. > > -- > Antoine -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: rcctl hickups on OpenBSD 6.0?

2017-02-16 Thread Raimo Niskanen
On Thu, Feb 16, 2017 at 10:43:43AM +0100, Antoine Jacoutot wrote: > On Thu, Feb 16, 2017 at 08:46:45AM +0100, Raimo Niskanen wrote: > > Hello Misc@ > > > > I tried to activate ypbind via rcctl: > > rcctl enable ypbind > > and it did not write "

rcctl hickups on OpenBSD 6.0?

2017-02-16 Thread Raimo Niskanen
l set nfsd flags -tun 4 or rcctl set nfsd flags "-tun 4" but it did not work (nfsd_flags=) rcctl set nfsd flags -tu did work, though. Known problems? -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Dell R230 install, EFI did not work with OpenBSD 6.0

2017-02-16 Thread Raimo Niskanen
quot; rev 1.10/1.00 addr 4 uhidev1: iclass 3/1 ums0 at uhidev1: 5 buttons, Z dir wsmouse0 at ums0 mux 0 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets sd2 at scsibus3 targ 1 lun 0: <OPENBSD, SR RAID 1, 006> SCSI2 0/direct fixed sd2: 953866MB, 512 bytes/sector, 1953519473 sectors root on sd2a (05b1917da05f48e3.a) swap on sd2b dump on sd2b -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: Memory alignment

2017-02-06 Thread Raimo Niskanen
ptimization. Isn't this stuff macros are made of: # define aligntonext(ptr, size) \ ((void*)uintptr_t)(ptr) + (size) - 1u) / (size)) * (size))) Or # define aligntonext(ptr, bits) \ ((void*)((((uintptr_t)(ptr) + (1<<(bits)) - 1u) >> (bits)) << (bits))) Note that the second argument is evaluated three times in both variants... -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: A couple of password pointers to avoid failed login(1) via cu(1)

2017-01-18 Thread Raimo Niskanen
enssl rand -base64 Hard to beat, can even be remembered! Slight "improvement" (to go around some password restrictions and to use characters that does not move around the keyboar that much between locales): openssl rand -base64 | tr +/ ., > >> > >> -- > >

Re: Failure to get unbound to talk to nsd on the same server

2016-10-11 Thread Raimo Niskanen
server? Try to tcpdump on 127.0.0.1 port 53 and see if you have traffic there between unbound and nsd. Good luck! / Raimo Niskanen On Mon, Oct 10, 2016 at 11:42:16PM +0200, Johan Mellberg wrote: > Hi all, > > I am setting up a fresh OpenBSD 6.0 server in a KVM VM to serve my >

Re: DHCP over vr(4) on bridge(4) through vether(4) no working?

2016-10-09 Thread Raimo Niskanen
On Sun, Oct 09, 2016 at 02:29:12PM +0200, Eric Huiban wrote: > Raimo Niskanen wrote: > > > I did a bridge configuration according to the FAQ with bridge0 containing > > athn0, vr1 and vether0. vether0 got the IP address configuration that > > athn0 had before, dhcpd was r

Re: DHCP over vr(4) on bridge(4) through vether(4) no working?

2016-10-09 Thread Raimo Niskanen
On Fri, Oct 07, 2016 at 11:07:43AM +0200, Raimo Niskanen wrote: > On Fri, Oct 07, 2016 at 10:42:40AM +0200, LÉVAI Dániel wrote: > > Raimo Niskanen @ 2016-10-07T09:46:06 +0200: > > > Hello misc@ > > > > > > I have a home router where it seems that DHCP over vr(

Re: Large datasize - how to limit physical memory?

2016-10-09 Thread Raimo Niskanen
On Fri, Oct 07, 2016 at 11:47:17AM -0400, Ted Unangst wrote: > Raimo Niskanen wrote: > > And the manual page is wrong in claiming that ulimit -m takes effect when > > the system gets low on memory? > > > > So the only memory limit that is enforced is ulimit -d? >

Re: DHCP over vr(4) on bridge(4) through vether(4) no working?

2016-10-07 Thread Raimo Niskanen
On Fri, Oct 07, 2016 at 10:42:40AM +0200, LÉVAI Dániel wrote: > Raimo Niskanen @ 2016-10-07T09:46:06 +0200: > > Hello misc@ > > > > I have a home router where it seems that DHCP over vr(4) on bridge(4) > > through vether(4) does not work. > > > [...] > &

DHCP over vr(4) on bridge(4) through vether(4) no working?

2016-10-07 Thread Raimo Niskanen
I missed some stupid little flag, or there is a bug in vr(4) when it passes packets over a bridge(4) to a vether(4) so encapsulation is misinterpreted and the IP broadcasts does not arrive in recognizable shape... Any hints on how to procede? -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: Large datasize - how to limit physical memory?

2016-10-07 Thread Raimo Niskanen
On Thu, Oct 06, 2016 at 11:39:49AM -0400, Ted Unangst wrote: > Raimo Niskanen wrote: > > On Wed, Oct 05, 2016 at 12:34:42PM -0400, Ted Unangst wrote: > > > If somebody writes a C program that demonstrates the problem, I'm happy to > > > take a look. I'm not installing e

Re: Large datasize - how to limit physical memory?

2016-10-06 Thread Raimo Niskanen
ptom would be that the ulimit -m limit is not immediately enforced. The question is if that is a problem? Or rather if I can use the ulimit -m limit to prevent a process from taking all memory since I need to set a large ulimit -d size to do clever address comparision tricks in the Erlang VM. / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: Large datasize - how to limit physical memory?

2016-10-05 Thread Raimo Niskanen
On Wed, Oct 05, 2016 at 03:36:20PM +0200, Otto Moerbeek wrote: > On Wed, Oct 05, 2016 at 03:28:06PM +0200, Raimo Niskanen wrote: > > > On Mon, Oct 03, 2016 at 04:13:58PM +0200, Otto Moerbeek wrote: > > > On Mon, Oct 03, 2016 at 02:56:05PM +0200, Raimo Niskanen wrote: > >

Re: Large datasize - how to limit physical memory?

2016-10-05 Thread Raimo Niskanen
On Mon, Oct 03, 2016 at 04:13:58PM +0200, Otto Moerbeek wrote: > On Mon, Oct 03, 2016 at 02:56:05PM +0200, Raimo Niskanen wrote: > > > On Fri, Sep 30, 2016 at 01:02:10PM +0200, Otto Moerbeek wrote: > > > On Fri, Sep 30, 2016 at 09:10:21AM +0200, Raimo Niskanen wrote: > >

Re: Large datasize - how to limit physical memory?

2016-10-03 Thread Raimo Niskanen
On Fri, Sep 30, 2016 at 01:02:10PM +0200, Otto Moerbeek wrote: > On Fri, Sep 30, 2016 at 09:10:21AM +0200, Raimo Niskanen wrote: > > > On Wed, Sep 28, 2016 at 09:19:51AM +0200, Raimo Niskanen wrote: > > > Dear misc@ > > > > > > I have searched

Re: Large datasize - how to limit physical memory?

2016-10-03 Thread Raimo Niskanen
t datasize=infinity in /etc/login.conf. I got > > > > datasize=33554432 which seems to be the same as kern.shminfo.shmmax. > > The number you are looking for is MAXDSIZ, whichs is 32G on amd64, Ok. A different entity with the same value. Thank you! > > -Otto -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: Large datasize - how to limit physical memory?

2016-09-30 Thread Raimo Niskanen
On Wed, Sep 28, 2016 at 09:19:51AM +0200, Raimo Niskanen wrote: > Dear misc@ > > I have searched the archives and read the documentation of login.conf(5), > ksh(1):ulimit and can not find how to limit the amount of physical memory a > process may use. > > I have the followin

Large datasize - how to limit physical memory?

2016-09-28 Thread Raimo Niskanen
T 2016 r...@stable-60-amd64.mtier.org:/binpatchng/work-binpatch60-amd64/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8283037696 (7899MB) avail mem = 8027529216 (7655MB) Best Regards -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: Erlang 19.0

2016-09-21 Thread Raimo Niskanen
mpiling. > > 6.0 has erlang-19 so the compilation was successful. > what can I do to succesffully compile erlang-19 on 5.4 and 5.7 amd64? > Thank you, > > Bogdan -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: Erlang 19.0

2016-09-21 Thread Raimo Niskanen
ardless > if --disable-hipe switch is passed to configure or not > However I want this mmap test to pass because may be other > components use these features of mmap and I consider this a test by itself. > > 6.0 has erlang-19 so the compilation was successful. > what can I do to succesffully com

Re: openbsd.org, openssh.com server(s) down

2016-03-15 Thread Raimo Niskanen
ho cannot connect to either > > of openbsd.org and openssh.com, or > > is the server down? Not just for you nor me: http://www.isup.me/www.openbsd.org > > > > Thanks > > Ruda -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: Unable to sufficiently clean up softraid metadata

2015-12-02 Thread Raimo Niskanen
t; > "long enough" will work, but it feels too brittle, and my optimal > situation would be that the system is able to operate after the above > commands are run, only having an impact after a reboot or power outage, > which the unbounded dd does not achieve (this might not be an achievable > goal at all of course). > > -- > Patrik Lundin -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: Is OpenBSD dump/restore compatible with Linux?

2015-11-30 Thread Raimo Niskanen
details though e.g how long filenames are handled for some tar vs. gtar archive formats, and also in how some tools handle extended attributes. / Raimo Niskanen > > I set that up differently. I used 2 cylinders to make a grub-only > partition at the start of the Linux space. I'm hoping to

Re: Hitting the bootable cylinder limit?

2015-11-23 Thread Raimo Niskanen
as /usr and the linux swap as a 2nd swap: > > /dev/wd0b none swap sw 0 0 > /dev/wd0m none swap sw 0 0 > /dev/wd0a / ffs rw 1 1 > /dev/wd0e /home ffs rw,nodev,nosuid 1 2 > /dev/wd0g /usr ffs rw,nodev 1 2 > /dev/wd0i /win_c msdos rw 0 0 > /dev/wd0k /win_d msdos rw 0 0 > /dev/wd0l /win_e msdos rw 0 0 > /dev/wd0j /linux0 ext2fs rw 0 0 > /dev/wd0n /linux1 ext2fs rw 0 0 > /dev/cd0a /cdrom cd9660 ro,noauto 0 0 > > > -- > Credit is the root of all evil. - AB1JX -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: OpenBSD Tablet-ish

2015-10-20 Thread Raimo Niskanen
e it would need some networking; either supported WiFi againts a "Dumb"phone hotspot, or a 3G/4G modem maybe over USB. Thoughts, anyone? I am looking at Fujitsu STYLISTIC Q335 and the likes. Lenovo Yoga 2 was mentioned above but that seems to use bluetooth for the keyboard. Asus Aspire Switch 10 and Asus Transformer Book T90 Chi might be interesting. Best Regards -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Remove removed utilities?

2015-10-19 Thread Raimo Niskanen
old libraries? -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: Remove removed utilities?

2015-10-19 Thread Raimo Niskanen
On Mon, Oct 19, 2015 at 08:12:31AM -0400, Nick Holland wrote: > On 10/19/15 04:24, Raimo Niskanen wrote: > > Hello misc@ > > > > I just noticed from the detailed changelog 5.7->5.8: > > http://www.openbsd.org/plus58.html > > that e.g tcopy, tip and lmccontr

Re: Passwd cipher for YP

2015-10-15 Thread Raimo Niskanen
mapd). Thank you for the hints. NFS is indeed in the picture. > > Devin -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: Passwd cipher for YP

2015-10-15 Thread Raimo Niskanen
. I wrote the > code, but even I don't use it. Each time I make changes that need testing > in a YP environment, my test group has shrunk again... I guess I will have to look into LDAP, then. Thank you for your clear answers! -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Passwd cipher for YP

2015-10-14 Thread Raimo Niskanen
for the future e.g sha256 and sha512? Do you have any other tips on how to handle logins in a mixed OS YP network? -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: Passwd cipher for YP

2015-10-14 Thread Raimo Niskanen
Some answers from myself after experimenting and finding Wikipedia :/ On Wed, Oct 14, 2015 at 02:36:09PM +0200, Raimo Niskanen wrote: > Hi misc@ > > I just found out that ypcipher=old is no longer supported in login.conf. > > Since I have a mixed platform lab network using YP (

Re: "dd if=/dev/srandom of=/dev/wd0e bs=1024 count=1" WIPES my wd0 disklabel. Is this intended, bug, how come, how workaround ??? Incl reproduction script+console output+dmesg

2015-10-08 Thread Raimo Niskanen
fine. In another contemporary thread it was linked to a document about softraid key disks and there it was clearly stated that to back up and restore a such a key partition you should avoid the first 8 kByte of the partition e.g by using dd bs=8192 skip=1 for backup and dd bs=8192 seek=1 for restor

Re: disklabel fs types, where can I find the whole list of supported types?

2015-10-05 Thread Raimo Niskanen
values in plain English.. > > > > > > Regards, > > > > > > Dusan > > > > > > 2015-10-05 9:28 GMT+02:00 Mikael <mikael.tr...@gmail.com>: > > > > > > > > > > > And, the disklabel filesystem type is requested as a string (unlike the > > > > fdisk partition type which is an 8-bit unsigned integer typically > > > > entered > > > > in hex) and hence you need to know which options are available: -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: disklabel fs types, where can I find the whole list of supported types?

2015-10-05 Thread Raimo Niskanen
5)? > jmc Since neither "4.2BSD", "4.1BSD" nor "RAID" is in that list I would guess not. -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: OpenBSD sendfile

2015-10-02 Thread Raimo Niskanen
ux-like crap, sendfile,and cannot disable it, how is > > he suppose to handle it? > > Run it on linux? > > I'm surprised Yaws needs it though, from what it says on their website > it looks optional. -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

EDID checksum is invalid

2015-09-17 Thread Raimo Niskanen
ff ff ff ff ff ff 00 2e cd 08 43 07 01 01 01 0a 0f 01 03 08 22 1b 78 2a 6e a6 a1 54 4c 99 26 33 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff : : -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: Recommended Industrial PCs?

2015-08-27 Thread Raimo Niskanen
-engines.ch -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: GROUP CHANGED

2015-06-15 Thread Raimo Niskanen
to the OP's misplaced concerns. (Not to mention the topic of power grabs.) -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: Install file sets from msdos fs

2015-06-02 Thread Raimo Niskanen
On Mon, Jun 01, 2015 at 07:23:07PM +0200, ludovic coues wrote: 2015-06-01 16:53 GMT+02:00 Raimo Niskanen raimo+open...@erix.ericsson.se: Hello misc. Yesterday I upgraded a laptop (i386) from 5.6 snapshot to 5.7. This laptop has no CD reader so I copied 5.7/i386 directory to an msdos

Install file sets from msdos fs

2015-06-01 Thread Raimo Niskanen
think it is a useful way around having no CD reader. Best Regards -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: Patch 009 fails on BASE-5.6 amd64

2015-03-11 Thread Raimo Niskanen
the httpd, either to OPENBSD_5_6_BASE and apply the patch, or to OPENSD_5_6 which is simpler. Or use a downloaded source tree and apply the patch.. I should add a note to the web page; we didn't discover this until some time after the patch. Thanks for reminding me. -- / Raimo Niskanen, Erlang

Re: Installing OpenBSD 5.6 using a USB Flash drive

2015-02-19 Thread Raimo Niskanen
it more efficient up to about 2 GB of RAM which this machine has? Of course, if RAM would be added you would regret not having installed amd64... /Alexander See https://en.wikipedia.org/wiki/RAM_limit#32-bit_x86_RAM_limit -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: OpenBSD usb cannot be read on Windows

2015-02-18 Thread Raimo Niskanen
I used the dd'' command to make a bootable USB drive. The USB is 16G. After I am done with the installation, I want to use the USB under Windows for other purposes. Windows reads only 240 M. How can I recover the 16G on the USB? Reformat it. Priit -- / Raimo Niskanen

Re: Installing OpenBSD 5.6 using a USB Flash drive

2015-02-17 Thread Raimo Niskanen
is not detected even though BIOS and boot(8) manages to boot the kernel. If so there might be BIOS options that can help e.g setting the disks to AHCI mode, depending on what kind of machine this is. -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: Installing OpenBSD 5.6 using a USB Flash drive

2015-02-17 Thread Raimo Niskanen
On Tue, Feb 17, 2015 at 12:51:41PM +0100, Raimo Niskanen wrote: On Tue, Feb 17, 2015 at 10:36:20AM +, A Y wrote: Hi all, I used the following command to create a USB flash drive installation media (with all file sets included): # dd if=/location/install56.fs of=/dev/rsd0c bs=1m

Re: DUMP: fopen on /dev/tty fails

2015-01-07 Thread Raimo Niskanen
using the -n flag to find out what dump wants by being logged on as a user in group 'operator' while dump runs? / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: Patch 009_httpd.patch did not apply cleanly

2014-12-01 Thread Raimo Niskanen
On Sat, Nov 29, 2014 at 05:44:17PM -0500, Ted Unangst wrote: On Sat, Nov 29, 2014 at 16:08, Libertas wrote: On 11/27/2014 07:38 AM, Raimo Niskanen wrote: I have also learned to use the -C flag to patch... Have we ever considered changing the suggested shell commands in the patches

Re: Patch 009_httpd.patch did not apply cleanly

2014-11-27 Thread Raimo Niskanen
learned to use the -C flag to patch... -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Patch 009_httpd.patch did not apply cleanly

2014-11-25 Thread Raimo Niskanen
check what source tree I tried to patch, but if this is a simple mistake from the patch writer's side I think the information above might be sufficient... Best Regards -- / Raimo Niskanen, Erlang/OTP, Ericsson AB

Re: uscom/ucom hardware question [was: OpenBSD 5.6 Released]

2014-11-06 Thread Raimo Niskanen
On Mon, Nov 03, 2014 at 05:17:40PM +0100, Raimo Niskanen wrote: On Sat, Nov 01, 2014 at 10:32:52PM +0100, ropers wrote: o New uscom(4) driver for simple USB serial adapters. This reminds me of something I've been meaning to ask for some time: * Has anyone here used a USB-only

  1   2   3   >