Re: hang in i386 pmap_tlb_shootwait

2018-05-09 Thread Mike Larkin
On Wed, May 09, 2018 at 06:21:54PM +0200, Hans-Joerg Hoexer wrote: > Hi, > > I think this fallout from using interrupt gates now. I did not properly > enable interrupts for dna, fpu and f00f_redirect: Thux npxintr() tries to > get the kernel lock with interrupts disabled. Meanwhile the IPI for

Re: hang in i386 pmap_tlb_shootwait

2018-05-09 Thread Alexander Bluhm
On Wed, May 09, 2018 at 06:21:54PM +0200, Hans-Joerg Hoexer wrote: > Hi, > > I think this fallout from using interrupt gates now. I did not properly > enable interrupts for dna, fpu and f00f_redirect: Thux npxintr() tries to > get the kernel lock with interrupts disabled. Meanwhile the IPI for

Re: hang in i386 pmap_tlb_shootwait

2018-05-09 Thread Hans-Joerg Hoexer
Hi, I think this fallout from using interrupt gates now. I did not properly enable interrupts for dna, fpu and f00f_redirect: Thux npxintr() tries to get the kernel lock with interrupts disabled. Meanwhile the IPI for tlb shootdown is pending for delivery. When the sender of the IPI is holding

Re: hang in i386 pmap_tlb_shootwait

2018-05-09 Thread Mike Larkin
On Wed, May 09, 2018 at 11:01:58AM +0200, Alexander Bluhm wrote: > Hi, > > While running my nightly regression tests, I compiled > /ports/misc/posixtestsuite. It was the first time that I was running > regress while having some other load on the machine. During > regress/lib/libc/ieeefp/except t

Re: snmpd ifSpeed reporting seems wrong for speeds over 4G (ex: 10G)

2018-05-09 Thread Stuart Henderson
Thanks - I'm inclined to leave that one, I'm not sure why (possibly because of the division rather than using the value directly) but that one feels better to me as-is. On 2018/05/09 13:45, BRAND Arnaud wrote: > I do agree with you. > I based my patch on the code on the ifHighSpeed case block at

Re: snmpd ifSpeed reporting seems wrong for speeds over 4G (ex: 10G)

2018-05-09 Thread BRAND Arnaud
I do agree with you. I based my patch on the code on the ifHighSpeed case block at line 1291 in the same file. You might want to make it more explicit too. -Message d'origine- De : Stuart Henderson Envoyé : mercredi 9 mai 2018 15:41 À : BRAND Arnaud Cc : bugs@openbsd.org Objet : Re: sn

Re: snmpd ifSpeed reporting seems wrong for speeds over 4G (ex: 10G)

2018-05-09 Thread Stuart Henderson
On 2018/05/09 12:48, BRAND Arnaud wrote: > Hi, > > I would like to report was looks like a bug in snmpd. > > When walking on the ifTable my client crashes when walking over 10G > interfaces. > Tcpdump shows that ifSpeed (1.3.6.1.2.1.2.2.1.5) is sending the value > 100 (10Gbps). > But if

6.3 amd64 panic: kernel diagnostic assertion in nd6.c

2018-05-09 Thread Michael-John Turner
Hi, I upgraded a system to 6.3 two days ago and it's now panicked twice since the upgrade, both roughtly 24 hours apart. Unfortunately I couldn't get console access for the first panic but there was a panic message after the second, although the keyboard was frozen so I couldn't get any furthe

snmpd ifSpeed reporting seems wrong for speeds over 4G (ex: 10G)

2018-05-09 Thread BRAND Arnaud
Hi, I would like to report was looks like a bug in snmpd. When walking on the ifTable my client crashes when walking over 10G interfaces. Tcpdump shows that ifSpeed (1.3.6.1.2.1.2.2.1.5) is sending the value 100 (10Gbps). But ifSpeed is of type GAUGE and maxes out at 2^32-1 (4Gbps-1). M

Re: ddb(4): p[rint] man page example vs. result.

2018-05-09 Thread Martin Pieuchot
On 09/05/18(Wed) 12:13, Artturi Alm wrote: > On Wed, May 09, 2018 at 10:23:41AM +0200, Martin Pieuchot wrote: > > On 09/05/18(Wed) 07:48, Artturi Alm wrote: > > > On Tue, May 08, 2018 at 01:44:39AM +0300, Artturi Alm wrote: > > > > > > No bug are irrelevant to fix. But working with you is hard,

Re: ddb(4): p[rint] man page example vs. result.

2018-05-09 Thread Artturi Alm
On Wed, May 09, 2018 at 10:23:41AM +0200, Martin Pieuchot wrote: > On 09/05/18(Wed) 07:48, Artturi Alm wrote: > > On Tue, May 08, 2018 at 01:44:39AM +0300, Artturi Alm wrote: > > > No bug are irrelevant to fix. But working with you is hard, really > hard. You never explain what the problem is.

hang in i386 pmap_tlb_shootwait

2018-05-09 Thread Alexander Bluhm
Hi, While running my nightly regression tests, I compiled /ports/misc/posixtestsuite. It was the first time that I was running regress while having some other load on the machine. During regress/lib/libc/ieeefp/except the machine hang. It has 2 CPUs. The final output of the test: ===> ieeefp/

Re: ddb(4): p[rint] man page example vs. result.

2018-05-09 Thread Martin Pieuchot
On 09/05/18(Wed) 07:48, Artturi Alm wrote: > On Tue, May 08, 2018 at 01:44:39AM +0300, Artturi Alm wrote: No bug are irrelevant to fix. But working with you is hard, really hard. You never explain what the problem is. Reading your email is an exercise in frustration because you can do some goo