NetBSD-Bugs archive

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

Re: port-i386/53628: Regular panic. Possibly twa driver.



The following reply was made to PR port-i386/53628; it has been noted by GNATS.

From: coypu%sdf.org@localhost
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: port-i386/53628: Regular panic. Possibly twa driver.
Date: Sat, 6 Oct 2018 01:46:47 +0000

 Some people mentioned it might be due to making ld MPSAFE and twa not
 being MPSAFE.
 
 Here's a diff that should mark ld not MPSAFE, for you to have a usable
 system until then. I've also uploaded a netbsd-8 kernel built with this
 change here, for your convenience:
 https://ftp.netbsd.org/pub/NetBSD/misc/maya/netbsd8-ld-mpsafe
 
 digest sha512 /home/fly/obj8/sys/arch/amd64/compile/GENERIC/netbsd
 SHA512 (/home/fly/obj8/sys/arch/amd64/compile/GENERIC/netbsd) = 765d8dcd773674cf75d99158f800d36ef523ce3045e1f2ee67518fefe14865271cea1d769016d7d4485071f24f651796cc98e03fe190758df5f2012291ada802
 
 
 diff --git a/sys/dev/ld.c b/sys/dev/ld.c
 index 62d470c15d3c..1be2666a9ac3 100644
 --- a/sys/dev/ld.c
 +++ b/sys/dev/ld.c
 @@ -92,7 +92,7 @@ const struct bdevsw ld_bdevsw = {
  	.d_dump = lddump,
  	.d_psize = ldsize,
  	.d_discard = lddiscard,
 -	.d_flag = D_DISK | D_MPSAFE
 +	.d_flag = D_DISK
  };
  
  const struct cdevsw ld_cdevsw = {
 @@ -107,7 +107,7 @@ const struct cdevsw ld_cdevsw = {
  	.d_mmap = nommap,
  	.d_kqfilter = nokqfilter,
  	.d_discard = lddiscard,
 -	.d_flag = D_DISK | D_MPSAFE
 +	.d_flag = D_DISK
  };
  
  static struct	dkdriver lddkdriver = {
 


Home | Main Index | Thread Index | Old Index