Intel i350 Offloading not working
Hi, I am running OpenBSD 6.3 with a PCI-Express Intel i350T4 Network card. The card is detected with the em(4) driver but upon looking at the hwfeatures with ifconfig I notice that none of the offloading features the card supports are enabled. Looking at the documentation for the em(4) driver it states that it supports most of the offloading features: ``` “The em driver supports IPv4 receive IP/TCP/UDP checksum offload and transmit TCP/UDP checksum offload on all but 82542-based adapters, VLAN tag insertion and stripping, and jumbo frames on all but 82562V, 82566DC/82566DM and 82573E/82573L/82573V-based adapters. The 82562V Ethernet controller chip only supports 10/100 media types.” ``` Yet none are enabled. Any ideas how to get them enabled on OpenBSD? My pertinent dmesg(8) output related to the i350: ``` em1 at pci19 dev 0 function 0 "Intel I350" rev 0x01: apic 2 int 16, address 00:19:99:d7:88:a2 em2 at pci19 dev 0 function 1 "Intel I350" rev 0x01: apic 2 int 17, address 00:19:99:d7:88:a3 em3 at pci19 dev 0 function 2 "Intel I350" rev 0x01: apic 2 int 18, address 00:19:99:d7:88:a4 em4 at pci19 dev 0 function 3 "Intel I350" rev 0x01: apic 2 int 19, address 00:19:99:d7:88:a5 ``` ifconfig on my lan port shows: ``` em2: flags=8843 mtu 1500 hwfeatures=10 hardmtu 9216 lladdr 00:19:99:d7:88:a3 index 3 priority 0 llprio 3 media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause) status: active inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255 ``` -- Adonis
Re: xconsole keeps dieing
On Tue, 17 Jul 2018 17:53:14 -0500, Edgar Pettijohn III wrote: > For some reason xconsole has decided to start seg faulting regularly. > I can't remember how to build X with debugging symbols. Could anyone > give me a quick rundown so I can provide more information. /usr/xenocara/README should help you I think. Cheers, Daniel
Re: xconsole keeps dieing
On 07/17/18 17:53, Edgar Pettijohn III wrote: For some reason xconsole has decided to start seg faulting regularly. I can't remember how to build X with debugging symbols. Could anyone give me a quick rundown so I can provide more information. Thanks, Edgar OpenBSD 6.3 (GENERIC.MP) #4: Sun Jun 17 11:22:20 CEST 2018 FWIW: puffy|puffy|~: xconsole -v Warning: Unable to load any usable ISO8859 font Segmentation fault (core dumped) puffy|puffy|~: uname -vm GENERIC.MP#128 amd64
xconsole keeps dieing
For some reason xconsole has decided to start seg faulting regularly. I can't remember how to build X with debugging symbols. Could anyone give me a quick rundown so I can provide more information. Thanks, Edgar OpenBSD 6.3 (GENERIC.MP) #4: Sun Jun 17 11:22:20 CEST 2018 r...@syspatch-63-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 4156157952 (3963MB) avail mem = 4023123968 (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.26 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,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu0: 256KB 64b/line 8-way L2 cache acpihpet0: recalibrated TSC frequency 2491907332 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,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,MELTDOWN 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,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,MELTDOWN 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,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 1, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 addr 0xf800, bus 0-63 acpiec0 at acpi0 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEG_) acpiprt2 at acpi0: bus 2 (EXP1) acpiprt3 at acpi0: bus 3 (EXP2) acpiprt4 at acpi0: bus 5 (EXP4) acpiprt5 at acpi0: bus 13 (EXP5) acpicpu0 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS acpicpu1 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS acpicpu2 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS acpicpu3 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS acpipwrres0 at acpi0: PUBS, resource for EHC1, EHC2 acpitz0 at acpi0: critical temperature is 98 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB "LEN0015" at acpi0 not configured "SMO1200" at acpi0 not configured acpibat0 at acpi0: BAT0 model "42T4751" serial 1690 type LION oem "SANYO" acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured acpivideo0 at acpi0: VID_ acpivout at acpivideo0 not configured acpivideo1 at acpi0: VID_ cpu0: Enhanced SpeedStep 2492 MHz: speeds: 2501, 2500, 2200, 2000, 1800, 1600, 1400, 1200, 1000, 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09 inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 3000" rev 0x09 drm0 at inteldrm0 inteldrm0: msi inteldrm0: 1600x900, 32bpp wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) "Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured puc0 at pci0 dev 22 function 3 "Intel 6 Series KT" rev 0x04: ports: 1 com com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo com4: probed fifo depth: 0 bytes em0 at pci0 dev 25 function 0 "Intel
httpd rewrite, what I'm missing?
Hi, I'm trying to adapt the rewrite rules of OctoberCMS to httpd.conf to avoid using apache-httpd. Now everything is working ok with this rules: - #example of directory that doesn't need to use rewrite. location match "/themes/(.*)/assets/(.*)" { request no rewrite } #index.php is the entry point of the application and runs the php fastcgi. location match "index.php" { fastcgi socket "/run/php-fpm.sock" } #all others locations rewrite to /index.php location match "(.*)" { request rewrite "/index.php" } - But for some reason the URLs are working like this: example.com/forums/openbsd Works ok, rewrites and everything is OK, but for some reason all the links point to: example.com/index.php/forums/openbsd That also works the same as is the first case. Now, this URLs are defined by the application, I guess that the application understands that the base_url (I made the name up...) is example.com/index.php and not example.com ? Might this be an incompatibility between httpd and apache-httpd? Cheers. Elias.
Re: Can I ask a question about PF Here?
On 2018/07/17 06:47, Joseph Mayer wrote: > On July 17, 2018 3:18 PM, Stuart Henderson wrote: > > On 2018-07-16, Antonino Sidoti n...@sidoti.id.au wrote: > > > Hi, > > > > > > Before I go into to much detail, where is the appropriate place to get > > > help for PF related problems? I am really stuck and need some assistance > > > in understanding PF. I can provide diagrams, configuration files too to > > > make is clearer. > > > > Here if OpenBSD, otherwise https://www.benzedrine.ch/mailinglist.html > > > > or https://lists.freebsd.org/mailman/listinfo/freebsd-pf > > https://www.benzedrine.ch/mailinglist.html looks unmaintained, it refers to > the openbsd-pf Marc email archive, and its email list statistics are 11 years > behind. It is still online, but quite low volume. Nonetheless if it's for use of PF on a non-OpenBSD system it may still be the best place (as you didn't mention the OS in your post I didn't want to assume anything about that).
Re: Can I ask a question about PF Here?
On 07/17/18 00:57, Antonino Sidoti wrote: > Before I go into to much detail, where is the appropriate place to get help > for PF related problems? I am really stuck and need some assistance in > understanding PF. I can provide diagrams, configuration files too to make is > clearer. Off the top of my head I can't think of anywhere more appropriate, really, as long as it's OpenBSD's PF, not the out of date FreeBSD version. -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team http://bsdly.blogspot.com/ http://www.bsdly.net/ http://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.
Anyone got Nagios 4.3.1 web working?
Hello everyone, I try to get nagios 4.3.1 web page working with no luck so far. It opens first page (main.php) but when I try to get to Hosts, Services etc. I get 500 Internal Server Error. On home page there is warning "Unable to get process status" but nagios seems to be working, I see checks going on, I am getting alerts by e-mail and sms. It is on 6.3 amd64, httpd, nagios installed from packages. Configs below. Is there something I am missing? Thanks for your help, Ivo /etc/httpd.conf domain = "nagios.mydomain.net" ext_ip = "XX.XX.XX.XX" server $domain { listen on $ext_ip port 80 block return 301 "https://$SERVER_NAME$REQUEST_URI; } server $domain { listen on $ext_ip tls port 443 tls { key "/etc/ssl/private/nagios.key" certificate "/etc/ssl/nagios.crt" } authenticate "/nagios" with "/nagios/nagios.passwd" authenticate "/cgi-bin" with "/nagios/nagios.passwd" root "/nagios" directory { index "index.php" } location "/cgi-bin/nagios/*.cgi" { root { "/nagios" } fastcgi socket "/run/slowcgi.sock" } location "*.php" { root { "/nagios" } fastcgi socket "/run/php-fpm.sock" } } types { include "/usr/share/misc/mime.types" } ~ # pkg_info bzip2-1.0.6p8 block-sorting file compressor, unencumbered femail-1.0p1simple SMTP client femail-chroot-1.0p2 simple SMTP client for chrooted web servers gdiff-3.6 GNU versions of the diff utilities gettext-0.19.8.1p1 GNU gettext runtime libraries and programs glib2-2.54.3p1 general-purpose utility library intel-firmware-20180312v0 firmware binary images for intel(4) driver jpeg-1.5.3v0SIMD-accelerated JPEG codec replacement of libjpeg libelf-0.8.13p4 read, modify, create ELF files on any arch libffi-3.2.1p4 Foreign Function Interface libiconv-1.14p3 character set conversion library libltdl-2.4.2p1 GNU libtool system independent dlopen wrapper libsigsegv-2.12 library for handling page faults in user mode libslang-2.2.4p2stack-based interpreter for terminal applications libssh2-1.8.0 library implementing the SSH2 protocol libxml-2.9.8XML parsing library mc-4.8.20 free Norton Commander clone with many useful features monitoring-plugins-2.2p4 monitoring plugins (for Nagios, Icinga, etc) mtr-0.92p1 Matt's traceroute - network diagnostic tool nagios-4.3.1p0-chroot host and service monitor nagios-plugins-resmon-20090802p1 nagios plugin for resmon nagios-web-4.3.1-chroot cgis and webpages for nagios oniguruma-5.9.6 regular expressions library pcre-8.41 perl-compatible regular expression library php-5.6.34 server-side HTML-embedded scripting language php-gd-5.6.34 image manipulation extensions for php png-1.6.34 library for manipulating PNG images python-2.7.14p1 interpreted object-oriented programming language quirks-2.414exceptions to pkg_add rules sqlite3-3.22.0p0embedded SQL implementation t1lib-5.1.2p0 Type 1 rasterizer library for UNIX/X11 unzip-6.0p11extract, list & test files in a ZIP archive xz-5.2.3p0 LZMA compression and decompression tools zip-3.0p0 create/update ZIP files compatible with PKZip(tm) ~ # dmesg OpenBSD 6.3 (GENERIC) #4: Sun Jun 17 11:09:51 CEST 2018 r...@syspatch-63-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 4278124544 (4079MB) avail mem = 4141481984 (3949MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (556 entries) bios0: vendor Phoenix Technologies LTD version "6.00" date 09/21/2015 bios0: VMware, Inc. VMware Virtual Platform acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT FACP BOOT APIC MCFG SRAT HPET WAET acpi0: wakeup devices PCI0(S3) USB_(S1) P2P0(S3) S1F0(S3) S2F0(S3) S8F0(S3) S16F(S3) S18F(S3) S22F(S3) S23F(S3) S24F(S3) S25F(S3) PE40(S3) S1F0(S3) PE50(S3) S1F0(S3) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Xeon(R) CPU E5440 @ 2.83GHz, 2833.29 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,MMX,FXSR,SSE,SSE2,SS,SSE3,SSSE3,CX16,SSE4.1,x2APIC,DEADLINE,XSAVE,HV,NXE,LONG,LAHF,PERF,ITSC,SENSOR,MELTDOWN cpu0: 6MB 64b/line 16-way L2 cache acpitimer0: recalibrated TSC frequency 2833433365 Hz cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 65MHz ioapic0 at mainbus0: apid 1 pa 0xfec0, version 11, 24 pins acpimcfg0 at acpi0 addr 0xf000, bus 0-127 acpihpet0 at acpi0: 14318179 Hz acpihpet0: recalibrated TSC frequency 2833447237 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0: C1(@1 halt!) "PNP0A05" at acpi0 not configured acpiac0 at acpi0: AC
Re: Can I ask a question about PF Here?
On July 17, 2018 3:18 PM, Stuart Henderson wrote: > On 2018-07-16, Antonino Sidoti n...@sidoti.id.au wrote: > > Hi, > > > > Before I go into to much detail, where is the appropriate place to get help > > for PF related problems? I am really stuck and need some assistance in > > understanding PF. I can provide diagrams, configuration files too to make > > is clearer. > > Here if OpenBSD, otherwise https://www.benzedrine.ch/mailinglist.html > > or https://lists.freebsd.org/mailman/listinfo/freebsd-pf https://www.benzedrine.ch/mailinglist.html looks unmaintained, it refers to the openbsd-pf Marc email archive, and its email list statistics are 11 years behind.
Re: Can I ask a question about PF Here?
On 2018-07-16, Antonino Sidoti wrote: > Hi, > > Before I go into to much detail, where is the appropriate place to get help > for PF related problems? I am really stuck and need some assistance in > understanding PF. I can provide diagrams, configuration files too to make is > clearer. Here if OpenBSD, otherwise https://www.benzedrine.ch/mailinglist.html or https://lists.freebsd.org/mailman/listinfo/freebsd-pf
Re: Stockholm anoncvs rsync mirror not updating
On 2018-07-16, Andreas Kusalananda Kähäri wrote: > There was an edit to a rather long and erroneous commit message on > Thursday last week that may have confused something. The problems started a few hours before that commit, though it may have exacerbated it.
Re: Stockholm anoncvs rsync mirror not updating
The fanout mirror for cvsync/rsync is currently having problems, so almost all of the mirrors are not receiving updates. On 2018 Jul 15 (Sun) at 20:10:40 +0200 (+0200), Andreas Kusalananda Kähäri wrote: :The anoncvs rsync mirror at : :rsync://anoncvs.eu.openbsd.org/OpenBSD-cvs/ : :seems to have stopped updating. This has happened before when the :cvsync (?) on the mirror fails or gets stuck. : :I sent a message to the maintainer this morning, but I thought I'd just :mention it here too. : :Andreas : : :-- :Andreas Kusalananda Kähäri, :National Bioinformatics Infrastructure Sweden (NBIS), :Uppsala University, Sweden. : : : : : : : : :När du har kontakt med oss på Uppsala universitet med e-post så innebär det att vi behandlar dina personuppgifter. För att läsa mer om hur vi gör det kan du läsa här: http://www.uu.se/om-uu/dataskydd-personuppgifter/ : :E-mailing Uppsala University means that we will process your personal data. For more information on how this is performed, please read here: http://www.uu.se/om-uu/dataskydd-personuppgifter/ : -- It is said that the lonely eagle flies to the mountain peaks while the lowly ant crawls the ground, but cannot the soul of the ant soar as high as the eagle?
Re: Stockholm anoncvs rsync mirror not updating
On Mon, Jul 16, 2018 at 10:29:24PM +0200, Andreas Kusalananda Kähäri wrote: > On Mon, Jul 16, 2018 at 12:38:24PM -0700, Bryan Vyhmeister wrote: > > This is probably due to the Hackathon from July 8-13 and that at least > > some developers are probably still traveling. Snapshots are often not > > built for public use during that time from my observation but it is > > unusual for cvs changes to not be fanning out to the mirrors. Perhaps > > some maintenantce issue or something else is going on. It is not > > specific to one mirror as far as I can tell from two other Canadian and > > US mirrors using cvsync or rsync for cvs. > > > > Bryan > > There was an edit to a rather long and erroneous commit message on > Thursday last week that may have confused something. > > Testing again now, it works (it didn't earlier in the afternoon). I spoke too soon. I only managed to rsync a partially updated CVS tree from the Stockholm mirror. This morning, the mirror doesn't give me anything new. -- Andreas Kusalananda Kähäri, National Bioinformatics Infrastructure Sweden (NBIS), Uppsala University, Sweden. När du har kontakt med oss på Uppsala universitet med e-post så innebär det att vi behandlar dina personuppgifter. För att läsa mer om hur vi gör det kan du läsa här: http://www.uu.se/om-uu/dataskydd-personuppgifter/ E-mailing Uppsala University means that we will process your personal data. For more information on how this is performed, please read here: http://www.uu.se/om-uu/dataskydd-personuppgifter/
Re: Installed current on top of FAT32 flash, Recover old filesystem??
On 07/14/18 15:16, Chris Bennett wrote: I very carefully and surely tested which flash drive to use and then pulled out the wrong one. I stopped the install with halt and done nothing else. Should I have yanked it, halted it or just said goodbye? ddrescue or something else or nothing else? Thanks, I hope, Chris Bennett https://www.r-studio.com/ This is software I have used in the past to deal with disk disasters. It's about $80 the last time I used it but it worked pretty well. Good luck. If you find some other method, let misc@ know. --STeve Andre'