Re: Calculating VMs/CPU

2023-02-04 Thread Mike Larkin
On Sat, Feb 04, 2023 at 10:02:13PM -0800, latin...@vcn.bc.ca wrote:
> > On Sat, Feb 04, 2023 at 02:31:39PM -0800, latin...@vcn.bc.ca wrote:
> >> Hello misc
> >>
> >> i am building an only VMD server:
> >>
> >> How could calculate the relation: CPU, Ram, Storage, VMs please?
> >>
> >> Thanks.
> >> PD:
> >> I have a Lenovo ThinkPad Edge 4 i3 cores, 500GB disk. 8GB Ram.
> >>
> >
> > what are you planning on running?
> >
> 
> Thanks for your attention:
> 
> For now, only OpenBSD with connection to the world' the 3rd option i think.
> 
> In the future:
> BSD and Linux!
> 
> How can i get the related information please. I have installed OpenBSD 7.2
> and it is a testing laptop. it is going to be reproduced on arented bare
> metal Server.
> 
> 
> 
> 

I can't answer your question without knowing what you plan to run in the
VMs.

Just don't overcommit RAM.

-ml



Re: Calculating VMs/CPU

2023-02-04 Thread latincom
> On Sat, Feb 04, 2023 at 02:31:39PM -0800, latin...@vcn.bc.ca wrote:
>> Hello misc
>>
>> i am building an only VMD server:
>>
>> How could calculate the relation: CPU, Ram, Storage, VMs please?
>>
>> Thanks.
>> PD:
>> I have a Lenovo ThinkPad Edge 4 i3 cores, 500GB disk. 8GB Ram.
>>
>
> what are you planning on running?
>

Thanks for your attention:

For now, only OpenBSD with connection to the world' the 3rd option i think.

In the future:
BSD and Linux!

How can i get the related information please. I have installed OpenBSD 7.2
and it is a testing laptop. it is going to be reproduced on arented bare
metal Server.






Re: Calculating VMs/CPU

2023-02-04 Thread Mike Larkin
On Sat, Feb 04, 2023 at 02:31:39PM -0800, latin...@vcn.bc.ca wrote:
> Hello misc
> 
> i am building an only VMD server:
> 
> How could calculate the relation: CPU, Ram, Storage, VMs please?
> 
> Thanks.
> PD:
> I have a Lenovo ThinkPad Edge 4 i3 cores, 500GB disk. 8GB Ram.
> 

what are you planning on running?



Re: How to announce over OSPF only one IP address

2023-02-04 Thread Tom Smyth
Hi Radek,

it is better practice to add ospf network statements  to ospfd.conf
(if you dont want to send / recieve ospf messages on an interface set the
interface to passive in ospfd.conf
avoid redistribute connected
(add the network you want to be added to your ospf network) and leave the
other network ommitted from your ospfd.conf


I hope this helps,


On Sat, 4 Feb 2023 at 20:02, Radek  wrote:

> Hello,
> is it possible to announce over OSPF only one (or a few specific) IP
> address instead of the whole subnet?
> If yes.. an ospfd.conf example would be appreciated.
>
> $ cat /etc/hostname.vr3
> inet 10.1.111.1 255.255.255.0
>
> $ cat /etc/ospfd.conf
> router-id 10.109.3.15
> redistribute connected
>
> area 0.0.0.0 {
> interface vr0
> interface vr3
> }
>
> Thanks,
> Radek
>
>

-- 
Kindest regards,
Tom Smyth.


Calculating VMs/CPU

2023-02-04 Thread latincom
Hello misc

i am building an only VMD server:

How could calculate the relation: CPU, Ram, Storage, VMs please?

Thanks.
PD:
I have a Lenovo ThinkPad Edge 4 i3 cores, 500GB disk. 8GB Ram.



Re: How to announce over OSPF only one IP address

2023-02-04 Thread Diederik Schouten
Hello Radek,

Rather than using “redistribute connected” use “redistribute ”

ospfd.conf
 redistribute 10.1.111.20/32
 redistribute 10.1.111.16/30

Greetings,

   Diederik

Sent from my iPhone

> On 4 Feb 2023, at 20:55, Radek  wrote:
> 
> Hello,
> is it possible to announce over OSPF only one (or a few specific) IP address 
> instead of the whole subnet?
> If yes.. an ospfd.conf example would be appreciated.
> 
> $ cat /etc/hostname.vr3
> inet 10.1.111.1 255.255.255.0
> 
> $ cat /etc/ospfd.conf
> router-id 10.109.3.15
> redistribute connected
> 
> area 0.0.0.0 {
>interface vr0
>interface vr3
> }
> 
> Thanks, 
> Radek
> 


How to announce over OSPF only one IP address

2023-02-04 Thread Radek
Hello,
is it possible to announce over OSPF only one (or a few specific) IP address 
instead of the whole subnet?
If yes.. an ospfd.conf example would be appreciated.

$ cat /etc/hostname.vr3
inet 10.1.111.1 255.255.255.0

$ cat /etc/ospfd.conf
router-id 10.109.3.15
redistribute connected

area 0.0.0.0 {
interface vr0
interface vr3
}

Thanks, 
Radek



Re: Live stick / cd from official sources

2023-02-04 Thread Peter N. M. Hansteen
On Sat, Feb 04, 2023 at 05:48:15PM +0100, Daniele B. wrote:
> Sorry if I bother you again with the thread.

No need to cc: me. I's subscribed to misc@.

> The minipc will be on business from tomorrow and I will use it
> together with a little student of mine: it is enough critical that the
> "not configured" hello! doesn't reppresent anything "risky".
> Eg: I tried to tweak the custom bios of Fujitsu for a more perfomant
> fan/cpu but the machine started litterally to fly while booting. Precautially
> I hanged manually the booting process.

I've had a lot of hardware that would start the fans full blast during the 
early parts of the boot proces, but would quiet down once everything was fully
loaded. Or after you have configured apmd(8) properly. I would not worry 
overmuch
over this by and on itself.

> The part of dmesg I'm wondering about is the following:

partial dmesges are by definition a waste of time. Please send the full one,
or perhaps rather full sendbug output.

> And for your own concerns:
> azalia0 at pci0 dev 3 function 0 "Intel Core 4G HD Audio" rev 0x06: msi
> azalia0: No codecs found

whether this is significant depends on the specific role you were thinking
of assigning to this machine. It looks like this is a new variant of Intel
audio. The developers who work with that part of the code on a daily basis
will be able to offer insights with a full sendbug output sent to bugs@.

They all read bugs@, whether anything posted on misc@ actually reaches a 
relevant developer is more hit or miss.

- Peter

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
https://bsdly.blogspot.com/ https://www.bsdly.net/ https://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



Re: Live stick / cd from official sources

2023-02-04 Thread Jan Stary
post the full dmesg

On Feb 04 17:48:15, my2...@aol.com wrote:
> Sorry if I bother you again with the thread.
> 
> The minipc will be on business from tomorrow and I will use it
> together with a little student of mine: it is enough critical that the
> "not configured" hello! doesn't reppresent anything "risky".
> Eg: I tried to tweak the custom bios of Fujitsu for a more perfomant
> fan/cpu but the machine started litterally to fly while booting. Precautially
> I hanged manually the booting process.
> 
> The part of dmesg I'm wondering about is the following:
> 
> "FUJ02E3" at acpi0 not configured
> 
> "PNP0C14" at acpi0 not configured
> "PNP0C32" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> 
> "PNP0C0B" at acpi0 not configured
> "PNP0C0B" at acpi0 not configured
> "PNP0C0B" at acpi0 not configured
> "PNP0C0B" at acpi0 not configured
> "PNP0C0B" at acpi0 not configured
> 
> acpicpu0 at acpi0: C1(@1 halt!), PSS
> acpicpu1 at acpi0: C1(@1 halt!), PSS
> acpicpu2 at acpi0: C1(@1 halt!), PSS
> acpicpu3 at acpi0: C1(@1 halt!), PSS
> 
> cpu0: using Broadwell MDS workaround
> 
> And for your own concerns:
> azalia0 at pci0 dev 3 function 0 "Intel Core 4G HD Audio" rev 0x06: msi
> azalia0: No codecs found
> 
> Thanks!
> -- Daniele Bonini
> 
> Feb 1, 2023 23:24:20 Daniele B. :
> 
> > Just a small boot summary to attach to the thread..
> > 
> > ( I'm not that easy to share more about my config and sorry about that)
> > 
> > The Fujitsu mini-pc has a custom made Ami Bios configuration.
> > 
> > It went immidiately up and running although with some "not configured" 
> > hello!
> > that didn't impact the correct system launch in all its main components.
> > 
> > The software configuration instead had a serious problem with Netbeans Ide 
> > that was not able to
> > open and it crashed just after the splash. Unfortunately, I'm sure the 
> > problem is related to the hardware conf
> > change that somehow was referenced in the local files (cache, user conf or 
> > both) that I erased to
> > left Netbeans regenerating them. Between the hardware changes that I care 
> > most:
> > - cpu0 -> acpitz0 in the sensors
> > - the name of the ethernet (java somehow likes the net)
> > 
> > Cosmetic stuff: I cut off xorg.conf device "overclocking" parameters to a 
> > standard configuration to
> > get the new video card much more speedy: my xorg.conf was aged and probably 
> > xorg has already been
> > optimized to survive best without "my optimal hints".
> > 
> > :D
> > 
> > -- Daniele Bonini
> > 
> > Feb 1, 2023 12:48:45 Peter N. M. Hansteen :
> > 
> >> On Wed, Feb 01, 2023 at 12:36:18PM +0100, Daniele B. wrote:
> >>> The mini-pc arrived in three working days, from Germany to Italy. 30 
> >>> bucks of DHL delivery but..
> >>> I could be certainly happy of such a service..
> >>> 
> >>> (although at time I can't still be sure about the possibility to openbsd 
> >>> it..). 
> >>> 
> >>> Can we arrange these situation in a better bsd fashion?
> >>> 
> >>> I will update you to bugs@ as soon I can boot this mini-pc, hopefully
> >>> I will not :D
> >> 
> >> As several of us have said already, more likely than not the install will 
> >> be easy and
> >> straightforward. If it isn't, bugs@ is the place to report.
> >> 
> >> And anyway as soon as you have the thing running, sending the dmesg as 
> >> described
> >> in https://www.openbsd.org/faq/faq4.html#SendDmesg will be much 
> >> appreciated.
> >> 
> >> - Peter
> >> 
> >> -- 
> >> Peter N. M. Hansteen, member of the first RFC 1149 implementation team
> >> https://bsdly.blogspot.com/ https://www.bsdly.net/ https://www.nuug.no/
> >> "Remember to set the evil bit on all malicious network traffic"
> >> delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.
> 
> 



Re: Live stick / cd from official sources

2023-02-04 Thread Daniele B.
Sorry if I bother you again with the thread.

The minipc will be on business from tomorrow and I will use it
together with a little student of mine: it is enough critical that the
"not configured" hello! doesn't reppresent anything "risky".
Eg: I tried to tweak the custom bios of Fujitsu for a more perfomant
fan/cpu but the machine started litterally to fly while booting. Precautially
I hanged manually the booting process.

The part of dmesg I'm wondering about is the following:

"FUJ02E3" at acpi0 not configured

"PNP0C14" at acpi0 not configured
"PNP0C32" at acpi0 not configured
"PNP0C14" at acpi0 not configured

"PNP0C0B" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
"PNP0C0B" at acpi0 not configured

acpicpu0 at acpi0: C1(@1 halt!), PSS
acpicpu1 at acpi0: C1(@1 halt!), PSS
acpicpu2 at acpi0: C1(@1 halt!), PSS
acpicpu3 at acpi0: C1(@1 halt!), PSS

cpu0: using Broadwell MDS workaround

And for your own concerns:
azalia0 at pci0 dev 3 function 0 "Intel Core 4G HD Audio" rev 0x06: msi
azalia0: No codecs found

Thanks!
-- Daniele Bonini

Feb 1, 2023 23:24:20 Daniele B. :

> Just a small boot summary to attach to the thread..
> 
> ( I'm not that easy to share more about my config and sorry about that)
> 
> The Fujitsu mini-pc has a custom made Ami Bios configuration.
> 
> It went immidiately up and running although with some "not configured" hello!
> that didn't impact the correct system launch in all its main components.
> 
> The software configuration instead had a serious problem with Netbeans Ide 
> that was not able to
> open and it crashed just after the splash. Unfortunately, I'm sure the 
> problem is related to the hardware conf
> change that somehow was referenced in the local files (cache, user conf or 
> both) that I erased to
> left Netbeans regenerating them. Between the hardware changes that I care 
> most:
> - cpu0 -> acpitz0 in the sensors
> - the name of the ethernet (java somehow likes the net)
> 
> Cosmetic stuff: I cut off xorg.conf device "overclocking" parameters to a 
> standard configuration to
> get the new video card much more speedy: my xorg.conf was aged and probably 
> xorg has already been
> optimized to survive best without "my optimal hints".
> 
> :D
> 
> -- Daniele Bonini
> 
> Feb 1, 2023 12:48:45 Peter N. M. Hansteen :
> 
>> On Wed, Feb 01, 2023 at 12:36:18PM +0100, Daniele B. wrote:
>>> The mini-pc arrived in three working days, from Germany to Italy. 30 bucks 
>>> of DHL delivery but..
>>> I could be certainly happy of such a service..
>>> 
>>> (although at time I can't still be sure about the possibility to openbsd 
>>> it..). 
>>> 
>>> Can we arrange these situation in a better bsd fashion?
>>> 
>>> I will update you to bugs@ as soon I can boot this mini-pc, hopefully
>>> I will not :D
>> 
>> As several of us have said already, more likely than not the install will be 
>> easy and
>> straightforward. If it isn't, bugs@ is the place to report.
>> 
>> And anyway as soon as you have the thing running, sending the dmesg as 
>> described
>> in https://www.openbsd.org/faq/faq4.html#SendDmesg will be much appreciated.
>> 
>> - Peter
>> 
>> -- 
>> Peter N. M. Hansteen, member of the first RFC 1149 implementation team
>> https://bsdly.blogspot.com/ https://www.bsdly.net/ https://www.nuug.no/
>> "Remember to set the evil bit on all malicious network traffic"
>> delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



Re: LAN slow speed transfer

2023-02-04 Thread vitmau...@gmail.com
Hi,

there are two things that still bother me. First, how the Windows
machine was able to reach something around 30 MBytes/s of download
rate with the faulty cable. It reached this speed through Ookla's
Speedtest, though; maybe that is relevant information (don't really
know how those tests work). Second, I cannot get more than 35 MBytes/s
even on LAN transfer if the machines are linked through my ISP's
router, even though it's advertised as a full gigabit router. I get
something around 95 MBytes/s using my switch, though, so I think it's
safe to say the router is somehow capped.

Here are those outputs you guys requested. Those state mismatches on
pfctl caught my attention, but I'm not sure about what they mean
exactly. Thank you for the help.

dmesg:
OpenBSD 7.2 (GENERIC.MP) #6: Sat Jan 21 01:03:04 MST 2023

r...@syspatch-72-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 6254428160 (5964MB)
avail mem = 6047465472 (5767MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf0100 (40 entries)
bios0: vendor Itautec ST 4262, LTD 6.00 PG version "FC" date 08/21/2009
bios0: Itautec S.A. Infoway
acpi0 at bios0: ACPI 1.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP ASF! HPET MCFG APIC SSDT
acpi0: wakeup devices PCI0(S5) PEX0(S5) PEX1(S5) PEX2(S5) PEX3(S5)
PEX4(S5) PEX5(S5) HUB0(S5) UAR1(S3) UAR2(S3) IGBE(S4) USB0(S3)
USB1(S3) USB2(S3) USB3(S3) USB4(S3) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimcfg0 at acpi0
acpimcfg0: addr 0xd000, bus 0-255
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz, 2826.29 MHz, 06-17-0a
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN
cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 6MB
64b/line 24-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 332MHz
cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz, 2826.26 MHz, 06-17-0a
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN
cpu1: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 6MB
64b/line 24-way L2 cache
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins, remapped
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PEX0)
acpiprt2 at acpi0: bus -1 (PEX1)
acpiprt3 at acpi0: bus -1 (PEX2)
acpiprt4 at acpi0: bus -1 (PEX3)
acpiprt5 at acpi0: bus -1 (PEX4)
acpiprt6 at acpi0: bus -1 (PEX5)
acpiprt7 at acpi0: bus 2 (HUB0)
acpibtn0 at acpi0: PWRB
acpipci0 at acpi0 PCI0
acpicmos0 at acpi0
com0 at acpi0 UAR1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo
com1 at acpi0 UAR2 addr 0x2f8/0x8 irq 3: ns16550a, 16 byte fifo
acpicpu0 at acpi0: C1(@1 halt!), FVS, 2667, 2000 MHz
acpicpu1 at acpi0: C1(@1 halt!), FVS, 2667, 2000 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Q45 Host" rev 0x03
inteldrm0 at pci0 dev 2 function 0 "Intel Q45 Video" rev 0x03
drm0 at inteldrm0
intagp0 at inteldrm0
agp0 at intagp0: aperture at 0xe000, size 0x1000
inteldrm0: apic 2 int 16, G45, gen 4
"Intel Q45 Video" rev 0x03 at pci0 dev 2 function 1 not configured
"Intel Q45 HECI" rev 0x03 at pci0 dev 3 function 0 not configured
pciide0 at pci0 dev 3 function 2 "Intel Q45 PT IDER" rev 0x03: DMA
(unsupported), channel 0 wired to native-PCI, channel 1 wired to
native-PCI
pciide0: using apic 2 int 18 for native-PCI interrupt
pciide0: channel 0 ignored (not responding; disabled or no drives?)
pciide0: channel 1 ignored (not responding; disabled or no drives?)
puc0 at pci0 dev 3 function 3 "Intel Q45 KT" rev 0x03: ports: 16 com
com4 at puc0 port 0 apic 2 int 17: ns16550a, 16 byte fifo
com4: probed fifo depth: 15 bytes
em0 at pci0 dev 25 function 0 "Intel ICH10 D BM LM" rev 0x02: apic 2
int 20, address 6c:f0:49:fa:26:2e
uhci0 at pci0 dev 26 function 0 "Intel 82801JD USB" rev 0x02: apic 2 int 16
uhci1 at pci0 dev 26 function 1 "Intel 82801JD USB" rev 0x02: apic 2 int 21
uhci2 at pci0 dev 26 function 2 "Intel 82801JD USB" rev 0x02: apic 2 int 18
ehci0 at pci0 dev 26 function 7 "Intel 82801JD USB" rev 0x02: apic 2 int 18
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev
2.00/1.00 addr 1
ppb0 at pci0 dev 28 function 0 "Intel 82801JD PCIE" rev 0x02: apic 2 int 16
pci1 at ppb0 bus 1
uhci3 at pci0 dev 29 function 0 "Intel 82801JD USB" rev 

Re: Probable bug in disklabel(8) -R

2023-02-04 Thread Crystal Kolipe
On Fri, Feb 03, 2023 at 06:14:19PM +0100, Puru Shartha wrote:
> If this is intentional, would one have to first extend the boundaries
> and then restore the disk label?

When you restore the disklabel, the partitions are restored correctly even
though they extend beyond the new boundend value.

If you need to edit the partitions further after restoring, then you can just
set the correct boundaries afterwards.