NetBSD-Bugs archive

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

re: port-pmax/53611: NetBSD/pmax 8.0 RAMDISK kernel hang on 3MIN (5000/125)



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

From: matthew green <mrg%eterna.com.au@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: port-pmax-maintainer%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
    netbsd-bugs%netbsd.org@localhost, tsutsui%ceres.dti.ne.jp@localhost
Subject: re: port-pmax/53611: NetBSD/pmax 8.0 RAMDISK kernel hang on 3MIN (5000/125)
Date: Mon, 17 Sep 2018 10:39:55 +1000

 >   	case SYS_DEV_OPT0:
 >   	case SYS_DEV_OPT1:
 >   	case SYS_DEV_OPT2:
 >  -		/* it's an option slot */
 >  -		{
 >  -		int s = splhigh();
 >  -		s |= mask;
 >  -		splx(s);
 >  -		}
 >  +		/* it's an option slot and handled via MIPS_INT_MASK_[012] */
 >   		break;
 
 this code is very mind boggling, but it's clearly wrong in the modern
 mips interrupt world, compared to what 'mask' is set to.  even then,
 why does intr_establish change the ipl!?
 
 i'm pretty sure you should commit this.  nicely found.
 
 thanks!
 
 
 .mrg.
 


Home | Main Index | Thread Index | Old Index