Re: sometimes nic stops working (vte) - driver problem ?
jd.arb...@googlemail.com (Jan Lambertz), 2016.04.19 (Tue) 13:34 (CEST): > short Version: > I think there might be a problem with the vte (nic) driver. I'm > searching for a way to gather all the Information to get this fixed. Maybe 'ifconfig vte0 debug' gives some info that helps debugging. Bye, Marcus > long Version: > I've built a home router with following components. > - Educake (very small X86 SBC around Arduino) [1] > - USB Lan Card (axe0 nic to ISP) > - USB Hard drive (nfs export) > - SDHC Card (Openbsd) > > After some thinking (and help from various openbsd users and this > list) i was able to > install OpenBSD 5.9 on this device. Things are working very well. For > my Connection > 50mbit/down 4mbit/up this Hardware is more than enough. > running Services: > dhcpd > nfsd/portmap > ntpd > sshd > radicale (caldav server) > ddclient (dyndns updater) > unbound > pf > > Here comes the problem. After some event i do not know vte0 is not > able to receive or > send any anything. Logs show nothing. Leds on the nic are still > showing that there is > traffic but i can't do anything on that nic. Established connections > on that nic all get broken. Other parts of the system work fine. > An easy way to fix this is > > ~ ifconfig vte0 down; ifconfig vte0 up > > And things are working perfectly normal againfor some time. > Creating much traffic (about 40mb/s), this happens every few hours. > With low traffic, > it's about one or two times a week. > With my findings it's probably hard to investigate/fix that Problem. > I'm searching for ways to file a good bug report. Ideas ? > > > Jan > > [1] http://www.86duino.com/index.php?p=95 > > > dmesg > > OpenBSD 5.9-current (GENERIC) #1584: Thu Mar 10 21:02:23 MST 2016 > dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC > RTC BIOS diagnostic error b > cpu0: Vortex86 SoC (686-class) 301 MHz > cpu0: FPU,TSC,CX8,SEP,CMOV,MMX,PERF > real mem = 133246976 (127MB) > avail mem = 118288384 (112MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: date 06/23/99, BIOS32 rev. 0 @ 0xff046, SMBIOS rev. > 2.7 @ 0x7fe1420 (6 entries) > bios0: vendor coreboot version "4.0-4750-g745041e-dirty" date 03/12/2015 > bios0: DMP Vortex86EX > acpi at bios0 function 0x0 not configured > pcibios0 at bios0: rev 2.1 @ 0xf/0x1 > pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf4ce0/224 (12 entries) > pcibios0: no compatible PCI ICU found: ICU vendor 0x17f3 product 0x6011 > pcibios0: Warning, unable to fix up PCI interrupt routing > pcibios0: PCI bus #1 is the last bus > bios0: ROM list: 0xef000/0x1000! > cpu0 at mainbus0: (uniprocessor) > pci0 at mainbus0 bus 0: configuration mode 1 (bios) > pchb0 at pci0 dev 0 function 0 "RDC R6025 Host" rev 0x01 > ppb0 at pci0 dev 1 function 0 "RDC R1031 PCIe" rev 0x02: irq 15 > pci1 at ppb0 bus 1 > pcib0 at pci0 dev 7 function 0 "RDC R6011 SB" rev 0x01 > pcib1 at pci0 dev 7 function 1 "RDC R6011 SB" rev 0x01 > vte0 at pci0 dev 8 function 0 "RDC R6040 Ethernet" rev 0x00: irq 9, > address 00:1b:eb:64:ae:d4 > ukphy0 at vte0 phy 1: Generic IEEE 802.3u media interface, rev. 0: OUI > 0x000bb4, model 0x0005 > ohci0 at pci0 dev 10 function 0 "RDC R6060 USB" rev 0x13: irq 14, > version 1.0, legacy support > ehci0 at pci0 dev 10 function 1 "RDC R6061 USB2" rev 0x07: irq 10 > ehci0: halt timeout > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 "RDC EHCI root hub" rev 2.00/1.00 addr 1 > pciide0 at pci0 dev 12 function 0 "RDC R1012 IDE" rev 0x03: DMA, > channel 0 configured to native-PCI, channel 1 configured to native-PCI > pciide0: using irq 11 for native-PCI interrupt > wd0 at pciide0 channel 0 drive 0: < D0 RDC SD-IDE HOST CONTROLLER> > wd0: 1-sector PIO, LBA, 14719MB, 30144512 sectors > pciide0: channel 1 ignored (disabled) > azalia0 at pci0 dev 14 function 0 "RDC R3010 HDA" rev 0x02: irq 7 > azalia0: codecs: Realtek ALC262 > audio0 at azalia0 > "RDC R1060 USB Device" rev 0x03 at pci0 dev 15 function 0 not configured > "RDC R1331 MC" rev 0x00 at pci0 dev 16 function 0 not configured > "RDC R1710 SPI" rev 0x01 at pci0 dev 16 function 1 not configured > "RDC R1070 CAN" rev 0x00 at pci0 dev 17 function 0 not configured > isa0 at pcib0 > isadma0 at isa0 > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo > com2 at isa0 port 0x3e8/8 irq 5: ns16550a, 16 byte fifo > com3 at isa0 port 0x2e8/8 irq 12: ns16550a, 16 byte fifo > com3: console > pckbc0 at isa0 port 0x60/5 irq 1 irq 12 > pckbd0 at pckbc0 (kbd slot) > wskbd0 at pckbd0: console keyboard > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 > isa at pcib1 not configured > usb1 at ohci0: USB revision 1.0 > uhub1 at usb1 "RDC OHCI root hub" rev 1.00/1.00 addr 1 > nvram: invalid checksum > axe0 at uhub0 port 1 configuration 1 interface 0 "ASIX Electronics > AX88178" rev 2.00/0.01 addr 2 > axe0: AX88178, address 00:11:6b
Re: sometimes nic stops working (vte) - driver problem ?
> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf4ce0/224 (12 entries) > pcibios0: no compatible PCI ICU found: ICU vendor 0x17f3 product 0x6011 > pcibios0: Warning, unable to fix up PCI interrupt routing This is strange, but I don't know either how to check for what it does to your nic. It would be nice to show something at the time when the card is failing.
Re: OpenSMTPD with filter-spamassassin / max-children
On Tue, Apr 19, 2016 at 06:23:18PM +0200, Joerg Jung wrote: > > Am 18.04.2016 um 16:56 schrieb ML mail : > > > > I have configured OpenSMTPD on OpenBSD 5.9 with the filter-spamassassin as a > relay for a few of my webapp servers and have the problem when a webapp > suddently sends over 30 mails at the same time. Basically the problem is that > as I have configured spamd with 30 as max-children, as soon as I receive 30 > mails at the same time OpenSMTPD stops answering because all spamd childs are > in busy state. This means that as long as all spamd child are in busy state I > can not receive any more mails during that time. > > So you get what you configured/requested. > > > So in theory I would just raise the max-children setting of spamassassin but > then it just postpones the problem really... so is there maybe another way to > deal better with that issue? > > Not really. > > If these are your own web servers they > will not send spam, right? > So considering skip the filtering for them? > > There is a max-inflight limit in smtpd.conf(5) > which you may want to lower (below your 30). > Generally speaking, I'd really avoid playing with max-inflight, it is a scheduler knob from developers to developers. Tweaking it for one particular case means it is tweaked for all cases. > Also, the most recent git head of -extras contains > a limit option which restricts the messages piped > to spamassassin based on their size. The idea is: > fewer/smaller mails are checked (fast), > assuming that larger ones are rarely spam. > much better strategy, maybe it should also contain a max session count to tempfail incoming mail if there are already enough pending sessions I don't know. What I know is that max-inflight is not THE solution for sure. -- Gilles Chehade https://www.poolp.org @poolpOrg
Re: OpenSMTPD with filter-spamassassin / max-children
Thanks for the pointer to limit scheduler max-inflight that sounds exactly what I need. I checked the smtpd.conf man page and it looks like there are no default values so I am guessing here that the default is unlimited. I will have a try at it. Regarding spamd in theory you are right I would not need a spam filter for sending mails from various web apps, but I simply can not trust web apps from third-parties, e.g. a WordPress website gets hacked and is abused to send mails in mass... by the way I also use the filter-clamav, you never know. Regards ML On Tuesday, April 19, 2016 6:30 PM, Joerg Jung wrote: > Am 18.04.2016 um 16:56 schrieb ML mail : > > I have configured OpenSMTPD on OpenBSD 5.9 with the filter-spamassassin as a relay for a few of my webapp servers and have the problem when a webapp suddently sends over 30 mails at the same time. Basically the problem is that as I have configured spamd with 30 as max-children, as soon as I receive 30 mails at the same time OpenSMTPD stops answering because all spamd childs are in busy state. This means that as long as all spamd child are in busy state I can not receive any more mails during that time. So you get what you configured/requested. > So in theory I would just raise the max-children setting of spamassassin but then it just postpones the problem really... so is there maybe another way to deal better with that issue? Not really. If these are your own web servers they will not send spam, right? So considering skip the filtering for them? There is a max-inflight limit in smtpd.conf(5) which you may want to lower (below your 30). Also, the most recent git head of -extras contains a limit option which restricts the messages piped to spamassassin based on their size. The idea is: fewer/smaller mails are checked (fast), assuming that larger ones are rarely spam.
umsm(4) for Sierra Wireless EM7455 in ThinkPad X260
I recently purchased a Lenovo ThinkPad X260 and I decided to also order the Sierra Wireless EM7455 LTE Wireless WAN device installed as well. I was hoping it might work easily with umsm(4) but that does not appear to be the case. Based on the output of usbdevs -vv, I added the EM7455 product ID (0x9079) to src/sys/dev/usb/usbdevs and regenerated it. I then also added the proper match to src/sys/dev/usb/umsm.c so that umsm(4) would attach but that is apparently not enough to get things working. I get an error stating "missing endpoint" as is listed in my dmesg below. My patch as well as dmesg prior to the patch and after the patch are inline. Any ideas as to where to go from here? I'm happy to do any testing or investigation. Thank you. Bryan Index: sys/dev/usb/umsm.c === RCS file: /cvs/src/sys/dev/usb/umsm.c,v retrieving revision 1.104 diff -u -p -r1.104 umsm.c --- sys/dev/usb/umsm.c 29 Sep 2015 08:34:28 - 1.104 +++ sys/dev/usb/umsm.c 20 Apr 2016 05:59:22 - @@ -247,6 +247,7 @@ static const struct umsm_type umsm_devs[ {{ USB_VENDOR_SIERRA, USB_PRODUCT_SIERRA_USB305}, 0}, {{ USB_VENDOR_SIERRA, USB_PRODUCT_SIERRA_TRUINSTALL }, DEV_TRUINSTALL}, {{ USB_VENDOR_SIERRA, USB_PRODUCT_SIERRA_MC8355}, 0}, + {{ USB_VENDOR_SIERRA, USB_PRODUCT_SIERRA_EM7455}, 0}, {{ USB_VENDOR_TCTMOBILE, USB_PRODUCT_TCTMOBILE_UMASS }, DEV_UMASS3}, {{ USB_VENDOR_TCTMOBILE, USB_PRODUCT_TCTMOBILE_UMASS_2 }, DEV_UMASS3}, Index: sys/dev/usb/usbdevs === RCS file: /cvs/src/sys/dev/usb/usbdevs,v retrieving revision 1.663 diff -u -p -r1.663 usbdevs --- sys/dev/usb/usbdevs 31 Mar 2016 12:27:48 - 1.663 +++ sys/dev/usb/usbdevs 20 Apr 2016 05:59:22 - @@ -3832,6 +3832,7 @@ product SIERRA AC885U 0x6880 885U product SIERRA C01SW 0x6890 C01SW product SIERRA USB305 0x68a3 USB305 product SIERRA MC8355 0x9013 MC8355 +product SIERRA EM7455 0x9079 EM7455 /* Sigmatel products */ product SIGMATEL IRDA 0x4200 IrDA OpenBSD 5.9-current (GENERIC.MP) #1988: Mon Apr 18 06:49:50 MDT 2016 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 17024274432 (16235MB) avail mem = 16503939072 (15739MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xb7c01000 (66 entries) bios0: vendor LENOVO version "R02ET44W (1.17 )" date 01/25/2016 bios0: LENOVO 20F6CTO1WW acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP UEFI SSDT SSDT ECDT HPET APIC MCFG SSDT SSDT DBGP DBG2 BOOT BATB SSDT SSDT MSDM DMAR ASF! FPDT UEFI acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) PXSX(S4) PXSX(S4) PXSX(S4) PXSX(S4) EXP8(S4) PXSX(S4) XHCI(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits 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) i7-6600U CPU @ 2.60GHz, 2485.91 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,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,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-6600U CPU @ 2.60GHz, 2494.18 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,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,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(TM) i7-6600U CPU @ 2.60GHz, 2494.19 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,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SENSOR,ARAT cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 1, core 0, package 0 cpu3 at mainbus0: apid 3 (application proc
Re: X crashes since ~1 week on -current/amd64 with radeon
On Fri, Apr 15, 2016 at 8:56 AM, Jonathan Gray wrote: > On Tue, Apr 12, 2016 at 10:49:57PM +0200, Mattieu Baptiste wrote: >> Hi, >> >> Since about ~1 week I encounter X crashes on my main desktop running >> -current/amd64 with a radeon hd 4670. >> It's not very frequent (one or two times a day). >> >> Nothing particular appears on the console. >> >> How can I help debug this ? >> >> Here are the dmesg and Xorg.0.log.old: >> >> OpenBSD 5.9-current (GENERIC.MP) #1982: Sat Apr 2 11:43:48 MDT 2016 >> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > .. > >> [16.177] Build Date: 02 April 2016 12:24:35PM > > ... > >> [16.199] (II) LoadModule: "ati" >> [16.199] (II) Loading /usr/X11R6/lib/modules/drivers/ati_drv.so >> [16.199] (II) Module ati: vendor="X.Org Foundation" >> [16.199] compiled for 1.17.4, module version = 7.5.0 >> [16.199] Module class: X.Org Video Driver >> [16.199] ABI class: X.Org Video Driver, version 19.0 >> [16.199] (II) LoadModule: "radeon" >> [16.200] (II) Loading /usr/X11R6/lib/modules/drivers/radeon_drv.so >> [16.202] (II) Module radeon: vendor="X.Org Foundation" >> [16.202] compiled for 1.17.4, module version = 7.5.0 >> [16.202] Module class: X.Org Video Driver > > The snapshot you are using was just before the xf86-video-ati 7.6.1 > update, can you try a newer snapshot or build xenocara to get 7.6.1? > 7.7.0 was recently released upstream but that isn't in tree yet. > Hello Jonathan, I finally found time to upgrade and I managed to reproduce the issue on a more current build. $ gdb /usr/X11R6/bin/Xorg /var/crash/Xorg.core GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-unknown-openbsd5.9"... Core was generated by `Xorg'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/lib/libpthread.so.21.0...done. Loaded symbols for /usr/lib/libpthread.so.21.0 Loaded symbols for /usr/X11R6/bin/Xorg Symbols already loaded for /usr/lib/libpthread.so.21.0 Reading symbols from /usr/X11R6/lib/libpciaccess.so.2.0...done. Loaded symbols for /usr/X11R6/lib/libpciaccess.so.2.0 Reading symbols from /usr/X11R6/lib/libdrm.so.7.1...done. Loaded symbols for /usr/X11R6/lib/libdrm.so.7.1 Reading symbols from /usr/X11R6/lib/libpixman-1.so.32.6...done. Loaded symbols for /usr/X11R6/lib/libpixman-1.so.32.6 Reading symbols from /usr/X11R6/lib/libpthread-stubs.so.2.0...done. Loaded symbols for /usr/X11R6/lib/libpthread-stubs.so.2.0 Reading symbols from /usr/X11R6/lib/libXfont.so.12.0...done. Loaded symbols for /usr/X11R6/lib/libXfont.so.12.0 Reading symbols from /usr/X11R6/lib/libfreetype.so.24.1...done. Loaded symbols for /usr/X11R6/lib/libfreetype.so.24.1 Reading symbols from /usr/X11R6/lib/libfontenc.so.4.0...done. Loaded symbols for /usr/X11R6/lib/libfontenc.so.4.0 Reading symbols from /usr/lib/libz.so.5.0...done. Loaded symbols for /usr/lib/libz.so.5.0 Reading symbols from /usr/X11R6/lib/libXau.so.10.0...done. Loaded symbols for /usr/X11R6/lib/libXau.so.10.0 Reading symbols from /usr/X11R6/lib/libXdmcp.so.11.0...done. Loaded symbols for /usr/X11R6/lib/libXdmcp.so.11.0 Reading symbols from /usr/lib/libkvm.so.16.1...done. Loaded symbols for /usr/lib/libkvm.so.16.1 Reading symbols from /usr/lib/libm.so.9.0...done. Loaded symbols for /usr/lib/libm.so.9.0 Reading symbols from /usr/lib/libc.so.86.0...done. Loaded symbols for /usr/lib/libc.so.86.0 Reading symbols from /usr/libexec/ld.so...done. Loaded symbols for /usr/libexec/ld.so Reading symbols from /usr/X11R6/lib/modules/extensions/libglx.so...done. Loaded symbols for /usr/X11R6/lib/modules/extensions/libglx.so Reading symbols from /usr/X11R6/lib/libGL.so.16.0...done. Loaded symbols for /usr/X11R6/lib/libGL.so.16.0 Reading symbols from /usr/lib/libexpat.so.11.0...done. Loaded symbols for /usr/lib/libexpat.so.11.0 Reading symbols from /usr/X11R6/lib/libglapi.so.0.1...done. Loaded symbols for /usr/X11R6/lib/libglapi.so.0.1 Reading symbols from /usr/X11R6/lib/libXdamage.so.4.0...done. Loaded symbols for /usr/X11R6/lib/libXdamage.so.4.0 Reading symbols from /usr/X11R6/lib/libXfixes.so.6.0...done. Loaded symbols for /usr/X11R6/lib/libXfixes.so.6.0 Reading symbols from /usr/X11R6/lib/libX11-xcb.so.2.0...done. Loaded symbols for /usr/X11R6/lib/libX11-xcb.so.2.0 Reading symbols from /usr/X11R6/lib/libxcb-glx.so.1.0...done. Loaded symbols for /usr/X11R6/lib/libxcb-glx.so.1.0 Reading symbols from /usr/X11R6/lib/libxcb-dri2.so.1.1...done. Loaded symbols for /usr/X11R6/lib/libxcb-dri2.so.1.1 Reading symbols from /usr/X11R6/lib/libXxf86vm.so.6.0...done. Loaded symbols for /usr/X11R6/lib/libXxf86vm.so.6.0 Reading symbols from /usr/X11R6/lib/libXext.so.13.0...don
Re: ~/bin, noexec, and security
And don't forget, you can also add additional home folders for scripts. I was developing some scripts that were in active use in /usr/local/sbin. By adding my ~/Tools to my path BEFORE, my test scripts would be selected instead of the active ones. I just had to give absolute paths for the existing ones until I finished and removed ~/Tools from PATH. Sometimes it's best to make small risks in order to develop anything new. Hopefully you don't run any packages, because that's where the real risk is at when firefox crashes your system and you lose data into lost+found. Chris Bennett
Re: ~/bin, noexec, and security
> >You have to decide for yourself what > > is right for your environment. > > Yeah, generally noone seems interested, though I did see it on the list > of CESG required improvements for whatever level it was for Linux > despite some of their policy being flawed in much more important ways, > haha. "CESG - the Information Security arm of GCHQ" right. Kevin, you are picking your teeth with your toenails...
Re: Quick APU2 review
sven falempin [sven.falem...@gmail.com] wrote: > > This : https://github.com/jasperla/openbsd-wip ?? > Like : echo /bin/ksh > /etc/rc.securelevel ?? > echo sysctl kern.securelevel=-1 >/etc/rc.securelevel > > No patch here : wont work ? > Get the securelevel right first, then worry about the patch
Re: After resuming from sleep, HP laptop kb unusable
Hi All, Theo Buehler wrote: This problem should be fixed for this machine in -current. See this thread on tech@: https://marc.info/?l=openbsd-tech&m=146035659601245&w=2 and this commit: https://marc.info/?l=openbsd-cvs&m=146061765314970&w=2 I tried latest snapshot kernel and keyboard works after resuming! Great! By looking at the commit comment, I am using exactly the same HP model mentioned! Riccardo
Re: Quick APU2 review
On Tue, Apr 19, 2016 at 1:06 PM, Stuart Henderson wrote: > On 2016/04/19 12:33, sven falempin wrote: > > > > > > On Mon, Apr 18, 2016 at 6:07 PM, Stuart Henderson > > wrote: > > > > On 2016-04-18, Christian Weisgerber wrote: > > > On 2016-04-18, Stuart Henderson wrote: > > > > > >> From a different machine though. Compared to APU1 the APU2 has > > 4x the L2 > > >> cache, RAM is clocked a quarter faster, twice the number of cpu > > cores, > > >> and a few more cpu features (e.g. AES-NI, RDRAND). > > > > > > For the record: The APU2 does not have RDRAND. > > > > Ah, I thought I saw a page suggesting that the cpu did, sorry for > > misinformation. > > O > > > > > > > > Is it really possible to flash the BIOS from openBSD ? > > A few people reported that flashrom in openbsd-wip works. You'll need to > patch pciutils (see pciutils.diff in the openbsd-wip dir) and boot with > securelevel temporarily set to -1 to use it. > > This : https://github.com/jasperla/openbsd-wip ?? Like : echo /bin/ksh > /etc/rc.securelevel ?? No patch here : wont work ? 5 ftp http://download.flashrom.org/releases/flashrom-0.9.9.tar.bz2 6 bunzip2 ./flashrom-0.9.9.tar.bz2 19 grep -A 12 OpenBSD ./README 20 sudo pkg_add gmake 21 sudo pkg_add pciutils 23 sudo pkg_add libusb-compat 24 gmake 25 find ./ -name flashrom $ file flashrom flashrom: ELF 64-bit LSB shared object, x86-64, version 1 $ ldd ./flashrom ./flashrom: StartEnd Type Open Ref GrpRef Name 1d198350 1d19839b7000 exe 10 0 ./flashrom 1d1c3a10f000 1d1c3a524000 rlib 01 0 /usr/lib/libz.so.5.0 1d1bcd0fe000 1d1bcd503000 rlib 01 0 /usr/local/lib/libusb.so.10.0 1d1c15b35000 1d1c15f4 rlib 02 0 /usr/local/lib/libusb-1.0.so.1.0 1d1c01646000 1d1c01b2 rlib 01 0 /usr/lib/libc.so.80.1 1d1c0873d000 1d1c08b4f000 rlib 04 0 /usr/lib/libpthread.so.19.0 1d1c6130 1d1c6130 rtld 01 0 /usr/libexec/ld.so -- - () ascii ribbon campaign - against html e-mail /\
Re: Firefox Crashes; slow xfce
Le 19/04/2016 19:11, Daniel Boyd a écrit : Firefox has been quite stable, with or without the 'noscript' plug-in, since I increased my data allocation. The crashes that I saw previously were all due to running out of memory (I don't run a desktop, just a wm, nor do I use xdm, so it's easy to see Firefox errors on the vt where I ran the 'startx' command). I'm running xdm and xfce4, so I suppose the culprit must lie in there somewhere... The crashes seem to happen when certain other programs launch. Like evince and libreoffice... It really doesn't seem to like anything gtk3-based. Once it starts crashing, I can see 5 or 6 crashes within a span of 5-10 minutes. And then it won't crash for a day or two. Hi Everybody, Did you change the following parameters in the /etc/login.conf : default:\ ... :datasize-max= :\ :datasize-cur= :\ :maxproc-max= :\ :maxproc-cur= :\ :openfiles-cur= :\ :stacksize-cur= :\ staff:\ :datasize-cur= :\ ...
Re: ~/bin, noexec, and security
> to allow some flexibility so that users can write and maintain custom > scripts for automating common tasks? Scripts can still be run under noexec as /bin/sh is in a partition mounted exec, so long as you run it with /bin/sh in front. It will break many scripts however. I intend to come up with some wrapper for interpreters to respect noexec, though I'm sure it will piss me off a little at times, haha. I believe grsecurity actually has a knob that prevents even scripts running at all under non "trusted paths". I wouldn't trade OpenBSD for grsecurity though ever, btw. >You have to decide for yourself what > is right for your environment. Yeah, generally noone seems interested, though I did see it on the list of CESG required improvements for whatever level it was for Linux despite some of their policy being flawed in much more important ways, haha. -- KISSIS - Keep It Simple So It's Securable
Re: Firefox Crashes; slow xfce
> Firefox has been quite stable, with or without the 'noscript' plug-in, since I increased my data allocation. The crashes that I saw > previously were all due to running out of memory (I don't run a > desktop, just a wm, nor do I use xdm, so it's easy to see Firefox > errors on the vt where I ran the 'startx' command). > I'm running xdm and xfce4, so I suppose the culprit must lie in there somewhere... The crashes seem to happen when certain other programs launch. Like evince and libreoffice... It really doesn't seem to like anything gtk3-based. Once it starts crashing, I can see 5 or 6 crashes within a span of 5-10 minutes. And then it won't crash for a day or two.
Re: Firefox Crashes; slow xfce
On Tue, Apr 19, 2016 at 1:54 PM, Daniel Boyd wrote: > I was OK with the performance in Firefox (though it was pretty slow). What > was *really* bothering me was the crashing. Does 'noscript' solve that as > well? Firefox has been quite stable, with or without the 'noscript' plug-in, since I increased my data allocation. The crashes that I saw previously were all due to running out of memory (I don't run a desktop, just a wm, nor do I use xdm, so it's easy to see Firefox errors on the vt where I ran the 'startx' command). > > I'm currently trying out xombrero and vimb. I feel like vimb might be a bit > faster, but it doesn't recognize the Gmail composing text area as an input. I tried vimb, but I *am* seeing crashes with it, plus a whole slew of complaints from glib that it had been passed a NULL pointer. It's nice while it lasts, but the MTBF is far too small. > Anyone know how to force vimb into insert mode? If you still want to use it after what I said above, see the man page. It's all there.
Re: Python requirements.
ohh. Thanks Muhmmad i will upgrade to 5.9 then do it again.. On Tue, Apr 19, 2016 at 5:17 PM, Muhammad Muntaza wrote: > > On Apr 16, 2016 11:45 AM, "Jay Patel" wrote: > > > > Hi all, > Hi, > > > > Greetings! is it better to install Django and gunicorn using pip or via > > Pkg_add only like py-django ? > I install Django from tar.gz source with this command: > $ doas python setup.py install > > Because I want to use python 2 and Django 1.8 > > > > because i am having some trouble with gunicorn installed via pip. > > > > I am using 5.8 amd64 bit . > > > Upgrade to 5.9 > > Muhammad Muntaza bin Hatta
Re: Firefox Crashes; slow xfce
I was OK with the performance in Firefox (though it was pretty slow). What was *really* bothering me was the crashing. Does 'noscript' solve that as well? I'm currently trying out xombrero and vimb. I feel like vimb might be a bit faster, but it doesn't recognize the Gmail composing text area as an input. Anyone know how to force vimb into insert mode? On Tue, Apr 19, 2016 at 12:51 PM, Donald Allen wrote: > On Tue, Apr 19, 2016 at 12:58 PM, Federico Carrone > wrote: > > After migrating from Linux to OpenBSD on my desktop performance was > really > > bad inside Firefox and Chromium in 5.9 specially on big websites like > gmail. > > It was not usable, on an 4 core machine and with 16GB of RAM. After > > migrating to -current, they have become usable. If it is possible try to > use > > firefox/chrome in current and check if it works fine. > > Thanks for the tip, but getting rid of much of the incredibly annoying > javascript-generated junk ("Don't read that! Click me instead!") has > resulted in perfectly good Firefox performance even without the recent > improvements in -current.
Re: Firefox Crashes; slow xfce
On Tue, Apr 19, 2016 at 12:58 PM, Federico Carrone wrote: > After migrating from Linux to OpenBSD on my desktop performance was really > bad inside Firefox and Chromium in 5.9 specially on big websites like gmail. > It was not usable, on an 4 core machine and with 16GB of RAM. After > migrating to -current, they have become usable. If it is possible try to use > firefox/chrome in current and check if it works fine. Thanks for the tip, but getting rid of much of the incredibly annoying javascript-generated junk ("Don't read that! Click me instead!") has resulted in perfectly good Firefox performance even without the recent improvements in -current.
Re: Quick APU2 review
On 2016/04/19 12:33, sven falempin wrote: > > > On Mon, Apr 18, 2016 at 6:07 PM, Stuart Henderson > wrote: > > On 2016-04-18, Christian Weisgerber wrote: > > On 2016-04-18, Stuart Henderson wrote: > > > >> From a different machine though. Compared to APU1 the APU2 has > 4x the L2 > >> cache, RAM is clocked a quarter faster, twice the number of cpu > cores, > >> and a few more cpu features (e.g. AES-NI, RDRAND). > > > > For the record: The APU2 does not have RDRAND. > > Ah, I thought I saw a page suggesting that the cpu did, sorry for > misinformation. > O > > > > Is it really possible to flash the BIOS from openBSD ? A few people reported that flashrom in openbsd-wip works. You'll need to patch pciutils (see pciutils.diff in the openbsd-wip dir) and boot with securelevel temporarily set to -1 to use it.
Re: Firefox Crashes; slow xfce
After migrating from Linux to OpenBSD on my desktop performance was really bad inside Firefox and Chromium in 5.9 specially on big websites like gmail. It was not usable, on an 4 core machine and with 16GB of RAM. After migrating to -current, they have become usable. If it is possible try to use firefox/chrome in current and check if it works fine. On Tue, Apr 19, 2016 at 8:00 AM Donald Allen wrote: > I have also had problems with Firefox performance with OpenBSD (it's > not a speed demon with Linux or FreeBSD, but it is faster on those > systems). And I haven't found Chromium to be a good alternative -- too > many crashes and "Oh, snap"s. > > But my experience with Firefox is that the problem is easily solved: > install the Noscript plugin (RequestPolicy isn't a bad idea either). > Noscript gives you finer-grained control over when to allow javascript > than about:config does. And I think it is clear that javascript is the > problem, compounded by Firefox' scheduling tabs itself, rather than > creating a process for each and letting the system scheduler do its > job. > > I can well believe that there is a performance/security tradeoff, as > Ted Unangst mentioned, and I much prefer the OpenBSD approach of not > giving in to the temptation to compromise security to quiet the > performance complaints, especially given that there is another way to > manage this problem (which has at its core, in my opinion, the overuse > of javascript; there seems to be a pattern in the human condition of > coming up with good inventions and then misusing them, e.g., the > cell-phone, which has become a bodily appendage for too many; I'll > spare you the rest of my rant on this topic). > > On Mon, Apr 18, 2016 at 4:40 PM, Edgar Pettijohn > wrote: > > I don't have any problems with Firefox on -current with Fvwm2. I > switched to > > Fvwm because Xfce was getting unmanageable. After about a week when I > got my > > config just right it is much easier and faster than Xfce just not as > pretty. > > > > Sent from my iPhone > > > >> On Apr 18, 2016, at 3:13 PM, Daniel Boyd wrote: > >> > >> Thanks -- I will give xombrero a shot. Definitely need javascript > support > >> as I am currently composing this in Gmail and do quite a bit of > >> javscript-based web development :) > >> > >>> On Mon, Apr 18, 2016 at 1:31 PM, wrote: > >>> > >>> I think the problem is with firefox itself. > >>> tedu@ wrote a post about this: > >>> http://www.tedunangst.com/flak/post/firefox-vs-rthreads > >>> > >>> Since the code is so bloated, no one will ever waste time trying to fix > >>> all the issues. Just switch to some other browser, there's plenty of > >>> options. > >>> I'm using Links 2.12 on -stable and it works fine for my needs. But > >>> there's also Xombrero if you need javascript support.
Re: Quick APU2 review
On Mon, Apr 18, 2016 at 6:07 PM, Stuart Henderson wrote: > On 2016-04-18, Christian Weisgerber wrote: > > On 2016-04-18, Stuart Henderson wrote: > > > >> From a different machine though. Compared to APU1 the APU2 has 4x the L2 > >> cache, RAM is clocked a quarter faster, twice the number of cpu cores, > >> and a few more cpu features (e.g. AES-NI, RDRAND). > > > > For the record: The APU2 does not have RDRAND. > > Ah, I thought I saw a page suggesting that the cpu did, sorry for > misinformation. > O > > Is it really possible to flash the BIOS from openBSD ? -- - () ascii ribbon campaign - against html e-mail /\
Re: ~/bin, noexec, and security
It is a risk, but it's a small one. Generally speaking, the files will be owned by that user, executed as that user, and pose a minimal risk since "that user" is unprivileged. However, it does allow for compiling code that could be used as a local privilege escalation and calling it from your "home" path. It's a trade off, really. Do you want to be extra strict and force people to use the binaries inside the trusted paths, or do you want to allow some flexibility so that users can write and maintain custom scripts for automating common tasks? You have to decide for yourself what is right for your environment. On Tue, Apr 19, 2016 at 10:48 AM, Joe Schillinger wrote: > Hi misc, > > Should /home be mounted as noexec by default for security? I noticed > ~/bin is in the default $PATH (via /etc/skel/.profile), but isn't this > somewhat of a security risk? Theoretically, if a threat has unprivileged > access, wouldn't it be able to execute unauthorized programs? > > Someone mentioned this to me after they saw I was using ~/bin to house > my scripts, and it made me think. Anyone have any info on whether this > is/is not an issue? Are protections already in place in OpenBSD to > mitigate this? Am I getting trolled? > > Thanks, > Joe
Re: OpenSMTPD with filter-spamassassin / max-children
> Am 18.04.2016 um 16:56 schrieb ML mail : > > I have configured OpenSMTPD on OpenBSD 5.9 with the filter-spamassassin as a relay for a few of my webapp servers and have the problem when a webapp suddently sends over 30 mails at the same time. Basically the problem is that as I have configured spamd with 30 as max-children, as soon as I receive 30 mails at the same time OpenSMTPD stops answering because all spamd childs are in busy state. This means that as long as all spamd child are in busy state I can not receive any more mails during that time. So you get what you configured/requested. > So in theory I would just raise the max-children setting of spamassassin but then it just postpones the problem really... so is there maybe another way to deal better with that issue? Not really. If these are your own web servers they will not send spam, right? So considering skip the filtering for them? There is a max-inflight limit in smtpd.conf(5) which you may want to lower (below your 30). Also, the most recent git head of -extras contains a limit option which restricts the messages piped to spamassassin based on their size. The idea is: fewer/smaller mails are checked (fast), assuming that larger ones are rarely spam.
Re: ~/bin, noexec, and security
On 19/04/16 18:48, Joe Schillinger wrote: Hi misc, Should /home be mounted as noexec by default for security? I noticed ~/bin is in the default $PATH (via /etc/skel/.profile), but isn't this somewhat of a security risk? Theoretically, if a threat has unprivileged access, wouldn't it be able to execute unauthorized programs? Someone mentioned this to me after they saw I was using ~/bin to house my scripts, and it made me think. Anyone have any info on whether this is/is not an issue? Are protections already in place in OpenBSD to mitigate this? Am I getting trolled? Thanks, Joe If users are supposed to run their programs in their home dir under their privileges I see no security risk there. They are allowed to run shells, perl, php, python so they can mess up an insecure system without needing a native binary in their home. On the other hand, in filesystems like /tmp /var /var/www where you might not need to host executables you can mount noexec (depends on the case) G
Re: ~/bin, noexec, and security
> Should /home be mounted as noexec by default for security? I noticed > ~/bin is in the default $PATH (via /etc/skel/.profile), but isn't this > somewhat of a security risk? Theoretically, if a threat has unprivileged > access, wouldn't it be able to execute unauthorized programs? > > Someone mentioned this to me after they saw I was using ~/bin to house > my scripts, and it made me think. Anyone have any info on whether this > is/is not an issue? Are protections already in place in OpenBSD to > mitigate this? Am I getting trolled? yes you are right, our users should not have the ability to become programmers. they should not create programs in /tmp they should not create them in their own directory openbsd contains everything they need, and there is no need to invent any new software ever again. are you being trolled now?
Re: After resuming from sleep, HP laptop kb unusable
On Tue, Apr 19, 2016 at 03:18:45PM +0200, Riccardo Mottola wrote: > Hi, > > I can suspend my laptop by closing the lid, hitting the powerbutton the > computer comes up again, however it looks frozen, I cannot type anything (or > I may type 1 or two chars before it locks up). It happens both under console > as with X11 > Actually, it is not frozen. I noticed that with a mouse, under X11 and I > also can ssh into the machine and get a dmesg, which contains also the > resume messages. > > I notice there is a "stack trace". Is that a hint to the issue? Someone > other experience such a behaviour? > > Riccardo [...] > bios0: Hewlett-Packard HP ProBook 4530s This problem should be fixed for this machine in -current. See this thread on tech@: https://marc.info/?l=openbsd-tech&m=146035659601245&w=2 and this commit: https://marc.info/?l=openbsd-cvs&m=146061765314970&w=2
Re: Firefox Crashes; slow xfce
I have also had problems with Firefox performance with OpenBSD (it's not a speed demon with Linux or FreeBSD, but it is faster on those systems). And I haven't found Chromium to be a good alternative -- too many crashes and "Oh, snap"s. But my experience with Firefox is that the problem is easily solved: install the Noscript plugin (RequestPolicy isn't a bad idea either). Noscript gives you finer-grained control over when to allow javascript than about:config does. And I think it is clear that javascript is the problem, compounded by Firefox' scheduling tabs itself, rather than creating a process for each and letting the system scheduler do its job. I can well believe that there is a performance/security tradeoff, as Ted Unangst mentioned, and I much prefer the OpenBSD approach of not giving in to the temptation to compromise security to quiet the performance complaints, especially given that there is another way to manage this problem (which has at its core, in my opinion, the overuse of javascript; there seems to be a pattern in the human condition of coming up with good inventions and then misusing them, e.g., the cell-phone, which has become a bodily appendage for too many; I'll spare you the rest of my rant on this topic). On Mon, Apr 18, 2016 at 4:40 PM, Edgar Pettijohn wrote: > I don't have any problems with Firefox on -current with Fvwm2. I switched to > Fvwm because Xfce was getting unmanageable. After about a week when I got my > config just right it is much easier and faster than Xfce just not as pretty. > > Sent from my iPhone > >> On Apr 18, 2016, at 3:13 PM, Daniel Boyd wrote: >> >> Thanks -- I will give xombrero a shot. Definitely need javascript support >> as I am currently composing this in Gmail and do quite a bit of >> javscript-based web development :) >> >>> On Mon, Apr 18, 2016 at 1:31 PM, wrote: >>> >>> I think the problem is with firefox itself. >>> tedu@ wrote a post about this: >>> http://www.tedunangst.com/flak/post/firefox-vs-rthreads >>> >>> Since the code is so bloated, no one will ever waste time trying to fix >>> all the issues. Just switch to some other browser, there's plenty of >>> options. >>> I'm using Links 2.12 on -stable and it works fine for my needs. But >>> there's also Xombrero if you need javascript support.
After resuming from sleep, HP laptop kb unusable
Hi, I can suspend my laptop by closing the lid, hitting the powerbutton the computer comes up again, however it looks frozen, I cannot type anything (or I may type 1 or two chars before it locks up). It happens both under console as with X11 Actually, it is not frozen. I noticed that with a mouse, under X11 and I also can ssh into the machine and get a dmesg, which contains also the resume messages. I notice there is a "stack trace". Is that a hint to the issue? Someone other experience such a behaviour? Riccardo $ dmesg OpenBSD 5.9 (GENERIC.MP) #1888: Fri Feb 26 01:20:19 MST 2016 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP RTC BIOS diagnostic error 9d real mem = 4209762304 (4014MB) avail mem = 4077973504 (3889MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xacdb6000 (25 entries) bios0: vendor Hewlett-Packard version "68SRR Ver. F.41" date 05/22/2013 bios0: Hewlett-Packard HP ProBook 4530s acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP HPET APIC MCFG ASF! SSDT SSDT SLIC SSDT SSDT acpi0: wakeup devices LANC(S0) EHC1(S0) EHC2(S0) PCIB(S5) RP02(S4) ECF0(S4) RP03(S4) RP04(S5) WNIC(S5) RP06(S0) NIC_(S0) RP07(S4) RP08(S0) HST1(S5) 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-2450M CPU @ 2.50GHz, 2494.73 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,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,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 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-2450M CPU @ 2.50GHz, 2494.34 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,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,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-2450M CPU @ 2.50GHz, 2494.34 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,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,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-2450M CPU @ 2.50GHz, 2494.34 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,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,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 0 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpiprt0 at acpi0: bus -1 (PEGP) acpiprt1 at acpi0: bus -1 (PCIB) acpiprt2 at acpi0: bus 1 (RP01) acpiprt3 at acpi0: bus 2 (RP02) acpiprt4 at acpi0: bus 35 (RP03) acpiprt5 at acpi0: bus 36 (RP04) acpiprt6 at acpi0: bus 37 (RP06) acpiprt7 at acpi0: bus 38 (RP08) acpiprt8 at acpi0: bus 0 (PCI0) acpiec0 at acpi0 acpicpu0 at acpi0: C3(350@104 mwait.1@0x20), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: C3(350@104 mwait.1@0x20), C1(1000@1 mwait.1), PSS acpicpu2 at acpi0: C3(350@104 mwait.1@0x20), C1(1000@1 mwait.1), PSS acpicpu3 at acpi0: C3(350@104 mwait.1@0x20), C1(1000@1 mwait.1), PSS acpipwrres0 at acpi0: APPR, resource for HDEF acpipwrres1 at acpi0: COMP, resource for COM1 acpipwrres2 at acpi0: LPP_, resource for LPT0 acpitz0 at acpi0: critical temperature is 128 degC acpitz1 at acpi0: critical temperature is 128 degC acpitz2 at acpi0: critical temperature is 128 degC acpitz3 at acpi0: critical temperature is 128 degC acpitz4 at acpi0: critical temperature is 128 degC acpitz5 at acpi0: critical temperature is 128 degC acpitz6 at acpi0: critical temperature is 128 degC acpitz7 at acpi0: critical temperature is 128 degC acpibat0 at acpi0: BAT0 model "Primary" serial 03294 2011/09/28 type LIon oem "Hewlett-Packard" acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpibtn0 at acpi0: SLPB acpibtn1 at acpi0: LID_ acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: DD02 cpu0: Enhanced SpeedStep 2494 MHz: speeds: 2501, 2500, 2000, 1800, 1600, 1400, 1200, 1000, 800 MHz pci
Re: VLAN in 5.9 - NAT problem
Thanks for all your replies. > I think dhcpd.interfaces is a relic? For the longest time I've simply > been specifying my interfaces in dhcpd_flags. Good idea, but deleting /etc/dhcpd.interfaces does not make any change. > Since you did not submit a full pf.conf, I have no chance of knowing if you > do a later pass that changes the NAT state. This is my full /etc/pf.conf now: pass out on rl0 inet from vlan309:network to any nat-to rl0 I have noticed that my NAT is working if there is running #tcpdump -i vlan309 NAT works with: pass out on rl0 inet from vlan309:network to any nat-to rl0 or with: match out on rl0 inet from vlan309:network nat-to rl0 pass out on rl0 If I terminate #tcpdump -i vlan309, NAT stops working too. Any idea? On Mon, 18 Apr 2016 16:42:00 -0400 "Brian S. Vangsgaard" wrote: > pass out on rl0 inet from vlan309:network to any nat-to rl0 > > match out on rl0 inet from vlan:309:network nat-to rl0 > pass out on rl0 > > Since you did not submit a full pf.conf, I have no chance of knowing if you > do a later pass that changes the NAT state. > > You could use tags for more fine-grained control. > > > #cat /etc/rc.conf.local > dhcpd_flags="vlan300 vlan308 vlan309 vlan310 vlan311 vlan400" > pf_rules=/etc/pf.conf > > #cat /etc/dhcpd.interfaces > vlan300 > vlan308 > vlan309 > vlan310 > vlan311 > vlan400 > > #cat /etc/hostname.em0 > up > > #cat /etc/hostname.em1 > up > > #cat /etc/hostname.trunk0 > trunkproto lacp trunkport em0 trunkport em1 lladdr 00:01:02:03:11:11 > up > > #cat /etc/hostname.vlan300 > inet 10.0.30.254 255.255.255.0 NONE vlan 300 vlandev trunk0 lladdr > 00:01:02:03:03:00 description "Interface VLAN-SERV" > > #cat /etc/hostname.vlan308 > inet 10.0.8.254 255.255.255.0 NONE vlan 308 vlandev trunk0 lladdr > 00:01:02:03:03:08 description "Interface VLAN-308I" > > #cat /etc/hostname.vlan309 > inet 10.0.9.254 255.255.255.0 NONE vlan 309 vlandev trunk0 lladdr > 00:01:02:03:03:09 description "Interface VLAN-309I" > [...] > > > > @2. Then I removed trunk0. DHCPserver works, clients get IP. NAT does not > work still. > > #cat /etc/pf.conf [changed to very short and simple for tests] > pass out on rl0 inet from vlan309:network to any nat-to rl0 > > #cat /etc/rc.conf.local > dhcpd_flags="vlan300 vlan308 vlan309 vlan310 vlan311 vlan400" > pf_rules=/etc/pf.conf > > #cat /etc/dhcpd.interfaces > vlan300 > vlan308 > vlan309 > vlan310 > vlan311 > vlan400 > > #cat /etc/hostname.em0 > up > > #cat /etc/hostname.vlan300 > inet 10.0.30.254 255.255.255.0 NONE vlan 300 vlandev em0 lladdr > 00:01:02:03:03:00 description "Interface VLAN-SERV" > > #cat /etc/hostname.vlan308 > inet 10.0.8.254 255.255.255.0 NONE vlan 308 vlandev em0 lladdr > 00:01:02:03:03:08 description "Interface VLAN-308I" > > #cat /etc/hostname.vlan309 > inet 10.0.9.254 255.255.255.0 NONE vlan 309 vlandev em0 lladdr > 00:01:02:03:03:09 description "Interface VLAN-309I" > [...] > > > > @3. Finally, I removed VLANs and NAT started to work. > > #cat /etc/pf.conf [changed to very short and simple for tests] > pass out on rl0 inet from em0:network to any nat-to rl0 > > #cat /etc/rc.conf.local > dhcpd_flags="em0" > pf_rules=/etc/pf.conf > > #cat /etc/dhcpd.interfaces > em0 > > #cat /etc/hostname.em0 > inet 10.0.8.254 255.255.255.0 NONE lladdr 00:01:02:03:03:08 description > "Interface VLAN-308" > > > #dmesg > OpenBSD 5.9 (GENERIC) #1561: Fri Feb 26 01:22:37 MST 2016 > dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC > cpu0: Intel(R) Celeron(R) CPU 2.93GHz ("GenuineIntel" 686-class) 2.93 GHz > cpu0: > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,CNXT-ID,xTPR,PERF > real mem = 2137800704 (2038MB) > avail mem = 2084323328 (1987MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: date 08/26/04, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev. 2.3 @ > 0xfb21f (4 entries) > bios0: vendor American Megatrends Inc. version "P1.80" date 08/26/2004 > acpi0 at bios0: rev 0 > acpi0: sleep states S0 S1 S4 S5 > acpi0: tables DSDT FACP APIC OEMB > acpi0: wakeup devices P0P4(S4) MC97(S4) USB1(S4) USB2(S4) USB3(S4) USB4(S4) > EUSB(S4) PS2K(S4) PS2M(S4) UAR1(S4) GBEN(S4) SLPB(S4) > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpimadt0 at acpi0 addr 0xfee0: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges > cpu0: apic clock running at 133MHz > cpu0: mwait min=64, max=64 > ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins > ioapic0: misconfigured as apic 0, remapped to apid 1 > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus 1 (P0P4) > acpicpu0 at acpi0: C1(@1 halt!) > acpibtn0 at acpi0: PWRB > acpibtn1 at acpi0: SLPB > bios0: ROM list: 0xc/0xa000! > pci0 at mainbus0 bus 0: configuration mode 1 (bios) > pchb0 at pci0 dev 0 function 0 "Intel 82865G Host" rev 0x02 > inteldrm0
Re: After resuming from sleep, HP laptop kb unusable
There was a patch for keyboards not coming back again after suspend on April 14th. You should try a newer snapshot. On 04/19/16 15:18, Riccardo Mottola wrote: > Hi, > > I can suspend my laptop by closing the lid, hitting the powerbutton the > computer comes up again, however it looks frozen, I cannot type anything (or > I may type 1 or two chars before it locks up). It happens both under console > as with X11 > Actually, it is not frozen. I noticed that with a mouse, under X11 and I also > can ssh into the machine and get a dmesg, which contains also the resume > messages. > > I notice there is a "stack trace". Is that a hint to the issue? Someone other > experience such a behaviour? > > Riccardo > > $ dmesg > OpenBSD 5.9 (GENERIC.MP) #1888: Fri Feb 26 01:20:19 MST 2016 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > RTC BIOS diagnostic error > 9d > real mem = 4209762304 (4014MB) > avail mem = 4077973504 (3889MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xacdb6000 (25 entries) > bios0: vendor Hewlett-Packard version "68SRR Ver. F.41" date 05/22/2013 > bios0: Hewlett-Packard HP ProBook 4530s > acpi0 at bios0: rev 2 > acpi0: sleep states S0 S3 S4 S5 > acpi0: tables DSDT FACP HPET APIC MCFG ASF! SSDT SSDT SLIC SSDT SSDT > acpi0: wakeup devices LANC(S0) EHC1(S0) EHC2(S0) PCIB(S5) RP02(S4) ECF0(S4) > RP03(S4) RP04(S5) WNIC(S5) RP06(S0) NIC_(S0) RP07(S4) RP08(S0) HST1(S5) > 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-2450M CPU @ 2.50GHz, 2494.73 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,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,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 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-2450M CPU @ 2.50GHz, 2494.34 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,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,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-2450M CPU @ 2.50GHz, 2494.34 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,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,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-2450M CPU @ 2.50GHz, 2494.34 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,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,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 0 pa 0xfec0, version 20, 24 pins > acpimcfg0 at acpi0 addr 0xe000, bus 0-255 > acpiprt0 at acpi0: bus -1 (PEGP) > acpiprt1 at acpi0: bus -1 (PCIB) > acpiprt2 at acpi0: bus 1 (RP01) > acpiprt3 at acpi0: bus 2 (RP02) > acpiprt4 at acpi0: bus 35 (RP03) > acpiprt5 at acpi0: bus 36 (RP04) > acpiprt6 at acpi0: bus 37 (RP06) > acpiprt7 at acpi0: bus 38 (RP08) > acpiprt8 at acpi0: bus 0 (PCI0) > acpiec0 at acpi0 > acpicpu0 at acpi0: C3(350@104 mwait.1@0x20), C1(1000@1 mwait.1), PSS > acpicpu1 at acpi0: C3(350@104 mwait.1@0x20), C1(1000@1 mwait.1), PSS > acpicpu2 at acpi0: C3(350@104 mwait.1@0x20), C1(1000@1 mwait.1), PSS > acpicpu3 at acpi0: C3(350@104 mwait.1@0x20), C1(1000@1 mwait.1), PSS > acpipwrres0 at acpi0: APPR, resource for HDEF > acpipwrres1 at acpi0: COMP, resource for COM1 > acpipwrres2 at acpi0: LPP_, resource for LPT0 > acpitz0 at acpi0: critical temperature is 128 degC > acpitz1 at acpi0: critical temperature is 128 degC > acpitz2 at acpi0: critical temperature is 128 degC > acpitz3 at acpi0: critical temperature is 128 degC > acpitz4 at acpi0: critical temperature is 128 degC > acpitz5 at acpi0: critical temperature is 128 degC > acpitz6 at acpi0: critical temperature is 128 degC > acpitz7 at acpi0: critical temperature is 128 degC > acpibat0 at acpi0: BAT0 model "Primary" s
sometimes nic stops working (vte) - driver problem ?
Hi, short Version: I think there might be a problem with the vte (nic) driver. I'm searching for a way to gather all the Information to get this fixed. long Version: I've built a home router with following components. - Educake (very small X86 SBC around Arduino) [1] - USB Lan Card (axe0 nic to ISP) - USB Hard drive (nfs export) - SDHC Card (Openbsd) After some thinking (and help from various openbsd users and this list) i was able to install OpenBSD 5.9 on this device. Things are working very well. For my Connection 50mbit/down 4mbit/up this Hardware is more than enough. running Services: dhcpd nfsd/portmap ntpd sshd radicale (caldav server) ddclient (dyndns updater) unbound pf Here comes the problem. After some event i do not know vte0 is not able to receive or send any anything. Logs show nothing. Leds on the nic are still showing that there is traffic but i can't do anything on that nic. Established connections on that nic all get broken. Other parts of the system work fine. An easy way to fix this is ~ ifconfig vte0 down; ifconfig vte0 up And things are working perfectly normal againfor some time. Creating much traffic (about 40mb/s), this happens every few hours. With low traffic, it's about one or two times a week. With my findings it's probably hard to investigate/fix that Problem. I'm searching for ways to file a good bug report. Ideas ? Jan [1] http://www.86duino.com/index.php?p=95 dmesg OpenBSD 5.9-current (GENERIC) #1584: Thu Mar 10 21:02:23 MST 2016 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC RTC BIOS diagnostic error b cpu0: Vortex86 SoC (686-class) 301 MHz cpu0: FPU,TSC,CX8,SEP,CMOV,MMX,PERF real mem = 133246976 (127MB) avail mem = 118288384 (112MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: date 06/23/99, BIOS32 rev. 0 @ 0xff046, SMBIOS rev. 2.7 @ 0x7fe1420 (6 entries) bios0: vendor coreboot version "4.0-4750-g745041e-dirty" date 03/12/2015 bios0: DMP Vortex86EX acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xf/0x1 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf4ce0/224 (12 entries) pcibios0: no compatible PCI ICU found: ICU vendor 0x17f3 product 0x6011 pcibios0: Warning, unable to fix up PCI interrupt routing pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xef000/0x1000! cpu0 at mainbus0: (uniprocessor) pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "RDC R6025 Host" rev 0x01 ppb0 at pci0 dev 1 function 0 "RDC R1031 PCIe" rev 0x02: irq 15 pci1 at ppb0 bus 1 pcib0 at pci0 dev 7 function 0 "RDC R6011 SB" rev 0x01 pcib1 at pci0 dev 7 function 1 "RDC R6011 SB" rev 0x01 vte0 at pci0 dev 8 function 0 "RDC R6040 Ethernet" rev 0x00: irq 9, address 00:1b:eb:64:ae:d4 ukphy0 at vte0 phy 1: Generic IEEE 802.3u media interface, rev. 0: OUI 0x000bb4, model 0x0005 ohci0 at pci0 dev 10 function 0 "RDC R6060 USB" rev 0x13: irq 14, version 1.0, legacy support ehci0 at pci0 dev 10 function 1 "RDC R6061 USB2" rev 0x07: irq 10 ehci0: halt timeout usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "RDC EHCI root hub" rev 2.00/1.00 addr 1 pciide0 at pci0 dev 12 function 0 "RDC R1012 IDE" rev 0x03: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide0: using irq 11 for native-PCI interrupt wd0 at pciide0 channel 0 drive 0: < D0 RDC SD-IDE HOST CONTROLLER> wd0: 1-sector PIO, LBA, 14719MB, 30144512 sectors pciide0: channel 1 ignored (disabled) azalia0 at pci0 dev 14 function 0 "RDC R3010 HDA" rev 0x02: irq 7 azalia0: codecs: Realtek ALC262 audio0 at azalia0 "RDC R1060 USB Device" rev 0x03 at pci0 dev 15 function 0 not configured "RDC R1331 MC" rev 0x00 at pci0 dev 16 function 0 not configured "RDC R1710 SPI" rev 0x01 at pci0 dev 16 function 1 not configured "RDC R1070 CAN" rev 0x00 at pci0 dev 17 function 0 not configured isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo com2 at isa0 port 0x3e8/8 irq 5: ns16550a, 16 byte fifo com3 at isa0 port 0x2e8/8 irq 12: ns16550a, 16 byte fifo com3: console pckbc0 at isa0 port 0x60/5 irq 1 irq 12 pckbd0 at pckbc0 (kbd slot) wskbd0 at pckbd0: console keyboard pcppi0 at isa0 port 0x61 spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 isa at pcib1 not configured usb1 at ohci0: USB revision 1.0 uhub1 at usb1 "RDC OHCI root hub" rev 1.00/1.00 addr 1 nvram: invalid checksum axe0 at uhub0 port 1 configuration 1 interface 0 "ASIX Electronics AX88178" rev 2.00/0.01 addr 2 axe0: AX88178, address 00:11:6b:73:cb:43 rgephy0 at axe0 phy 1: RTL8169S/8110S/8211 PHY, rev. 2 umass0 at uhub0 port 2 configuration 1 interface 0 "Western Digital My Book" rev 2.00/1.65 addr 3 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets, initiator 0 sd0 at scsibus1 targ 1 lun 0: SCSI2 0/direct fixed serial.10581100343030323339 sd0: 953869MB, 512 bytes/sector, 1953525168 sectors vscsi0 at root sc
Re: Firefox Crashes; slow xfce
For what it's worth, Firefox may be quite usable even on an old config when you add plugins limiting javascript usage such as : - RequestPolicy - Noscript I use it daily on an 11 years old computer and prefere it over xombrero because of the following issues : - https://github.com/conformal/xombrero/issues/128 - https://github.com/conformal/xombrero/issues/90 It may not be enough for your javscript-based web development or on the contrary it may give you an insight of the bloat-level of the framework you use. ;) Le 04/18/16 22:13, Daniel Boyd a écrit : > Thanks -- I will give xombrero a shot. Definitely need javascript support > as I am currently composing this in Gmail and do quite a bit of > javscript-based web development :) > > On Mon, Apr 18, 2016 at 1:31 PM, wrote: > >> I think the problem is with firefox itself. >> tedu@ wrote a post about this: >> http://www.tedunangst.com/flak/post/firefox-vs-rthreads >> >> Since the code is so bloated, no one will ever waste time trying to fix >> all the issues. Just switch to some other browser, there's plenty of >> options. >> I'm using Links 2.12 on -stable and it works fine for my needs. But >> there's also Xombrero if you need javascript support.
Re: openbsd vs freebsd NAT performance
On Tue, Apr 19, 2016, at 05:34 AM, Uwe Werler wrote: > On 16. Apr 5:10:56, bluesun08 wrote: > > Hi, > > > > beside OpenBSD 5.8 i installed FreeBSD 10.3 on my router-pc. For routing i > > use pf. > > I noticed that the routing/NAT-performance is in FreeBSD noticeable higher > > than in OpenBSD. I think that is due to the SMP-support of pf in FreeBSD. > > > > Is there also a SMP support (intended) in OpenBSD? > > > > Regards > > > > Alex > > > > > > > > -- > > View this message in context: > > http://openbsd-archive.7691.n7.nabble.com/openbsd-vs-freebsd-NAT-performance-tp294095.html > > Sent from the openbsd user - misc mailing list archive at Nabble.com. > > > xxx > > -- > This whole thread is nothing but a troll. Please never mention cal***.org ANYWHERE! It is out of date BULLSHIT.
Re: openbsd vs freebsd NAT performance
On 16. Apr 5:10:56, bluesun08 wrote: > Hi, > > beside OpenBSD 5.8 i installed FreeBSD 10.3 on my router-pc. For routing i > use pf. > I noticed that the routing/NAT-performance is in FreeBSD noticeable higher > than in OpenBSD. I think that is due to the SMP-support of pf in FreeBSD. > > Is there also a SMP support (intended) in OpenBSD? > > Regards > > Alex > > > > -- > View this message in context: > http://openbsd-archive.7691.n7.nabble.com/openbsd-vs-freebsd-NAT-performance-tp294095.html > Sent from the openbsd user - misc mailing list archive at Nabble.com. > https://calomel.org/network_performance.html --
Re: [patch] bgpctl more info in terse format
On Mon, Apr 18, 2016 at 08:09:50PM +0200, Claudio Jeker wrote: > The idea of terse is that you don't need to parse. So in a way I agree > with the diff. What I don't like is the inclusion of the number of > prefixes. That count requires a roundtrip to the RDE to find and sometimes > this takes a while. I would prefer if we could leave that out. > I agree that this is not a panacea. But it seems there is no other way to get the number of prefixes than to ask the RDE. I am open to any idea. Denis
Re: NVM Express (NVMe) support status
Great news! I will make testing and will let you know how it works. On Sat, Apr 16, 2016 at 12:18 AM, David Gwynne wrote: > >> On 12 Feb 2016, at 7:01 PM, Evgeniy Sudyr wrote: >> >> Hi all, >> >> I'm looking status of NVM Express support in -current (got Intel 750 >> consumer device >> https://www-ssl.intel.com/content/www/us/en/solid-state-drives/solid-state-drives-750-series.html >> for home desktop, but it looks like all devices are using the same >> Specification). >> >> I found 2 commits of nvme_pci.c from @dlg there: >> >> http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pci/nvme_pci.c >> >> But commit message sounds work is abandoned, because of problems faced. >> >> I found specification exists there http://www.nvmexpress.org/specifications/ >> >> It also works for me under Linux and NVMe driver is maintained by >> Intel developer Matthew Wilcox. >> https://github.com/torvalds/linux/tree/master/drivers/nvme >> >> Looks already implemented in FreeBSD (didn't tested yet): >> >> http://svnweb.freebsd.org/base/head/sys/dev/nvme/nvme.h?view=log&pathrev=240616 >> https://svnweb.freebsd.org/base/head/sys/dev/nvme/ >> >> It will be great to get this "awesome fast" storage support in next >> OpenBSD release(s). >> >> Anybody aware of any plans on this? > > it might work if you give it a go now. -- -- With regards, Eugene Sudyr