Re: pkg_info -Q not finding all entries?
On Mon, 2023-01-30 at 11:26 +, Stuart Henderson wrote: > On 2023-01-30, David Demelier wrote: > > While searching for sqlite3 I've realized that pkg_info -Q sqlite3 > > finds some php packages but not everything available in the remote > > repository: > > This is a consequence of the "first repository of the package search > path" limitation of -Q and how -stable packages are handled. > It only displays packages for which a -stable update is available. > > Workaround: > > PKG_PATH=http://cdn.openbsd.org/pub/OpenBSD/%v/packages/%a/ pkg_info > -Q sqlite > Hi, Thank you for your both answers, I'll keep that around :) -- David
Re: Yubikey detection by non-root user
> and saw that the latter couldn't access /dev/usb0 and /dev/ugen1.00 > I modified the permissions and I can now use the Yubikey. > > My question is: > Is this way of solving the problem correct in terms of security > or best practices? If not, do you have any recommendations as how > to do this correctly? Perhaps check "man fbtab"? While usb device numbering is slightly random, if you are not often inserting random usb sticks, this might be a decent option. Perhaps a script for hotplugd(8) can recognize it better than just "first usb device" and then chown/chmod on demand for you? -- May the most significant bit of your life be positive.
Re: MacBook Pro 15,2 (2019) nvme not available during 7.2-current install
Jonathan, I appreciate the help. I’ll try building on a separate amd64 device and see if I can get it to work. I’ll report back once I’ve had a chance to do some testing. Best, - Logan On Wed, Feb 1, 2023, at 10:15 PM, Jonathan Gray wrote: > On Wed, Feb 01, 2023 at 09:47:53PM -0800, Logan Ellis wrote: > > Hi all, > > > > Attempting to do single-os install of OpenBSD on my 2019 13” Intel MacBook > > Pro, but the nvme drive is not detected during installation. The usb drive > > containing the installer is detected without issue. `machine diskinfo` at > > the boot prompt lists the nvme. This occurs with both 7.2-current as well > > as a 7.2 release builds. For boot loaders, I attempted an option-key boot > > as well as booting from refind. Neither worked. I have also attempted to > > install the `apple-boot-firmware` into the install image using the FAQ > > instructions on bootstrapping firmware. As a long shot, I also tried to > > repartition the drive with GPT (and formatted as Fat) using disk utility > > during boot recovery, but no joy. Finally, dmesg (provided below) shows > > several unconfigured Apple entries, including a “mass storage device”. I’m > > at a bit of a loss on what to try next. Has anyone had success with this > > generation to MacBooks? I know Asahi has support for M-series MacBooks, and > > I’ve seen reports online of older MacBooks with working installs. Thanks in > > advance. > > > > Best, > > - Logan > > apple-boot-firmware is for the Arm based machines. > > > > > dmesg.txt: > ... > > > vendor "Apple", unknown product 0x2005 (class mass storage subclass > > miscellaneous, rev 0x01) at pci14 dev 0 function 0 not configured > > vendor "Apple", unknown product 0x1801 (class prehistoric subclass > > miscellaneous, rev 0x01) at pci14 dev 0 function 1 not configured > > vendor "Apple", unknown product 0x1802 (class prehistoric subclass > > miscellaneous, rev 0x01) at pci14 dev 0 function 2 not configured > > vendor "Apple", unknown product 0x1803 (class multimedia subclass audio, > > rev 0x01) at pci14 dev 0 function 3 not configured > > As the pci subclass is set to misc, nvme(4) doesn't match. > At a minimum a diff like this would be required. > > Though you'd need another machine to do a build. > > Index: sys/dev/pci/nvme_pci.c > === > RCS file: /cvs/src/sys/dev/pci/nvme_pci.c,v > retrieving revision 1.10 > diff -u -p -r1.10 nvme_pci.c > --- sys/dev/pci/nvme_pci.c 11 Mar 2022 18:00:51 - 1.10 > +++ sys/dev/pci/nvme_pci.c 2 Feb 2023 06:06:21 - > @@ -72,7 +72,8 @@ nvme_pci_match(struct device *parent, vo > > if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_APPLE && > (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_APPLE_NVME1 || > - PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_APPLE_NVME2)) > + PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_APPLE_NVME2 || > + PCI_PRODUCT(pa->pa_id) == 0x2005)) > return (1); > > return (0); >
Re: MacBook Pro 15,2 (2019) nvme not available during 7.2-current install
On Wed, Feb 01, 2023 at 09:47:53PM -0800, Logan Ellis wrote: > Hi all, > > Attempting to do single-os install of OpenBSD on my 2019 13” Intel MacBook > Pro, but the nvme drive is not detected during installation. The usb drive > containing the installer is detected without issue. `machine diskinfo` at the > boot prompt lists the nvme. This occurs with both 7.2-current as well as a > 7.2 release builds. For boot loaders, I attempted an option-key boot as well > as booting from refind. Neither worked. I have also attempted to install the > `apple-boot-firmware` into the install image using the FAQ instructions on > bootstrapping firmware. As a long shot, I also tried to repartition the drive > with GPT (and formatted as Fat) using disk utility during boot recovery, but > no joy. Finally, dmesg (provided below) shows several unconfigured Apple > entries, including a “mass storage device”. I’m at a bit of a loss on what to > try next. Has anyone had success with this generation to MacBooks? I know > Asahi has support for M-series MacBooks, and I’ve seen reports online of > older MacBooks with working installs. Thanks in advance. > > Best, > - Logan apple-boot-firmware is for the Arm based machines. > > dmesg.txt: ... > vendor "Apple", unknown product 0x2005 (class mass storage subclass > miscellaneous, rev 0x01) at pci14 dev 0 function 0 not configured > vendor "Apple", unknown product 0x1801 (class prehistoric subclass > miscellaneous, rev 0x01) at pci14 dev 0 function 1 not configured > vendor "Apple", unknown product 0x1802 (class prehistoric subclass > miscellaneous, rev 0x01) at pci14 dev 0 function 2 not configured > vendor "Apple", unknown product 0x1803 (class multimedia subclass audio, rev > 0x01) at pci14 dev 0 function 3 not configured As the pci subclass is set to misc, nvme(4) doesn't match. At a minimum a diff like this would be required. Though you'd need another machine to do a build. Index: sys/dev/pci/nvme_pci.c === RCS file: /cvs/src/sys/dev/pci/nvme_pci.c,v retrieving revision 1.10 diff -u -p -r1.10 nvme_pci.c --- sys/dev/pci/nvme_pci.c 11 Mar 2022 18:00:51 - 1.10 +++ sys/dev/pci/nvme_pci.c 2 Feb 2023 06:06:21 - @@ -72,7 +72,8 @@ nvme_pci_match(struct device *parent, vo if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_APPLE && (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_APPLE_NVME1 || - PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_APPLE_NVME2)) + PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_APPLE_NVME2 || + PCI_PRODUCT(pa->pa_id) == 0x2005)) return (1); return (0);
MacBook Pro 15,2 (2019) nvme not available during 7.2-current install
Hi all, Attempting to do single-os install of OpenBSD on my 2019 13” Intel MacBook Pro, but the nvme drive is not detected during installation. The usb drive containing the installer is detected without issue. `machine diskinfo` at the boot prompt lists the nvme. This occurs with both 7.2-current as well as a 7.2 release builds. For boot loaders, I attempted an option-key boot as well as booting from refind. Neither worked. I have also attempted to install the `apple-boot-firmware` into the install image using the FAQ instructions on bootstrapping firmware. As a long shot, I also tried to repartition the drive with GPT (and formatted as Fat) using disk utility during boot recovery, but no joy. Finally, dmesg (provided below) shows several unconfigured Apple entries, including a “mass storage device”. I’m at a bit of a loss on what to try next. Has anyone had success with this generation to MacBooks? I know Asahi has support for M-series MacBooks, and I’ve seen reports online of older MacBooks with working installs. Thanks in advance. Best, - Logan dmesg.txt: OpenBSD 7.2-current (RAMDISK_CD) #955: Mon Jan 30 18:25:22 MST 2023 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD real mem = 16987197440 (16200MB) avail mem = 16468348928 (15705MB) random: good seed from bootblocks mainbus0 at root bios0 at mainbus0: SMBIOS rev. 3.3 @ 0x88ecf000 (38 entries) bios0: vendor Apple Inc. version "1731.140.2.0.0 (iBridge: 19.16.16067.0.0,0)" date 06/28/2022 bios0: Apple Inc. MacBookPro15,2 acpi0 at bios0: ACPI 5.0 acpi0: tables DSDT FACP SSDT SSDT SSDT SSDT SSDT SSDT ECDT HPET APIC SBST SSDT SSDT SSDT SSDT SSDT SSDT DMAR MCFG acpiec0 at acpi0 acpihpet0 at acpi0: 2399 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz, 3790.42 MHz, 06-8e-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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,OSXSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 4-way L2 cache, 6MB 64b/line 12-way L3 cache cpu0: apic clock running at 24MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE cpu at mainbus0: not configured cpu at mainbus0: not configured cpu at mainbus0: not configured cpu at mainbus0: not configured cpu at mainbus0: not configured cpu at mainbus0: not configured cpu at mainbus0: not configured ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEG0) acpiprt2 at acpi0: bus 1 (RP01) acpiprt3 at acpi0: bus 3 (RP05) acpiprt4 at acpi0: bus 121 (RP09) acpiprt5 at acpi0: bus 2 (RP13) acpipci0 at acpi0 PCI0 "ACPI000E" at acpi0 not configured "APP0001" at acpi0 not configured "ACPI0001" at acpi0 not configured "ACPI0002" at acpi0 not configured "APP9876" at acpi0 not configured "BCM2E7C" at acpi0 not configured "INT34BA" at acpi0 not configured "ACPI0003" at acpi0 not configured "PNP0C0D" at acpi0 not configured "PNP0C0C" at acpi0 not configured "APP0002" at acpi0 not configured "PNP0C0E" at acpi0 not configured acpicpu at acpi0 not configured cpu0: using VERW MDS workaround pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core 8G Host" rev 0x08 "Intel Iris Plus 655" rev 0x01 at pci0 dev 2 function 0 not configured "Intel 300 Series Thermal" rev 0x30 at pci0 dev 18 function 0 not configured xhci0 at pci0 dev 20 function 0 "Intel 300 Series xHCI" rev 0x30: msi, xHCI 1.10 usb0 at xhci0: USB revision 3.0 uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 addr 1 "Intel 300 Series Shared SRAM" rev 0x30 at pci0 dev 20 function 2 not configured "Intel 300 Series MEI" rev 0x30 at pci0 dev 22 function 0 not configured ppb0 at pci0 dev 28 function 0 "Intel 300 Series PCIE" rev 0xf0: msi pci1 at ppb0 bus 1 vendor "Broadcom", unknown product 0x4464 (class network subclass miscellaneous, rev 0x03) at pci1 dev 0 function 0 not configured ppb1 at pci0 dev 28 function 4 "Intel 300 Series PCIE" rev 0xf0: msi pci2 at ppb1 bus 3 ppb2 at pci2 dev 0 function 0 vendor "Intel", unknown product 0x1578 rev 0x06 pci3 at ppb2 bus 4 ppb3 at pci3 dev 0 function 0 "Intel JHL7540 Thunderbolt 3" rev 0x06: msi pci4 at ppb3 bus 5 "Intel JHL7540 Thunderbolt 3" rev 0x06 at pci4 dev 0 function 0 not configured ppb4 at pci3 dev 1 function 0 "Intel JHL7540 Thunderbolt 3" rev 0x06: msi pci5 at ppb4 bus 7 ppb5 at pci3 dev 2 function 0 "Intel JHL7540 Thunderbolt 3" rev 0x06: msi pci6 at ppb5 bus 6 xhci1 at pci6 dev 0 function 0 "
hw.ncpuonline (2 of 2)
As requested, dmesg output: OpenBSD 7.2 (GENERIC.MP) #758: Tue Sep 27 11:57:54 MDT 2022 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8012951552 (7641MB) avail mem = 7752704000 (7393MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe4800 (31 entries) bios0: vendor Acer version "V1.07" date 10/24/2012 bios0: Acer Aspire V3-551G acpi0 at bios0: ACPI 5.0 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP UEFI HPET APIC MCFG ASF! BOOT SLIC WDRT WDAT FPDT SSDT SSDT acpi0: wakeup devices PB4_(S5) PB5_(S5) PB6_(S5) PB7_(S5) SPB0(S4) SPB1(S4) SPB2(S4) SPB3(S4) GEC_(S4) OHC1(S4) OHC2(S4) OHC3(S4) OHC4(S4) EHC1(S4) EHC2(S4) EHC3(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 32 bits acpihpet0 at acpi0: 14318180 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 16 (boot processor) cpu0: AMD A10-4600M APU with Radeon(tm) HD Graphics, 2296.92 MHz, 15-10-01 cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,CPCTR,ITSC,BMI1 cpu0: 16KB 64b/line 4-way D-cache, 64KB 64b/line 2-way I-cache cpu0: 2MB 64b/line 16-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 99MHz cpu0: mwait min=64, max=64, IBE cpu1 at mainbus0: apid 17 (application processor) cpu1: AMD A10-4600M APU with Radeon(tm) HD Graphics, 2295.94 MHz, 15-10-01 cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,CPCTR,ITSC,BMI1 cpu1: 16KB 64b/line 4-way D-cache, 64KB 64b/line 2-way I-cache cpu1: 2MB 64b/line 16-way L2 cache cpu1: smt 1, core 0, package 0 cpu2 at mainbus0: apid 18 (application processor) cpu2: AMD A10-4600M APU with Radeon(tm) HD Graphics, 2295.95 MHz, 15-10-01 cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,CPCTR,ITSC,BMI1 cpu2: 16KB 64b/line 4-way D-cache, 64KB 64b/line 2-way I-cache cpu2: 2MB 64b/line 16-way L2 cache cpu2: smt 0, core 1, package 0 cpu3 at mainbus0: apid 19 (application processor) cpu3: AMD A10-4600M APU with Radeon(tm) HD Graphics, 2295.94 MHz, 15-10-01 cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,CPCTR,ITSC,BMI1 cpu3: 16KB 64b/line 4-way D-cache, 64KB 64b/line 2-way I-cache cpu3: 2MB 64b/line 16-way L2 cache cpu3: smt 1, core 1, package 0 ioapic0 at mainbus0: apid 4 pa 0xfec0, version 21, 24 pins, remapped acpimcfg0 at acpi0 acpimcfg0: addr 0xf800, bus 0-63 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (PB2_) acpiprt2 at acpi0: bus -1 (PB3_) acpiprt3 at acpi0: bus 2 (PB4_) acpiprt4 at acpi0: bus -1 (PB5_) acpiprt5 at acpi0: bus -1 (PB6_) acpiprt6 at acpi0: bus 3 (PB7_) acpiprt7 at acpi0: bus -1 (SPB0) acpiprt8 at acpi0: bus -1 (SPB1) acpiprt9 at acpi0: bus -1 (SPB2) acpiprt10 at acpi0: bus -1 (SPB3) acpiprt11 at acpi0: bus 7 (P2P_) acpiec0 at acpi0 acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: SLPB acpipci0 at acpi0 PCI0 acpicmos0 at acpi0 "ETD0500" at acpi0 not configured acpibat0 at acpi0: BAT1 model "13854139376292673" serial 3359 type Lion oem "LG " acpiac0 at acpi0: AC unit online acpibtn2 at acpi0: LID_ "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured acpicpu0 at acpi0: C2(0@100 io@0x841), C1(@1 halt!), PSS acpicpu1 at acpi0: C2(0@100 io@0x841), C1(@1 halt!), PSS acpicpu2 at acpi0: C2(0@100 io@0x841), C1(@1 halt!), PSS acpicpu3 at acpi0: C2(0@100 io@0x841), C1(@1 halt!), PSS acpivideo0 at acpi0: VGA_ acpivout0 at acpivideo0: LCD_ acpivideo1 at acpi0: VGA_ acpivout1 at acpivideo1: LCD_ acpivideo2 at acpi0: VGA_ cpu0: 2296 MHz: speeds: 2300 2000 1800 1600 1400 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "AMD 15/1xh Host" rev 0x00 radeondrm0 at pci0 dev 1 function 0 "ATI Aruba" rev 0x00 drm0 at radeondrm0 radeondrm0: msi azalia0 at pci0 dev 1 function 1 vendor "ATI", unknown product 0x9902 rev 0x00: msi azalia0: no supported codecs ppb0 at pci0 dev 2 function 0 "AMD 15/1xh PCIE" rev 0x00: msi pci1 at ppb0 bu
Yubikey detection by non-root user
Hello, I had trouble getting my Yubikey recognized by KeepassXC as a normal user (staff class, wheel group). I compared the ktrace of ykpersonalize between root and this user and saw that the latter couldn't access /dev/usb0 and /dev/ugen1.00 I modified the permissions and I can now use the Yubikey. My question is: Is this way of solving the problem correct in terms of security or best practices? If not, do you have any recommendations as how to do this correctly? Thanks!
Re: Live stick / cd from official sources
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.
hw.ncpuonline (1 of 2)
As requested, output from lspci (dmesg coming shortly, currently running custom kernel) Architecture:amd64 Byte Order: Little Endian Active CPU(s): 4 Total CPU(s):4 Thread(s) per core: 1 Core(s) per socket: 4 Socket(s): 1 Vendor: AuthenticAMD CPU family: 21 Model: 16 Model name: AMD A10-4600M APU with Radeon(tm) HD Graphics Stepping:1 CPU MHz: 2300 L1d cache: 16K L1i cache: 64K L2 cache:2048K Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 cflsh mmx fxsr sse sse2 htt sse3 pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave osxsave avx f16c syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm lahf_lm cmp_legacy svm extapic cr8_legacy lzcnt sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm perfctr_core perfctr_nb Thanks for all who have replied!
Re: hw.ncpuonline
On Tue, Jan 31, 2023 at 05:54:23PM -0800, Justin Muir wrote: > Hi all, > > I've got an AMD A10 with 4 cores and only 2 are online. I'm not sure how to > enable the other 2. > > hw.ncpufound=4 btw > > Any ideas out there? > > Tia! likely sysctl hw.smt=1
Re: Live stick / cd from official sources
On Feb 01 12:36:18, my2...@aol.com wrote: > is it so ridiculous to ask a system test to boot in graphical mode in > 2.5 min to care about it? In the time it took you to write these emeils, you could have a _full_install_ on a USB stick, including X and everything.
Re: Live stick / cd from official sources
Daniele B. writes: > Thanks for this one, Bodie. > > In my little, simple prospective from year 2023 there is the hope that we are > going to overcome soon > all these sayings we are telling us about *nix. The way such shortcomings might be overcome is to produce the code which replaces or fixes them. > And however, my opinion, ... is irrelevant, and moreover unintersting. Your opinion is not interpreted by my CPU, which interprets code. > Obviously it is my own interest Indeed. And your own interest will be best served by writing your own code. > is it so ridiculous to ask Yes. And also rude. Your hardware, your money, your use. You make sure it works for you. It's nobody else's responsibility to write the code for their own hardware. > I think that we should shorten this "formal gap" also because, Assuming this formal gap --- I didn't read that --- is related to software you're given for free not doing something you want it to do, you'd close this gap by writing the code to make it do so. > Can we arrange these situation in a better bsd fashion? There is no need to rearrange anything, you just need to write the code. It's really not rocket science. Matthew
Re: Live stick / cd from official sources
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
Thanks for this one, Bodie. In my little, simple prospective from year 2023 there is the hope that we are going to overcome soon all these sayings we are telling us about *nix. They are correct but we can't neither leave it to the word of mouth or to the industry reception.. I think we could turn to be positive and serve to the consumers of OpenBSD this live image.. Then I can't guess ie. if becuase this "industry reception" other interests exist I neither want to know it. And however, my opinion, we should respect also those small shops that turn to be so business oriented while downsizing a reality like the OpenBSD one they care about to supply you a cheap and running system, to make you happy. Obviously it is my own interest too that an hardware shop cares about my own stuff but try to be honest with yourself.. is it so ridiculous to ask a system test to boot in graphical mode in 2.5 min to care about it? Anyway now let me go Off Topiiic - for they joy of those tirans who read me - to describe you more how this business from Germany run, as I.. just received the mici-pc! First, they run a very nice portal with one of the few pc and mici hardware configurators that I know. Second, they sell on Amazon too, where I originally got about them. I like a lot also the fact they sell system with dated but decent processors to keep down the price. What I like less is maybe they pretend to speak mostly german, or not speak at all. As I said, they marked my product delivered almost immediately, I believe, and I could be wrong, they didn't tested it against OpenBSD by choise. 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.. This is the unboxing of this morning: https://5md.at/l/unbox1 https://5md.at/l/unbox2 https://5md.at/l/unbox3 https://5md.at/l/unbox4 Anything wrong? Windows and Linux made them foolish? I think that we should shorten this "formal gap" also because, indeed and correctly people think and behave differently for they own reasons. And, it is not to support them without a reason: I personally pay much respect to people like these one who point to "serve" you in such rare conditions (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 -- Daniele Bonini
Re: Live stick / cd from official sources
On 30.1.2023 10:32, my25mb wrote: Hello everyone, I'm sorry to nock the door of this mailing-list so unexpectedly! :-) I'm now dealing with an hardware supplier of mine from Germany and soon arise the problem that, yes, I want a new cheap minipc that I lucky found.. but I can't test its compatibility with OpenBSD its purchase from Italy, and it comes by a proprietary format by a certain brand! Did you ever hear about that kind of problem? So, with a little of "imaginationz" I searched Internet for an OpenBSD live cd that I lucky found: https://liveusb-openbsd.sourceforge.io/ So, next question became: is it something I can trust and suggest to my supplier? I'm asking, if someone can grab the hint, if it is "phisible" to have an official live stick/cd on openbsd.org to simplify "my" relationship and existance with these mysterious hardware systems :-). Thanks and good day to everyone. Daniele BoniniPS: I guess the topic could be already proposed but unfortunately I tried to check the FAQ without luck: page doesn't exist error. Your "problems" were described already in the past even in songs https://www.openbsd.org/lyrics.html#39 Trying to support companies which continue with this practice is just huge waste of money on your end and waste of time here. Same as non-functional security by obscurity these companies try to run business by obscurity. In long run that is a fail as well. During all of this time and discussions you could have your own live CD already for that company and people provided info how. It is even easier then on Linux and so company which claims to have some support for Linux is supposed to easily do that. BUT in reality it's like many of those companies. They write about support of Windows/Linux on their HW while in fact they do know nothing about Linux and Unix-like in general and it is just by proprietary stuff in Linux kernel that their HW is running it. Often with funny remarks on their pages like that Linux kernel 2.6.x is supported and such :-) Only Windows will simplify your relationships with such systems. And either you accept it or not and then use some other HW. Focus on the proper one which allows you to use it, learn it, code on it and so on.
Re: hw.ncpuonline
Otto said: > it makes certain types of attack easier. I can confirm this. I already crossed the river and I came back to the defaults. Then "only the sky can know" about the possible attacks one can face. I guess the defaults are to clarify "what there is under the sky". And the metaphor of the sky makes much sense to my own system config. There are some tricks to increment performances beyond what you just dicovered. Eg: depending on amount of ram you own.. to employ some - and only some - gb of that dimm stuff :D.. and depending on what you is your storage device, you can think to speed up this latter by placing on ram the /tmp. Sorry if Im not technical enough here, you can point the man to "fstab" or I'm sure someone else here can decode it to you. However, there are some cons. For example some software packages don't bear this ram move ie. MariaDB is one of those packages (aaah, bug! ;-) -- Daniele Bonini Feb 1, 2023 07:45:48 Otto Moerbeek : > On Wed, Feb 01, 2023 at 07:35:16AM +0100, Janne Johansson wrote: > >> Den ons 1 feb. 2023 kl 03:08 skrev Justin Muir : >>> I've got an AMD A10 with 4 cores and only 2 are online. I'm not sure how to >>> enable the other 2. >>> >>> hw.ncpufound=4 btw >>> Any ideas out there? >> >> OpenBSD disables hyperthreading (or symmetric multithreading, smt), so >> if your "4-core" cpu is actually 2 real cores and 2 hyperthreads, then >> this sounds perfectly reasonable. >> >> For example, this box of mine (not the same cpu, but still), it looks like >> this: >> >> hw.ncpufound=8 >> hw.smt=0 >> hw.ncpuonline=4 >> >> so I get the 4 real cores running out of possibly 8. >> >> -- >> May the most significant bit of your life be positive. >> > > It is posible to enable symmetric multithreading, at your own risk as > it makes certain types of attack easier. Often it does not increase > performance. > > sysctl hw.smt=1 > > See man sysctl.conf for a permanent solution. > > -Otto
Re: hw.ncpuonline
On 2023-02-01, Justin Muir wrote: > Hi all, > > I've got an AMD A10 with 4 cores and only 2 are online. I'm not sure how to > enable the other 2. > > hw.ncpufound=4 btw > > Any ideas out there? Assuming the specs I found are correct and they are full cores, there should be no issue using hw.smt=1 to enable the others on this machine as was suggested by others. There might be some quirk in how the cpu returns information about cores that means that they're detected as threads instead of full cores. Please show dmesg, and output from lscpu (in packages). Maybe there is some more we could do to detect it better, or maybe this model just reports strangely for the relevant cpuid instructions. -- Please keep replies on the mailing list.