Mac Studio hangs; locking problems on WITNESS/MP_LOCKDEBUG kernels

2024-06-18 Thread Dana Koch
>Synopsis: Mac Studio hangs; locking problems on WITNESS/MP_LOCKDEBUG kernels >Category: kernel >Environment: System : OpenBSD 7.5 Details : OpenBSD 7.5-current (GENERIC.MP) #69: Wed Jun 12 04:43:28 MDT 2024 dera...@arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/G

Re: Mac Studio hangs; locking problems on WITNESS/MP_LOCKDEBUG kernels

2024-06-19 Thread Mark Kettenis
s, Mark > >Synopsis: Mac Studio hangs; locking problems on WITNESS/MP_LOCKDEBUG kernels > >Category: kernel > >Environment: > System : OpenBSD 7.5 > Details : OpenBSD 7.5-current (GENERIC.MP) #69: Wed Jun 12 04:43:28 MDT > 2024 > dera...@arm64.ope

Re: Mac Studio hangs; locking problems on WITNESS/MP_LOCKDEBUG kernels

2024-06-19 Thread Claudio Jeker
vestigate further is "eeprom -p" output > for this machine. > > Thanks, > > Mark > > > >Synopsis: Mac Studio hangs; locking problems on WITNESS/MP_LOCKDEBUG > > >kernels > > >Category: kernel > > >Environment: > > System : Ope

Re: Mac Studio hangs; locking problems on WITNESS/MP_LOCKDEBUG kernels

2024-06-19 Thread Martin Pieuchot
On 18/06/24(Tue) 23:34, Dana Koch wrote: > >Synopsis: Mac Studio hangs; locking problems on WITNESS/MP_LOCKDEBUG kernels > >Category: kernel > >Environment: > System : OpenBSD 7.5 > Details : OpenBSD 7.5-current (GENERIC.MP) #69: Wed Jun 12 04:43:28 MDT > 2024

Re: Mac Studio hangs; locking problems on WITNESS/MP_LOCKDEBUG kernels

2024-06-19 Thread Dana Koch
On Wed, Jun 19, 2024 at 6:58 AM Martin Pieuchot wrote: > This is a lock order reversal reported by WITNESS. Thankfully claudio@ > already committed a fix for this on the 16th. So please, try with > up-to-date sources Just to be paranoid, I built a kernel with recent sources and MP_LOCKDEBUG and

Re: Mac Studio hangs; locking problems on WITNESS/MP_LOCKDEBUG kernels

2024-06-20 Thread Martin Pieuchot
Hello Dana, Thanks again for your report. On 19/06/24(Wed) 09:37, Dana Koch wrote: > On Wed, Jun 19, 2024 at 6:58 AM Martin Pieuchot wrote: > > This is a lock order reversal reported by WITNESS. Thankfully claudio@ > > already committed a fix for this on the 16th. So please, try with > > up-

Re: Mac Studio hangs; locking problems on WITNESS/MP_LOCKDEBUG kernels

2024-06-20 Thread Dana Koch
On Thu, Jun 20, 2024 at 3:33 PM Martin Pieuchot wrote: > > Hello Dana, > > Thanks again for your report. > > On 19/06/24(Wed) 09:37, Dana Koch wrote: > > On Wed, Jun 19, 2024 at 6:58 AM Martin Pieuchot wrote: > > > This is a lock order reversal reported by WITNESS. Thankfully claudio@ > > > alre

Re: Mac Studio hangs; locking problems on WITNESS/MP_LOCKDEBUG kernels

2024-06-23 Thread Martin Pieuchot
Hello Dana, On 20/06/24(Thu) 17:16, Dana Koch wrote: > On Thu, Jun 20, 2024 at 3:33 PM Martin Pieuchot wrote: > > > > Hello Dana, > > > > Thanks again for your report. > > > > On 19/06/24(Wed) 09:37, Dana Koch wrote: > > > On Wed, Jun 19, 2024 at 6:58 AM Martin Pieuchot wrote: > > > > This is a

Re: Mac Studio hangs; locking problems on WITNESS/MP_LOCKDEBUG kernels

2024-06-23 Thread Dana Koch
> Could you try the diff below? Stuart confirmed it prevents the hang on > his machine. This also seems to be working well for me so far.

Re: Mac Studio hangs; locking problems on WITNESS/MP_LOCKDEBUG kernels

2024-06-24 Thread Dana Koch
Dana Koch schrieb am So., 23. Juni 2024, 19:50: > > Could you try the diff below? Stuart confirmed it prevents the hang on > > his machine. > > This also seems to be working well for me so far. > Okay, I've got an actual panic now, with similar reproduction steps building LLVM instead of the ke

Re: Mac Studio hangs; locking problems on WITNESS/MP_LOCKDEBUG kernels

2024-06-25 Thread Martin Pieuchot
On 24/06/24(Mon) 22:32, Dana Koch wrote: > Dana Koch schrieb am So., 23. Juni 2024, 19:50: > > > > Could you try the diff below? Stuart confirmed it prevents the hang on > > > his machine. > > > > This also seems to be working well for me so far. > > > > Okay, I've got an actual panic now, with

Re: Mac Studio hangs; locking problems on WITNESS/MP_LOCKDEBUG kernels

2024-06-25 Thread Claudio Jeker
On Tue, Jun 25, 2024 at 11:21:52AM +0200, Martin Pieuchot wrote: > On 24/06/24(Mon) 22:32, Dana Koch wrote: > > Dana Koch schrieb am So., 23. Juni 2024, 19:50: > > > > > > Could you try the diff below? Stuart confirmed it prevents the hang on > > > > his machine. > > > > > > This also seems to b