Installing OpenBSD on MacbookPro 8,1 (Late/Early 2011)

2023-05-17 Thread yellowcutterpillow
Hello! I wanted to install OpenBSD on my Macbook Pro 8,1 (Early/Late 2011) but seem to fail. When I boot up install73.img or miniroot73.img, they boot up, but when I actually boot up the ramdisk, bsd or bsd.rd, they stuck up at a message about aicp0 being remapped or something. I would try to diag

Re: DHCP and apm suspend/resume

2023-05-17 Thread Stuart Henderson
On 2023-05-17, Florian Obser wrote: > On 2023-05-17 18:02 UTC, l...@fuji.kuistio.me wrote: >> Hi >> >> I have a desktop machine I recently installed OpenBSD 7.3 on. Everything >> seems to be working fine except that it doesn't obtain a DHCP lease when >> waking up from suspend. I haven't found a

Potential bgpd.conf parsing bug?

2023-05-17 Thread Jordan Geoghegan
Hello, I was playing around with my bgpd.conf and I noticed some interesting behaviour with macros. A quick example: # This parses fine: IP1="192.0.2.1" MYIP=$IP1 # This throws a syntax error: ASN1="65001" MYASN=$ASN1 # This also parses fine: ASN1="65001a" MYASN=$ASN1 In short, it appears

Re: DHCP and apm suspend/resume

2023-05-17 Thread lari
>Did you make this script executable? It should have these >permissions: > >[weerd@pom] $ ls -l /etc/apm/resume >-rwxr--r-- 1 root wheel 586 Apr 29 16:33 /etc/apm/resume > >(at least readable and executable by root) > >Running `sh /etc/netstart ${IF}` from /etc/apm/resume should work; but >if

pkg_add: Can't locate object method "new" via package "OpenBSD::PackingList::Depend"

2023-05-17 Thread Mikhail
Hi, looks like after recent changes in -current pkg_add become broken: $ pkg_add -n scapy quirks-6.130 signed on 2023-05-16T19:13:11Z scapy-2.4.4p4:py3-cparser-2.21: ok pkg_add: Can't locate object method "new" via package "OpenBSD::PackingList::Depend" (perhaps you forgot to load "OpenBSD::Pac

Re: DHCP and apm suspend/resume

2023-05-17 Thread Paul de Weerd
On Wed, May 17, 2023 at 06:02:58PM +, l...@fuji.kuistio.me wrote: | Hi | | I have a desktop machine I recently installed OpenBSD 7.3 on. Everything | seems to be working fine except that it doesn't obtain a DHCP lease when | waking up from suspend. I haven't found any docs saying if it even

Re: DHCP and apm suspend/resume

2023-05-17 Thread Florian Obser
On 2023-05-17 18:02 UTC, l...@fuji.kuistio.me wrote: > Hi > > I have a desktop machine I recently installed OpenBSD 7.3 on. Everything > seems to be working fine except that it doesn't obtain a DHCP lease when > waking up from suspend. I haven't found any docs saying if it even should > do this.

DHCP and apm suspend/resume

2023-05-17 Thread lari
Hi I have a desktop machine I recently installed OpenBSD 7.3 on. Everything seems to be working fine except that it doesn't obtain a DHCP lease when waking up from suspend. I haven't found any docs saying if it even should do this. However, I also have a laptop running 7.3 and it does automatic

Re: hw RNG on APUs

2023-05-17 Thread Theo de Raadt
I would appreciate if everyone stepped back on this. 1. repeatedly reading constant data and shoving it into the kernel software RNG is safe. Such values do not saturate or decrease the quality. 2. The kernel software RNG does not require a hardware RNG to be available. 3. The people w

Re: hw RNG on APUs

2023-05-17 Thread Paul de Weerd
I wanted to see how this would behave on my APUs. One gave 000, another consistently. But then I had this diff in my tree and I rebuilt for my workstation. That has cpu0: AMD Ryzen 9 7950X 16-Core Processor, 4500.00 MHz, 19-61-02 ... ccp0 at pci21 dev 0 function 2 "AMD 17h/90h Cryp

Re: "warning: strcpy() is almost always misused, please,> use strlcpy()"

2023-05-17 Thread Stuart Henderson
On 2023-05-17, Stuart Longland wrote: > On 17/5/23 20:48, Kihaguru Gathura wrote: >> The following message occurs when linking C files in OpenBSD 7.3 AMD64 >> Platform. >> >> <- fe-exec.c(fe-exec.o:(PQmakeEmptyPGresult) in archive >> /usr/local/lib/libpq.a): warning: strcpy() is almost always

Re: "warning: strcpy() is almost always misused, please,> use strlcpy()"

2023-05-17 Thread Stuart Longland
On 17/5/23 20:48, Kihaguru Gathura wrote: The following message occurs when linking C files in OpenBSD 7.3 AMD64 Platform. <- fe-exec.c(fe-exec.o:(PQmakeEmptyPGresult) in archive /usr/local/lib/libpq.a): warning: strcpy() is almost always misused, please use strlcpy() -> Pretty straigh

[no subject]

2023-05-17 Thread Kihaguru Gathura
Greetings, The following message occurs when linking C files in OpenBSD 7.3 AMD64 Platform. <- fe-exec.c(fe-exec.o:(PQmakeEmptyPGresult) in archive /usr/local/lib/libpq.a): warning: strcpy() is almost always misused, please use strlcpy() -> Regards, Kihaguru