NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/52462: aac driver (and possibly others) needs MPification



The following reply was made to PR kern/52462; it has been noted by GNATS.

From: Havard Eidnes <he%NetBSD.org@localhost>
To: mlelstv%serpens.de@localhost
Cc: gnats-bugs%NetBSD.org@localhost, kern-bug-people%netbsd.org@localhost,
 netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/52462: aac driver (and possibly others) needs MPification
Date: Wed, 09 Aug 2017 09:56:47 +0200 (CEST)

 >> >  Ok. For the next try: remove the patch and simply declare ld as n=
 on-mpsafe
 >> >  by removing the D_MPSAFE flags.
 >>
 >> OK, did that with
 > ...
 >> and now the machine behaves as it should, and no longer panics or
 >> wedges.
 >
 > Good.
 >
 > http://ftp.netbsd.org/pub/NetBSD/misc/mlelstv/ld.diff
 >
 > is a patch that takes KERNEL_LOCK when calling into the backend
 > (hopefully without the locking order violation), except for
 > i2o,cac,nvme,virtio and sdmmc which are tagged as safe.
 
 That appears to work nicely as well; I extracted the full
 7.1.0_PATCH distribution on a scratch file system, and where that
 crashed after 1.29 x sets, it completed without issue, so I'd
 call that a success as well, thanks!
 
 Regards,
 
 - H=E5vard
 


Home | Main Index | Thread Index | Old Index