DBD::mysql errors
I'm playing around with some perl cgi. I'm trying to use DBD::mysql but keep getting errors. There has been an error: install_driver(mysql) failed: Can't load '/usr/local/libdata/perl5/site_perl/amd64-openbsd/auto/DBD/mysql/mysql.so' for module DBD::mysql: Cannot load specified object at /usr/libdata/perl5/ amd64-openbsd/DynaLoader.pm line 193. at (eval 19) line 3. Compilation failed in require at (eval 19) line 3. Perhaps a required shared library or dll isn't installed where expected at /usr/local/libdata/perl5/site_perl /CGI/Application/Plugin/DBH.pm line 40. I also added 'use diagnostics', but it didn't add anything to the error. I also built from source to see if there were any obvious errors from make test, but everything passed. $ pkg_info | grep DBD p5-DBD-mysql-4.042 MySQL drivers for the Perl DBI My chroot is kept up to date with rsync. $ cat /home/edgar/bin/syncperl doas rsync -avz /usr/local/libdata/perl5/ /var/www/usr/local/libdata/perl5/ So the paths mentioned in the error live under /var/www and the files mentioned in the error do exist. I'm curious if there is something not obvious (to me) that I need to put in the chroot that is causing this error. Just to show the system working: $ rcctl check mysqld mysqld(ok) $ rcctl check slowcgi slowcgi(ok) $ rcctl check httpd httpd(ok) Perl Environment Variables DOCUMENT_ROOT = / DOCUMENT_URI = /cgi-bin/env.pl GATEWAY_INTERFACE = CGI/1.1 HTTP_ACCEPT = text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 HTTP_ACCEPT_ENCODING = gzip, deflate HTTP_ACCEPT_LANGUAGE = en-US,en;q=0.5 HTTP_CONNECTION = keep-alive HTTP_HOST = 192.168.43.205 HTTP_UPGRADE_INSECURE_REQUESTS = 1 HTTP_USER_AGENT = Mozilla/5.0 (X11; OpenBSD amd64; rv:56.0) Gecko/20100101 Firefox/56.0 PATH_INFO = QUERY_STRING = REMOTE_ADDR = 192.168.43.205 REMOTE_PORT = 18876 REQUEST_METHOD = GET REQUEST_URI = /cgi-bin/env.pl SCRIPT_FILENAME = //cgi-bin/env.pl SCRIPT_NAME = /cgi-bin/env.pl SERVER_ADDR = 192.168.43.205 SERVER_NAME = default SERVER_PORT = 80 SERVER_PROTOCOL = HTTP/1.1 SERVER_SOFTWARE = OpenBSD httpd And some dmesg port for good measure. OpenBSD 6.2 (GENERIC.MP) #0: Thu Oct 12 19:53:18 CEST 2017 r...@syspatch-62-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 4156157952 (3963MB) avail mem = 4023177216 (3836MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xdae9c000 (64 entries) bios0: vendor LENOVO version "83ET69WW (1.39 )" date 03/26/2012 bios0: LENOVO 42368J2 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SLIC SSDT SSDT SSDT HPET APIC MCFG ECDT ASF! TCPA SSDT SSDT UEFI UEFI UEFI acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP4(S4) EHC1(S3) EHC2(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2492.25 MHz 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT cpu0: 256KB 64b/line 8-way L2 cache cpu0: TSC frequency 2492253800 Hz cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 99MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.91 MHz 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 1, core 0, package 0 cpu2 at mainbus0: apid 2 (application processor) cpu2: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.91 MHz cpu2: 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 0, core 1, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.91 MHz cpu3: 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 1, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec00
Re: Hellos from the Lands of Norway.
On 12/07/17 07:31, Ywe Cærlyn wrote: I saw AMDs "semi-custom" CPU email form and told them that I wanted a CPU, that is clockspeed oriented, not cores (might aswell be singlecore with high HZ), that could be using several instruction macros (combining two or three), for max virtual clockspeed, and an optimizing compiler for this. And wondered if an additional poweroff mode could be added to the binary stream of 1 0, so that bitwise i/o and cpu scheduling could be done. If one could get the virtual clockspeed up to 12ghz, I think no regular user would ever use more than a single core. And it´d be a megahit. Fixing all inefficiency hardware wise. Philosophically aswell. Peaceful Salutations. CPU clock speed != performance. Factor in: main memory: latency, bus width, and access/cycle time. caches: levels, speeds, sizes, widths CPU access patterns interacting with the above clocks per instruction: average, best case, worst case cost or even feasibility of super high CPU clocks propagation time of signals across chips A very fast CPU clock on a CPU with very low clocks-per-instruction a small die and a huge memory matching speed == the RISC ideal Even RISC with floating point hardware, for instance, often takes many cycles. Adding cores is often seen as the best way of increasing >system< performance significantly at the lowest cost. geoff steckel
Re: NTP issue on Lanner FW-7526B
On 9 December 2017 at 09:40, Christian Weisgerber wrote: > On 2017-12-08, Darren Tucker wrote: > > > If your hardware doesn't have a clock (or the clock is bad) then it can > > take ntpd a long time to adjust it back to the correct time (it uses > > adjtime(), which I think adjusts at +/- 10%). > > Actually, 5000 parts per million, so 0.5%. > ntp_update_second(int64_t *adjust) [...] if (adjtimedelta > 0) adj = MIN(5000, adjtimedelta); else adj = MAX(-5000, adjtimedelta); I sit corrected :-). -- Darren Tucker (dtucker at dtucker.net) GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860 37F4 9357 ECEF 11EA A6FA (new) Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
Re: NTP issue on Lanner FW-7526B
On 2017-12-08, Darren Tucker wrote: > If your hardware doesn't have a clock (or the clock is bad) then it can > take ntpd a long time to adjust it back to the correct time (it uses > adjtime(), which I think adjusts at +/- 10%). Actually, 5000 parts per million, so 0.5%. -- Christian "naddy" Weisgerber na...@mips.inka.de
Re: NTP issue on Lanner FW-7526B
On 9 December 2017 at 01:58, mabi wrote: > > I have a new Lanner FW-7526B firewall loaded with OpenBSD 6.2. I must say > it's a nice small firewall but unfortunately the ntp daemon does not seem > to manage to set the time correctly with this hardware. The time is off by > approximately 1:20h and every 2-3 minutes I see the following log entries: > If your hardware doesn't have a clock (or the clock is bad) then it can take ntpd a long time to adjust it back to the correct time (it uses adjtime(), which I think adjusts at +/- 10%). You can avoid this long convergence by telling ntpd to step to the correct time on startup (although this won't step after startup, so it requires that your NTP servers be reachable at boot time). $ grep ntp /etc/rc.conf.local ntpd_flags="-s" -- Darren Tucker (dtucker at dtucker.net) GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860 37F4 9357 ECEF 11EA A6FA (new) Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
Re: NTP issue on Lanner FW-7526B
Mhh thanks, totally forgot about that good old rdate. That did it and now ntp is happy in sync. > Original Message >Subject: Re: NTP issue on Lanner FW-7526B >Local Time: December 8, 2017 7:22 PM >UTC Time: December 8, 2017 6:22 PM >From: dan...@presscom.net >To: misc@openbsd.org > >It is adjusting the time, but your clock is way off, so it try to do it > slowly as to not mess any logs, but if you want to adjust it al at once > and don't care about that for now > > rdate -n4 pool.ntp.org > > Simple. > > > > On 12/8/17 9:58 AM, mabi wrote: >>Hi, >>I have a new Lanner FW-7526B firewall loaded with OpenBSD 6.2. I must say >>it's a nice small firewall but unfortunately the ntp daemon does not seem to >>manage to set the time correctly with this hardware. The time is off by >>approximately 1:20h and every 2-3 minutes I see the following log entries: >>Dec 9 14:26:10 fw ntpd[828]: adjusting local clock by -85381.687984s >> Dec 9 14:29:53 fw ntpd[828]: adjusting local clock by -85380.584607s >> Dec 9 14:31:33 fw ntpd[828]: adjusting local clock by -85380.084014s >> Dec 9 14:33:12 fw ntpd[828]: adjusting local clock by -85379.589606s >>ntpctl reports: >>4/4 peers valid, constraint offset -85442s, clock unsynced, clock offset is >>-85378257.156ms >>Any ideas what could be wrong here? I use the default ntp.conf file delivered >>with OpenBSD 6.2. >>In case I pasted below the dmesg output. >>Regards, >> Mabi >>OpenBSD 6.2 (GENERIC.MP) #0: Thu Oct 12 19:53:18 CEST 2017 >>r...@syspatch-62-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP >> real mem = 8559403008 (8162MB) >> avail mem = 8292978688 (7908MB) >> mpath0 at root >> scsibus0 at mpath0: 256 targets >> mainbus0 at root >> bios0 at mainbus0: SMBIOS rev. 2.8 @ 0x7f52 (53 entries) >> bios0: vendor American Megatrends Inc. version "5.6.5" date 02/26/2016 >> acpi0 at bios0: rev 2 >> acpi0: sleep states S0 S5 >> acpi0: tables DSDT FACP FPDT MCFG WDAT UEFI APIC BDAT HPET SSDT SPCR HEST >> BERT ERST EINJ >> acpi0: wakeup devices PS2K(S0) PS2M(S0) PEX1(S0) PEX2(S0) PEX3(S0) PEX4(S0) >> EHC1(S0) >> acpitimer0 at acpi0: 3579545 Hz, 24 bits >> acpimcfg0 at acpi0 addr 0xe000, bus 0-255 >> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat >> cpu0 at mainbus0: apid 0 (boot processor) >> cpu0: Intel(R) Atom(TM) CPU C2518 @ 1.74GHz, 1750.32 MHz >> 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,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT >> cpu0: 1MB 64b/line 16-way L2 cache >> cpu0: TSC frequency 1750324380 Hz >> cpu0: smt 0, core 0, package 0 >> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges >> cpu0: apic clock running at 83MHz >> cpu0: mwait min=64, max=64, C-substates=0.2.0.0.0.0.3, IBE >> cpu1 at mainbus0: apid 2 (application processor) >> cpu1: Intel(R) Atom(TM) CPU C2518 @ 1.74GHz, 1750.00 MHz >> 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT >> cpu1: 1MB 64b/line 16-way L2 cache >> cpu1: smt 0, core 1, package 0 >> cpu2 at mainbus0: apid 4 (application processor) >> cpu2: Intel(R) Atom(TM) CPU C2518 @ 1.74GHz, 1750.00 MHz >> cpu2: >> 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,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT >> cpu2: 1MB 64b/line 16-way L2 cache >> cpu2: smt 0, core 2, package 0 >> cpu3 at mainbus0: apid 6 (application processor) >> cpu3: Intel(R) Atom(TM) CPU C2518 @ 1.74GHz, 1750.00 MHz >> cpu3: >> 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,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT >> cpu3: 1MB 64b/line 16-way L2 cache >> cpu3: smt 0, core 3, package 0 >> ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins >> acpihpet0 at acpi0: 14318179 Hz >> acpiprt0 at acpi0: bus 0 (PCI0) >> acpiprt1 at acpi0: bus 1 (PEX1) >> acpiprt2 at acpi0: bus 2 (PEX2) >> acpiprt3 at acpi0: bus 3 (PEX3) >> acpiprt4 at acpi0: bus 4 (PEX4) >> acpicpu0 at acpi0: C1(@1 halt!) >> acpicpu1 at acpi0: C1(@1 halt!) >> acpicpu2 at acpi0: C1(@1 halt!) >> acpicpu3 at acpi0: C1(@1 halt!) >> "PNP0003" at acpi0 not configured >> "PNP0F03" at acpi0 not configured >> "PNP0C33" at acpi0 not configured >> pci0 at mainbus0 bus 0 >> pchb0 at pci0 dev 0 function 0 vendor
Re: NTP issue on Lanner FW-7526B
It is adjusting the time, but your clock is way off, so it try to do it slowly as to not mess any logs, but if you want to adjust it al at once and don't care about that for now rdate -n4 pool.ntp.org Simple. On 12/8/17 9:58 AM, mabi wrote: > Hi, > > I have a new Lanner FW-7526B firewall loaded with OpenBSD 6.2. I must say > it's a nice small firewall but unfortunately the ntp daemon does not seem to > manage to set the time correctly with this hardware. The time is off by > approximately 1:20h and every 2-3 minutes I see the following log entries: > > Dec 9 14:26:10 fw ntpd[828]: adjusting local clock by -85381.687984s > Dec 9 14:29:53 fw ntpd[828]: adjusting local clock by -85380.584607s > Dec 9 14:31:33 fw ntpd[828]: adjusting local clock by -85380.084014s > Dec 9 14:33:12 fw ntpd[828]: adjusting local clock by -85379.589606s > > ntpctl reports: > > 4/4 peers valid, constraint offset -85442s, clock unsynced, clock offset is > -85378257.156ms > > Any ideas what could be wrong here? I use the default ntp.conf file delivered > with OpenBSD 6.2. > > In case I pasted below the dmesg output. > > Regards, > Mabi > > OpenBSD 6.2 (GENERIC.MP) #0: Thu Oct 12 19:53:18 CEST 2017 > > r...@syspatch-62-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 8559403008 (8162MB) > avail mem = 8292978688 (7908MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.8 @ 0x7f52 (53 entries) > bios0: vendor American Megatrends Inc. version "5.6.5" date 02/26/2016 > acpi0 at bios0: rev 2 > acpi0: sleep states S0 S5 > acpi0: tables DSDT FACP FPDT MCFG WDAT UEFI APIC BDAT HPET SSDT SPCR HEST > BERT ERST EINJ > acpi0: wakeup devices PS2K(S0) PS2M(S0) PEX1(S0) PEX2(S0) PEX3(S0) PEX4(S0) > EHC1(S0) > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpimcfg0 at acpi0 addr 0xe000, bus 0-255 > acpimadt0 at acpi0 addr 0xfee0: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: Intel(R) Atom(TM) CPU C2518 @ 1.74GHz, 1750.32 MHz > 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,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT > cpu0: 1MB 64b/line 16-way L2 cache > cpu0: TSC frequency 1750324380 Hz > cpu0: smt 0, core 0, package 0 > mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges > cpu0: apic clock running at 83MHz > cpu0: mwait min=64, max=64, C-substates=0.2.0.0.0.0.3, IBE > cpu1 at mainbus0: apid 2 (application processor) > cpu1: Intel(R) Atom(TM) CPU C2518 @ 1.74GHz, 1750.00 MHz > 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT > cpu1: 1MB 64b/line 16-way L2 cache > cpu1: smt 0, core 1, package 0 > cpu2 at mainbus0: apid 4 (application processor) > cpu2: Intel(R) Atom(TM) CPU C2518 @ 1.74GHz, 1750.00 MHz > cpu2: > 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,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT > cpu2: 1MB 64b/line 16-way L2 cache > cpu2: smt 0, core 2, package 0 > cpu3 at mainbus0: apid 6 (application processor) > cpu3: Intel(R) Atom(TM) CPU C2518 @ 1.74GHz, 1750.00 MHz > cpu3: > 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,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT > cpu3: 1MB 64b/line 16-way L2 cache > cpu3: smt 0, core 3, package 0 > ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins > acpihpet0 at acpi0: 14318179 Hz > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus 1 (PEX1) > acpiprt2 at acpi0: bus 2 (PEX2) > acpiprt3 at acpi0: bus 3 (PEX3) > acpiprt4 at acpi0: bus 4 (PEX4) > acpicpu0 at acpi0: C1(@1 halt!) > acpicpu1 at acpi0: C1(@1 halt!) > acpicpu2 at acpi0: C1(@1 halt!) > acpicpu3 at acpi0: C1(@1 halt!) > "PNP0003" at acpi0 not configured > "PNP0F03" at acpi0 not configured > "PNP0C33" at acpi0 not configured > pci0 at mainbus0 bus 0 > pchb0 at pci0 dev 0 function 0 vendor "Intel", unknown product 0x1f0d rev 0x02 > ppb0 at pci0 dev 1 function 0 "Intel Atom C2000 PCIE" rev 0x02: msi > pci1 at ppb0 bus 1 > em0 at pci1 dev 0 function 0 "Intel I210 Fiber" rev 0x03: msi, address > > ppb1 at pci0 dev 2 function 0 "Intel Atom C2000 PCIE" rev 0x02: msi > pci2 at ppb1 bus 2 > em1 at pci2 dev 0 function 0 "Intel I210 Fiber" rev
Re: TRIM on SSD
https://store.steoil.com/mineral-oil-pc-kit/ Sent from ProtonMail Mobile On Fri, Dec 8, 2017 at 18:42, Rupert Gallagher wrote: > They still need air, and you give it to them. We sub the server on liquid... > Sent from ProtonMail Mobile On Fri, Dec 8, 2017 at 14:09, Kevin Chadwick > wrote: > On Fri, 08 Dec 2017 07:26:09 -0500 > I think you mean those round > things with moving heads in a chassis > with a breathing hole. No, they are > not resilient to our environment. I doubt that, we used to put them in police > cars and they were fine. We did get special ones at three times the price and > mount them specially though. Also if they do fail you are almost guaranteed > to be *able* to get the data back which is less true of s...@gmail.com>
Re: TRIM on SSD
They still need air, and you give it to them. We sub the server on liquid... Sent from ProtonMail Mobile On Fri, Dec 8, 2017 at 14:09, Kevin Chadwick wrote: > On Fri, 08 Dec 2017 07:26:09 -0500 > I think you mean those round things with > moving heads in a chassis > with a breathing hole. No, they are not resilient > to our environment. I doubt that, we used to put them in police cars and they > were fine. We did get special ones at three times the price and mount them > specially though. Also if they do fail you are almost guaranteed to be *able* > to get the data back which is less true of SSD.
scipy and gfortran in current
Hello: This is -current on a thinkpad x270 amd64. dmesg attached to the bottom. I am trying to get scipy to work with other modules on python2.7 The problem is that since gfortran is missing, scipy seems to be using g77, and then: # pkg_add py-scipy quirks-2.396 signed on 2017-12-06T16:43:24Z py-scipy-0.16.1p1: ok # exit $ python2.7 Python 2.7.14 (default, Dec 5 2017, 17:10:52) [GCC 4.2.1 Compatible OpenBSD Clang 5.0.0 (tags/RELEASE_500/final)] on openbsd6 Type "help", "copyright", "credits" or "license" for more information. >>> import scipy python2.7:/usr/local/lib/libblas.so.2.1: undefined symbol '_gfortran_transfer_character_write' python2.7:/usr/local/lib/libblas.so.2.1: undefined symbol '_gfortran_transfer_integer_write' python2.7:/usr/local/lib/libblas.so.2.1: undefined symbol '_gfortran_st_write' python2.7:/usr/local/lib/libblas.so.2.1: undefined symbol '_gfortran_st_write_done' python2.7:/usr/local/lib/libblas.so.2.1: undefined symbol '_gfortran_string_len_trim' python2.7:/usr/local/lib/libblas.so.2.1: undefined symbol '_gfortran_stop_string' python2.7:/usr/local/lib/liblapack.so.6.0: undefined symbol '_gfortran_transfer_character_write' python2.7:/usr/local/lib/liblapack.so.6.0: undefined symbol '_gfortran_transfer_integer_write' python2.7:/usr/local/lib/liblapack.so.6.0: undefined symbol '_gfortran_st_write' python2.7:/usr/local/lib/liblapack.so.6.0: undefined symbol '_gfortran_st_write_done' python2.7:/usr/local/lib/liblapack.so.6.0: undefined symbol '_gfortran_string_len_trim' python2.7:/usr/local/lib/liblapack.so.6.0: undefined symbol '_gfortran_stop_string' python2.7:/usr/local/lib/liblapack.so.6.0: undefined symbol '_gfortran_etime' python2.7:/usr/local/lib/liblapack.so.6.0: undefined symbol '_gfortran_concat_string' >>> Then, when loading other python2.7 modules that require scipy, these end with the error: "ImportError: Cannot load specified object", i.e. python2.7:/usr/local/lib/python2.7/site-packages/scipy/linalg/_flapack.so: undefined symbol 'sgegv_' python2.7:/usr/local/lib/python2.7/site-packages/scipy/linalg/_flapack.so: undefined symbol 'dgegv_' python2.7:/usr/local/lib/python2.7/site-packages/scipy/linalg/_flapack.so: undefined symbol 'cgegv_' python2.7:/usr/local/lib/python2.7/site-packages/scipy/linalg/_flapack.so: undefined symbol 'zgegv_' etc I have tried to install scipy from pip, but it breaks because it looks for gfortran, which does not exist. I have noticed that in the past gfortran was available, but it is not there anymore, and I didn't find it in ports, either. This is a silly question, but is gfortran "coming back" in the future? I am not sure where to find about that. Thanks, P. OpenBSD 6.2-current (GENERIC.MP) #255: Tue Dec 5 23:01:05 MST 2017 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8068124672 (7694MB) avail mem = 7816687616 (7454MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 3.0 @ 0xbf0da000 (62 entries) bios0: vendor LENOVO version "R0IET43W (1.21 )" date 09/02/2017 bios0: LENOVO 20HNA004CD acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP UEFI SSDT SSDT HPET APIC MCFG ECDT SSDT SSDT BOOT BATB SSDT SSDT SSDT WSMT SSDT SSDT DBGP DBG2 MSDM ASF! FPDT UEFI acpi0: wakeup devices GLAN(S4) XHC_(S3) XDCI(S4) HDAS(S4) RP01(S4) RP02(S4) RP04(S4) RP05(S4) RP06(S4) RP07(S4) RP08(S4) RP09(S4) RP10(S4) RP11(S4) RP12(S4) RP13(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits 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) i7-7500U CPU @ 2.70GHz, 1596.93 MHz 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,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SENSOR,ARAT cpu0: 256KB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 23MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz, 1519.50 MHz 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,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,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SENSOR,ARAT cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Core(
Re: Need an advice about DHCP IPv6 server software
Op 8-12-2017 om 15:07 schreef Jan Kalkus: For what it’s worth, I’ve noticed Windows frequently will not grab IPv6 addresses via SLAAC. If I disable IPv6 on the network interface and then re-enable it, then I will be assigned an IPv6 address. Jan Kalkus [snip] I would recheck my configuration if I were you then... Here it is working 100% of the time on approx 10 windows (mixed W7/W10) machines. The rest of the network (linux and OpenBSD works very well as well with IPv6). Of course the firewall handing out the SLAAC is OpenBSD. Only be careful with virtual machines, since you would need settings on the hypervisor to permit multicast on vlans. The SLAAC broadcast is multicast... Erik
NTP issue on Lanner FW-7526B
Hi, I have a new Lanner FW-7526B firewall loaded with OpenBSD 6.2. I must say it's a nice small firewall but unfortunately the ntp daemon does not seem to manage to set the time correctly with this hardware. The time is off by approximately 1:20h and every 2-3 minutes I see the following log entries: Dec 9 14:26:10 fw ntpd[828]: adjusting local clock by -85381.687984s Dec 9 14:29:53 fw ntpd[828]: adjusting local clock by -85380.584607s Dec 9 14:31:33 fw ntpd[828]: adjusting local clock by -85380.084014s Dec 9 14:33:12 fw ntpd[828]: adjusting local clock by -85379.589606s ntpctl reports: 4/4 peers valid, constraint offset -85442s, clock unsynced, clock offset is -85378257.156ms Any ideas what could be wrong here? I use the default ntp.conf file delivered with OpenBSD 6.2. In case I pasted below the dmesg output. Regards, Mabi OpenBSD 6.2 (GENERIC.MP) #0: Thu Oct 12 19:53:18 CEST 2017 r...@syspatch-62-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8559403008 (8162MB) avail mem = 8292978688 (7908MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.8 @ 0x7f52 (53 entries) bios0: vendor American Megatrends Inc. version "5.6.5" date 02/26/2016 acpi0 at bios0: rev 2 acpi0: sleep states S0 S5 acpi0: tables DSDT FACP FPDT MCFG WDAT UEFI APIC BDAT HPET SSDT SPCR HEST BERT ERST EINJ acpi0: wakeup devices PS2K(S0) PS2M(S0) PEX1(S0) PEX2(S0) PEX3(S0) PEX4(S0) EHC1(S0) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Atom(TM) CPU C2518 @ 1.74GHz, 1750.32 MHz 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,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT cpu0: 1MB 64b/line 16-way L2 cache cpu0: TSC frequency 1750324380 Hz cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 83MHz cpu0: mwait min=64, max=64, C-substates=0.2.0.0.0.0.3, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Atom(TM) CPU C2518 @ 1.74GHz, 1750.00 MHz 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT cpu1: 1MB 64b/line 16-way L2 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 4 (application processor) cpu2: Intel(R) Atom(TM) CPU C2518 @ 1.74GHz, 1750.00 MHz cpu2: 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,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT cpu2: 1MB 64b/line 16-way L2 cache cpu2: smt 0, core 2, package 0 cpu3 at mainbus0: apid 6 (application processor) cpu3: Intel(R) Atom(TM) CPU C2518 @ 1.74GHz, 1750.00 MHz cpu3: 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,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT cpu3: 1MB 64b/line 16-way L2 cache cpu3: smt 0, core 3, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (PEX1) acpiprt2 at acpi0: bus 2 (PEX2) acpiprt3 at acpi0: bus 3 (PEX3) acpiprt4 at acpi0: bus 4 (PEX4) acpicpu0 at acpi0: C1(@1 halt!) acpicpu1 at acpi0: C1(@1 halt!) acpicpu2 at acpi0: C1(@1 halt!) acpicpu3 at acpi0: C1(@1 halt!) "PNP0003" at acpi0 not configured "PNP0F03" at acpi0 not configured "PNP0C33" at acpi0 not configured pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 vendor "Intel", unknown product 0x1f0d rev 0x02 ppb0 at pci0 dev 1 function 0 "Intel Atom C2000 PCIE" rev 0x02: msi pci1 at ppb0 bus 1 em0 at pci1 dev 0 function 0 "Intel I210 Fiber" rev 0x03: msi, address ppb1 at pci0 dev 2 function 0 "Intel Atom C2000 PCIE" rev 0x02: msi pci2 at ppb1 bus 2 em1 at pci2 dev 0 function 0 "Intel I210 Fiber" rev 0x03: msi, address ppb2 at pci0 dev 3 function 0 "Intel Atom C2000 PCIE" rev 0x02: msi pci3 at ppb2 bus 3 ppb3 at pci0 dev 4 function 0 "Intel Atom C2000 PCIE" rev 0x02: msi pci4 at ppb3 bus 4 athn0 at pci4 dev 0 function 0 "Atheros AR9281" rev 0x01: apic 2 int 23 athn0: AR9280 rev 2 (2T2R), ROM rev 16, address vendor "Intel", unknown product 0x1f18 (class processor subclass Co-processor, rev 0x02) at pci0 dev 11 function 0 not c
Re: Need an advice about DHCP IPv6 server software
For what it’s worth, I’ve noticed Windows frequently will not grab IPv6 addresses via SLAAC. If I disable IPv6 on the network interface and then re-enable it, then I will be assigned an IPv6 address. Jan Kalkus > On Dec 7, 2017, at 23:14, Claus Lensbøl wrote: > > Do you know if the Windows box gets the RA from rtadvd? > If you have pf running you may need to allow it there. > > https://content.pivotal.io/blog/a-barebones-pf-ipv6-firewall-ruleset > > / Claus > > >> On 07-12-2017 23:18, Denis wrote: >> I've set up rtadvd, but Win7 still have no IPv6 address. Only Link local >> IPv6 address: fe80 is present. >> >> ipconfig /all shows: >> >> Ethernet adapter Local Area Connection: >> >> Connection-specific DNS Suffix . : local >> Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Desktop Adapter >> Physical Address. . . . . . . . . : mac... >> DHCP Enabled. . . . . . . . . . . : Yes >> Autoconfiguration Enabled . . . . : Yes >> Link-local IPv6 Address . . . . . : fe80::c6:... (Preferred) >> IPv4 Address. . . . . . . . . . . : 192.168.1.125 (Preferred) >> Subnet Mask . . . . . . . . . . . : 255.255.255.0 >> Lease Obtained. . . . . . . . . . : Thursday, December 07, 2017 >> 3:46:37 PM >> Lease Expires . . . . . . . . . . : Thursday, December 07, 2017 >> 4:46:19 PM >> Default Gateway . . . . . . . . . : 192.168.1.1 >> DHCP Server . . . . . . . . . . . : 192.168.1.1 >> DHCPv6 IAID . . . . . . . . . . . : 235405873 >> DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1F-2F-22-3... >> DNS Servers . . . . . . . . . . . : 8.8.8.8 >> NetBIOS over Tcpip. . . . . . . . : Enabled >> >> I'm actively using PF for IPv4 filtering, what I have to set up to make >> IPv6 SLAAC working? Which port rtadvd is using to advertize the router >> on network? >> >> # cat /etc/hostname.em0 >> inet 192.168.1.1 255.255.255.0 media autoselect >> inet6 alias 2001:bd2:101::1 64 >> >> # cat /etc/rtadvd.conf >> em0:\ >>:addr="2001:bd2:101::":prefixlen#64:\ >>:rtprefix="2001:bd2:101::":\ >>:rdnss":"2001:bd2:101::1":\ >>:dnssl="local": >> >> # /etc/rc.d/rtadvd start >> tradvd (ok) >> >> # ndp -a >> 2001:bd2:101::1mac... em0 permanent R l >> fe80::mac... em0 permanent R l >> >> Thanks for answer in advance. >> >> Denis >> >> >>> On 12/6/2017 3:28 PM, Claus Lensbøl wrote: >>> Hi Denis, >>> Do you specifically need a DHCP server for v6 or do you "just" need to >>> hand out addresses to your network(s)? For the second option you can >>> use the rtadvd service having the clients configure their own addresses >>> with SLAAC. >>> >>> If you need a DHCP server, you need rtadvd to hand off the requests to >>> the DHCP server in any case. Last time, which is some time ago, the >>> DHCP server distributed with OpenBSD wasn't capable of working with >>> IPv6, so you'll need the ISC version or perhaps the WIDE server that I >>> have not worked with. >>> >>> http://wide-dhcpv6.sourceforge.net/ >>> >>> I don't have a working DHCP config for you, but if you "just" need >>> SLAAC, I can provide you some, perhaps a bit, old examples. >>> Let me know. >>> >>> / Claus >>> >>> On 06-12-2017 15:14, Denis wrote: Hi All, I have working OpenBSD based IPv4 router, but now need to add IPv6 functionality to the same router box with keeping all IPv4 services. I've set aliases with IPv6 addresses for all the adapters in /etc/hostname.if and added filtering rules for IPv6 to PF. Stuck with IPv6 DHCP server piece of software. Which one do I need to have IPv6 DHCP server functionality? The best solution is to use implemented into OpenBSD, no packaged one. Please recommend some. Any examples will be useful too. Thank you. > > -- > Med venlig hilsen/Best regards > Claus Lensbøl > > Fab:IT ApS > Vesterbrogade 37, 2. th > DK-1620 København > Tlf: +45 70 202 407 > Main Site: www.fab-it.dk > VPS Product: vpsforce.eu >
Re: TRIM on SSD
On Fri, 08 Dec 2017 07:26:09 -0500 > I think you mean those round things with moving heads in a chassis > with a breathing hole. No, they are not resilient to our environment. I doubt that, we used to put them in police cars and they were fine. We did get special ones at three times the price and mount them specially though. Also if they do fail you are almost guaranteed to be *able* to get the data back which is less true of SSD.
Re: TRIM on SSD
I think you mean those round things with moving heads in a chassis with a breathing hole. No, they are not resilient to our environment. Sent from ProtonMail Mobile On Fri, Dec 8, 2017 at 12:03, Kevin Chadwick wrote: > On Fri, 08 Dec 2017 03:07:14 -0500 > - UFS2 on FreeBSD supports TRIM. > - > OpenBSD supports UFS2. > > Is anybody using UFS2 with TRIM on OpenBSD? Have > you considered using a high speed HDD or RAID. From the little information > given, your performance requirements don't seem to be that high?
Re: TRIM on SSD
On Fri, 08 Dec 2017 03:07:14 -0500 > - UFS2 on FreeBSD supports TRIM. > - OpenBSD supports UFS2. > > Is anybody using UFS2 with TRIM on OpenBSD? Have you considered using a high speed HDD or RAID. From the little information given, your performance requirements don't seem to be that high?
Re: TRIM on SSD
- UFS2 on FreeBSD supports TRIM. - OpenBSD supports UFS2. Is anybody using UFS2 with TRIM on OpenBSD? Sent from ProtonMail Mobile On Tue, Dec 5, 2017 at 08:26, Rupert Gallagher wrote: > A production obsd is serving 50GB worth of NFS shares and hourly backups on > two ssds since August, and is still going strong at 550MBps over measured > 550--950Mbps LAN links. The same boots and runs the OS from a pSLC SD with > Phison controller. The ssds have a 5year warrantee, and we are doing our best > to stay within specs. The only concern is the lack of TRIM on the SD and the > NFS ssd. With TRIM, the os keeps writing on free space instead of deleting > and overwriting, for faster writing and uniform wearing of disk. Can we > safely enable TRIM on 6.2 now? Sent from ProtonMail Mobile