LES BSD Thread!

145791014

Comments

  • @Otus9051 said:
    @linveo I would like to surrender my BSD VPS as I am not able to spend enough time into it, please consider my request and let someone else have it if needed.

    Don’t leave us, only a few left. 😀 #Kidding…

    Thanked by (1)Not_Oles
  • edited September 26

    @Not_Oles said: Is anyone else interested in trying this cool NetBSD install method?

    Absolutely! Gosh, not to expose how little I know, but I have never even heard of systemctl isolate

    Thanked by (1)Not_Oles
  • Not_OlesNot_Oles Hosting ProviderContent Writer

    @hornet said:

    @Not_Oles said: Is anyone else interested in trying this cool NetBSD install method?

    Absolutely! Gosh, not to expose how little I know, but I have never even heard of systemctl isolate

    Hi @hornet! Yeah, same here! Also, it's been a few days since I last posted about From Linux to NetBSD, with SSH only, but I haven't tried it yet. I will post again when I do. If you try it sooner than I do, please let us know how it goes! Thanks! Tom

    I hope everyone gets the servers they want!

  • AlwaysSkintAlwaysSkint OGSenpai
    edited September 26

    ^Thought I had/have mentioned a simpler way! :p

    Thanked by (1)Not_Oles

    It wisnae me! A big boy done it and ran away.
    NVMe2G for life! until death (the end is nigh)

  • Not_OlesNot_Oles Hosting ProviderContent Writer

    @AlwaysSkint said:
    ^Thought I had/have mentioned a simpler way! :p

    Yes, for sure, if I am not mistaken, doesn't the method you mention require a graphical console via VNC or maybe HTML5? But the cloudbsd.xyz method does not require a graphical console. Lots of times a graphical console isn't provided, and the cloudbsd.xyz method nevertheless hopefully still works.

    I hope everyone gets the servers they want!

  • @Not_Oles said: the method you mention require a graphical console..

    Fair point, though a text console is fine. ;)

    Thanked by (1)Not_Oles

    It wisnae me! A big boy done it and ran away.
    NVMe2G for life! until death (the end is nigh)

  • linveolinveo Hosting ProviderOG

    @cmeerw said:

    @Not_Oles said: If I add -smp 2 \ to the boot-installed-netbsd command frrom the Ryzen VPS but now copied to the Intel VPS, the next Qemu boot produces the full output shown below, including the two cores:

    I wonder if it could be an old qemu or Linux kernel version running at linveo that could be responsible for the inconsistent cpuid information provided in their Intel VMs?

    The nodes are on QEMU 7.2.13 and Debian 12, so the kernel should be fairly up to date.

    Thanked by (1)Not_Oles

    linveo.com | Shared Hosting | KVM VPS | Dedicated Servers

  • linveolinveo Hosting ProviderOG

    @cmeerw said:
    @linveo Just having a quick look around the installation options on the VM dashboard. From the FreeBSDs only FreeBSD 13.2 seems to install (but only shows a single CPU core), with the other FreeBSDs I get an error at the "Creating configuration." stage.

    Do you mean none of the FreeBSD 14 versions work? I see a handful of servers running those templates at the moment.

    Thanked by (1)Not_Oles

    linveo.com | Shared Hosting | KVM VPS | Dedicated Servers

  • AlwaysSkintAlwaysSkint OGSenpai
    edited September 27

    @linveo said: I see a handful of servers running those templates at the moment.

    I did at one point have issues with the 14.1 template but since have managed to boot it up. I had to manually configure the network, as DHCP wasn't working (from the cloud-init template?). Seems to be OK at the moment apart from locking myself out, setting up a firewall.;)

    Thanked by (1)Not_Oles

    It wisnae me! A big boy done it and ran away.
    NVMe2G for life! until death (the end is nigh)

  • @linveo said:

    @cmeerw said:
    @linveo Just having a quick look around the installation options on the VM dashboard. From the FreeBSDs only FreeBSD 13.2 seems to install (but only shows a single CPU core), with the other FreeBSDs I get an error at the "Creating configuration." stage.

    Do you mean none of the FreeBSD 14 versions work? I see a handful of servers running those templates at the moment.

    Seems to work today. Yesterday, only the FreeBSD 13.2 one worked (the others failed at the "Creating configuration." stage when rebuilding the server on VirtFusion).

    Thanked by (2)AlwaysSkint Not_Oles
  • I have put together another NetBSD 10.0 image. With some luck that should now even apply the network configuration and add SSH keys (if the configuration information is provided by VirtFusion).

    @linveo could we give that image a try?

  • Not_OlesNot_Oles Hosting ProviderContent Writer

    @cmeerw Great news! Congrats!

    @linveo I'm eager to try @cmeerw's image! Thanks so much!

    I hope everyone gets the servers they want!

  • linveolinveo Hosting ProviderOG

    @cmeerw said:
    I have put together another NetBSD 10.0 image. With some luck that should now even apply the network configuration and add SSH keys (if the configuration information is provided by VirtFusion).

    @linveo could we give that image a try?

    Sure thing! I have added this to the available templates. The network interface is vioif0. Let me know if that looks good to you.

    Thanked by (1)Not_Oles

    linveo.com | Shared Hosting | KVM VPS | Dedicated Servers

  • @cmeerw said:
    I have put together another NetBSD 10.0 image. With some luck that should now even apply the network configuration and add SSH keys (if the configuration information is provided by VirtFusion).

    @linveo could we give that image a try?

    I tried it out with my Intel instance and I still see the kernel crash/reboot cycle like before. Please check how it works on AMD.

    Thanked by (2)AlwaysSkint Not_Oles
  • linveolinveo Hosting ProviderOG

    @Crab said:

    @cmeerw said:
    I have put together another NetBSD 10.0 image. With some luck that should now even apply the network configuration and add SSH keys (if the configuration information is provided by VirtFusion).

    @linveo could we give that image a try?

    I tried it out with my Intel instance and I still see the kernel crash/reboot cycle like before. Please check how it works on AMD.

    Do you want switched over to an AMD Ryzen node?

    linveo.com | Shared Hosting | KVM VPS | Dedicated Servers

  • Not_OlesNot_Oles Hosting ProviderContent Writer
    edited September 28
    NetBSD 10.0 (GENERIC) #0: Thu Mar 28 08:33:33 UTC 2024
    
    Welcome to NetBSD!
    
    We recommend that you create a non-root account and use su(1) for root access.
    linveo# date -u
    Sat Sep 28 16:07:32 UTC 2024
    linveo# 
    

    ~~~
    linveo# ping6 -c 2 ipv6.google.com
    PING6(56=40+8+8 bytes) 2605:xxxx:xxxx:xxxx::xxxx --> 2607:f8b0:402a:80b::200e
    16 bytes from 2607:f8b0:402a:80b::200e, icmp_seq=0 hlim=118 time=1.553 ms
    16 bytes from 2607:f8b0:402a:80b::200e, icmp_seq=1 hlim=118 time=0.902 ms

    --- ipv6.l.google.com ping6 statistics ---
    2 packets transmitted, 2 packets received, 0.0% packet loss
    round-trip min/avg/max/std-dev = 0.902/1.228/1.553/0.460 ms
    linveo# ping -c 2 google.com
    PING google.com (192.178.49.174): 56 data bytes
    64 bytes from 192.178.49.174: icmp_seq=0 ttl=118 time=1.257350 ms
    64 bytes from 192.178.49.174: icmp_seq=1 ttl=118 time=1.317900 ms

    ----google.com PING Statistics----
    2 packets transmitted, 2 packets received, 0.0% packet loss
    round-trip min/avg/max/stddev = 1.257350/1.287625/1.317900/0.042815 ms
    linveo#
    ~~~~

    Thanked by (2)cmeerw linveo

    I hope everyone gets the servers they want!

  • edited September 28

    @cmeerw said:

    @linveo said:

    @cmeerw said:
    @linveo Just having a quick look around the installation options on the VM dashboard. From the FreeBSDs only FreeBSD 13.2 seems to install (but only shows a single CPU core), with the other FreeBSDs I get an error at the "Creating configuration." stage.

    Do you mean none of the FreeBSD 14 versions work? I see a handful of servers running those templates at the moment.

    Seems to work today. Yesterday, only the FreeBSD 13.2 one worked (the others failed at the "Creating configuration." stage when rebuilding the server on VirtFusion).

    I went through all FreeBSD templates on my Intel instance and they all got installed and worked fine. 13.3 did take some extra time bringing the network interface up, but eventually it started as well. When it comes to FreeBSD, virtio network drivers have pretty significant degradation on performance as far as I have seen on multiple providers and e1000 works generally much better. Some panels provide access to user to change them, but VirtFusion seems to lack that option.

  • edited September 28

    Accidental double post.

    Thanked by (1)Not_Oles
  • @linveo said:

    @cmeerw said:
    I have put together another NetBSD 10.0 image. With some luck that should now even apply the network configuration and add SSH keys (if the configuration information is provided by VirtFusion).

    @linveo could we give that image a try?

    Sure thing! I have added this to the available templates. The network interface is vioif0. Let me know if that looks good to you.

    At least for me, everything seems to be working as expected.

    It did set up the network correctly (both IPv4 and IPv6) and also added the SSH key to the root user.

    Thanked by (2)Not_Oles linveo
  • @Crab said: I tried it out with my Intel instance and I still see the kernel crash/reboot cycle like before. Please check how it works on AMD.

    Yes, that's expected as I used the unpatched NetBSD kernel for that image. I can probably build another image with a patched kernel, now that the basics seem to be working.

    Thanked by (3)Not_Oles linveo Crab
  • Not_OlesNot_Oles Hosting ProviderContent Writer
    edited September 28

    @cmeerw said: At least for me, everything seems to be working as expected.

    It did set up the network correctly (both IPv4 and IPv6) and also added the SSH key to the root user.

    Same here! Thanks @cmeerw! Thanks @linveo!

    linveo# dmesg
    [     1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
    [     1.000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
    [     1.000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
    [     1.000000]     2024
    [     1.000000]     The NetBSD Foundation, Inc.  All rights reserved.
    [     1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
    [     1.000000]     The Regents of the University of California.  All rights reserved.
    
    [     1.000000] NetBSD 10.0 (GENERIC) #0: Thu Mar 28 08:33:33 UTC 2024
    [     1.000000]         [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC
    [     1.000000] total memory = 4095 MB
    [     1.000000] avail memory = 3935 MB
    [     1.000000] timecounter: Timecounters tick every 10.000 msec
    [     1.000000] Kernelized RAIDframe activated
    [     1.000000] timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
    [     1.000004] mainbus0 (root)
    [     1.000004] ACPI: RSDP 0x00000000000F5C40 000014 (v00 BOCHS )
    [     1.000004] ACPI: RSDT 0x00000000BFFE2581 000034 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
    [     1.000004] ACPI: FACP 0x00000000BFFE203D 000074 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
    [     1.000004] ACPI: DSDT 0x00000000BFFDDCC0 00437D (v01 BOCHS  BXPC     00000001 BXPC 00000001)
    [     1.000004] ACPI: FACS 0x00000000BFFDDC80 000040
    [     1.000004] ACPI: APIC 0x00000000BFFE20B1 000470 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
    [     1.000004] ACPI: HPET 0x00000000BFFE2521 000038 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
    [     1.000004] ACPI: WAET 0x00000000BFFE2559 000028 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
    [     1.000004] ACPI: 1 ACPI AML tables successfully acquired and loaded
    [     1.000004] ioapic0 at mainbus0 apid 0: pa 0xfec00000, version 0x11, 24 pins
    [     1.000004] cpu0 at mainbus0 apid 0
    [     1.000004] cpu0: Use mfence to serialize rdtsc
    [     1.000004] cpu0: AMD Ryzen 9 7950X 16-Core Processor            , id 0xa60f12
    [     1.000004] cpu0: node 0, package 0, core 0, smt 0
    [     1.000004] cpu1 at mainbus0 apid 1
    [     1.000004] cpu1: AMD Ryzen 9 7950X 16-Core Processor            , id 0xa60f12
    [     1.000004] cpu1: node 0, package 1, core 0, smt 0
    [     1.000004] acpi0 at mainbus0: Intel ACPICA 20221020
    [     1.000004] acpi0: X/RSDT: OemId <BOCHS ,BXPC    ,00000001>, AslId <BXPC,00000001>
    [     1.000004] LNKS: ACPI: Found matching pin for 0.1.INTA at func 3: 9
    [     1.000004] LNKD: ACPI: Found matching pin for 0.1.INTD at func 2: 11
    [     1.000004] LNKC: ACPI: Found matching pin for 0.3.INTA at func 0: 11
    [     1.000004] LNKD: ACPI: Found matching pin for 0.4.INTA at func 0: 11
    [     1.000004] LNKA: ACPI: Found matching pin for 0.5.INTA at func 0: 10
    [     1.000004] LNKB: ACPI: Found matching pin for 0.6.INTA at func 0: 10
    [     1.000004] LNKC: ACPI: Found matching pin for 0.7.INTA at func 0: 11
    [     1.000004] LNKD: ACPI: Found matching pin for 0.8.INTA at func 0: 11
    [     1.000004] LNKA: ACPI: Found matching pin for 0.9.INTA at func 0: 0
    [     1.000004] LNKB: ACPI: Found matching pin for 0.10.INTA at func 0: 0
    [     1.000004] LNKC: ACPI: Found matching pin for 0.11.INTA at func 0: 0
    [     1.000004] acpi0: SCI interrupting at int 9
    [     1.000004] acpi0: fixed power button present
    [     1.000004] timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
    [     1.004644] hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
    [     1.004644] timecounter: Timecounter "hpet0" frequency 100000000 Hz quality 2000
    [     1.005528] qemufwcfg0 at acpi0 (FWCF, QEMU0002): io 0x510-0x51b
    [     1.005528] qemufwcfg0: <QEMU>
    [     1.005528] com0 at acpi0 (COM1, PNP0501-1): io 0x3f8-0x3ff irq 4
    [     1.005528] com0: ns16550a, 16-byte FIFO
    [     1.005528] pckbc1 at acpi0 (KBD, PNP0303) (kbd port): io 0x60,0x64 irq 1
    [     1.005528] pckbc2 at acpi0 (MOU, PNP0F13) (aux port): irq 12
    [     1.005528] fdc0 at acpi0 (FDC0, PNP0700): io 0x3f2-0x3f5,0x3f7 irq 6 drq 2
    [     1.005528] ACPI: Enabled 2 GPEs in block 00 to 0F
    [     1.005528] pckbd0 at pckbc1 (kbd slot)
    [     1.005528] pckbc1: using irq 1 for kbd slot
    [     1.005528] wskbd0 at pckbd0: console keyboard
    [     1.005528] pms0 at pckbc1 (aux slot)
    [     1.005528] pckbc1: using irq 12 for aux slot
    [     1.005528] wsmouse0 at pms0 mux 0
    [     1.005528] pci0 at mainbus0 bus 0: configuration mode 1
    [     1.005528] pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
    [     1.005528] pchb0 at pci0 dev 0 function 0: Intel 82441FX (PMC) PCI and Memory Controller (rev. 0x02)
    [     1.005528] pcib0 at pci0 dev 1 function 0: Intel 82371SB (PIIX3) PCI-ISA Bridge (rev. 0x00)
    [     1.005528] piixide0 at pci0 dev 1 function 1: Intel 82371SB IDE Interface (PIIX3) (rev. 0x00)
    [     1.005528] piixide0: bus-master DMA support present
    [     1.005528] piixide0: primary channel wired to compatibility mode
    [     1.005528] piixide0: primary channel interrupting at ioapic0 pin 14
    [     1.005528] atabus0 at piixide0 channel 0
    [     1.005528] piixide0: secondary channel wired to compatibility mode
    [     1.005528] piixide0: secondary channel interrupting at ioapic0 pin 15
    [     1.005528] atabus1 at piixide0 channel 1
    [     1.005528] uhci0 at pci0 dev 1 function 2: Intel 82371SB (PIIX3) USB Host Controller (rev. 0x01)
    [     1.005528] uhci0: interrupting at ioapic0 pin 11
    [     1.005528] usb0 at uhci0: USB revision 1.0
    [     1.005528] piixpm0 at pci0 dev 1 function 3: Intel 82371AB (PIIX4) Power Management Controller (rev. 0x03)
    [     1.005528] timecounter: Timecounter "piixpm0" frequency 3579545 Hz quality 1000
    [     1.005528] piixpm0: 24-bit timer
    [     1.005528] piixpm0: interrupting at ioapic0 pin 9
    [     1.005528] iic0 at piixpm0 port 0: I2C bus
    [     1.005528] vga0 at pci0 dev 2 function 0: vendor 1234 product 1111 (rev. 0x02)
    [     1.005528] wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
    [     1.005528] wsmux1: connecting to wsdisplay0
    [     1.005528] drm at vga0 not configured
    [     1.005528] virtio0 at pci0 dev 3 function 0
    [     1.005528] virtio0: network device (id 1, rev. 0x00)
    [     1.005528] vioif0 at virtio0: features: 0x31870020<EVENT_IDX,INDIRECT_DESC,NOTIFY_ON_EMPTY,CTRL_MAC,CTRL_RX,CTRL_VQ,STATUS,MAC>
    [     1.005528] vioif0: Ethernet address 00:56:e3:cf:73:01
    [     1.005528] virtio0: allocated 20480 byte for virtqueue 0 for rx0, size 256
    [     1.005528] virtio0: using 8192 byte (512 entries) indirect descriptors
    [     1.005528] virtio0: allocated 20480 byte for virtqueue 1 for tx0, size 256
    [     1.005528] virtio0: using 8192 byte (512 entries) indirect descriptors
    [     1.005528] virtio0: allocated 8192 byte for virtqueue 2 for control, size 64
    [     1.005528] virtio0: config interrupting at msix0 vec 0
    [     1.005528] virtio0: queues interrupting at msix0 vec 1
    [     1.005528] virtio1 at pci0 dev 4 function 0
    [     1.005528] virtio1: SCSI device (id 8, rev. 0x00)
    [     1.005528] vioscsi0 at virtio1: features: 0x10000000<INDIRECT_DESC>
    [     1.005528] virtio1: allocated 86016 byte for virtqueue 0 for control, size 256
    [     1.005528] virtio1: using 73728 byte (4608 entries) indirect descriptors
    [     1.005528] virtio1: allocated 86016 byte for virtqueue 1 for event, size 256
    [     1.005528] virtio1: using 73728 byte (4608 entries) indirect descriptors
    [     1.005528] virtio1: allocated 86016 byte for virtqueue 2 for request, size 256
    [     1.005528] virtio1: using 73728 byte (4608 entries) indirect descriptors
    [     1.005528] vioscsi0: cmd_per_lun 128 qsize 256 seg_max 254 max_target 255 max_lun 16383
    [     1.005528] virtio1: config interrupting at msix1 vec 0
    [     1.005528] virtio1: queues interrupting at msix1 vec 1
    [     1.005528] scsibus0 at vioscsi0: 256 targets, 16384 luns per target
    [     1.005528] ahcisata0 at pci0 dev 5 function 0: Intel 82801I AHCI SATA Controller w/ 6 ports (rev. 0x02)
    [     1.005528] ahcisata0: 64-bit DMA
    [     1.005528] ahcisata0: AHCI revision 1.0, 6 ports, 32 slots, CAP 0xc0141f05<SAM,ISS=0x1=Gen1,SNCQ,S64A>
    [     1.005528] ahcisata0: interrupting at msi2 vec 0
    [     1.005528] atabus2 at ahcisata0 channel 0
    [     1.005528] atabus3 at ahcisata0 channel 1
    [     1.005528] atabus4 at ahcisata0 channel 2
    [     1.005528] atabus5 at ahcisata0 channel 3
    [     1.005528] atabus6 at ahcisata0 channel 4
    [     1.005528] atabus7 at ahcisata0 channel 5
    [     1.005528] virtio2 at pci0 dev 6 function 0
    [     1.005528] virtio2: console device (id 3, rev. 0x00)
    [     1.005528] virtio2: autoconfiguration error: no matching child driver; not configured
    [     1.005528] virtio3 at pci0 dev 7 function 0
    [     1.005528] virtio3: block device (id 2, rev. 0x00)
    [     1.005528] ld0 at virtio3: features: 0x10000a54<INDIRECT_DESC,CONFIG_WCE,FLUSH,BLK_SIZE,GEOMETRY,SEG_MAX>
    [     1.005528] virtio3: allocated 1060864 byte for virtqueue 0 for I/O request, size 256
    [     1.005528] virtio3: using 1048576 byte (65536 entries) indirect descriptors
    [     1.005528] virtio3: config interrupting at msix3 vec 0
    [     1.005528] virtio3: queues interrupting at msix3 vec 1
    [     1.005528] ld0: 25600 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 52428800 sectors
    [     1.005528] virtio4 at pci0 dev 8 function 0
    [     1.005528] virtio4: memory balloon device (id 5, rev. 0x00)
    [     1.005528] viomb0 at virtio4: features: 0x10000000<INDIRECT_DESC>
    [     1.005528] virtio4: allocated 8192 byte for virtqueue 0 for inflate, size 128
    [     1.005528] virtio4: allocated 8192 byte for virtqueue 1 for deflate, size 128
    [     1.005528] virtio4: interrupting at ioapic0 pin 11
    [     1.005528] virtio5 at pci0 dev 9 function 0
    [     1.005528] virtio5: SCSI device (id 8, rev. 0x00)
    [     1.005528] virtio5: autoconfiguration error: can't map i/o space
    [     1.005528] virtio5: autoconfiguration error: cannot attach (5)
    [     1.005528] virtio6 at pci0 dev 10 function 0
    [     1.005528] virtio6: SCSI device (id 8, rev. 0x00)
    [     1.005528] virtio6: autoconfiguration error: can't map i/o space
    [     1.005528] virtio6: autoconfiguration error: cannot attach (5)
    [     1.005528] virtio7 at pci0 dev 11 function 0
    [     1.005528] virtio7: SCSI device (id 8, rev. 0x00)
    [     1.005528] virtio7: autoconfiguration error: can't map i/o space
    [     1.005528] virtio7: autoconfiguration error: cannot attach (5)
    [     1.005528] isa0 at pcib0
    [     1.005528] attimer0 at isa0 port 0x40-0x43
    [     1.005528] pcppi0 at isa0 port 0x61
    [     1.005528] spkr0 at pcppi0: PC Speaker
    [     1.005528] wsbell at spkr0 not configured
    [     1.005528] midi0 at pcppi0: PC speaker
    [     1.005528] sysbeep0 at pcppi0
    [     1.005528] attimer0: attached to pcppi0
    [     1.005528] acpicpu0 at cpu0: ACPI CPU
    [     1.005528] acpicpu0: C1: HLT, lat   0 us, pow     0 mW
    [     1.005528] vmt0 at cpu0
    [     1.005528] vmt0: UUID: f376ab45-696e-42c4-a751-e3191151611e
    [     1.005528] vmware: open failed, eax=0xffffffff, ecx=0x1e, edx=0x5658
    [     1.005528] vmt0: autoconfiguration error: failed to open backdoor RPC channel (TCLO protocol)
    [     1.005528] acpicpu1 at cpu1: ACPI CPU
    [     1.005528] timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
    [     1.155014] IPsec: Initialized Security Association Processing.
    [     1.165010] ld0: GPT GUID: ac26fc1e-7fec-44ea-b1cb-5364f733b493
    [     1.165010] dk0 at ld0: "EFI system", 8192 blocks at 128, type: msdos
    [     1.165010] dk1 at ld0: "netbsd-swap", 1048576 blocks at 8320, type: swap
    [     1.165010] dk2 at ld0: "netbsd-root", 1302400 blocks at 1056896, type: ffs
    [     1.175007] uhub0 at usb0: NetBSD (0x0000) UHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
    [     1.175007] uhub0: 2 ports with 2 removable, self powered
    [     1.245014] ahcisata0 port 0: device present, speed: 1.5Gb/s
    [     2.754964] atapibus0 at atabus2: 1 targets
    [     2.764951] cd0 at atapibus0 drive 0: <QEMU DVD-ROM, QM00005, 2.5+> cdrom removable
    [     2.764951] cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100), NCQ (32 tags)
    [     2.764951] cd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) (using DMA), NCQ (31 tags)
    [     2.874953] uhidev0 at uhub0 port 1 configuration 1 interface 0
    [     2.874953] uhidev0: QEMU (0x0627) QEMU USB Tablet (0x0001), rev 2.00/0.00, addr 2, iclass 3/0
    [     2.874953] ums0 at uhidev0: 3 buttons and Z dir
    [     2.874953] wsmouse1 at ums0 mux 0
    [     2.884958] swwdog0: software watchdog initialized
    [     2.884958] WARNING: 8 errors while detecting hardware; check system log.    # What's with this?
    [     2.884958] boot device: ld0
    [     2.884958] root on dk2 dumps on dk1
    [     2.894947] root file system type: ffs
    [     2.905333] kern.module.path=/stand/amd64/10.0/modules
    [     3.684917] dk1 at ld0 (netbsd-swap) deleted
    [     3.684917] dk0 at ld0 (EFI system) deleted
    [     3.684917] ld0: GPT GUID: ac26fc1e-7fec-44ea-b1cb-5364f733b493
    [     3.684917] dk0 at ld0: "EFI system", 8192 blocks at 128, type: msdos
    [     3.684917] dk1 at ld0: "netbsd-swap", 1048576 blocks at 8320, type: swap
    [     3.684917] dk2 at ld0: "netbsd-root", 51371776 blocks at 1056896, type: ffs
    [    30.963838] rebooting...                                                           # Why the reboot?
    [     1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
    [     1.000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
    [     1.000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
    [     1.000000]     2024
    [     1.000000]     The NetBSD Foundation, Inc.  All rights reserved.
    [     1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
    [     1.000000]     The Regents of the University of California.  All rights reserved.
    
    [     1.000000] NetBSD 10.0 (GENERIC) #0: Thu Mar 28 08:33:33 UTC 2024
    [     1.000000]         [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC
    [     1.000000] total memory = 4095 MB
    [     1.000000] avail memory = 3935 MB
    [     1.000000] timecounter: Timecounters tick every 10.000 msec
    [     1.000000] Kernelized RAIDframe activated
    [     1.000000] timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
    [     1.000004] mainbus0 (root)
    [     1.000004] ACPI: RSDP 0x00000000000F5C40 000014 (v00 BOCHS )
    [     1.000004] ACPI: RSDT 0x00000000BFFE2581 000034 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
    [     1.000004] ACPI: FACP 0x00000000BFFE203D 000074 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
    [     1.000004] ACPI: DSDT 0x00000000BFFDDCC0 00437D (v01 BOCHS  BXPC     00000001 BXPC 00000001)
    [     1.000004] ACPI: FACS 0x00000000BFFDDC80 000040
    [     1.000004] ACPI: APIC 0x00000000BFFE20B1 000470 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
    [     1.000004] ACPI: HPET 0x00000000BFFE2521 000038 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
    [     1.000004] ACPI: WAET 0x00000000BFFE2559 000028 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
    [     1.000004] ACPI: 1 ACPI AML tables successfully acquired and loaded
    [     1.000004] ioapic0 at mainbus0 apid 0: pa 0xfec00000, version 0x11, 24 pins
    [     1.000004] cpu0 at mainbus0 apid 0
    [     1.000004] cpu0: Use mfence to serialize rdtsc
    [     1.000004] cpu0: AMD Ryzen 9 7950X 16-Core Processor            , id 0xa60f12
    [     1.000004] cpu0: node 0, package 0, core 0, smt 0
    [     1.000004] cpu1 at mainbus0 apid 1
    [     1.000004] cpu1: AMD Ryzen 9 7950X 16-Core Processor            , id 0xa60f12
    [     1.000004] cpu1: node 0, package 1, core 0, smt 0
    [     1.000004] acpi0 at mainbus0: Intel ACPICA 20221020
    [     1.000004] acpi0: X/RSDT: OemId <BOCHS ,BXPC    ,00000001>, AslId <BXPC,00000001>
    [     1.000004] LNKS: ACPI: Found matching pin for 0.1.INTA at func 3: 9
    [     1.000004] LNKD: ACPI: Found matching pin for 0.1.INTD at func 2: 11
    [     1.000004] LNKC: ACPI: Found matching pin for 0.3.INTA at func 0: 11
    [     1.000004] LNKD: ACPI: Found matching pin for 0.4.INTA at func 0: 11
    [     1.000004] LNKA: ACPI: Found matching pin for 0.5.INTA at func 0: 10
    [     1.000004] LNKB: ACPI: Found matching pin for 0.6.INTA at func 0: 10
    [     1.000004] LNKC: ACPI: Found matching pin for 0.7.INTA at func 0: 11
    [     1.000004] LNKD: ACPI: Found matching pin for 0.8.INTA at func 0: 11
    [     1.000004] LNKA: ACPI: Found matching pin for 0.9.INTA at func 0: 10
    [     1.000004] LNKB: ACPI: Found matching pin for 0.10.INTA at func 0: 10
    [     1.000004] LNKC: ACPI: Found matching pin for 0.11.INTA at func 0: 11
    [     1.000004] acpi0: SCI interrupting at int 9
    [     1.000004] acpi0: fixed power button present
    [     1.000004] timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
    [     1.006842] hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
    [     1.006842] timecounter: Timecounter "hpet0" frequency 100000000 Hz quality 2000
    [     1.007721] qemufwcfg0 at acpi0 (FWCF, QEMU0002): io 0x510-0x51b
    [     1.007721] qemufwcfg0: <QEMU>
    [     1.007721] com0 at acpi0 (COM1, PNP0501-1): io 0x3f8-0x3ff irq 4
    [     1.007721] com0: ns16550a, 16-byte FIFO
    [     1.007721] pckbc1 at acpi0 (KBD, PNP0303) (kbd port): io 0x60,0x64 irq 1
    [     1.007721] pckbc2 at acpi0 (MOU, PNP0F13) (aux port): irq 12
    [     1.007721] fdc0 at acpi0 (FDC0, PNP0700): io 0x3f2-0x3f5,0x3f7 irq 6 drq 2
    [     1.007721] ACPI: Enabled 2 GPEs in block 00 to 0F
    [     1.007721] pckbd0 at pckbc1 (kbd slot)
    [     1.007721] pckbc1: using irq 1 for kbd slot
    [     1.007721] wskbd0 at pckbd0: console keyboard
    [     1.007721] pms0 at pckbc1 (aux slot)
    [     1.007721] pckbc1: using irq 12 for aux slot
    [     1.007721] wsmouse0 at pms0 mux 0
    [     1.007721] pci0 at mainbus0 bus 0: configuration mode 1
    [     1.007721] pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
    [     1.007721] pchb0 at pci0 dev 0 function 0: Intel 82441FX (PMC) PCI and Memory Controller (rev. 0x02)
    [     1.007721] pcib0 at pci0 dev 1 function 0: Intel 82371SB (PIIX3) PCI-ISA Bridge (rev. 0x00)
    [     1.007721] piixide0 at pci0 dev 1 function 1: Intel 82371SB IDE Interface (PIIX3) (rev. 0x00)
    [     1.007721] piixide0: bus-master DMA support present
    [     1.007721] piixide0: primary channel wired to compatibility mode
    [     1.007721] piixide0: primary channel interrupting at ioapic0 pin 14
    [     1.007721] atabus0 at piixide0 channel 0
    [     1.007721] piixide0: secondary channel wired to compatibility mode
    [     1.007721] piixide0: secondary channel interrupting at ioapic0 pin 15
    [     1.007721] atabus1 at piixide0 channel 1
    [     1.007721] uhci0 at pci0 dev 1 function 2: Intel 82371SB (PIIX3) USB Host Controller (rev. 0x01)
    [     1.007721] uhci0: interrupting at ioapic0 pin 11
    [     1.007721] usb0 at uhci0: USB revision 1.0
    [     1.007721] piixpm0 at pci0 dev 1 function 3: Intel 82371AB (PIIX4) Power Management Controller (rev. 0x03)
    [     1.007721] timecounter: Timecounter "piixpm0" frequency 3579545 Hz quality 1000
    [     1.007721] piixpm0: 24-bit timer
    [     1.007721] piixpm0: interrupting at ioapic0 pin 9
    [     1.007721] iic0 at piixpm0 port 0: I2C bus
    [     1.007721] vga0 at pci0 dev 2 function 0: vendor 1234 product 1111 (rev. 0x02)
    [     1.007721] wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
    [     1.007721] wsmux1: connecting to wsdisplay0
    [     1.007721] drm at vga0 not configured
    [     1.007721] virtio0 at pci0 dev 3 function 0
    [     1.007721] virtio0: network device (id 1, rev. 0x00)
    [     1.007721] vioif0 at virtio0: features: 0x31870020<EVENT_IDX,INDIRECT_DESC,NOTIFY_ON_EMPTY,CTRL_MAC,CTRL_RX,CTRL_VQ,STATUS,MAC>
    [     1.007721] vioif0: Ethernet address 00:56:e3:cf:73:01
    [     1.007721] virtio0: allocated 20480 byte for virtqueue 0 for rx0, size 256
    [     1.007721] virtio0: using 8192 byte (512 entries) indirect descriptors
    [     1.007721] virtio0: allocated 20480 byte for virtqueue 1 for tx0, size 256
    [     1.007721] virtio0: using 8192 byte (512 entries) indirect descriptors
    [     1.007721] virtio0: allocated 8192 byte for virtqueue 2 for control, size 64
    [     1.007721] virtio0: config interrupting at msix0 vec 0
    [     1.007721] virtio0: queues interrupting at msix0 vec 1
    [     1.007721] virtio1 at pci0 dev 4 function 0
    [     1.007721] virtio1: SCSI device (id 8, rev. 0x00)
    [     1.007721] vioscsi0 at virtio1: features: 0x10000000<INDIRECT_DESC>
    [     1.007721] virtio1: allocated 86016 byte for virtqueue 0 for control, size 256
    [     1.007721] virtio1: using 73728 byte (4608 entries) indirect descriptors
    [     1.007721] virtio1: allocated 86016 byte for virtqueue 1 for event, size 256
    [     1.007721] virtio1: using 73728 byte (4608 entries) indirect descriptors
    [     1.007721] virtio1: allocated 86016 byte for virtqueue 2 for request, size 256
    [     1.007721] virtio1: using 73728 byte (4608 entries) indirect descriptors
    [     1.007721] vioscsi0: cmd_per_lun 128 qsize 256 seg_max 254 max_target 255 max_lun 16383
    [     1.007721] virtio1: config interrupting at msix1 vec 0
    [     1.007721] virtio1: queues interrupting at msix1 vec 1
    [     1.007721] scsibus0 at vioscsi0: 256 targets, 16384 luns per target
    [     1.007721] ahcisata0 at pci0 dev 5 function 0: Intel 82801I AHCI SATA Controller w/ 6 ports (rev. 0x02)
    [     1.007721] ahcisata0: 64-bit DMA
    [     1.007721] ahcisata0: AHCI revision 1.0, 6 ports, 32 slots, CAP 0xc0141f05<SAM,ISS=0x1=Gen1,SNCQ,S64A>
    [     1.007721] ahcisata0: interrupting at msi2 vec 0
    [     1.007721] atabus2 at ahcisata0 channel 0
    [     1.007721] atabus3 at ahcisata0 channel 1
    [     1.007721] atabus4 at ahcisata0 channel 2
    [     1.007721] atabus5 at ahcisata0 channel 3
    [     1.007721] atabus6 at ahcisata0 channel 4
    [     1.007721] atabus7 at ahcisata0 channel 5
    [     1.007721] virtio2 at pci0 dev 6 function 0
    [     1.007721] virtio2: console device (id 3, rev. 0x00)
    [     1.007721] virtio2: autoconfiguration error: no matching child driver; not configured
    [     1.007721] virtio3 at pci0 dev 7 function 0
    [     1.007721] virtio3: block device (id 2, rev. 0x00)
    [     1.007721] ld0 at virtio3: features: 0x10000a54<INDIRECT_DESC,CONFIG_WCE,FLUSH,BLK_SIZE,GEOMETRY,SEG_MAX>
    [     1.007721] virtio3: allocated 1060864 byte for virtqueue 0 for I/O request, size 256
    [     1.007721] virtio3: using 1048576 byte (65536 entries) indirect descriptors
    [     1.007721] virtio3: config interrupting at msix3 vec 0
    [     1.007721] virtio3: queues interrupting at msix3 vec 1
    [     1.007721] ld0: 25600 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 52428800 sectors
    [     1.007721] virtio4 at pci0 dev 8 function 0
    [     1.007721] virtio4: memory balloon device (id 5, rev. 0x00)
    [     1.007721] viomb0 at virtio4: features: 0x10000000<INDIRECT_DESC>
    [     1.007721] virtio4: allocated 8192 byte for virtqueue 0 for inflate, size 128
    [     1.007721] virtio4: allocated 8192 byte for virtqueue 1 for deflate, size 128
    [     1.007721] virtio4: interrupting at ioapic0 pin 11
    [     1.007721] virtio5 at pci0 dev 9 function 0
    [     1.007721] virtio5: SCSI device (id 8, rev. 0x00)
    [     1.007721] vioscsi1 at virtio5: features: 0x10000000<INDIRECT_DESC>
    [     1.007721] virtio5: allocated 86016 byte for virtqueue 0 for control, size 256
    [     1.007721] virtio5: using 73728 byte (4608 entries) indirect descriptors
    [     1.007721] virtio5: allocated 86016 byte for virtqueue 1 for event, size 256
    [     1.007721] virtio5: using 73728 byte (4608 entries) indirect descriptors
    [     1.007721] virtio5: allocated 86016 byte for virtqueue 2 for request, size 256
    [     1.007721] virtio5: using 73728 byte (4608 entries) indirect descriptors
    [     1.007721] vioscsi1: cmd_per_lun 128 qsize 256 seg_max 254 max_target 255 max_lun 16383
    [     1.007721] virtio5: config interrupting at msix4 vec 0
    [     1.007721] virtio5: queues interrupting at msix4 vec 1
    [     1.007721] scsibus1 at vioscsi1: 256 targets, 16384 luns per target
    [     1.007721] virtio6 at pci0 dev 10 function 0
    [     1.007721] virtio6: SCSI device (id 8, rev. 0x00)
    [     1.007721] vioscsi2 at virtio6: features: 0x10000000<INDIRECT_DESC>
    [     1.007721] virtio6: allocated 86016 byte for virtqueue 0 for control, size 256
    [     1.007721] virtio6: using 73728 byte (4608 entries) indirect descriptors
    [     1.007721] virtio6: allocated 86016 byte for virtqueue 1 for event, size 256
    [     1.007721] virtio6: using 73728 byte (4608 entries) indirect descriptors
    [     1.007721] virtio6: allocated 86016 byte for virtqueue 2 for request, size 256
    [     1.007721] virtio6: using 73728 byte (4608 entries) indirect descriptors
    [     1.007721] vioscsi2: cmd_per_lun 128 qsize 256 seg_max 254 max_target 255 max_lun 16383
    [     1.007721] virtio6: config interrupting at msix5 vec 0
    [     1.007721] virtio6: queues interrupting at msix5 vec 1
    [     1.007721] scsibus2 at vioscsi2: 256 targets, 16384 luns per target
    [     1.007721] virtio7 at pci0 dev 11 function 0
    [     1.007721] virtio7: SCSI device (id 8, rev. 0x00)
    [     1.007721] vioscsi3 at virtio7: features: 0x10000000<INDIRECT_DESC>
    [     1.007721] virtio7: allocated 86016 byte for virtqueue 0 for control, size 256
    [     1.007721] virtio7: using 73728 byte (4608 entries) indirect descriptors
    [     1.007721] virtio7: allocated 86016 byte for virtqueue 1 for event, size 256
    [     1.007721] virtio7: using 73728 byte (4608 entries) indirect descriptors
    [     1.007721] virtio7: allocated 86016 byte for virtqueue 2 for request, size 256
    [     1.007721] virtio7: using 73728 byte (4608 entries) indirect descriptors
    [     1.007721] vioscsi3: cmd_per_lun 128 qsize 256 seg_max 254 max_target 255 max_lun 16383
    [     1.007721] virtio7: config interrupting at msix6 vec 0
    [     1.007721] virtio7: queues interrupting at msix6 vec 1
    [     1.007721] scsibus3 at vioscsi3: 256 targets, 16384 luns per target
    [     1.007721] isa0 at pcib0
    [     1.007721] attimer0 at isa0 port 0x40-0x43
    [     1.007721] pcppi0 at isa0 port 0x61
    [     1.007721] spkr0 at pcppi0: PC Speaker
    [     1.007721] wsbell at spkr0 not configured
    [     1.007721] midi0 at pcppi0: PC speaker
    [     1.007721] sysbeep0 at pcppi0
    [     1.007721] attimer0: attached to pcppi0
    [     1.007721] acpicpu0 at cpu0: ACPI CPU
    [     1.007721] acpicpu0: C1: HLT, lat   0 us, pow     0 mW
    [     1.007721] vmt0 at cpu0
    [     1.007721] vmt0: UUID: f376ab45-696e-42c4-a751-e3191151611e
    [     1.007721] vmware: open failed, eax=0xffffffff, ecx=0x1e, edx=0x5658
    [     1.007721] vmt0: autoconfiguration error: failed to open backdoor RPC channel (TCLO protocol)
    [     1.007721] acpicpu1 at cpu1: ACPI CPU
    [     1.007721] timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
    [     1.222833] IPsec: Initialized Security Association Processing.
    [     1.232835] ld0: GPT GUID: ac26fc1e-7fec-44ea-b1cb-5364f733b493
    [     1.232835] dk0 at ld0: "EFI system", 8192 blocks at 128, type: msdos
    [     1.232835] dk1 at ld0: "netbsd-swap", 1048576 blocks at 8320, type: swap
    [     1.232835] dk2 at ld0: "netbsd-root", 51371776 blocks at 1056896, type: ffs
    [     1.232835] uhub0 at usb0: NetBSD (0x0000) UHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
    [     1.242833] uhub0: 2 ports with 2 removable, self powered
    [     1.302842] ahcisata0 port 0: device present, speed: 1.5Gb/s
    [     1.492882] sd0 at scsibus3 target 0 lun 2: <QEMU, QEMU HARDDISK, 2.5+> disk fixed
    [     1.502892] sd0: 368 KB, 2 cyl, 16 head, 23 sec, 512 bytes/sect x 736 sectors
    [     1.502892] sd0: async, 8-bit transfers, tagged queueing
    [     2.813229] atapibus0 at atabus2: 1 targets
    [     2.823191] cd0 at atapibus0 drive 0: <QEMU DVD-ROM, QM00005, 2.5+> cdrom removable
    [     2.823191] cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100), NCQ (32 tags)
    [     2.823191] cd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) (using DMA), NCQ (31 tags)
    [     2.933232] uhidev0 at uhub0 port 1 configuration 1 interface 0
    [     2.933232] uhidev0: QEMU (0x0627) QEMU USB Tablet (0x0001), rev 2.00/0.00, addr 2, iclass 3/0
    [     2.943214] ums0 at uhidev0: 3 buttons and Z dir
    [     2.943214] wsmouse1 at ums0 mux 0
    [     2.943214] swwdog0: software watchdog initialized
    [     2.983220] WARNING: 2 errors while detecting hardware; check system log.  # Only 2 errors now?
    [     2.983220] boot device: ld0
    [     2.983220] root on dk2 dumps on dk1
    [     2.993224] root file system type: ffs
    [     2.993224] kern.module.path=/stand/amd64/10.0/modules
    [    13.055448] wsdisplay0: screen 1 added (80x25, vt100 emulation)
    [    13.055448] wsdisplay0: screen 2 added (80x25, vt100 emulation)
    [    13.055448] wsdisplay0: screen 3 added (80x25, vt100 emulation)
    [    13.055448] wsdisplay0: screen 4 added (80x25, vt100 emulation)
    linveo# 
    
    Thanked by (1)linveo

    I hope everyone gets the servers they want!

  • @linveo said:
    Do you want switched over to an AMD Ryzen node?

    Thank you for the offer! Since it sounds like everybody else has already gone to AMD, I think it is better for me to stay on Intel for now so we can test both of the platforms out and make sure we have a solid solution going forward.

  • Not_OlesNot_Oles Hosting ProviderContent Writer

    @Not_Oles said:

    [     2.884958] WARNING: 8 errors while detecting hardware; check system log.    # What's with this?
    [     2.884958] boot device: ld0
    [     2.884958] root on dk2 dumps on dk1
    [     2.894947] root file system type: ffs
    [     2.905333] kern.module.path=/stand/amd64/10.0/modules
    [     3.684917] dk1 at ld0 (netbsd-swap) deleted
    [     3.684917] dk0 at ld0 (EFI system) deleted
    [     3.684917] ld0: GPT GUID: ac26fc1e-7fec-44ea-b1cb-5364f733b493
    [     3.684917] dk0 at ld0: "EFI system", 8192 blocks at 128, type: msdos
    [     3.684917] dk1 at ld0: "netbsd-swap", 1048576 blocks at 8320, type: swap
    [     3.684917] dk2 at ld0: "netbsd-root", 51371776 blocks at 1056896, type: ffs
    [    30.963838] rebooting...                                                           # Why the reboot?
    

    It's resizing on the first boot and then rebooting?

    I hope everyone gets the servers they want!

  • @Not_Oles said:
    [ 2.884958] WARNING: 8 errors while detecting hardware; check system log. # What's with this?

    Not sure, but it might be just scanning all the possible hardware upon the initial boot. Since you only see two errors in the next boot, it might have marked most of them 'not found' or something like that so it wouldn't keep trying.

    @Not_Oles said:
    [ 30.963838] rebooting... # Why the reboot?

    I am guessing that it is resizing the filesystem and rebooting to make sure the changes are applied before doing anything else.

    Also those two errors for the hardware detection look like they are related to VMware which is obviously not present here.

    Thanked by (1)Not_Oles
  • @Not_Oles said: [ 2.884958] WARNING: 8 errors while detecting hardware; check system log. # What's with this?

    Not sure, I guess it's just the kernel probing what devices are available. I haven't really figured out what it is complaining about, the only thing I have found was the vmware and vmt0 errors.

    @Not_Oles said: [ 30.963838] rebooting... # Why the reboot?

    On the first boot it resizes the partition and the root filesystem and then reboots - that's standard practice with NetBSD images at least.

    Thanked by (1)Not_Oles
  • linveolinveo Hosting ProviderOG

    @Crab said:

    @linveo said:
    Do you want switched over to an AMD Ryzen node?

    Thank you for the offer! Since it sounds like everybody else has already gone to AMD, I think it is better for me to stay on Intel for now so we can test both of the platforms out and make sure we have a solid solution going forward.

    Sounds good, let me know if you ever want to switch over.

    Thanked by (2)Crab Not_Oles

    linveo.com | Shared Hosting | KVM VPS | Dedicated Servers

  • Not_OlesNot_Oles Hosting ProviderContent Writer

    @Crab said:

    @linveo said:
    Do you want switched over to an AMD Ryzen node?

    Thank you for the offer! Since it sounds like everybody else has already gone to AMD, I think it is better for me to stay on Intel for now so we can test both of the platforms out and make sure we have a solid solution going forward.

    @Crab Thanks for dedication to the Community and to versatile and dependable solutions!

    Thanked by (1)Crab

    I hope everyone gets the servers they want!

  • Not_OlesNot_Oles Hosting ProviderContent Writer

    Reference: https://pkgsrc.org/

    What I think I want to do is to install pkgsrc.

    I first thought to try installing pkgsrc with pkgin or maybe install CVS with pkgin and then install pkgsrc via CVS. But, from the errors below, it seems like pkgin needs SSL certificates before it will work?

    Since pkgin didn't seem to work, I tried grabbing the current pkgsrc tar archive from ftp.netbsd.org/pub/pkgsrc, which seemed to work okay.

    Next up is to try bootstrapping pkgsrc. I will post about whether I get pkgsrc bootstrap to work.

    What's the best procedure for going from the minimal install to a happy, functioning pkgsrc?

    Thanks!

    Tom

    linveo# date
    Sat Sep 28 21:20:00 UTC 2024
    linveo# which pkgin
    linveo# which pkg_add
    /usr/sbin/pkg_add
    linveo# which cvs
    linveo# uname -p
    x86_64
    linveo# uname -r
    10.0
    linveo# PKG_PATH="http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -p)/$(uname -r|cut -f '1 2' -d.)/All/"
    linveo# export PKG_PATH
    linveo# echo $PKG_PATH
    http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/x86_64/10.0/All/
    linveo# pkg_add pkgin
    pkgin-23.8.1nb4: copying /usr/pkg/share/examples/pkgin/repositories.conf.example to /usr/pkg/etc/pkgin/repositories.conf
    linveo# echo $?
    0
    linveo# which pkgin
    /usr/pkg/bin/pkgin
    linveo# which ed
    /bin/ed
    linveo# pkgin search cvs
    processing remote summary (https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/x86_64/10.0/All)...
    00B8DAF521780000:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:/usr/src/crypto/external/bsd/openssl/dist/ssl/statem/statem_clnt.c:1889:
    00B8DAF521780000:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:/usr/src/crypto/external/bsd/openssl/dist/ssl/statem/statem_clnt.c:1889:
    00B8DAF521780000:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:/usr/src/crypto/external/bsd/openssl/dist/ssl/statem/statem_clnt.c:1889:
    pkgin: Could not fetch https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/x86_64/10.0/All/pkg_summary.gz: Authentication error
    linveo# pkgin install pkgsrc
    00A81C7068740000:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:/usr/src/crypto/external/bsd/openssl/dist/ssl/statem/statem_clnt.c:1889:
    00A81C7068740000:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:/usr/src/crypto/external/bsd/openssl/dist/ssl/statem/statem_clnt.c:1889:
    00A81C7068740000:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:/usr/src/crypto/external/bsd/openssl/dist/ssl/statem/statem_clnt.c:1889:
    pkgin: Could not fetch https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/x86_64/10.0/All/pkg_summary.gz: Authentication error
    linveo# 
    
    linveo# cd /usr
    linveo# ftp ftp.netbsd.org
    Trying [2001:470:a085:999::21]:21 ...
    Connected to ftp.netbsd.org.
    220 ftp.NetBSD.org FTP server (NetBSD-ftpd 20230930) ready.
    Name (ftp.netbsd.org:root): ftp
    331 Guest login ok, type your name as password.
    Password: 
    230-
            The NetBSD Project FTP Server located in San Jose, CA, USA
            1 Gbps connectivity
                                                        WELCOME!    /(        )`
                                                                    \ \___   / |
              +--- Currently Supported Platforms ----+              /- _  `-/  '
              | acorn32, algor, alpha, amd64, amiga, |             (/\/ \ \   /\
              | amigappc, arc, atari, bebox, cats,   |             / /   | `    \
              |  cesfic, cobalt, dreamcast, emips,   |             O O   ) /    |
              | epoc32, evbarm{,64}, evbmips, evbppc,|             `-^--'`<     '
              |     evbsh3, ews4800mips, hp300,      |            (_.)  _  )   /
              |hpc{arm,mips,sh}, hppa, i386, ibmnws, |              .___/`    /
              |iyonix, landisk, luna68k,mac{68k,ppc},|               `-----' /
              | mipsco, mmeye, mvme68k, mvmeppc,     |  <----.     __ / __   \
              |netwinder, news68k, newsmips, next68k,|  <----|====O)))==) \) /====
              |ofppc, pmax, prep, rs6000, sandpoint, |  <----'    `--' `.__,' \
              |sgimips, shark, sparc{,64}, sun{2,3}, |               |        |
              |      vax, x68k, xen, zaurus          |                \       /
              +--------------------------------------+           ______( (_  / \_____
              See our website at http://www.NetBSD.org/        ,'  ,-----'   |       \
               We log all FTP transfers and commands.          `--{__________)  (FL) \/
    
    230-
        EXPORT NOTICE
    
        Please note that portions of this FTP site contain cryptographic
        software controlled under the Export Administration Regulations (EAR)
        of the United States of America.
    
        None of this software may be downloaded or otherwise exported or
        re-exported into (or to a national or resident of) any country
        to which the U.S. has embargoed goods. Also, people personally
        on the block lists of the United States Department of Treasury
        or the United States Department of Commerce are prohibited.
    
        By downloading or using said software, you are agreeing to the
        foregoing and you are representing and warranting that you are not
        located in, under the control of, or a national or resident of any
        such country or on any such list.
    230 Guest login ok, access restrictions apply.
    Remote system type is UNIX.
    Using binary mode to transfer files.
    ftp> cd pub/pkgsrc/current
    250 CWD command successful.
    ftp> get pkgsrc.tar.gz.SHA1
    local: pkgsrc.tar.gz.SHA1 remote: pkgsrc.tar.gz.SHA1
    229 Entering Extended Passive Mode (|||54086|)
    150 Opening BINARY mode data connection for 'pkgsrc.tar.gz.SHA1' (64 bytes).
    100% |*****************************************************|    64        6.68 KiB/s    00:00 ETA
    226 Transfer complete.
    64 bytes received in 00:00 (0.54 KiB/s)
    ftp> get pkgsrc.tar.gz
    local: pkgsrc.tar.gz remote: pkgsrc.tar.gz
    229 Entering Extended Passive Mode (|||54087|)
    150 Opening BINARY mode data connection for 'pkgsrc.tar.gz' (84995861 bytes).
    100% |*****************************************************| 83003 KiB    1.35 MiB/s    00:00 ETA
    226 Transfer complete.
    84995861 bytes received in 00:59 (1.35 MiB/s)
    ftp> bye
    221-
        Data traffic for this session was 84995925 bytes in 2 files.
        Total traffic for this session was 84999287 bytes in 2 transfers.
    221 Thank you for using the FTP service on ftp.NetBSD.org.
    linveo# ls -l pkgsrc*
    -rw-r--r--  1 root  wheel  84995861 Sep 28 01:15 pkgsrc.tar.gz
    -rw-r--r--  1 root  wheel        64 Sep 28 01:15 pkgsrc.tar.gz.SHA1
    linveo# 
    

    I hope everyone gets the servers they want!

  • Not_OlesNot_Oles Hosting ProviderContent Writer
    linveo# tar xvzf pkgsrc.tar.gz 
    linveo# echo $?
    0
    linveo# linveo# ls -lR pkgsrc | wc -l
      441701
    linveo# linveo# cd bootstrap/
    linveo# ls
    CVS                README.FreeBSD     README.Interix     README.NetBSD      README.UnixWare
    README             README.GNUkFreeBSD README.Linux       README.OSF1        README.macOS
    README.AIX         README.HPUX        README.MidnightBSD README.OpenBSD     bootstrap
    README.Cygwin      README.Haiku       README.Minix3      README.OpenServer5 cleanup
    README.DragonFly   README.IRIX        README.MirBSD      README.Solaris     testbootstrap
    linveo# linveo# date
    Sun Sep 29 02:46:19 UTC 2024
    linveo# pwd
    /usr/pkgsrc/bootstrap
    linveo# ./bootstrap | tee bootstrap-out
    ERROR: Please unset PKG_PATH before running bootstrap.
    linveo# export PKG_PATH=""
    linveo# ./bootstrap | tee bootstrap-out
    ===> bootstrap command: ./bootstrap 
    ===> bootstrap started: Sun Sep 29 02:48:43 UTC 2024
    Working directory is: /usr/pkgsrc/bootstrap/work
    ===> running: /usr/bin/sed -e 's|@DEFAULT_INSTALL_MODE@|'0755'|' /usr/pkgsrc/sysutils/install-sh/files/install-sh.in > /usr/pkgsrc/bootstrap/work/bin/install-sh
    ===> running: /bin/chmod +x /usr/pkgsrc/bootstrap/work/bin/install-sh
    ===> Creating default mk.conf in /usr/pkgsrc/bootstrap/work
    ===> running: /bin/sh /usr/pkgsrc/bootstrap/work/bin/install-sh -d -o root -g wheel /usr/pkgsrc/bootstrap/work/sbin
    ===> running: /bin/sh /usr/pkgsrc/bootstrap/work/bin/install-sh -d -o root -g wheel /usr/pkgsrc/bootstrap/work/share/mk
    ===> Bootstrapping mk-files
    ===> running: (cd /usr/pkgsrc/pkgtools/bootstrap-mk-files/files && env CP=/bin/cp  OPSYS=NetBSD MK_DST=/usr/pkgsrc/bootstrap/work/share/mk ROOT_GROUP=wheel ROOT_USER=root SED=/usr/bin/sed SYSCONFDIR=/usr/pkg/etc /bin/sh ./bootstrap.sh)
    ===> Bootstrapping bmake
    ===> running: /bin/sh /usr/pkgsrc/bootstrap/work/bin/install-sh -d -o root -g wheel /usr/pkgsrc/bootstrap/work/bmake
    ===> running: (cd /usr/pkgsrc/bootstrap/work/bmake && /bin/sh configure  --prefix=/usr/pkgsrc/bootstrap/work --with-default-sys-path=/usr/pkgsrc/bootstrap/work/share/mk --with-machine-arch=x86_64 )
    Using: filemon_ktrace.c
    checking whether system has timezone Europe/Berlin... yes
    checking for gcc... no
    checking for cc... no
    checking for cl.exe... no
    checking for clang... no
    configure: error: in '/usr/pkgsrc/bootstrap/work/bmake':
    configure: error: no acceptable C compiler found in $PATH
    See 'config.log' for more details
    ===> exited with status 1
    aborted.
    linveo# 
    

    In the README it does say to have a working make and a compiler in your PATH. I did skim the README, but mistook the need for the compiler to be related to the cleanup command. My interpretation doesn't seem to make sense now. :)

    From the README in /use/pkgsrc/bootsrap :

    The bootstrap script will exit if the bootstrap directory already exists,
    for example if you have run the script before. In this case, clean it up
    by running:
    
    # ./cleanup
    
    Make sure that you have a working C compiler and make(1) binary in
    your path. 
    

    So, as of right now, I haven't managed to bootstrap pkgsrc (because no compiler is installed), and I haven't managed to get binary packages installed because of what I think might be SSL errors with pkgin.

    Maybe I will get a little further tomorrow! Yaaay! :)

    I hope everyone gets the servers they want!

  • @Not_Oles said: I first thought to try installing pkgsrc with pkgin or maybe install CVS with pkgin and then install pkgsrc via CVS. But, from the errors below, it seems like pkgin needs SSL certificates before it will work?

    I think a certctl rehash is missing (I need to add that to the image creation). PKG_PATH is already set in /etc/pkg_install.conf for that image, so with a fresh install you can currently do:

    NetBSD 10.0 (GENERIC) #0: Thu Mar 28 08:33:33 UTC 2024
    
    Welcome to NetBSD!
    
    We recommend that you create a non-root account and use su(1) for root access.
    test# certctl rehash
    test# pkg_add pkgin
    pkgin-23.8.1nb4: copying /usr/pkg/share/examples/pkgin/repositories.conf.example to /usr/pkg/etc/pkgin/repositories.conf
    test# pkgin upgrade
    processing remote summary (https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/x86_64/10.0/All)...
    pkg_summary.gz                                100% 6170KB 220.4KB/s   00:28    
    calculating dependencies...done.
    nothing to do.
    test# 
    
    Thanked by (1)Not_Oles
Sign In or Register to comment.