Re: azalia(4) diff needs testing.

2009-06-22 Thread Alexey Suslikov
Jacob Meuser wrote: > On Mon, Feb 09, 2009 at 12:40:31AM +, Owain Ainsworth wrote: > > On Sun, Feb 08, 2009 at 05:11:16PM -0500, Brad wrote: > > > Please test the following diff with any azalia(4) adapter, but especially > > > with any ATI or NVIDIA chipsets. Make sure sound still works proper

i386 RAMDISK shrinkage suggestion

2009-10-28 Thread Alexey Suslikov
Hello t...@. I do believe i386/amd64 RAMDISKs are destined to more or less mainstream hardware and ISA CGA, MDA, EGA, HGA stuff isn't there anymore. So on i386 RAMDISK (like amd64 one), I suggest to remove pcdisplay0 at isa? wsdisplay* at pcdisplay? sys/arch/i386/conf/RAMDISK: pckbc0

Re: i386 RAMDISK shrinkage suggestion

2009-10-28 Thread Alexey Suslikov
On Thu, Oct 29, 2009 at 01:08, Theo de Raadt wrote: > I am going to revisit this. > >> I do believe i386/amd64 RAMDISKs are destined to more or >> less mainstream hardware and ISA CGA, MDA, EGA, HGA >> stuff isn't there anymore. >> >> So on i386 RAMDISK (like amd64 one), I suggest to remove >> >>

Re: i386 RAMDISK shrinkage suggestion

2009-10-29 Thread Alexey Suslikov
On Thu, Oct 29, 2009 at 09:01, Theo de Raadt wrote: >> On Thu, Oct 29, 2009 at 01:08, Theo de Raadt wrote: >> > I am going to revisit this. >> > >> >> I do believe i386/amd64 RAMDISKs are destined to more or >> >> less mainstream hardware and ISA CGA, MDA, EGA, HGA >> >> stuff isn't there anymore

Re: i386 RAMDISK shrinkage suggestion

2009-10-29 Thread Alexey Suslikov
On Thu, Oct 29, 2009 at 09:58, Theo de Raadt wrote: >> i386 arch supports hardware starting from 80486. I recall >> these old good days and all my machines (386SX and up) >> was v...@isa (Trident and Currus Logic). 10+ years ago. >> >> I understand dmesgs are somewhat private, but can you >> show

Re: Make em(4) more mpsafe again

2016-01-14 Thread Alexey Suslikov
Juuso Lapinlampi partyvan.eu> writes: > > - * These parameters control when the driver calls the routine to reclaim > > - * transmit descriptors. > > + * Thise parameter controls the minimum number of available transmit > > + * descriptors needed before we attempt transmission of a packet. > >

Optimize pledge-related notes in 59.html

2016-02-17 Thread Alexey Suslikov
Hi tech@. pledge itself is a security feature, so maybe it is better to put pledge under "Security improvements", like "More than 200 daemons and programs was pledged, among them: dhclient, dhcpd, fdisk" etc I found myself happy to understand what a) pledge is a security feature, b) how deep ple

Re: Optimize pledge-related notes in 59.html

2016-02-18 Thread Alexey Suslikov
Theo de Raadt openbsd.org> writes: > so thanks for your suggestion. have you ever noticed how suggestions > are taken less seriously when they are not formatted as a diff? --- 59.html.origThu Feb 18 11:45:24 2016 +++ 59.html Thu Feb 18 12:03:29 2016 @@ -100,21 +100,21 @@ http:/

pool related crashes, but "kernel did no panic"

2016-04-27 Thread Alexey Suslikov
Hi tech@. (Maybe related to http://marc.info/?l=openbsd-bugs&m=146174654219490&w=2). Crashing server acts as a carp backup (master has same hardware config but don't crash, in contrast to backup). Will post additional information if necessary. There's a collection of crashes (including pre 5.9)

Re: pool related crashes, but "kernel did no panic"

2016-04-27 Thread Alexey Suslikov
Olivier Cherrier symacx.com> writes: > ddb{2}> show register > rdi 0x1 > rsi0x292 > rbp 0x800022519b50 > rbx 0x817195a0systqmp+0x1860 Maybe not related, but I have had the following during one of

Re: pool related crashes, but "kernel did no panic"

2016-04-27 Thread Alexey Suslikov
Another one from my collection. Apr 16: ddb{0}> show panic the kernel did not panic ddb{0}> trace pool_do_get() at pool_do_get+0x90 pool_get() at pool_get+0xb5 m_get() at m_get+0x28 sbappendaddr() at sbappendaddr+0x9a uipc_usrreq() at uipc_usrreq+0x3b8 sosend() at sosend+0x3d8 dosendsyslog() at

Re: pool related crashes, but "kernel did no panic"

2016-04-27 Thread Alexey Suslikov
Stuart Henderson spacehopper.org> writes: > There should be some lines printed before you get dumped into DDB > (probably a uvm_fault), the information in them is important. I either have a screenshot, or ddb. Not both at the same time. Here is one of screenshots from 5.9 transcribed: uvm_faul

Re: pool related crashes, but "kernel did no panic"

2016-04-27 Thread Alexey Suslikov
Theo de Raadt cvs.openbsd.org> writes: > > Most of these bug reports completely stink. > > ALWAYS include *ALL* information in a report. In an idealistic world, yes. Above are not parts of the "chain", but different statements of the same bug. To have both blue screen and ddb, I need to keep

Re: pool related crashes, but "kernel did no panic"

2016-05-12 Thread Alexey Suslikov
On Wed, Apr 27, 2016 at 7:22 PM, Theo de Raadt wrote: >> On 27/04/16(Wed) 15:45, Alexey Suslikov wrote: >> > Theo de Raadt cvs.openbsd.org> writes: >> > >> > > >> > > Most of these bug reports completely stink. >> > > >&

Re: pool related crashes, but "kernel did no panic"

2016-05-12 Thread Alexey Suslikov
On Fri, May 13, 2016 at 3:59 AM, David Gwynne wrote: > >> On 12 May 2016, at 20:28, Alexey Suslikov wrote: >> >> On Wed, Apr 27, 2016 at 7:22 PM, Theo de Raadt >> wrote: >>>> On 27/04/16(Wed) 15:45, Alexey Suslikov wrote: >>>>> Theo de Ra

Re: pool related crashes, but "kernel did no panic"

2016-05-30 Thread Alexey Suslikov
On Thu, May 12, 2016 at 4:14 PM, Bob Beck wrote: > Thank you!now that's a bug report.. Hi. Moved to 6.0-beta some time ago to make crash dumps more up to date. Also, removed some services to minimize their impact. Fresh build against today's cvs don't survived even half of the day. http://

Re: pool related crashes, but "kernel did no panic"

2016-05-31 Thread Alexey Suslikov
On Mon, May 30, 2016 at 9:02 PM, Ted Unangst wrote: > Alexey Suslikov wrote: >> On Thu, May 12, 2016 at 4:14 PM, Bob Beck wrote: >> > Thank you!now that's a bug report.. >> >> Hi. >> >> Moved to 6.0-beta some time ago to make crash dumps mor

Re: pool related crashes, but "kernel did no panic"

2016-06-09 Thread Alexey Suslikov
On Tue, May 31, 2016 at 7:16 PM, Theo de Raadt wrote: >> is exactly 80 characters long (such a long printf violates "80 chars" >> rule, isn't it?). > > there is no hard and fast rule for that at all; printing extra newlines > has other downsides such as the screen scrolling sooner. Hi. I finally

Re: Brainy: User-Triggerable Kernel Memory Leak in execve()

2015-07-21 Thread Alexey Suslikov
Ville Valkonen gmail.com> writes: > On Jul 21, 2015 9:32 AM, "Maxime Villard" m00nbsd.net> wrote: > > It is not the last bug Brainy has found, but it is the last one I > > report. I don't have time for that. > > > > Maxime > > Why such a dramatic tone? Because that famous "thank you small peop

Re: Brainy: User-Triggerable Kernel Memory Leak in execve()

2015-07-21 Thread Alexey Suslikov
sam cmpct.info> writes: > How about you release the Brainy Code Scanner then? > > "I have so many bugs; in fact, there are so many, I don't even have the > time to report them! My scanner is so good!" > > Or perhaps you should report 'just' the relatively important ones? Made my day. Searchin

Re: Update to /etc/services

2015-07-26 Thread Alexey Suslikov
Denis Fondras ledeuns.net> writes: > krb524 /tcp# Kerberos 5->4 I would tweak krb524 comment to be # Kerberos 5 to 4 because this is how krb524 reads.

Re: audio: recover after missed interrupts

2015-07-28 Thread Alexey Suslikov
Alexandre Ratchov caoua.org> writes: > DPRINTFN(1, "%s: rec ptr wrapped, moving %d blocs\n", > DPRINTFN(1, "%s: play ptr wrapped, moving %d blocs\n", "blocs" in above DPRINTFNs should be "blocks", I think.

Re: Warning on assembly of RdRand instructions

2015-08-04 Thread Alexey Suslikov
Michael McConville sccs.swarthmore.edu> writes: > https://www.hyperelliptic.org/tanja/vortraege/random.pdf made my day: “The way RDRAND is being used in kernels <= 3.12.3 allows it to cancel out the other entropy. See extract buf().” “if I make RDRAND return [EDX] ^ 0x41414141, /dev/urand

Re: Brainy: User-Triggerable Kernel Memory Leak in execve()

2015-08-07 Thread Alexey Suslikov
Christian Schulte schulte.it> writes: > > Now, I believe that this effort is too much for my spare time. > > Then why not release that scanner? That effort could be shared. What's > so secret about it? You have been asked several times already. Start sharing right now. Brainy OpenBSD page cont

Re: Brainy: User-Triggerable Kernel Memory Leak in execve()

2015-08-08 Thread Alexey Suslikov
On Sat, Aug 8, 2015 at 2:21 PM, Christian Schulte wrote: > Am 08/07/15 um 23:46 schrieb Alexey Suslikov: >> >> Christian Schulte schulte.it> writes: >> >>>> Now, I believe that this effort is too much for my spare time. >>> >>> >>>

sys/arch/{hppa,hppa64}/dev/apic.c cosmetics, Was:Re: Brainy: User-Triggerable Kernel Memory Leak in execve()

2015-08-09 Thread Alexey Suslikov
Christian Schulte schulte.it> writes: > _14/ UNINITIALIZED VARIABLE: sys/arch/hppa64/dev/apic.c rev1.8 > At l.176, 'cnt' is not initialized. I came up with the following. --- sys/arch/hppa/dev/apic.c.orig Sun Aug 9 14:16:56 2015 +++ sys/arch/hppa/dev/apic.cSun Aug 9 14:30:47 2

Re: Brainy: User-Triggerable Kernel Memory Leak in execve()

2015-08-09 Thread Alexey Suslikov
Theo de Raadt cvs.openbsd.org> writes: > I would like to point out the noise is coming from *users* -- not from > actual developers in the project. http://www.imdb.com/title/tt1278449/ you'll get the idea.

Re: [Patch] pf refactoring

2015-08-17 Thread Alexey Suslikov
Martin Pieuchot openbsd.org> writes: > On 17/08/15(Mon) 17:39, Richard Procter wrote: > > Hi, > > > > This series of 29 small diffs slims pf.o by 2640 bytes and pf.c by > > 113 non-comment lines. > > We generally discuss one diff per mail. It makes it easier for people > to comment and as you

size: cannot read a.out: No such file or directory

2015-08-24 Thread Alexey Suslikov
Hi tech@. size(1) DESCRIPTION says: "... If no file is specified size attempts to report on the file a.out". And, indeed, it warns: $ size size: cannot read a.out: No such file or directory Above message looks misleading in a.out-less world. Cheers, Alexey

Wrong man links on 58.html

2015-08-24 Thread Alexey Suslikov
In wscons(4) works with even more odd trackpads. Added pvbus(4) paravirtual device tree root on virtual machines that are running on hypervisors. http://www.openbsd.org/cgi-bin/man.cgi?query=wscons(4)&sec=4 http://www.openbsd.org/cgi-bin/man.cgi?query=pvbus(4)&sec=4 are wrong. Should be http://

Re: Avoid grabbing the kernel lock in pool backend allocator

2015-09-05 Thread Alexey Suslikov
Mark Kettenis xs4all.nl> writes: > RCS file: /cvs/src/sys/kern/subr_pool.c,v > kd.kd_waitok = ISSET(flags, PR_WAITOK); > + /* > + * XXX Until we can call msleep(9) without holding the kernel > + * lock. > + */ > + if (ISSET(flags, PR_WAITOK)) It there a reason

Re: Dropping needless globals (ksh)

2015-09-10 Thread Alexey Suslikov
Michael McConville sccs.swarthmore.edu> writes: > RCS file: /cvs/src/bin/ksh/c_ksh.c,v > - shprintf(newline); > + shprintf("\n"); In terms of portability, are you sure newline is \n on all platforms?

ifdef DIAGNOSTIC in azalia.c

2015-09-25 Thread Alexey Suslikov
Hi tech@. If there is a need to debug something in azalia.c, defining DIAGNOSTIC is overkill so replace two instances of DIAGNOSTIC with AZALIA_DEBUG (DPRINTF->printf suggested by ratchov@). Also, entirely remove 3rd instance of DIAGNOSTIC. Normally it is not compiled and, ratchov@ thinks, relate

Re: Unlocking ix(4) a bit further

2015-09-30 Thread Alexey Suslikov
Mark Kettenis xs4all.nl> writes: > + * Thise parameter controls the minimum number of available transmit "Thise" should be "This" here.

Re: ifdef DIAGNOSTIC in azalia.c

2015-10-05 Thread Alexey Suslikov
Alexey Suslikov gmail.com> writes: > If there is a need to debug something in azalia.c, defining DIAGNOSTIC > is overkill so replace two instances of DIAGNOSTIC with AZALIA_DEBUG > (DPRINTF->printf suggested by ratchov ). > > Also, entirely remove 3rd instance of DIAGNOSTI

Re: ifdef DIAGNOSTIC in azalia.c

2015-10-13 Thread Alexey Suslikov
Alexey Suslikov gmail.com> writes: > > Alexey Suslikov gmail.com> writes: > > > If there is a need to debug something in azalia.c, defining DIAGNOSTIC > > is overkill so replace two instances of DIAGNOSTIC with AZALIA_DEBUG > > (DPRINTF->printf suggested by

Re: mpsafe gem(4)

2015-10-22 Thread Alexey Suslikov
Martin Pieuchot openbsd.org> writes: > + /* > + * If we have enough room, clear IFF_OACTIVE to tell the stack > + * that it iss OK to send packets. > + */ there's a typo here. "that it iss" should be "that it is".

Re: Patch 2/3 - make DIOCRDELADDRS to accept on IP address per ioctl() call

2015-10-28 Thread Alexey Suslikov
Alexandr Nedvedicky oracle.com> writes: > Index: sbin/pfctl/pfctl_radix.c > + io.pfrio_size = 1; in 1/3 you have annotated like this + io.pfrio_size = 1; /* TODO: check .pfrio_size is needed */ you either don't need similar comment here, or...? > Index: sbin/pfctl/pfctl_radix.c

Re: pledge telnet

2015-11-13 Thread Alexey Suslikov
Stuart Henderson wrote: > On 2015/11/13 09:59, Theo de Raadt wrote: > > > > I really want to delete telnet entirely, > > > > > > I often use it for testing unencrypted SMTP and HTTP across the > > > Internet. Which tool would you recommend for that purpose? > > > > nc(1). > I use telnet fairly of

Re: pledge telnet

2015-11-13 Thread Alexey Suslikov
On Fri, Nov 13, 2015 at 8:40 PM, Theo de Raadt wrote: >> > On 2015/11/13 09:59, Theo de Raadt wrote: >> > > > > I really want to delete telnet entirely, >> > > > >> > > > I often use it for testing unencrypted SMTP and HTTP across the >> > > > Internet. Which tool would you recommend for that pur

Re: pledge telnet

2015-11-13 Thread Alexey Suslikov
On Fri, Nov 13, 2015 at 9:00 PM, Theo de Raadt wrote: >> It is similar to (optional) XMODEM/ZMODEM disciplines over serial, IMO. > > No, it is similar to over the INTERNET, because the INTERNET > is nothing at all like a serial line, the later generally being nicely > contained to a single room.

Re: run(4) firmware update; please test

2014-05-16 Thread Alexey Suslikov
Stefan Sperling openbsd.org> writes: > Are you able to try your run(4) device with FreeBSD-current (10 isn't > new enough)? They claim to support your device and use the updated firmware. Please take a look at my (unfinished) attempt to bring MediaTek/Ralink RT5370/RT5372 support to run(4). ht

Re: armv7: banana pi, Allwinner A20 board

2014-10-02 Thread Alexey Suslikov
SASANO Takayoshi mx5.nisiq.net> writes: > > Try this[1] kernel and have a look if it has the same issue or not. > > Kernel did not started... U-Boot says checksum is ok, so maybe > .umg file is not corrupted. When using OpenBSD 5.6 (RAMDISK-SUNXI) #3: Sun Aug 31 18:46:49 EDT 2014 could you dr

Re: LibreSSL: GOST ciphers implementation

2014-11-06 Thread Alexey Suslikov
Chris Cappuccio nmedia.net> writes: > So, you're saying, he's really dmitry svr.gov.ru, the source of Russian > backdoors into technology worldwide!!! > > I guess the open-source ecosystem has been thoroughly poisoned! > > Putin is going to take us over. OpenBSD and Linux are ruined! Fuck, I'

Re: LibreSSL: GOST ciphers implementation

2014-11-06 Thread Alexey Suslikov
Bob Beck openbsd.org> writes: > 1) It can't mess up the code base for everyone. > 2) Everyone should not need to eat the dog food 3) "I try to convince myself that our grant means a half of a cruise missile doesn't get built" (c)

amd64 intro(4) refs

2014-12-09 Thread Alexey Suslikov
Hello tech@. I noticed isapnp(4) and eisa(4) refs in amd64 intro(4) while amd64 kernel config doesn't do neither isapnp, nor eisa. Looks like a remnant after i386 intro(4). Cheers, Alexey

Re: amd64 intro(4) refs

2014-12-09 Thread Alexey Suslikov
Jason McIntyre kerhand.co.uk> writes: > On Tue, Dec 09, 2014 at 10:27:45PM +0200, Alexey Suslikov wrote: > > I noticed isapnp(4) and eisa(4) refs in amd64 intro(4) while amd64 kernel > > config doesn't do neither isapnp, nor eisa. > > those pages are not MD,

Re: Binary code patching and paravirtualization

2014-12-11 Thread Alexey Suslikov
Stefan Fritsch sfritsch.de> writes: > --- a/sys/arch/amd64/include/specialreg.h > +++ b/sys/arch/amd64/include/specialreg.h > -158,6 +158,7 > #define CPUIDECX_AVX0x1000 /* Advanced Vector Extensions */ > #define CPUIDECX_F16C 0x2000 /* 16bit fp conve

Re: Binary code patching and paravirtualization

2014-12-16 Thread Alexey Suslikov
> CVSROOT: /cvs > Module name: src > Changes by: s...@cvs.openbsd.org 2014/12/16 14:02:58 > Modified files: > sys/arch/amd64/amd64: identcpu.c > sys/arch/amd64/include: specialreg.h > > Log message: > Define and print HV cpuid flag. > This is set by many hypervisors, including kvm, vmware, hyper-v.

PATCH: azalia(4) invalid index crash

2014-12-25 Thread Alexey Suslikov
Hi tech@. See http://marc.info/?l=openbsd-bugs&m=141867088702648&w=2 Reported by t...@openmailbox.org, John M. Molloy and confirmed this diff to fix an issue. --- azalia.c.orig Mon Dec 15 23:23:14 2014 +++ azalia.cWed Dec 17 13:42:41 2014 @@ -2348,14 +2348,23 @@

PATCH: more of airport

2014-12-25 Thread Alexey Suslikov
Hi tech@. Fixing existing names, plus some new. --- airport.origWed Dec 17 14:16:04 2014 +++ airport Wed Dec 17 14:25:51 2014 @@ -328,6 +328,7 @@ CJB:Peelamedu, Coimbatore, India CJS:International Abraham Gonzalez, Ciudad Juarez, Chihuahua, Mexico CJU:Cheju, Cheju, South Korea +CKC

Re: Kernel does not compile with option LOCKDEBUG

2015-01-11 Thread Alexey Suslikov
Philip Guenther gmail.com> writes: > It's dead, Jim, let's bury LOCKDEBUG. There is an define AZALIA_LOG_MP and accompanying code in sys/dev/pci/azalia.c which looks like a debug left-over. azalia(4) is considered MP-safe for over a year from now.

Re: elantech-v4 clickpad support

2015-01-13 Thread Alexey Suslikov
Ulf Brosziewski t-online.de> writes: > I have written two patches that provide these options (I'm using them > on an Acer V5-131 netbook with OpenBSD 5.6/amd64, the clickpad hardware > and firmware is identified as "Elantech Clickpad, version 4, firmware > 0x461f02"). There is, however, an open q

Re: Brainy: User-Triggerable Kernel Memory Leak

2015-01-30 Thread Alexey Suslikov
Maxime Villard M00nBSD.net> writes: > 'lsa' being user-controllable, it is easy for a local (un)privileged > user to cause the kernel to run out of memory and become unresponsive. > OpenBSD 5.6/i386 is affected, and perhaps previous releases. compat_linux(8) says: The Linux compatibility featur

Re: Questions about 802.11n support

2015-03-05 Thread Alexey Suslikov
T. Jameson Little gmail.com> writes: > Well, I'm much more capable of fixing existing drivers to make it work > well than building something from scratch, and I imagine the same is > true for many developers, because you work on whatever affects you. IMO, "fixing existing drivers" should take pop

Re: Questions about 802.11n support

2015-03-05 Thread Alexey Suslikov
On Thu, Mar 5, 2015 at 11:45 PM, Stefan Sperling wrote: > On Thu, Mar 05, 2015 at 09:22:51PM +0000, Alexey Suslikov wrote: >> T. Jameson Little gmail.com> writes: >> > Well, I'm much more capable of fixing existing drivers to make it work >> > well than bui

Re: Questions about 802.11n support

2015-03-05 Thread Alexey Suslikov
T. Jameson Little gmail.com> writes: > Since USB 2.0 has a maximum throughput of 480Mbit/s, anything higher > than 300Mbit/s is not particularly important, and many consumer devices > only support 150Mbit/s anyway. 72Mbit/s is completely fine for an > initial implementation. I slightly disagree

Re: ntpd:support adjusting initial time >= y2k36 on 32-bit time_t platforms

2015-03-23 Thread Alexey Suslikov
Brent Cook gmail.com> writes: > + T4 += (uint64_t)tv.tv_sec + JAN_1970 + 1.0e-6 * tv.tv_usec; > + return ((uint64_t)tv.tv_sec + JAN_1970 + 1.0e-6 * tv.tv_usec); Can gettime_from_timeval be used over the code instead of repeating same chunk? T4 += gettime_from_timev

Tcl/Tk entry in www/57.html

2015-03-31 Thread Alexey Suslikov
Hi tech@. "Tcl/Tk 8.5.16 and 8.6.2" line ("Some highlights" section) appears twice: ... Tcl/Tk 8.5.16 and 8.6.2 TeX Live 2013 Tcl/Tk 8.5.16 and 8.6.2 ...

Re: Use m_defrag in intel wireless drivers

2015-05-26 Thread Alexey Suslikov
Mark Kettenis xs4all.nl> writes: > Index: if_ipw.c > /* too many fragments, linearize */ > Index: if_iwi.c > /* too many fragments, linearize */ > Index: if_iwn.c > /* Too many DMA segments, linearize mbuf. */ > Index: if_wpi.c > /* Too m

Re: defer routing table updates on link state changes

2013-09-13 Thread Alexey Suslikov
Reyk Floeter wrote: > Yes, in theory if_index should be fixed and return a consistent number > between 1 and the number of interfaces. But this is obviously > difficult and I'm not sure if it's worth the effort. So the "hack" > that you're going to remove was a best effort. But putting another

2 x em(4) and 2 x bnx(4) trunk(4)s behave differently

2013-11-10 Thread Alexey Suslikov
Hi tech@. Two machines (A and B) running recent 5.4-stable plugged into same switch. A has: em0 at pci4 dev 0 function 0 "Intel 82573E" rev 0x03: msi, address 00:30:48:66:a0:ec em1 at pci5 dev 0 function 0 "Intel 82573L" rev 0x00: msi, address 00:30:48:66:a0:ed B has: bnx0 at pci2 dev 0 functi

Re: 2 x em(4) and 2 x bnx(4) trunk(4)s behave differently

2013-11-11 Thread Alexey Suslikov
On Mon, Nov 11, 2013 at 11:42 AM, Stuart Henderson wrote: > "master" on em0/em1/bnx0 is nothing to do with trunk, it is about the gigabit > ethernet clocking source. ok, but it is obvious: documentation is unclear (silent) about that. > > lacp hashing policy is the same as for loadbalance, see

Re: 2 x em(4) and 2 x bnx(4) trunk(4)s behave differently

2013-11-11 Thread Alexey Suslikov
$ cat /etc/hostname.trunk0 trunkproto lacp trunkport em0 trunkport em1 up -inet6 on switch itself, both trunks have no visible difference in configuration. > > > > 2013/11/11 Alexey Suslikov >> >> On Mon, Nov 11, 2013 at 11:42 AM, Stuart Henderson >> wrote:

Re: 2 x em(4) and 2 x bnx(4) trunk(4)s behave differently

2013-11-11 Thread Alexey Suslikov
On Mon, Nov 11, 2013 at 12:43 PM, Stuart Henderson wrote: > On 2013/11/11 12:15, Alexey Suslikov wrote: >> On Mon, Nov 11, 2013 at 11:42 AM, Stuart Henderson >> wrote: >> > "master" on em0/em1/bnx0 is nothing to do with trunk, it is about the >> >

Re: 2 x em(4) and 2 x bnx(4) trunk(4)s behave differently

2013-11-11 Thread Alexey Suslikov
On Mon, Nov 11, 2013 at 1:00 PM, Stuart Henderson wrote: >> On 2013/11/11 12:15, Alexey Suslikov wrote: >> > I see different inbound packet distribution on trunk on-top of em(4)s >> > and on trunk on top of bnx(4)s - >> > that's the real problem. >>

Unexpected match set prio behaviour

2013-11-13 Thread Alexey Suslikov
Hi tech@. This is on 5.4-stable. vlan is only used to see what resulting prio is. The ruleset: --- ext_if="em0" int_if="vlan2525" set skip on { lo enc0 em1 } block log all #match on { $int_if } inet proto icmp all icmp-type echoreq set prio 5 pass quick on { $ext_if, $int_if } --- The vlan: ---

Re: Unexpected match set prio behaviour

2013-11-18 Thread Alexey Suslikov
On Mon, Nov 18, 2013 at 3:03 AM, Alexander Bluhm wrote: > On Thu, Nov 14, 2013 at 12:03:21AM +0200, Alexey Suslikov wrote: >> This is on 5.4-stable. vlan is only used to see what resulting prio is. > >> #match on { $int_if } inet proto icmp all icmp-type echoreq set prio

pfsync(4) mangles prio in master/slave setup

2013-11-20 Thread Alexey Suslikov
Hi. This is on 5.4-stable. Trivial master/slave carp(4) setup. vlan(4) is to make picture clear wrt prio. Test 1 (without using match). pf.conf (BOX1 and BOX2). ext_if="vlan101" dmz_if="vlan10" pf_sync="vlan50" block log all pass quick on $pf_sync proto pfsync keep state (no-sync) set prio 7 pa

Re: pfsync(4) mangles prio in master/slave setup

2013-11-20 Thread Alexey Suslikov
eans they were "right" when state was created on master). I will be glad to provide more information/tests/etc - just say what is needed. > > On 20 November 2013 12:11, Alexey Suslikov wrote: >> Hi. >> >> This is on 5.4-stable. Trivial master/slave carp(4) setup. vla

Re: pfsync(4) mangles prio in master/slave setup

2013-11-20 Thread Alexey Suslikov
On Wed, Nov 20, 2013 at 1:38 PM, Alexey Suslikov wrote: > On Wed, Nov 20, 2013 at 1:32 PM, Mike Belopuhov wrote: >> could you please add more description to this report since >> it's very hard to follow and interpret your mail. > > basically, when setup switches t

Re: pfsync(4) mangles prio in master/slave setup

2013-11-20 Thread Alexey Suslikov
On Wed, Nov 20, 2013 at 2:15 PM, Florian Obser wrote: > On Wed, Nov 20, 2013 at 01:38:11PM +0200, Alexey Suslikov wrote: >> On Wed, Nov 20, 2013 at 1:32 PM, Mike Belopuhov wrote: >> > could you please add more description to this report since >> > it's very hard t

Randomization from the bootblocks

2014-01-02 Thread Alexey Suslikov
Theo de Raadt cvs.openbsd.org> writes: > This requires an upgrade of the bootblocks and at least > /etc/rc (which saves an entropy file for future use). Some > bootblocks will be able to use machine-dependent features > to improve the entropy even further (for instance using > random instruction

WIP: MediaTek/Ralink RT5370/RT5372

2014-01-06 Thread Alexey Suslikov
This is based on http://svnweb.freebsd.org/base?view=revision&revision=257955 For now, my DWA-140 rev B3 is able to * attach to run(4) and correctly identify MAC address; * load firmware on ifconfig up; * blink LED (so I think something is going thru a radio); * ifconfig down (LED stops blinking)

Re: vlan tagging surgery

2014-04-21 Thread Alexey Suslikov
Henning Brauer bsws.de> writes: > > #if NVLAN > 0 > > if (ifp->if_type == IFT_L2VLAN) > > return vlan_encap(ifp, m); > > #endif > > I don't think so, really. We're talking about 25 lines of code, in a > function that either prepends a regular ethernet header or a > vlan-ethernet

Re: vlan tagging surgery

2014-04-21 Thread Alexey Suslikov
Henning Brauer bsws.de> writes: > congratulations, that is close to unauditable. > > i put the vlan and the !vlan case next to each other ON PURPOSE. both > cases add an ethernet header, one with a few extra fields, one > without. Having that next to each other makes it f***ing obvious both > ca

Re: vlan tagging surgery

2014-04-21 Thread Alexey Suslikov
Henning Brauer bsws.de> writes: > I must admit I am getting tired of all these "good proposals/ideas". > don't you think we've gone thru this before? Look, I haven't called them good or bad. > what you propose would require a custom vlan_output function which > does nothing but setting the flag

Re: vlan tagging surgery

2014-04-21 Thread Alexey Suslikov
Henning Brauer bsws.de> writes: > > And lot of (possible) encapsulation subsystems in the middle: vlan, > > vlan-in-vlan, ipsec, you name it. > > VLAN IS NOT AN ENCAPSULATION. Well, vlan(4) says: vlan, svlan - IEEE 802.1Q/1AD encapsulation/decapsulation pseudo-device > > Given a number of sub

Re: alc(4) support for Atheros AR815x

2011-05-03 Thread Alexey Suslikov
Edd Barrett wrote: > On Mon, May 02, 2011 at 11:02:41AM +0100, Stuart Henderson wrote: > > On 2011/05/02 01:16, Edd Barrett wrote: > > > On Sun, May 01, 2011 at 08:10:56PM +0100, Stuart Henderson wrote: > > > > On 2011/05/01 18:35, Edd Barrett wrote: > > > > > I have acquired a netboot (packard be

iSCSI in recent Supermicro boards

2011-05-16 Thread Alexey Suslikov
Hello. Does anybody know about iSCSI BIOS settings in recent Supermicro boards? For example, manual for X8SIL family says: 1-7 iSCSI Support The X8SIL/X8SIL-F/X8SIL-V motherboard supports the iSCSI Internet Protocol. iSCSI is an IP networking standard used to link and manage data storage, and tr

Re: disable wbng

2011-05-19 Thread Alexey Suslikov
Theo de Raadt wrote: > >On 2010/09/23 15:13, Marco Pfatschbacher wrote: > >> On Wed, Sep 22, 2010 at 06:11:58PM +0200, Mike Belopuhov wrote: > >> > there's nothing special about this driver. as it does usual iic_exec's, > >> > i'm not sure what can be actually fixed there. so if nobody has any > >

Re: disable wbng

2011-05-19 Thread Alexey Suslikov
On Thu, May 19, 2011 at 21:26, Stuart Henderson wrote: > On 2011/05/19 20:13, Alexey Suslikov wrote: >> Theo de Raadt wrote: >> > >On 2010/09/23 15:13, Marco Pfatschbacher wrote: >> > >> On Wed, Sep 22, 2010 at 06:11:58PM +0200, Mike Belopuhov wrote: >>

Re: disable wbng

2011-05-26 Thread Alexey Suslikov
On Sat, May 21, 2011 at 22:42, Chris Cappuccio wrote: > Alexey Suslikov [alexey.susli...@gmail.com] wrote: >> I have to disable wbsio(4) on X8SIL-based Supermicro box since leaving it >> enabled leads to weird things: sudden overheating alarms while no >> overheating, >&

aucat(1) block sizes

2011-06-03 Thread Alexey Suslikov
Hello tech@. aucat(1) manual says: Streams created with the -t option export the server clock using MTC, allowing non-audio software or hardware to be synchronized to the audio stream. The following sample rates (-r) and block sizes (-z) are recommended for maximum accuracy: o 44100Hz,

Re: aucat(1) block sizes

2011-06-03 Thread Alexey Suslikov
On Fri, Jun 3, 2011 at 17:45, Alexandre Ratchov wrote: > On Fri, Jun 03, 2011 at 02:10:37PM +0300, Alexey Suslikov wrote: >> Hello tech@. >> >> aucat(1) manual says: >> >> Streams created with the -t option export the server clock using MTC, >> allowi

Re: support specifying scheme/method in apache server configs

2011-07-19 Thread Alexey Suslikov
Benny Lofgren wrote: > On 2011-07-19 08.29, David Gwynne wrote: > > noone has an opinion? > > I like it. I was about to run into exactly the same problem on a > similar setup in a few days myself, so it couldn't have come in > more handy. :-) > > > would anyone get upset if i committed this? > > I'

iscsi.conf(5)

2011-07-29 Thread Alexey Suslikov
Hello tech@. As per http://marc.info/?l=openbsd-cvs&m=128533168214747&w=2 "we wont do an iscsi.conf manpage until the syntax has settled down". Since it is unlikely for iscsi.conf(5) to hit 5.0 release, could someone provide examples (success stories with different targets) to allow mere mortals

Missing aoe(4) man page

2011-08-30 Thread Alexey Suslikov
Hello tech@. bioctl does support for AOE since revision 1.101, softraid does AOE config since revision 1.23. both are in 5.0. Moreover, http://www.openbsd.org/plus45.html mentions aoe(4), http://en.wikipedia.org/wiki/ATA_over_Ethernet mentions "native" support for AOE since OpenBSD 4.5-current.

Re: Threads related SIGSEGV in random.c (diff, v2)

2012-09-26 Thread Alexey Suslikov
Hi. Any news on that? On Friday, September 21, 2012, Alexey Suslikov wrote: > On Fri, Sep 21, 2012 at 10:36 AM, Alexey Suslikov > > wrote: > > On Wed, Sep 19, 2012 at 10:24 PM, Ted Unangst > > > > wrote: > >> On Wed, Sep 19, 2012 at 18:50, Alexey Suslikov

Re: Threads related SIGSEGV in random.c (diff, v2)

2012-09-26 Thread Alexey Suslikov
On Wed, Sep 26, 2012 at 9:51 PM, Ted Unangst wrote: > On Wed, Sep 26, 2012 at 11:18, Alexey Suslikov wrote: >> Hi. >> >> Any news on that? > > Can we do it without the local variables for speed part? I am not > interested in making this function faster. > R

Re: Threads related SIGSEGV in random.c (diff, v2)

2012-09-27 Thread Alexey Suslikov
On Thursday, September 27, 2012, Philip Guenther wrote: > On Thu, 27 Sep 2012, Alexey Suslikov wrote: > > Removing only local variables part reverts us to previous behavior (i.e. > > crashes). > > My guess is your program is calling srandom(), srandomdev(), initstate() &g

Threads related SIGSEGV in random.c (diff, v2)

2012-09-27 Thread Alexey Suslikov
On Thursday, September 27, 2012, Alexey Suslikov wrote: > On Thursday, September 27, 2012, Philip Guenther wrote: > >> On Thu, 27 Sep 2012, Alexey Suslikov wrote: >> > Removing only local variables part reverts us to previous behavior (i.e. >> > crashes). >> &g

[PATCH, TEST] Make functions in random.c thread safe

2012-09-28 Thread Alexey Suslikov
Hi. With input from tedu@, guenther@ and others, below are: 1) test case; 2) backtrace for test case; 3) locking diff; 4) dmesg (amd64 GENERIC.MP built from 2012-09-28 CVS). Diff introduces no changes to srandomdev(): correct me if I'm wrong, but no mutex can be used since sysctl can sleep. Rebu

Re: [PATCH, TEST] Make functions in random.c thread safe

2012-10-03 Thread Alexey Suslikov
Hi. Is there any progress/comments on this? On Fri, Sep 28, 2012 at 11:29 PM, Alexey Suslikov wrote: > Hi. > > With input from tedu@, guenther@ and others, below are: > 1) test case; > 2) backtrace for test case; > 3) locking diff; > 4) dmesg (amd64 GENERIC.MP buil

Re: [PATCH, TEST] Make functions in random.c thread safe

2012-10-10 Thread Alexey Suslikov
Hi. Me and Roman are curious about zero comments on this. We'll try to improve the diff if it is not ok. Just let us know. Anyone? :) On Wed, Oct 3, 2012 at 4:06 PM, Alexey Suslikov wrote: > Hi. > > Is there any progress/comments on this? > > On Fri, Sep 28, 2012 at 11:29

Re: MBA remove unneeded quirk

2012-12-04 Thread Alexey Suslikov
On Tue, Dec 4, 2012 at 2:38 PM, Alexandre Ratchov wrote: > On Sat, Dec 01, 2012 at 05:14:46PM +0800, Ray Lai wrote: >> I'm not sure why jakemsr's diff[1] has AZ_QRK_GPIO_UNMUTE_1, my MBA >> works fine without it. I've tested both left and right channels on both >> speakers and headphones. >> >> -R

Re: savecore on swap-less amd64 box

2012-12-17 Thread Alexey Suslikov
On Mon, Dec 17, 2012 at 2:44 PM, Mark Kettenis wrote: >> Date: Mon, 17 Dec 2012 14:14:40 +0200 >> From: Alexey Suslikov >> >> Hello tech@. >> >> On swap-less amd64 box using 20121213 amd64 snap, I have noticed a difference >> in how savecore behaves on S

Re: Threads related SIGSEGV in random.c (diff, v2)

2013-03-14 Thread Alexey Suslikov
On Thu, Mar 14, 2013 at 6:48 PM, Ted Unangst wrote: > On Thu, Mar 14, 2013 at 17:24, Antoine Jacoutot wrote: >> On Thu, Mar 14, 2013 at 11:41:52AM -0400, Ted Unangst wrote: >>> On Thu, Mar 14, 2013 at 14:30, Antoine Jacoutot wrote: >>> >>> > FYI I am seeing a somehow similar crash when using sysut

5.3 lyrics

2013-03-25 Thread Alexey Suslikov
hi tech@. despite of 5.3 lyrics being released recently, 53.html says opposite. is it normal? cheers, alexey

SSE4.2 CRC32 question

2013-03-27 Thread Alexey Suslikov
Hi tech@. Can OpenBSD use SSE4.2 CRC32 (found on Core i7) to speedup TCP/IP checksum calculations? Cheers, Alexey

  1   2   >