Desktop performance

2024-05-04 Thread Manfred Koch
Hi community, I'm a newbie and have a few questions according performance in workstation. The following changes I've made in sysctl.conf: kern.maxproc=4096 kern.maxthread=4096 kern.maxfiles=32768 further in the login.conf: staff:\     :datasize-cur=4096M:\     :datasize-max=infinity:\    

Power consumption of Pinebook Pro running OpenBSD

2024-05-04 Thread Brett Mahar
Hi misc, I am getting a Pinebook Pro soon and just wondering how many hours the battery tends to last from a full charge with OpenBSD? Use case is some web browsing, light code compilation and coding in terminal, watching occasional tv show on mpv. Brett. -- Sent from my Android

Re: Relayd forward to multiple ports on one target host?

2024-05-03 Thread Manuel Giraud
Paul Pace writes: > On 2024-05-02 07:32, Manuel Giraud wrote: >> table { 127.0.0.1 } >> table { 127.0.0.1 } >> table { 127.0.0.1 } > > On 2024-05-02 07:02, Zé Loff wrote: >> table { 10.17.16.10 } >> table { 10.17.16.10 } >> table { 10.17.16.10 } > > Multiple tables - I didn't

Re: panic: unix: lock not held

2024-05-03 Thread Amit Kulkarni
On Fri, May 3, 2024 at 1:15 AM Stuart Henderson wrote: > On 2024-05-03, Amit Kulkarni wrote: > > Hi all, > > Referring to the existing email chain on bugs@ > > https://marc.info/?l=openbsd-bugs=171468519914343=2 > > > > Unable to boot to a prompt. How do I recover by booting an older kernel? >

Re: fw_update

2024-05-03 Thread Stuart Henderson
On 2024-05-03, Harald Dunkel wrote: > On 2024-05-02 21:25:00, Stuart Henderson wrote: >> >> You have an old fw_update(1) manual lying around which should be >> removed. It moved to fw_update(8). >> > > "Moved"? Yes. It used to be in section 1, it has moved to section 8. Unless you remove the

Re: Relayd forward to multiple ports on one target host?

2024-05-03 Thread Paul Pace
On 2024-05-02 07:32, Manuel Giraud wrote: table { 127.0.0.1 } table { 127.0.0.1 } table { 127.0.0.1 } On 2024-05-02 07:02, Zé Loff wrote: table { 10.17.16.10 } table { 10.17.16.10 } table { 10.17.16.10 } Multiple tables - I didn't see that! I'm going with something like

Re: panic: unix: lock not held

2024-05-03 Thread Kirill A . Korinsky
On Fri, 03 May 2024 04:29:24 +0200, Amit Kulkarni wrote: > > Unable to boot to a prompt. How do I recover by booting an older kernel? > There is no /obsd to try out. Keep current /bsd as /obsd in the case of snapshot migth work only if you're updating quite oftne, otherwise the userland migth

Re: fw_update

2024-05-03 Thread Harald Dunkel
On 2024-05-02 21:25:00, Stuart Henderson wrote: You have an old fw_update(1) manual lying around which should be removed. It moved to fw_update(8). "Moved"? And yet another BTW: https://man.openbsd.org/OpenBSD-7.5/ seems to be forgotten. Regards Harri

Re: panic: unix: lock not held

2024-05-03 Thread Stuart Henderson
On 2024-05-03, Amit Kulkarni wrote: > Hi all, > Referring to the existing email chain on bugs@ > https://marc.info/?l=openbsd-bugs=171468519914343=2 > > Unable to boot to a prompt. How do I recover by booting an older kernel? > There is no /obsd to try out. sysupgrade doesn't save old kernels

panic: unix: lock not held

2024-05-02 Thread Amit Kulkarni
Hi all, Referring to the existing email chain on bugs@ https://marc.info/?l=openbsd-bugs=171468519914343=2 Unable to boot to a prompt. How do I recover by booting an older kernel? There is no /obsd to try out. Thanks

Re: fw_update

2024-05-02 Thread Stuart Henderson
On 2024-05-02, Harald Dunkel wrote: > On 2024-04-30 13:25:39, Страхиња Радић wrote: >> Дана 24/04/30 01:12PM, Kirill A. Korinsky написа: >>> You may download it by hand and install as fw_update /path/to/firmware.tgz >> >> BTW, this is in fw_update(8). >> >> man 8 fw_update >> /SYNOPSIS >> > >

Re: pax and ext2fs (update)

2024-05-02 Thread Walter Alejandro Iglesias
Removing the inode check (-Y option) files are updated correctly to ext2fs. So the command would be: $ pax -rw -v -Z $files $target So, it's something with the inode check what doesn't work with ext2fs.

Re: fw_update

2024-05-02 Thread Страхиња Радић
Дана 24/05/02 02:55PM, Harald Dunkel написа: > SYNOPSIS >fw_update [-adinv] [-p path] [driver ...] > > What is -F supposed to do? What happened to the -i? I'm not sure what flavor are you using, but you should update it and the packages (type ‘pkg_add -u’ as root). With

Re: Relayd forward to multiple ports on one target host?

2024-05-02 Thread Manuel Giraud
Paul Pace writes: > Hello! > > I have an OpenBSD server that hosts multiple services listening on > various ports (some projects have their own web server, some projects > require a reverse proxy, some projects just use httpd, etc.). This > server receives requests via relayd on a different

Re: boot openbsd from emmc on RockPro64

2024-05-02 Thread Cristian Danila
UPDATE By doing some research I found this to be a bug in ATF. Since this is another topic I left the message dedicated to it in hope some openbsd dev would implement a workaround in kernel. https://marc.info/?l=openbsd-misc=171448854117299=2 On Tue, Apr 30, 2024 at 4:13 PM OBI wrote: > > On

Re: Relayd forward to multiple ports on one target host?

2024-05-02 Thread Zé Loff
On Thu, May 02, 2024 at 06:34:51AM -0700, Paul Pace wrote: > Hello! > > I have an OpenBSD server that hosts multiple services listening on various > ports (some projects have their own web server, some projects require a > reverse proxy, some projects just use httpd, etc.). This server receives

Re: pax and ext2fs

2024-05-02 Thread Walter Alejandro Iglesias
On Thu, 2 May 2024 12:03:10, Stuart Henderson wrote > I don't have a suitable filesystem handy to test, but does OpenBSD's > implementation of ext2fs support sub-second timestamps? > > stat -f %Fm $filename > > If not, that's a probable explanation for the difference in behaviour. > You could

Relayd forward to multiple ports on one target host?

2024-05-02 Thread Paul Pace
Hello! I have an OpenBSD server that hosts multiple services listening on various ports (some projects have their own web server, some projects require a reverse proxy, some projects just use httpd, etc.). This server receives requests via relayd on a different server. I was hoping to not

Re: fw_update

2024-05-02 Thread Jason McIntyre
On Thu, May 02, 2024 at 02:55:33PM +0200, Harald Dunkel wrote: > On 2024-04-30 13:25:39, ?? wrote: > > 24/04/30 01:12PM, Kirill A. Korinsky : > >> You may download it by hand and install as fw_update /path/to/firmware.tgz > > > > BTW, this is in

Re: fw_update

2024-05-02 Thread Harald Dunkel
On 2024-04-30 13:25:39, Страхиња Радић wrote: Дана 24/04/30 01:12PM, Kirill A. Korinsky написа: You may download it by hand and install as fw_update /path/to/firmware.tgz BTW, this is in fw_update(8). man 8 fw_update /SYNOPSIS Another BTW: # fw_update -i fw_update:

Re: pax and ext2fs

2024-05-02 Thread Stuart Henderson
On 2024-05-02, Walter Alejandro Iglesias wrote: > I expect from that command no more and no less than what is explained in > the man page: > > Update (and list) only those files in the destination directory > /backup which are older (less recent inode change or file > modification

Re: pax and ext2fs

2024-05-02 Thread Walter Alejandro Iglesias
I expect from that command no more and no less than what is explained in the man page: Update (and list) only those files in the destination directory /backup which are older (less recent inode change or file modification times) than files with the same name found in the source

Re: Ports: micro is broken

2024-05-02 Thread Mizsei Zoltán
I see, thanks for the detailed explanation. I'll use mg then. :) Regards, --ext Stuart Henderson írta 2024. máj.. 2, Cs-n 11:15 órakor: > On 2024-05-02, Mizsei Zoltán wrote: >> I am unsure if this is the correct list for this to report, but there seems >> to be other mails regarding ports

Re: Ports: micro is broken

2024-05-02 Thread Stuart Henderson
On 2024-05-02, Mizsei Zoltán wrote: > I am unsure if this is the correct list for this to report, but there seems > to be other mails regarding ports here, so... po...@openbsd.org is better for ports-related questions. > I am facing issues with the port of the "micro" editor (written in go) on

Ports: micro is broken

2024-05-02 Thread Mizsei Zoltán
Hi, I am unsure if this is the correct list for this to report, but there seems to be other mails regarding ports here, so... I am facing issues with the port of the "micro" editor (written in go) on OBSD 7.5. While the color handling was broken in 7.4, but otherwise the editor used to work,

Re: pax and ext2fs

2024-05-01 Thread Philip Guenther
On Tue, Apr 30, 2024 at 5:50 AM Walter Alejandro Iglesias wrote: > I'd never used pax(1), reading the man page I found this command can be > used to make a backup: > > $ pax -r -w -v -Y -Z home /backup > > Faster than using rsync indeed, but it seems that the -Y and -Z options > don't work

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-05-01 Thread Nathaniel Griswold
> From your dmesg: > > iwx0 at pci6 dev 0 function 0 "Intel Wi-Fi 6 AX210" rev 0x1a, msix > > if you read the end of man page for iwx you'll see: > > This driver does not support powersave mode. Ah. I guess that’s a failure to read man page. Thank you. I’ve tested disabling the port in

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-05-01 Thread Chris Petrik
Hello, Failure to read man pages before posting. Chris Sent from Proton Mail Android Original Message On 5/1/24 5:42 PM, Kirill A. Korinsky wrote: > On Thu, 02 May 2024 00:33:47 +0200, > "Nathaniel Griswold" wrote: > > > > Does apmd keep a running average for the

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-05-01 Thread Kirill A . Korinsky
On Thu, 02 May 2024 00:33:47 +0200, "Nathaniel Griswold" wrote: > > Does apmd keep a running average for the current and voltage or is it based > on instantaneous (as close as that can be)? > As far as I understand the code it devides hw.sensors.acpibat0.amphour3 (remaining capacity, Ah) by

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-05-01 Thread Kirill A . Korinsky
On Wed, 01 May 2024 23:58:53 +0200, "Nathaniel Griswold" wrote: > > I guess it's a matter of figuring out which drivers or kernel features are > saving so much power. > From your dmesg: iwx0 at pci6 dev 0 function 0 "Intel Wi-Fi 6 AX210" rev 0x1a, msix if you read the end of man page for

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-05-01 Thread Nathaniel Griswold
> 1. Snapshot's kernel: > > Apr 28 13:32:23 matebook apmd: battery status: CRITICAL. external power > status: not connected. estimated battery life 14% (11 minutes life time > estimate) > > 2. Solene's patch: > > May 1 11:52:28 matebook apmd: battery status: CRITICAL. external power >

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-05-01 Thread Kirill A . Korinsky
On Wed, 01 May 2024 23:54:52 +0200, "Nathaniel Griswold" wrote: > > Interesting, maybe i'll test on it. > I've played with this patch a bit more today, as result I've inlined an updated version to end of this email. > > Regarding estimated life time: > > > > Battery state: high, 66%

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-05-01 Thread Nathaniel Griswold
> > I tried disabling cores in my bios down to 3 CPUs and did comparisons and i > didn't really notice a savings. That was for idle usage, though. This may help out with an actual workload

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-05-01 Thread Nathaniel Griswold
> Linux has drivers for devices shutdown when not used and idle power > states, pretty much like Windows has. Android, who is Linux derived, > took this concept to a much higher level. > Think of a wireless card and you can see on man ath(4): " The driver > does not fully enable power-save

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-05-01 Thread Nathaniel Griswold
> It is extention of powersave mode which disabling / enabling CPUs. Interesting, maybe i'll test on it. > Regarding estimated life time: > > Battery state: high, 66% remaining, 152 minutes life estimate > AC adapter state: not connected > Performance adjustment mode: powersaving (400

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-05-01 Thread Kirill A . Korinsky
On Tue, 30 Apr 2024 18:07:50 +0200, "Nathaniel Griswold" wrote: > > What could be taking so much power? CPUs are idling. You may try this patch. It is extention of powersave mode which disabling / enabling CPUs. It should degradate to single-core mode, but it may contains bugs :) Right now

Re: fw_update

2024-05-01 Thread Mihai Popescu
> How does fw_update install the drivers? > How does it know which driver is missing on the system? Just list the following sequence (outputs inserted too): $ which fw_update /usr/sbin/fw_update $ cat /usr/sbin/fw_update #!/bin/ksh # $OpenBSD: fw_update.sh,v 1.56 2024/03/21 01:02:29 afresh1

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-04-30 Thread Nathaniel Griswold
> I am conducting my tests with manual hw.setperf=0 I think maybe it’s the drivers not powering down like you said

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-04-30 Thread Nathaniel Griswold
On Tue, Apr 30, 2024, at 3:13 PM, Mihai Popescu wrote: > https://marc.info/?l=openbsd-misc=165231418528297=2 > > I am conducting my tests with manual hw.setperf=0

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-04-30 Thread Kirill A . Korinsky
On Tue, 30 Apr 2024 21:00:25 +0200, Kirill A. Korinsky wrote: > > On Tue, 30 Apr 2024 18:36:57 +0200, > Stuart Henderson wrote: > > > > https://cneira.github.io/posts/openbsd-save-battery-changes/ > > Do you have an idea what had happened with it? > After reading some code I have a

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-04-30 Thread Mihai Popescu
https://marc.info/?l=openbsd-misc=165231418528297=2

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-04-30 Thread Kirill A . Korinsky
On Tue, 30 Apr 2024 18:36:57 +0200, Stuart Henderson wrote: > > On 2024-04-30, Nathaniel Griswold wrote: > > What could be taking so much power? CPUs are idling. > > some things in this area that people have been looking into: > > https://cneira.github.io/posts/openbsd-save-battery-changes/

Re: Caddy webserver is not in the ports tree

2024-04-30 Thread Souji Thenria
On Tue Apr 30, 2024 at 5:09 PM BST, Stuart Henderson wrote: On 2024-04-30, Souji Thenria wrote: > > Could you elaborate on your point that Go ports are a pain? > I thought a port written in Go would probably be easier to maintain > because no additional libraries are needed to run the

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-04-30 Thread Stuart Henderson
On 2024-04-30, Nathaniel Griswold wrote: > What could be taking so much power? CPUs are idling. some things in this area that people have been looking into: https://cneira.github.io/posts/openbsd-save-battery-changes/ https://github.com/openbsd/src/compare/master...jcs:openbsd-src:jcs

Re: Caddy webserver is not in the ports tree

2024-04-30 Thread Stuart Henderson
On 2024-04-30, Souji Thenria wrote: > > Could you elaborate on your point that Go ports are a pain? > I thought a port written in Go would probably be easier to maintain > because no additional libraries are needed to run the program, and > cross-compilation is relatively easy, too. With

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-04-30 Thread Nathaniel Griswold
Kirill thanks for the patch, but i am still worried about the power usage. Even if i put apmd in manual mode and setperf=0, my system sucks 9-9.5W, which means the patch will not do much in my situation since any benefit from the patch comes from setperf=0. What could be taking so much power?

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-04-30 Thread Nathaniel Griswold
On Sun, Apr 28, 2024, at 4:17 PM, Mihai Popescu wrote: > > Any ideas if it's remediable or where to start digging? > > Linux has drivers for devices shutdown when not used and idle power > states, pretty much like Windows has. Android, who is Linux derived, > took this concept to a much higher

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-04-30 Thread Nathaniel Griswold
On Tue, Apr 30, 2024, at 7:52 AM, Nathaniel Griswold wrote: > For this reason, I’m not sure it’s doing straight pass through — it must be > some kind of hybrid design or something I don’t understand. For anyone interested, I guess I was wrong it stays at zero current even under high load. I

Re: ubnt edgerouter 8

2024-04-30 Thread Stuart Henderson
On 2024/04/30 16:46, Marc Peters wrote: > Am Tue, Apr 30, 2024 at 12:03:10PM UTC, schrieb Stuart Henderson: > > Do be aware that they often have less airflow than the original fans. > > > > Sometimes that is not a problem, but sometimes you might want to think > > twice (especially in, say, the

Re: Caddy webserver is not in the ports tree

2024-04-30 Thread Souji Thenria
On Tue Apr 30, 2024 at 3:23 PM BST, Kirill A. Korinsky wrote: On Tue, 30 Apr 2024 15:30:25 +0200, "Souji Thenria" wrote: > > Could you elaborate on your point that Go ports are a pain? I thought a > port written in Go would probably be easier to maintain > because no additional libraries are

rk3399 rockpro64 fails to power off

2024-04-30 Thread Cristian Danila
Dear Misc, I own a rockpro64 device + openbsd 7.5 and for some reason shutdown -p now does not powering off the device -> shutdown -p now - Shutdown NOW! shutdown: [pid 39459] *** FINAL System shutdown message from root@*** *** System

Re: ubnt edgerouter 8

2024-04-30 Thread Marc Peters
Am Tue, Apr 30, 2024 at 12:03:10PM UTC, schrieb Stuart Henderson: > Do be aware that they often have less airflow than the original fans. > > Sometimes that is not a problem, but sometimes you might want to think > twice (especially in, say, the power supply in poe switches, which might > end up

Re: Caddy webserver is not in the ports tree

2024-04-30 Thread Kirill A . Korinsky
On Tue, 30 Apr 2024 15:30:25 +0200, "Souji Thenria" wrote: > > Could you elaborate on your point that Go ports are a pain? I thought a > port written in Go would probably be easier to maintain > because no additional libraries are needed to run the program, and > cross-compilation is relatively

Re: Caddy webserver is not in the ports tree

2024-04-30 Thread Souji Thenria
On Tue Apr 30, 2024 at 1:24 PM BST, Stuart Henderson wrote: On 2024-04-30, Souji Thenria wrote: > Hi everyone, > > In the last couple of days, I played with the webserver Caddy [1] and > would like to use it for some of my web applications. However, the > webserver is currently not in the ports

Re: boot openbsd from emmc on RockPro64

2024-04-30 Thread OBI
On Tue, 30 Apr 2024 13:39:55 +0200 "Cristian Danila" wrote: > HI Olivier, > > I cannot express how grateful I am that finally is booting emmc. > However, I still have an issue, power button does not seem to work > and shutdown -p now does not really turn off the device. > > pw# shutdown -p now

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-04-30 Thread Kirill A . Korinsky
On Tue, 30 Apr 2024 15:01:43 +0200, "Nathaniel Griswold" wrote: > > My serperf seems to be at a consistent zero in my idle tests which makes > me think the patch may not help my idle tests much, but may help actual > usage. > In my personal use case it allows to win near 30 minutes of battery

Re: Caddy webserver is not in the ports tree

2024-04-30 Thread Stuart Henderson
On 2024-04-30, Stuart Henderson wrote: > On 2024-04-30, Souji Thenria wrote: >> Hi everyone, >> >> In the last couple of days, I played with the webserver Caddy [1] and >> would like to use it for some of my web applications. However, the >> webserver is currently not in the ports tree. Is there

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-04-30 Thread Nathaniel Griswold
> Well, I haven't tried it but I've read documentation [1] and it seems a bit > differently, isn't it? Um, obsdfreqd sets a cpu frequency “percentage” which I thought might just be setperf. One difference is it sets a range based on a usage algorithm while solene’s patch seems to setperf 100 or

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-04-30 Thread Nathaniel Griswold
> is it an genuine (really in strict sense of the term) brand battery or a > compatible replacement (even if they call it "genuine", always puzzles me). > Since I keep alive a lot of vintage laptops and am the author of > GNUstep's BatteryMonitor I share the experience that non-original >

Re: Caddy webserver is not in the ports tree

2024-04-30 Thread Stuart Henderson
On 2024-04-30, Souji Thenria wrote: > Hi everyone, > > In the last couple of days, I played with the webserver Caddy [1] and > would like to use it for some of my web applications. However, the > webserver is currently not in the ports tree. Is there a specific reason > for that, or has no one

Re: ubnt edgerouter 8

2024-04-30 Thread Stuart Henderson
On 2024-04-30, Marc Peters wrote: > Am Mon, Apr 29, 2024 at 05:31:14PM UTC, schrieb Daniel Gracia: >>I replaced my 8 Pro fans with Noctua units and I'm pretty happy with >>them; they came with several adapters that allow you to choose the >>speed of the fans. > > +1 for the noctua

pax and ext2fs

2024-04-30 Thread Walter Alejandro Iglesias
Hello, I'd never used pax(1), reading the man page I found this command can be used to make a backup: $ pax -r -w -v -Y -Z home /backup Faster than using rsync indeed, but it seems that the -Y and -Z options don't work with ext2fs? -- Walter

Re: boot openbsd from emmc on RockPro64

2024-04-30 Thread Cristian Danila
HI Olivier, I cannot express how grateful I am that finally is booting emmc. However, I still have an issue, power button does not seem to work and shutdown -p now does not really turn off the device. pw# shutdown -p now Shutdown NOW! shutdown: [pid 39459] pw# *** FINAL System shutdown message

Re: fw_update

2024-04-30 Thread Страхиња Радић
Дана 24/04/30 01:12PM, Kirill A. Korinsky написа: > You may download it by hand and install as fw_update /path/to/firmware.tgz BTW, this is in fw_update(8). man 8 fw_update /SYNOPSIS

Re: fw_update

2024-04-30 Thread Kirill A . Korinsky
On Tue, 30 Apr 2024 12:35:17 +0200, fr...@lilo.org wrote: > > How does fw_update install the drivers? It downloads firmware from http://firmware.openbsd.org/firmware/ and installs it as package in system. > How does it know which driver is missing on the system? It checks patterns from

Caddy webserver is not in the ports tree

2024-04-30 Thread Souji Thenria
Hi everyone, In the last couple of days, I played with the webserver Caddy [1] and would like to use it for some of my web applications. However, the webserver is currently not in the ports tree. Is there a specific reason for that, or has no one wanted to create and maintain the port yet? If

Re: fw_update

2024-04-30 Thread Chris Petrik
Hello, Firmwares aren't drivers per say they are required along with the driver Chris Sent from Proton Mail Android Original Message On 4/30/24 5:35 AM, wrote: > How does fw_update install the drivers? > How does it know which driver is missing on the system? > All

fw_update

2024-04-30 Thread fr5dh
How does fw_update install the drivers? How does it know which driver is missing on the system? All these questions to install the drivers manually (offline) Tks

Re: ubnt edgerouter 8

2024-04-30 Thread Marc Peters
Am Mon, Apr 29, 2024 at 05:31:14PM UTC, schrieb Daniel Gracia: >I replaced my 8 Pro fans with Noctua units and I'm pretty happy with >them; they came with several adapters that allow you to choose the >speed of the fans. +1 for the noctua fans from me. I replaced a couple of annoying

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-04-30 Thread Kirill A . Korinsky
On Tue, 30 Apr 2024 11:17:35 +0200, Kirill A. Korinsky wrote: > > Frankly speaking I never care about watt consumption, but offline time which > is depend on it is important in my case, so here the recovered patch. > Here a bit updated version which introduced a flag -P in apmd which you may

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-04-30 Thread Kirill A . Korinsky
On Tue, 30 Apr 2024 05:31:21 +0200, "Nathaniel Griswold" wrote: > > > I had near the same question sometime ago but on different machine, and I've > > discovered a patch which I've inlinded into this email. > > > > Hm, ok, i'll try it. Do you have any insight into whether obsdfreqd has > similar

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-04-30 Thread Riccardo Mottola
Hi Nathaniel, Nathaniel Griswold wrote: I meant to clarify: I have had the battery for over a year and I’m not sure why the cycles reset to 5. I am puzzled by it. is it an genuine (really in strict sense of the term) brand battery or a compatible replacement (even if they call it

Re: ubnt edgerouter 8

2024-04-30 Thread Janne Johansson
Den mån 29 apr. 2024 kl 17:35 skrev Daniel Gracia : > I replaced my 8 Pro fans with Noctua units and I'm pretty happy with them; > they came with several adapters that allow you to choose the speed of the > fans. For the record, I've also tried this and would recommend Noctua fans. They look as

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-04-29 Thread Nathaniel Griswold
> I had near the same question sometime ago but on different machine, and I've > discovered a patch which I've inlinded into this email. > Hm, ok, i'll try it. Do you have any insight into whether obsdfreqd has similar power saving to this patch? It seems to set the perf similarly. I wasn't

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-04-29 Thread Kirill A . Korinsky
Greetings, On Sun, 28 Apr 2024 18:53:09 +0200, "Nathaniel Griswold" wrote: > > Any ideas if it's remediable or where to start digging? > I had near the same question sometime ago but on different machine, and I've discovered a patch which I've inlinded into this email. My laptop on last

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-04-29 Thread Nathaniel Griswold
On Mon, Apr 29, 2024, at 5:06 AM, Polarian wrote: > Hello, > > Just a quick thing I wanted to point out. > > > I have no idea why my charge cycles is so low. It's at 5 now. And i > > tested that on Linux, too, so it's not just OpenBSD. > > Having low charge cycles is good, that isn't the

Re: VPN with iked(8)

2024-04-29 Thread Matthew Ernisse
On Mon, Apr 29, 2024 at 01:47:45AM +0200, Odd Martin Baanrud said: I’m planning to set up a VPN on my router with iked(8). The first goal is to have my Macbook and iPhone connected, both to route the traffic thrugh my router at home, and to get access to the services running on a machine

Re: ubnt edgerouter 8

2024-04-29 Thread Peter J. Philipp
On Mon, Apr 29, 2024 at 05:35:49PM +0200, Janne Johansson wrote: > > Any help is much appreciated. The ER-8 right now idles a lot anyhow and > > I plan on using it for the 8 RJ45 ports. > > I run some Pro 8s in a small rack where I have ripped out the internal > fan of the edgerouters, and then

Re: ubnt edgerouter 8

2024-04-29 Thread Janne Johansson
Den mån 29 apr. 2024 kl 15:41 skrev Peter J. Philipp : > > Hi, > > What sort of things can I do to keep an edgerouter 8 cool that doesn't have > fans? I'm ready to pull the fans out of it because they have a certain > harmonic that makes me physically ill. But I like the octeon! > > So short of

Re: ubnt edgerouter 8

2024-04-29 Thread Daniel Gracia
I replaced my 8 Pro fans with Noctua units and I'm pretty happy with them; they came with several adapters that allow you to choose the speed of the fans. Converting to passive cooling, if you have enough room on the cabinet and are a proficient user of drills, I'd try to (i) remove the heatsink

Re: ubnt edgerouter 8

2024-04-29 Thread Odhiambo Washington
On Mon, Apr 29, 2024 at 4:42 PM Peter J. Philipp wrote: > Hi, > > What sort of things can I do to keep an edgerouter 8 cool that doesn't have > fans? I'm ready to pull the fans out of it because they have a certain > harmonic that makes me physically ill. But I like the octeon! > > So short of

Re: [Raspberry Pi 4] Installing OpenBSD 7.5 with difficulty

2024-04-29 Thread Douglas Silva
> Did you inject RPI UEFI firmware into the BOOT partition? Are you talking about some third-party bootloader software? No, I'm using the default U-Boot that comes with the miniroot. No modification required.

ubnt edgerouter 8

2024-04-29 Thread Peter J. Philipp
Hi, What sort of things can I do to keep an edgerouter 8 cool that doesn't have fans? I'm ready to pull the fans out of it because they have a certain harmonic that makes me physically ill. But I like the octeon! So short of throwing it out I'm thinking of pulling the plug (on the fans). Would

Re: boot openbsd from emmc on RockPro64

2024-04-29 Thread OBI
On Sat, 27 Apr 2024 17:11:56 +0200 "Cristian Danila" wrote: > Dear Misc, > > I would really appreciate if someone can give > me a hint on how can make emmc card bootable > on a RockPro64 board. > This is what I did: > 1) prepared micro sd card: > dd if=install75.img of=/dev/sdg bs=1024M > dd

hyperv(4) on arm64?

2024-04-29 Thread Peter J. Philipp
Has anyone tried this? I read that Microsoft has Hyper-V for ARM. I've been running OpenBSD on amd64 hardware in Hyper-V for a while. I suspect there wouldn't be endian issues since arm64 and amd64 are both LE, is there any other concerns? I'm inquiring because mainly I know I have my sights

VPN with iked(8)

2024-04-28 Thread Odd Martin Baanrud
Hello, I’m planning to set up a VPN on my router with iked(8). The first goal is to have my Macbook and iPhone connected, both to route the traffic thrugh my router at home, and to get access to the services running on a machine behind the router. I’ve read the VPN section in the FAQ, and I

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-04-28 Thread Mihai Popescu
> Any ideas if it's remediable or where to start digging? Linux has drivers for devices shutdown when not used and idle power states, pretty much like Windows has. Android, who is Linux derived, took this concept to a much higher level. Think of a wireless card and you can see on man ath(4): "

Re: NAT on CARP interface

2024-04-28 Thread Radek
> Nevertheless, writing egress or $ext_If, what difference does it really > make? You're just repeating a different word. Lol It doesn't make any difference for me. Being curious I added em0 do egress group and restarted all intefaces. However, em0 seems not to be in ergess group and the rule

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-04-28 Thread Nathaniel Griswold
> So you are running on battery, not AC. Yes, i am testing the power usage on battery > > hw.sensors.acpibat0.raw1=4 (discharge cycles) > > Probably not related, but your battery has dropped full charge > from 3.57 Ah to 3.01 in four cycles? > > > > hw.sensors.acpitz0.temp0=42.80 degC (zone

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-04-28 Thread Nathaniel Griswold
I trimmed the dmesg.boot to be just the last boot On Sun, Apr 28, 2024 at 08:01:58PM +0200, Jan Stary wrote: > > > hw.sensors.acpibat0.volt0=15.40 VDC (voltage) > > > hw.sensors.acpibat0.volt1=14.29 VDC (current voltage) > > > hw.sensors.acpibat0.current0=0.69 A (rate) > > I think he got it from

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-04-28 Thread Peter J. Philipp
On Sun, Apr 28, 2024 at 08:01:58PM +0200, Jan Stary wrote: > > hw.sensors.acpibat0.volt0=15.40 VDC (voltage) > > hw.sensors.acpibat0.volt1=14.29 VDC (current voltage) > > hw.sensors.acpibat0.current0=0.69 A (rate) I think he got it from here (from dc): 14.29 0.69 * p 9.86 This is explained

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-04-28 Thread Jan Stary
Where do you get the > 10W number? Not in the sysctl output, and you are running on battery. On Apr 28 11:53:09, n...@fastmail.com wrote: > I am seeing a lot of power drawn even when nothing is going on on the system > (top shows everything at zero, load average is 0.01). This is even if the >

Re: NAT on CARP interface

2024-04-28 Thread Mike
Oh now I remember, you might need to add it to the egress interface group. Does that rule you posted error out or are you just seeing blocks with it? On Sun, Apr 28, 2024, 12:49 PM Mike wrote: > If I remember right, you can run 'ifconfig' and see if that interface is > marked as an egress

Re: NAT on CARP interface

2024-04-28 Thread Brian Conway
On Sun, Apr 28, 2024, at 11:49 AM, Mike wrote: > If I remember right, you can run 'ifconfig' and see if that interface > is marked as an egress interface or not. I can't remember how OBSD > determines what interfaces are egress or not but your em0 seems to be

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-04-28 Thread Nathaniel Griswold
I forgot to mention that I have apmd running in automatic mode. I've also tried obsdfreqd but it does not seem to have much of an effect on or off. Here is my `sysctl hw.sensors' output (with obsdfreqd on) ```sysctl hw.sensors hw.sensors.cpu0.temp0=47.00 degC

>10W idle power usage on framework laptop 12th gen 13inch

2024-04-28 Thread Nathaniel Griswold
I am seeing a lot of power drawn even when nothing is going on on the system (top shows everything at zero, load average is 0.01). This is even if the backlight is dim. On an Ubuntu Linxu system, i was getting about 3.5-4W when nothing much was going on. Any ideas if it's remediable or where

Re: NAT on CARP interface

2024-04-28 Thread Mike
If I remember right, you can run 'ifconfig' and see if that interface is marked as an egress interface or not. I can't remember how OBSD determines what interfaces are egress or not but your em0 seems to be in a private network so it might not be classifying itself as egress. Nevertheless,

Re: NAT on CARP interface

2024-04-28 Thread Radek
> change $lan_if to $int_if, change (egress:0) to $ext_carpif, and it will work > as the rule you say works. I made minor changes and tested the egress version. ext_if = "em0" ext_carpif = "carp0" int_if = "carp2" This rule works for me: match out log on $ext_if from $int_if:network to any

Re: Is there access to dm...@openbsd.org? / arm64 laptops

2024-04-28 Thread Peter J. Philipp
I found a dmesg! Thank you! https://marc.info/?l=openbsd-bugs=171430467412856=2 No other needed! -pjp

Re: Usb tethering

2024-04-28 Thread fr5dh
Tethering worked with openbsd 7.4 bios/mbr. Doesn't work anymore since installing 7.5 uefi/gpt. I have to reinstall with a legacy bios boot just to see. Original message > From: Zé Loff > To: Pascal > Subject: Re: Usb tethering > Date: 27/04/2024 10:56:37 Europe/Paris > Cc:

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