AMD B550 serial overruns & minimal patch

2022-11-04 Thread gwes
I connected a GPS receiver to TTY00 on a AMD 5600G motherboard with B550 chipset. Every burst from the receiver caused overruns. I don't have docs for the B550 but the comment in com_acpi.c about Synopsys Designware suggested that the serial port implementation would likely include fifos.

cpus spinning using three or more pipes in a chain

2022-08-14 Thread gwes
Unexpected behavior:   When I try to chain three programs together with pipes moving lots of data spin time goes up on most or all CPUs. Is this known or expected? the chain [shortened] was   find /someplace -maxdepth 2 -type f -name '*.flac' -exec \ metaflac -list

Re: dump(8) is slow

2022-08-09 Thread gwes
On 8/9/22 18:28, gwes wrote: On 8/9/22 13:14, Christian Weisgerber wrote: Kenneth Gober: Are you certain that dump(8) is the big bottleneck here?  My recollection is that restore(8) is significantly slower, so of course if restore(8) is systat's default vmstat display shows you

Re: dump(8) is slow

2022-08-09 Thread gwes
On 8/9/22 13:14, Christian Weisgerber wrote: Kenneth Gober: Are you certain that dump(8) is the big bottleneck here? My recollection is that restore(8) is significantly slower, so of course if restore(8) is systat's default vmstat display shows you the time spend in disk accesses.

Re: Trouble with lpr and Brother wireless printer

2022-08-02 Thread gwes
On 8/2/22 00:16, Ben Hancock wrote: On Mon, 1 Aug 2022 07:50:19 - (UTC) Stuart Henderson wrote: On 2022-07-31, John Mettraux wrote: Brother MFC-L3770CDW wireless here. My /etc/printcap goes: lp:\ sd=/var/spool/lpd:lp=:rm=192.168.xxx.xxx:rp=BINARY_P1 Maybe it will help. Also try

Re: "cdio cddbinfo" broken?

2022-07-25 Thread gwes
On 7/25/22 13:53, Erling Westenvik wrote: On Mon, Jul 25, 2022 at 11:40:30AM -0400, Nick Holland wrote: I noticed that the cdio(1) cddbinfo command seem to no longer work. I don't think this is a snapshot breakage -- I upgraded a May 8 snapshot to Jul 23 snapshot, but I am pretty sure I had

Re: "cdio cddbinfo" broken?

2022-07-25 Thread gwes
AFAIK the public CDDB was bought by Gracenote and is no longer available for free. gnudb.org has a copy of the last available public version (via freedb.org) & it's on line & accessible using the freedb protocol (http://ftp.freedb.org/pub/freedb/misc/freedb_CDDB_protcoldoc.zip) hth Geoff Steckel

Re: lm(4) temperature

2021-11-20 Thread gwes
On 11/20/21 2:42 PM, Theo de Raadt wrote: Jan Stary wrote: This is current/i386 on an ALIX.1E (dmesg below). I am trying to monitor the CPU temperature with wbsio0 at isa0 port 0x2e/2: W83627HF rev 0x41 lm1 at wbsio0 port 0x290/8: W83627HF $ sysctl hw.sensors.lm1

Re: Recover partition table/FFS2 after overwrite?

2021-09-06 Thread gwes
On 9/6/21 9:22 AM, Thomas Windisch wrote: I think I just overwrote my file system by using sd1 instead of sd2: # pv install69.img > /dev/rsd1c sd1 is softraid crypto device that holds the system partitions and data: $ df -h Filesystem SizeUsed Avail Capacity Mounted on

nit-picking knf question

2021-08-31 Thread gwes
Where to declare local variables used in a small subordinate scope? Specifically at the top of a routine or at the beginning of the context where they're used? I don't see it in style(9) i.e. extern int fum; int foo() { here 1> int a_local;     while (condition()) {    if

Re: Applying scan_ffs output to disklabel?

2021-08-30 Thread gwes
On 8/30/21 7:53 AM, Danny Wilkins wrote: On August 29, 2021 11:06:03 PM EDT, gwes wrote: If there aren't sufficient backups I have a version of scan_ffs which works on FFS2.   geoff steckel I feel like that'd be good to have in base in general now that ffs2 is default. Any reason the patch

Re: Applying scan_ffs output to disklabel?

2021-08-29 Thread gwes
On 8/29/21 10:51 PM, Kenneth Gober wrote: On Sun, Aug 29, 2021 at 5:35 PM Jason Morris wrote: I'm in the process of recovering my drive (fat fingered dd and blew away the partitions). I've obtained the following output from scan_ffs but not sure how to apply this to recreate the disklabel.

Re: dhcp issues

2021-07-19 Thread gwes
On 7/19/21 1:23 AM, Theo de Raadt wrote: gwes wrote: On 7/18/21 8:55 PM, Theo de Raadt wrote: Lots of excellent reasons. Is there any document available which describes your concept of how systems running OpenBSD are used? E.g. mobile laptop, home user desktop, office desktop, single

Re: dhcp issues

2021-07-18 Thread gwes
On 7/18/21 8:55 PM, Theo de Raadt wrote: Lots of excellent reasons. Is there any document available which describes your concept of how systems running OpenBSD are used? E.g. mobile laptop, home user desktop, office desktop, single local net server, multiple local servers, single gateway,

dhcpleased restricted

2021-07-16 Thread gwes
On 7/16/21 10:35 PM, Theo de Raadt wrote: This is intentional. We are moving from a model where dhclient on 1 interface believes it is MASTER of /etc/resolv.conf and a bunch of system aspects, and the userbase is familiar with a pile of hacky control knobs in dhclient.conf. Towards a model

Re: allocating contiguous memory in user space

2021-05-16 Thread gwes
On 5/15/21 9:17 PM, Alessandro Pistocchi wrote: Hi all, is there any way in openbsd to allocate contiguous memory pages in user space? Thanks, A mmap(2) will give you a block of contiguous virtual pages mlock(2) will lock them down The OS tries very hard to conceal physical page addresses

Re: httpd - conditional redirects

2021-04-28 Thread gwes
On 4/28/21 8:45 PM, theni...@gmail.com wrote: Hope I'm putting this in the appropriate mailing list. A minor (I hope) potential feature request for httpd: I wish to redirect clients not from a certain IP (e.g. my public IP at home) to a different location, temporarily. The purpose of this

Re: 6.9 Current amd64 xfce seems to freeze and not respond to mouse clicks or keystrokes

2021-04-10 Thread gwes
On 4/10/21 5:22 PM, Tom Smyth wrote: Hello, 1) issue does not occur with fvwm or with chrome running in fvwm so the issue seems to be confined to xfce, and I was running just 1 xfce terminal session 2) (so the issue is not related to chromium) Thanks O -- Kindest regards, Tom Smyth.

Re: home printer

2020-09-18 Thread gwes
On 9/17/20 3:15 PM, Greg Thomas wrote: I've always been happy with the cheap Brother laser printers with ethernet, On Thu, Sep 17, 2020 at 10:07 AM Ingo Schwarze wrote: Jan Stary writes: Can people please recommend a home laser printer that is known to work well with OpenBSD? I would like

Re: exFAT support

2020-08-06 Thread gwes
On 8/6/20 5:47 PM, Bryan Steele wrote: On Thu, Aug 06, 2020 at 02:16:11PM -0700, jo...@armadilloaerospace.com wrote: With Microsoft's release of the [exFAT] spec last year, is the path open for kernel support now, when someone gets around to it? I don't know the details, but I believe one

Re: strlcpy version speed tests?

2020-07-01 Thread gwes
On 7/1/20 8:05 AM, Luke Small wrote: I spoke to my favorite university computer science professor who said ++n is faster than n++ because the function needs to store the initial value, increment, then return the stored value in the former case, while the later merely increments, and returns the

Re: OpenBSD Readonly File System

2020-06-27 Thread gwes
On 6/27/20 10:57 AM, Stuart Henderson wrote: On 2020-06-26, Marko Cupać wrote: On 2020-06-24, Aaron Mason wrote: Auto filesystem repair is bad juju. On 2020-06-25 11:17, Stuart Henderson wrote: Nonsense. For many, the possible downsides of automatically running fsck -y are much less a

axen - need working USB NIC using axen to test driver change

2020-05-03 Thread gwes
Currently axen.c has its PHY address hardwired to 3. I have a StarTech which has the PHY at 0. The driver currently searches for all PHYs connected to the MII and then ignores the result. I want to test my fix on devices which work now. Can anyone point me to a USB NIC which works with axen?

how to find lock contention

2020-02-04 Thread gwes
I'm copying a directory tree from one ssd to another. Top reports +- 33% system time and +- 28% spin time. Is there any easy way to determine which lock is hot? Mostly from morbid interest & curiosity about gruesome detail of the current filesystem implementation. Geoff Steckel

Re: How do I change the birth time of a file?

2020-01-17 Thread gwes
On 1/17/20 4:20 AM, Otto Moerbeek wrote: On Thu, Jan 16, 2020 at 09:20:58PM -0800, William Ahern wrote: On Thu, Jan 16, 2020 at 01:16:47PM +0100, Otto Moerbeek wrote: On Thu, Jan 16, 2020 at 11:20:10AM +, gritzmann wrote: Hi, How do I change the birth time of a file? `touch -acm -d

Re: How do I change the birth time of a file?

2020-01-16 Thread gwes
On 1/17/20 12:20 AM, William Ahern wrote: On Thu, Jan 16, 2020 at 01:16:47PM +0100, Otto Moerbeek wrote: On Thu, Jan 16, 2020 at 11:20:10AM +, gritzmann wrote: Hi, How do I change the birth time of a file? `touch -acm -d "1980-01-01 00:00:00" myfile` changes only the access, modify and

Re: Userland PCI drivers possible in OpenBSD?

2020-01-10 Thread gwes
On 1/9/20 10:58 PM, Joseph Mayer wrote: Maybe this topic is better suited for tech@, you tell: Is there some way I can implement PCI drivers in userland in OpenBSD? Is there any reason not to write a conventional device driver and build an OS including that driver? While the kernel

Re: Awaiting a diff [was: Re: File systems...]

2020-01-08 Thread gwes
Suggestion: to improve file system performance, first document the bad behavior in detail. Begin with examples of traces/logs of disk accesses associated with file system operations. Include scenarios (one hopes reproducible ones) to provoke bad behavior. Are reads worse than writes?

Re: Turn off Swap on boot disk

2019-11-24 Thread gwes
On 11/24/19 9:35 AM, Stuart Henderson wrote: On 2019-11-22, gwes wrote: First, why is your workload causing swapping? That hasn't been a good idea since the beginning of computing. Even if the main workload is OK, relinking the kernel (reorder_kernel) causes swapping on smaller-memory systems

Re: Turn off Swap on boot disk

2019-11-22 Thread gwes
On 11/21/19 2:47 AM, Sean Kamath wrote: Hello. Can someone provide me a pointer to how to do this? I have a bunch of Alix 2d13 boxes. With 6.6, I’ve found I need more swap than the default layout on a 2G compact flash drive has. So, I got some 1G USB thumb drives, and want to use JUST

Re: teco, and Re: vi in ramdisk?

2019-11-15 Thread gwes
On 11/15/19 1:59 PM, gwes wrote: TECOC from github... For general amusement: without video (curses)   UID   PID  PPID CPU PRI  NI   VSZ   RSS WCHAN   STAT TT TIME COMMAND  1000 29775 86827   0  28   0   540  1296 -   T p2 0:00.00 ./tecoc $ size tecoc text    data    bss dec hex

Re: Home NAS

2019-11-15 Thread gwes
[misc intermediate comments removed] On 11/15/19 3:54 AM, Andrew Luke Nesbit wrote: In particular I'm trying to figure out a generally applicable way of taking a _consistent_ backup of a disk without resorting to single user mode. I think COW file systems might help in this regard but I

teco, and Re: vi in ramdisk?

2019-11-15 Thread gwes
TECOC from github... For general amusement: without video (curses)   UID   PID  PPID CPU PRI  NI   VSZ   RSS WCHAN   STAT  TT TIME COMMAND  1000 29775 86827   0  28   0   540  1296 -   T p2 0:00.00 ./tecoc $ size tecoc text    data    bss dec hex 102449  13096   13424   128969 

Re: Home NAS

2019-11-14 Thread gwes
On 11/14/19 3:52 PM, Andrew Luke Nesbit wrote: Hi Dave, On 15/11/2019 07:44, Raymond, David wrote: I hadn't heard about file corruption on OpenBSD.  It would be good to get to the bottom of this if it occurred. I was surprised when I read mention of it too, without any real claim or

Re: OpenBSD and solid state disks

2019-11-03 Thread gwes
On 11/2/19 4:10 PM, Raymond, David wrote: I recently installed OpenBSD on a Lenovo X1 Carbon with a solid state drive and it works great. My question is whether OpenBSD addresses the special characteristics of solid state drives, especially those having to do with longevity and reliability. I

Re: surprisingly good net speed with 2 REs

2019-10-22 Thread gwes
On 10/22/19 11:06 PM, Chris Cappuccio wrote: g...@oat.com [g...@oat.com] wrote: Peaks at about 500mb/sec tcpbench is a better test because it won't measure your disk i/o at the same time also, the realtek chip you mention has a hard limitation of around 500Mbps on either transmit or

surprisingly good net speed with 2 REs

2019-10-22 Thread gwes
:01:00.0 eth0: RTL8168g/8111g minion:/home$ sudo tar cf - gwes | nc -O 262144 -N 192.168.2.9 47567 To OpenBSD 6.5: Intel(R) Celeron(R) CPU 1037U @ 1.80GHz re0 at pci3 dev 0 function 0 "Realtek 8168" store:$ nc -l -I 262144 0.0.0.0 47567 > /dome/save.tar re0 in

Re: Why regex doesn't work in while loop's condition?

2019-09-08 Thread gwes
On 9/6/19 5:27 PM, Theo de Raadt wrote: Andreas Kusalananda Kähäri wrote: On Fri, Sep 06, 2019 at 02:38:18PM -0600, Theo de Raadt wrote: Christian Weisgerber wrote: On 2019-09-06, Andreas Kusalananda Kähäri wrote: read x; while [ "$x" != [abc] ]; do echo "Not a, b or c"; break; done

Re: IPv6 problems

2019-08-14 Thread gwes
On 8/14/19 4:45 PM, freda_bundc...@nym.hush.com wrote: Hi, I just thought since the interface was vio that you're running in a virtual environment. Providers like Vultr say "Important Note: If you add an IPv6 subnet to an existing machine, you must restart the server via the Vultr control panel

Re: IPv6 problems

2019-08-14 Thread gwes
On 8/14/19 2:36 PM, list wrote: My hostname.vio0 now looks like this:         inet6 alias /64         !route add -inet6 default fe80::2de:361a:24aa:d7a6%vio When doing a "ifconfig vio0" I get:     vio0: flags=8843 mtu 1500 [...]     inet6 fe80::2de:361a:24aa:d7a6%vio0 prefixlen 64

Re: SCM

2019-07-26 Thread gwes
On 7/26/19 8:29 PM, Австин Ким wrote: Hi, all, Sorry, been hella busy rushing to finish final graduation projects for school and had no idea so many people weighed in with so much awesome feedback! That said, OpenBSD has a cultural restriction of requiring people to inspect the patches

Re: Write to DVD-RAM

2019-07-26 Thread gwes
On 7/25/19 7:14 PM, Zhi-Qiang Lei wrote: On Jul 25, 2019, at 10:24 PM, gwes wrote: On 7/24/19 10:19 PM, Zhi-Qiang Lei wrote: Hi, I’m trying to encrypt a DVD-RAM before putting some files onto it on my OpenBSD 6.5 desktop. But neither dd nor disklabel seems able to work on the drive. Did

Re: Write to DVD-RAM

2019-07-25 Thread gwes
On 7/24/19 10:19 PM, Zhi-Qiang Lei wrote: Hi, I’m trying to encrypt a DVD-RAM before putting some files onto it on my OpenBSD 6.5 desktop. But neither dd nor disklabel seems able to work on the drive. Did I miss something? $ dmesg | grep cd cd0 at scsibus3 targ 1 lun 0: ATAPI 5/cdrom

Re: Future of X.org?

2019-06-28 Thread gwes
On 6/28/19 1:56 PM, Christopher Turkel wrote: Probably someday. X won’t be going away anytime soon. On Friday, June 28, 2019, Nathan Hartman wrote: Came across this: https://www.phoronix.com/scan.php?page=news_item=X.Org- Maintenance-Mode-Quickly Long story short, Red Hat hopes to

Re: Filesystem corruption on OpenBSD routers after power outage?

2019-06-04 Thread gwes
On 6/4/19 3:30 PM, Mogens Jensen wrote: I'm going to build a router for use in a remote location, and I have chosen OpenBSD 6.5 for the task. Unfortunately, it's not possible to protect the router with an UPS, so it will have to be resilient enough to survive sudden power outages and still

Re: octeon: make syspatch copy /bsd to real boot directory

2019-05-20 Thread gwes
A few corrections to the previous diff, sorry Index: Makefile.octeon === RCS file: /cvs/src/sys/arch/octeon/conf/Makefile.octeon,v retrieving revision 1.49 diff -u -p -r1.49 Makefile.octeon --- Makefile.octeon 9 Feb 2018 03:59:15

octeon: make syspatch copy /bsd to real boot directory

2019-05-20 Thread gwes
Install on octeon correctly copies /bsd to the MSDOS filesystem where the manufacturer's boot program finds it It appears that syspatch doesn't. If so, fixing this is important because as it stands security patches won't actually be installed in running systems. This is an * untested * *

ffs undelete was: Re: single user question

2019-05-17 Thread gwes
On 5/17/19 2:34 PM, Nathan Hartman wrote: On Fri, May 17, 2019 at 12:28 PM ropers wrote: In the history of the (Berkeley) Fast File System, has there ever been an attempt to implement DOS-like undelete for FFS/UFS? Maybe that could work for "normal delete" while making available a

Re: single user question

2019-05-16 Thread gwes
On 5/16/19 9:05 PM, James Huddle wrote: First of all, I must say that it is with genuine gratitude that I read your responses! Mov Probably the same reason that you would say "...I might trigger other people to say some rude things..." Often I feel that by merely stating my opinion, here, I

Re: Good options for SAS HBA or SATA expansion cards?

2019-04-14 Thread gwes
On 04/14/19 15:25, John Long wrote: On Sun, 14 Apr 2019 14:53:34 -0400 gwes wrote: On 2019-04-11, John Long wrote: I have a Dell server that was advertised to support 4x3.5 + 2x2.5 drives but when I popped it open I found there are only 4 SATA ports on the motherboard total. So of the 6

Re: Good options for SAS HBA or SATA expansion cards?

2019-04-14 Thread gwes
On 2019-04-11, John Long wrote: I have a Dell server that was advertised to support 4x3.5 + 2x2.5 drives but when I popped it open I found there are only 4 SATA ports on the motherboard total. So of the 6 claimed drives, I can actually only install 3 drives because the stock DVD drive

Re: compared filesystem performance, was Re: 10GBit network performance on OpenBSD 6.4

2019-04-08 Thread gwes
On 04/08/19 19:29, Chris Cappuccio wrote: gwes [g...@oat.com] wrote: What is the rated transfer rate of the SSD you're using to test? SATA 3 wire speed is 6G/sec and realistically 500MB/sec raw rate is near the top. Anything over that is an artefact probably from a cache somewhere. He's

compared filesystem performance, was Re: 10GBit network performance on OpenBSD 6.4

2019-04-08 Thread gwes
On 04/08/19 17:46, Anatoli wrote: That was with Samsung 960 EVO U.2 (PCIe) on i7-8550u with 32GB RAM. OpenBSD read/write was around 220-240MB/s (with FS encryption), Linux without FS cache about 2.6-2.8GB/s and with cache over 3.5GB/s. I don't have a dmesg right now as I installed Gentoo

shrinkfs(8) and movefs(8)?

2019-01-04 Thread gwes
The approved method to reararrange filesystems is to dump(8) and restore(8) or equivalent. Sometimes this is impossible or extremely difficult - think hosted or other systems without any accessible additional mass storage. If a shrinkfs(8) and movefs(8) existed, would anybody use them? shrinkfs

Re: USB stick recovery after dd with miniroot64.fs

2019-01-04 Thread gwes
On 01/04/19 10:04, Mihai Popescu wrote sysutils/testdisk is very good. No success with that. It looks like all partitioning information has vanished. I don't know partitioning at bit level so I cannot try more. If anyone succeded with this kind of overwrite, or if there is any chance to

Re: recommended h/w for fanless audio-out?

2018-11-12 Thread gwes
On 11/12/18 07:30, Colin Bortner wrote: Hello, I’d like to use OpenBSD to build a MIDI synthesizer using SoundFonts, as the OpenBSD MIDI and audio subsystems are remarkably understandable and sane, compared to everything else out there today. I’ve heard a fair bit here about USB audio

Re: make(1) and multiple outputs

2018-09-02 Thread gwes
On 08/31/18 03:23, Kristaps Dzonsons wrote: Short: is there a way to manage multiple outputs from a single command with OpenBSD's make(1)? Longer story. I have a site that generates a few hundred articles using sblg(1). Each output article is indexNNN.html, which depends upon every input

ipv6 ndp proxy ip6addr/128?

2018-03-07 Thread gwes
I noticed in ndp.c code to add a netmask to an ipv6 address proxy was #if 0 Is this a philosophical "proxying more than 1 IPv6 address is wrong", lack of time, lack of interest? My application is bridging a single IPv6 subnet over openvpn such that    xx::23:34:56    

Re: Hellos from the Lands of Norway.

2017-12-08 Thread gwes
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,

Re: CUPS and AVAHI (bloatware)

2017-10-29 Thread gwes
The last time AVAHI got installed on one of my systems the installer started it immediately. Avahi then proceeded to scribble on that system's network configuration and confuse other systems on that subnet. I would assert that Avahi should be either (a) not automatically started when installed

Re: CUPS and AVAHI (bloatware)

2017-10-29 Thread gwes
On 10/26/17 07:24, Rupert Gallagher wrote: It is well known that cups does not need avahi. Avahi is an option, it requires dbus, which requires X11. If you have a server with limited resources and without X11, you cannot install the present cups package. Please remove cups's dependency on

Re: 5-button wheeled mouse and X

2017-10-29 Thread gwes
On 10/25/17 07:20, Cág wrote: Natasha Kerensikova wrote: it started as a bug report: it have a 5-button mouse with a wheel, even though I don't use much the buttons 4 and 5 (I think only for previous and next in firefox history). I recently switched to OpenBSD, and I was surprised to find

smtpd vs. uw-imap locking

2017-07-30 Thread gwes
smtpd locks user mailboxes in /var/mail using lockspool(1) uw-imapd locks using its own dotfile locker mlock(not the syscall) Before I go into uw-imapd and do some nasty additions and if()s: does anyone else care? does anyone else use uw-imap? has anyone attacked this problem? is there anywhere

usb RTC, was Re: octeon port, ubiquity edgerouter

2017-07-22 Thread gwes
On 07/22/17 12:10, Theo de Raadt wrote: I'd really like if someone could find a USB RTC clock, which is a viable affordable product which we can then create good support for. I've searched and found a few prototypes and 'licence key' products, but nothing readily available which we could

Re: Can I bind USB/other interface/device number (e.g. cdceX) to particular MAC, USB serial number or the like?

2017-06-05 Thread gwes
On 06/04/17 19:09, Kevin Chadwick wrote: fxp0,1,2 are in order of pci slot. I assume usbs are the same after boot so anyone who unplugs and plugs devices and doesn't check the outcome on critical hardware deserves what they get. Also having critical hardware that can be physically damaged is

mousedrv(4x) man vs environment under X

2017-04-17 Thread gwes
The mousedrv(4x) man page says Option "ButtonMapping" "N1 N2 [...]" Specifies how physical mouse buttons are mapped to logical buttons. Physical button 1 is mapped to logical button N1, physical button 2 to N2, and so forth. This enables the use of physical buttons

Re: DDB "boot sync" or "boot dump" hangs

2017-04-16 Thread gwes
On 04/16/17 02:37, Philip Guenther wrote: On Sun, 12 Mar 2017, gwes wrote: I'm trying to debug the following panic. I can't get a crash dump. At the DDB prompt, either "boot sync" or "boot dump" the system prints "Syncing disks: 2" and nothing more. So

DDB "boot sync" or "boot dump" hangs

2017-03-12 Thread gwes
I'm trying to debug the following panic. I can't get a crash dump. At the DDB prompt, either "boot sync" or "boot dump" the system prints "Syncing disks: 2" and nothing more. I've tried: removing all disks and/or controllers other than the disk holding the root removing physical memory so

Re: lpr duplex printing

2017-01-10 Thread gwes
>I wonder if somebody could educate me on duplex printing with lpr >command from the base > What does actually happen with the document when I use switch -s2 in > a2ps? > Thanks > Predrag lpr is very minimal. It could have a filter added to send a file through a2ps on its way to the physical

Re: Hardware recommendations for compact 1U firewall

2016-12-16 Thread gwes
On 12/15/16 12:07, Ryan Freeman wrote: On Thu, Dec 15, 2016 at 11:30:31AM +, Stuart Henderson wrote: On 2016-12-15, Aaron Mason wrote: All I'm looking for a 1U appliance that I can re-purpose into a firewall using OpenBSD. I've tried the near-free method by

gethost.. replacement?

2016-12-07 Thread gwes
The gethost* DNS query functions don't have a man page in 6.0. What is the approved replacement for a user-written program? I saw discussions about reworking the resolver but can't find any definition of what a user should code. Thanks Geoff Steckel

long fat pipe problem

2016-11-28 Thread gwes
I've got 2 6.0 systems: one in BOS one in LA. Transit time is about 100ms. There's adequate bandwidth end-to-end. I can only get 1.5 - 2.5 MB/sec due to the long fat pipe problem: the receiving system won't open the window large enough to let the sender put enough bytes in the pipe. It's not

Re: Why on earth would online voting be insecure?

2016-11-15 Thread gwes
On 11/15/2016 00:55, Joel Wirāmu Pauling wrote: So yes, back to my original point. A Civic's blockchain, one that does not rely on the integrity (or rather is resilient to) the system it runs on, or the security of the transmission media ; as a platform for use in civic's - needs to exist first.

Re: Why on earth would online voting be insecure?

2016-11-14 Thread gwes
On 11/14/2016 22:19, Alan Corey wrote: OK, it's relevant to OpenBSD because I wouldn't consider anything else safe enough to run on the servers. Not that I'm in a position to do any of it. The servers could even be run from custom official live CDs so they were harder to tamper with, with

Re: How assign some logic to handle system-gone-totally-unresponsive events (if not else then to enable admin with differentiated failure tracking between userland and hardware failures)

2016-10-18 Thread gwes
On 10/17/2016 22:47, Tinker wrote: [...] If you have any thought about how make that happen feel free to share. Anyhow in the absence of any such logic, just doing a hardware reset is fine, it's just a bit constrained as it comes without automated reporting that could be used to distinguish

Re: axen(4) usb ethernet problems

2016-10-14 Thread gwes
On 10/14/2016 03:35, Mark Carroll wrote: On 13 Oct 2016, Ilya Kaliman wrote: I have a "Plugable USB 3.0 ethernet adapter" with ASIX AX88179 chipset. The device is successfully recognized by axen(4) driver but behaves strangely. When I plug in the ethernet cable the ifconfig axen0 status says

use of divert-packet and table insertion

2016-10-06 Thread gwes
I need to use dns blacklisting on incoming email. Spamd caused a user revolt because of its unpredictable delay. smtpd maintainers have more urgent projects than working on filter-dnsbl. What I'd like to do is: in pf.conf pass in on ingress from to any port smtp pass in on

Re: Industrial use of line printers, does/would your company/organization use them with our lpd?

2016-02-18 Thread gwes
On 02/18/2016 16:33, Chris Bennett wrote: On Thu, Feb 18, 2016 at 04:10:06PM -0500, gwes wrote: . They don't do dynamic autoconfiguration. In an industrial environment autoconfiguration can be very bad. (examples like directing confidential output somewhere unexpected) I haven't looked

Re: Industrial use of line printers, does/would your company/organization use them with our lpd?

2016-02-18 Thread gwes
On 02/17/2016 12:49, Chris Bennett wrote: After reading up on printers in use, I discovered that there is significant use of line printers due to their very low cost of consumables, production of a very long lasting output, unlike laser/thermal/inkjet printers and high reliability. Is anyone

Re: Industrial use of line printers, does/would your company/organization use them with our lpd?

2016-02-18 Thread gwes
On 02/17/2016 12:49, Chris Bennett wrote: After reading up on printers in use, I discovered that there is significant use of line printers due to their very low cost of consumables, production of a very long lasting output, unlike laser/thermal/inkjet printers and high reliability. Is anyone

usb audio stutters during inteldrm scrolling

2015-11-08 Thread gwes
inteldrm seems to block USB output during scrolling. sox and other programs sending directly to the audio device work perfectly unless the inteldrm console changes. Then multiple short dropouts occur sounding like scratches. I don't see any errors logged anywhere. Has anyone seen this? Geoff

proposed speedup for diff -q

2014-05-15 Thread gwes
is not invoked with -w, -i, or -b The changes pass the regression tests and all the tests I've tried. I believe the changes are not machine dependent. I invite criticism and counterexamples. Example: $ ls -l trash.120403 trash.120711 -rw--- 1 gwes users 249686538 Apr 3 2012 trash.120403 -rw-r

copyout from physio, why?

2011-12-28 Thread gwes
I hope someone can shed some light on this. I'm running 5.0-current on an AMD64 with 4GB of physical memory. Reading large chunks (64K or multiples) from /dev/rsd0c using the AMD chipset SATA controller and a modern 1G drive: time dd if=/dev/rsd3c of=/dev/null bs=128k count=1 1+0

pf question: multiple multihomed machines

2011-01-05 Thread gwes
What is the recommended pf.conf to get symmetrical routing for incoming and outgoing connections using a dual-homed gateway and internal hosts with static IPs on both WANs? I'm assuming route-to and reply-to are the correct tools to use. I've looked at the FAQ, googled for dual multihomed

Re: Resilient RAID

2010-05-21 Thread gwes
I ran a firewall/server for a year on a flash stick with full logging. No problems. As an ex-chip-verification-engineer, the BIG caveat is temperature. Failures will at least double for every 10C above 20C or so. Heat is electronics most vicious enemy. geoff steckel curmudgeon for hire, rent, or

Re: multi port ethernet card

2008-02-01 Thread gwes
I need 100mb interfaces. I will probable go in a low end server class machine. On 2008/02/01 12:21, Chris Bullock wrote: I need a recommendation for a quad port nic to put in my router/firewall. www.bgmicro.com has a quad AIC-6915 card for $38 their part COM1204 I use it in my

Re: pf.conf grammar botch

2006-11-05 Thread gwes
Peter N. M. Hansteen wrote: The normal route for patch submissions is as far as I can tell via posting the patch to tech@ and participating in any discussion that ensues. The developers very much want to be able to take a good look at any code before it enters the tree. This seems to be the

NICs on C7 cards, was Re: Via C7 fully supported?

2006-11-03 Thread gwes
Edward A. Gardner wrote: Admittedly the price of gigabit NICs has come down to where I'd rather see them than 100mbit NICs. They have advantages even if unable to run at full speed. But running multiple gigabit links full speed, these boards won't. Sigh. Unless the 10/100 chips have

Re: How much traffic can it route?

2006-11-03 Thread gwes
Der Engel wrote: I have a doubt about if OpenBSD/PF can NAT 40Mbits with a simple rule set and like 60 redirects. The box has a xeon proc and two integrated NICs, one fxp and a bge, can it handle it? How many packets per second? Or, how big are the packets? The fxp would be the bottleneck