Re: ksh(1): preserve xtrace option

2017-01-16 Thread frantisek holop
Anton Lindqvist, 16 Jan 2017 10:02: > > Hmm, I see now that my memory is false, ksh93 (available as port) does > > trace into functions. Still, I'm undecided if we want to change our > > ksh. > > Any thoughts from others on changing the defaults? just my 2 cents. when many years ago i found out

gzip keep input files patch

2017-01-07 Thread frantisek holop
hello, here is a simple patch to add -k (keep) flag to gzip/compress. freebsd has it, netbsd has it (although omitted from the manpages), linux has it. my use case is automating gzip compression for nginx's ngx_http_gzip_static_module that can serve precompressed files from the same directory,

Re: new feature in pkg_add(1)

2016-06-19 Thread frantisek holop
does this deprecate -z ? -f -- there's no second chance for a good first impression.

Re: find errors in "make tags"

2016-05-29 Thread frantisek holop
frantisek holop, 29 May 2016 16:24: > btw. making tags for /usr/src fails for me atm: > ... > ===> gnu/usr.bin/cc/cc_int > make: don't know how to make genrtl.c (prerequisite of: tags) > Stop in gnu/usr.bin/cc/cc_int > *** Error 2 in gnu/usr.bin/cc (:48 'tags') > *** Err

find errors in "make tags"

2016-05-29 Thread frantisek holop
$ cd /usr/src/sys $ make tags cd /usr/src/sys/kern; make tags ... find: /usr/src/sys/arch/armish/../../lib/libkern/arch/armish: No such file or directory ... find: /usr/src/sys/arch/armv7/../../lib/libkern/arch/armv7: No such file or directory ... find:

Re: inteldrm diff that requires testing

2016-04-28 Thread frantisek holop
Mark Kettenis, 15 Apr 2016 17:01: > The diff below makes the HDMI output on Intel Bay Trail machines work. > Very useful for machines like the Lenovo Ideacentre Stick 300. But > this needs to be tested on other hardware as well. Especially on > machines with external displays. i confirm this

Re: Microsoft Now OpenBSD Foundation Gold Contributor

2015-07-11 Thread frantisek holop
Theo de Raadt, 11 Jul 2015 11:43: it flatters me somewhat that you read so much into my simple astonishment about a news item that does in most geek circles provoke the response no way, hell froze over. I quote from your original mail: this is very impressive news, although for

Re: Microsoft Now OpenBSD Foundation Gold Contributor

2015-07-11 Thread frantisek holop
Theo de Raadt, 09 Jul 2015 21:08: As a group (with me and others as the proxy) we do ask for companies to help fund us from time to time, and this benefits everyone as a result of the common advancements. As for output, there is no discrimination as to their cause, because that is not our

Re: Microsoft Now OpenBSD Foundation Gold Contributor

2015-07-09 Thread frantisek holop
Kenneth R Westerback, 08 Jul 2015 10:13: The OpenBSD Foundation is happy to announce that Microsoft has made a significant financial donation to the Foundation. This donation is in recognition of the role of the Foundation in supporting the OpenSSH project. This donation makes Microsoft the

Re: umass quirk for ignoring residue?

2015-07-03 Thread frantisek holop
Martin Pieuchot, 22 Jun 2015 15:17: but this did not seem to help. while the quirk was committed, my enclosure is still not working. here is the output with SCSIDEBUG: umass0 at uhub0 port 1 configuration 1 interface 0 Super Top USB 2.0 IDE DEVICE rev 2.00/2.01 addr 6 umass0: using SCSI

fix build with SCSIDEBUG

2015-07-01 Thread frantisek holop
i needed something like this to build a kernel with -DSCSIDEBUG -f -- the next sentence is true. the last sentence was false. Index: uha.c === RCS file: /cvs/src/sys/dev/ic/uha.c,v retrieving revision 1.24 diff -u -p -r1.24 uha.c

Re: fix build with SCSIDEBUG

2015-07-01 Thread frantisek holop
spoke to soon, other anciet drivers need something like that. -f -- experience is nothing but a lot of mistakes. Index: dev/eisa/aha1742.c === RCS file: /cvs/src/sys/dev/eisa/aha1742.c,v retrieving revision 1.44 diff -u -p -r1.44

Re: fix build with SCSIDEBUG

2015-07-01 Thread frantisek holop
Miod Vallat, 01 Jul 2015 21:35: spoke to soon, other anciet drivers need something like that. Physical address should be printed with %p rather than 0x%x. explicit cast ok? -f -- why did kamikaze pilots wear helmets anyway? Index: dev/eisa/aha1742.c

build with DRMDEBUG

2015-05-30 Thread frantisek holop
this might have been a typo and i can build a kernel with DRMDEBUG now (failed in radeon_benchmark.c). -f -- i got real close to seeing elvis but my shovel broke. Index: drmP.h === RCS file: /cvs/src/sys/dev/pci/drm/drmP.h,v

Re: Do you need/prefer the non-DUID option in the installer?

2015-04-13 Thread frantisek holop
Joel Sing, 12 Apr 2015 03:14: On Wednesday 01 April 2015, frantisek holop wrote: Theo de Raadt, 30 Mar 2015 18:09: IIRC 'bioctl -d' cannot deal with DUID's. not a showstopper, just sayin' Sounds like you might use this. Want to trial a diff that adds support? If it is wrong

Re: Do you need/prefer the non-DUID option in the installer?

2015-03-31 Thread frantisek holop
Theo de Raadt, 30 Mar 2015 18:09: IIRC 'bioctl -d' cannot deal with DUID's. not a showstopper, just sayin' Sounds like you might use this. Want to trial a diff that adds support? If it is wrong, don't worry, someone will hate your bad diff, and do it right. (That is pretty much the

Re: Do you need/prefer the non-DUID option in the installer?

2015-03-30 Thread frantisek holop
Theo de Raadt, 15 Mar 2015 12:15: Yes I do. when I install machines that I dump/restore clone, I do not use DUID's. it's very nice to make a system without DUID's in that case. I'm sorry, but I don't understand the usage case here which blocks DUIDS, so let's see a better explanation or

qsort.3 big O notation

2015-03-03 Thread frantisek holop
i was looking at the qsort(3) man page, and saw O N lg N, etc. first i thought, maybe there should be some fancy utf8 math parentheses around, but looking at the source, no, it's plain ascii. a quick search in other man pages reveals an arguably more readable style:

Re: qsort.3 big O notation

2015-03-03 Thread frantisek holop
Ted Unangst, 03 Mar 2015 11:13: frantisek holop wrote: i was looking at the qsort(3) man page, and saw O N lg N, etc. first i thought, maybe there should be some fancy utf8 math parentheses around, but looking at the source, no, it's plain ascii. a quick search in other man

Re: qsort.3 big O notation

2015-03-03 Thread frantisek holop
Joerg Sonnenberger, 03 Mar 2015 17:28: On Tue, Mar 03, 2015 at 05:02:39PM +0100, frantisek holop wrote: i leave the battle about lg vs log to others, but i prefer 'log' as there is a man page for that and there is none for 'lg'... If anything, it should be log because that is the name

Re: qsort.3 big O notation

2015-03-03 Thread frantisek holop
Liviu Daia, 03 Mar 2015 19:26: 'lg' is also a valid name (altough i admit i didn't know, i was used to log2) https://en.wikipedia.org/wiki/Logarithm#Particular_bases as Tedu pointed out lg = log2 and lg != log Actually, that isn't what Tedu said, and it isn't the generally

bsd.port.mk.5 typo

2015-02-24 Thread frantisek holop
don't dis the distfiles -f -- philosophy: unintelligible answers to insoluble problems. Index: ./share/man/man5/bsd.port.mk.5 === RCS file: /cvs/src/share/man/man5/bsd.port.mk.5,v retrieving revision 1.412 diff -u -p -r1.412

add usbdevs vendor

2014-12-29 Thread frantisek holop
noname/rebranded usb composite device (kbd+mouse): Controller /dev/usb1: addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel(0x8086), rev 1.00 port 2 addr 3: full speed, power 100 mA, config 1, 2.4G Receiver(0x5a66), vendor 0x1d57(0x1d57), rev 1.10 Index: usbdevs

page fault at resume, possibly caused by java/jenkins

2014-12-11 Thread frantisek holop
i think this page fault is triggered by jenkins during resume. login: kernel: page fault trap, code=0 Stopped at in_selectsrc+0xd8: movl 0xf0(%esi),%ebx ddb{0} trace in_selectsrc(f617cdc8,d80b6714,d35d9270,d8cfac44,d8cfac34) at in_selectsrc+0xd8

Re: page fault at resume, possibly caused by java/jenkins

2014-12-11 Thread frantisek holop
Martin Pieuchot, 11 Dec 2014 11:59: On 11/12/14(Thu) 11:31, frantisek holop wrote: i think this page fault is triggered by jenkins during resume. login: kernel: page fault trap, code=0 Stopped at in_selectsrc+0xd8: movl 0xf0(%esi),%ebx ddb{0} trace in_selectsrc(f617cdc8

string.h __POSIX_VISIBLE

2014-07-27 Thread frantisek holop
is there a reason why this check should be done twice? /usr/include/string.h:117: #if __POSIX_VISIBLE = 200809 char*stpcpy(char *__restrict, const char *__restrict); char*stpncpy(char *__restrict, const char *__restrict, size_t); char*strndup(const char *, size_t); size_t

Re: network autoconfig

2014-07-13 Thread frantisek holop
hmm, on Sun, Jul 13, 2014 at 05:37:51PM +0200, Denis Fondras said that from the user's PoV, there shouldn't be more needed than ifconfig if inet autoconf ifconfig if inet6 autoconf aka inet/inet6 autoconf in hostname.if. I'm curious to see what will come out of it as I cannot

Re: network autoconfig

2014-07-13 Thread frantisek holop
hmm, on Sun, Jul 13, 2014 at 02:21:06PM -0400, Brad Smith said that On 13/07/14 2:16 PM, frantisek holop wrote: hmm, on Sun, Jul 13, 2014 at 05:37:51PM +0200, Denis Fondras said that from the user's PoV, there shouldn't be more needed than ifconfig if inet autoconf ifconfig if inet6

quick typo in /sys/sys/disklabel.h

2013-11-03 Thread frantisek holop
--- disklabel.h.origSat Nov 2 18:48:46 2013 +++ disklabel.h Sat Nov 2 18:49:51 2013 @@ -43,7 +43,7 @@ * disk geometry, filesystem partitions, and drive specific information. * The location of the label, as well as the number of partitions the * label can describe and the number of the

Re: d-link usb wifi device ids

2013-09-29 Thread frantisek holop
hmm, on Sun, Sep 29, 2013 at 03:59:32PM +1000, Jonathan Gray said that for what it's worth here is a small patch for usbdevs: You obviously didn't try compiling this, it will break all of the references to MELCO devices in the kernel. guilty as charged. (also a good thing this time, as the

d-link usb wifi device ids

2013-09-28 Thread frantisek holop
hi there, after inserting this D-LINK DWA-125 rev A3 usb wifi, i get: ugen1 at uhub0 port 6 Ralink 11n Adapter rev 2.00/1.01 addr 5 which is kind of true, as it is supposed to be powered by Ralink RT5370. but according to /sys/dev/usb/usbdevs, 0x2001 is DLINK and 0x3c19 is not even in there.

Re: d-link usb wifi device ids

2013-09-28 Thread frantisek holop
hmm, on Sat, Sep 28, 2013 at 12:25:27PM +0100, Stuart Henderson said that On 2013/09/28 11:34, frantisek holop wrote: hi there, after inserting this D-LINK DWA-125 rev A3 usb wifi, i get: ugen1 at uhub0 port 6 Ralink 11n Adapter rev 2.00/1.01 addr 5 which is kind of true

Re: ntpd jump ahead

2013-09-19 Thread frantisek holop
hmm, on Fri, Sep 06, 2013 at 07:42:39AM -0400, Nick Holland said that On 09/06/13 04:50, Stuart Henderson wrote: On 2013/09/05 20:03, Barry Grumbine wrote: Non-VM use case: The BeagleBone Black has no RTC, so -j could be useful for cheap little ARM development boards. -s is fine for

Re: tmux and login shells

2012-06-22 Thread frantisek holop
hmm, on Thu, Jun 21, 2012 at 08:11:19PM +0100, Stuart Henderson said that On 2012/06/21 15:52, Daniel Bolgheroni wrote: On Thu, Jun 21, 2012 at 04:21:30PM +0100, Nicholas Marriott wrote: I'm afraid tmux defaults are never going to please everyone. Some even had the gall to hate on the

Re: pkg_add interactive prompts

2011-05-17 Thread frantisek holop
hmm, on Tue, May 17, 2011 at 11:38:09PM +0200, Matthias Kilian said that On Tue, May 17, 2011 at 11:00:01PM +0200, frantisek holop wrote: (my rationale for removing the option 0: None is that i have asked for the package, so why would i choose None? i can always ctrl-c out if i have changed

Re: dhclient-script and resolv.conf

2010-12-26 Thread frantisek holop
hmm, on Wed, Dec 15, 2010 at 04:08:23PM +0100, Claudio Jeker said that This made me go nuts for a long time. As soon as you have two interfaces running dhclient those two will start fighting over /etc/resolv.conf which is realy bad when short lease times are used and one interface is not

Re: Automatic package mirror discovery implementation for pkg_add(1) tool

2010-02-21 Thread frantisek holop
hmm, on Thu, Feb 11, 2010 at 12:35:05AM +0300, Igor Zinovik said that Maybe it is not polite to answer to this old thread, but I've integrated (somehow) AutoMirrorDiscovery functionality into pkg_add tool, just to prove myself that i can do that without crashing pkg_add functionality. It is

Re: nvidia mcp77 ahci mode patch

2009-10-17 Thread frantisek holop
hmm, on Sat, Oct 17, 2009 at 02:58:59AM +0200, Jonathan Gray said that To clarify, when you have the machine in AHCI mode it attaches as ahci but port resets prevent devices attached to the controller being found? yes, that is correct. after applying the AHCI_6 patch the drives attach. the

Re: nvidia mcp77 ahci mode patch

2009-10-16 Thread frantisek holop
so the controller attaches to pciide and not ahci. in an ideal world, probably only the ahci patch would be needed. but i also want to be able to use the disk in ide mode hence the pciide patch. i can send the pcidump output on monday.. On Fri, Oct 16, 2009 at 06:34:58AM +0200, frantisek holop

NVIDIA pci id's patch

2009-10-15 Thread frantisek holop
hi there, the following patch adds the GeForce 9600M GT, sorts the id's by id numbers, and adds a missing underscore. also, according to pcidatabase.com, 0x084b is not an exotic version of GEFORCE_9300_GE_2 but GeForce 8200 so make 9300_GE uniq again. Index: pcidevs

nvidia mcp77 ide mode patch

2009-10-15 Thread frantisek holop
hi there the following patch allows the MCP77 to use DMA mode when in ide compatibility mode: Index: pciide.c === RCS file: /cvs/src/sys/dev/pci/pciide.c,v retrieving revision 1.302 diff -u -r1.302 pciide.c --- pciide.c13 Oct

nvidia mcp77 ahci mode patch

2009-10-15 Thread frantisek holop
hi there, the following addition makes ahci work on my MCP77. if this piece is present together with the ide compatibility patch, and the disk is not in ahci mode, ahci must be disabled in ukc to force the chipset into compatibility mode. i experimented with both modes because the other systems

acpi question

2009-09-04 Thread frantisek holop
hi there, poking around in my bios i have found the following setting: Power Now!(tm) Technology [Enabled] the help message says: Enable/disable the generation of ACPI _PPC, _PSS, and _PCT objects. if anybody knowledgable reads this, what does this mean and how would flipping this affect

Re: 4.6-beta acpicpu0 panic

2009-07-31 Thread frantisek holop
hmm, on Fri, Jul 31, 2009 at 08:36:12AM -0500, Marco Peereboom said that Well that sort of tells me that ahci hasn't caught up with all latest chips. I will look at that acpicpu thing though. the disk is in legacy ide mode (thru bios) because it's dual booted. when i tried throwing the switch

Re: 4.6-beta acpicpu0 panic

2009-07-30 Thread frantisek holop
hmm, on Wed, Jul 29, 2009 at 08:50:14PM -0500, Marco Peereboom said that did you try disabling acpicpu only? i have tried this and here is the dmesg: (it is also accessible under obiit.org/f/dmesg.bsd.sp.acpi) OpenBSD 4.6-current (GENERIC) #85: Mon Jul 27 19:10:16 MDT 2009

Re: 4.6-beta acpicpu0 panic

2009-07-30 Thread frantisek holop
hmm, on Thu, Jul 30, 2009 at 11:05:14AM -0500, Marco Peereboom said that But is that an interrupt issue or does the disk simply suck? the interrupt issues i reported about this machine are gone (atm). interrupts in top showed normal level as far as i can tell. this disk is of course the highest

4.6-beta installer disklabeling bug(?)

2009-07-02 Thread frantisek holop
hi there, i gave 4.6-beta a shot tonight and this is the first mail to report some findings. this is the fdisk output on the notebook. please note that there are 3 NTFS partitions and an openbsd one. Disk: wd0 geometry: 38913/255/63 [625142448 Sectors] Offset: 0 Signature: 0xAA55