From owner-freebsd-alpha Tue Nov 14 18: 3:31 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 3496637B479 for ; Tue, 14 Nov 2000 18:03:29 -0800 (PST) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by pike.osd.bsdi.com (8.11.0/8.9.3) with ESMTP id eAF23OB07394 for ; Tue, 14 Nov 2000 18:03:24 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Tue, 14 Nov 2000 18:03:55 -0800 (PST) From: John Baldwin To: alpha@FreeBSD.org Subject: FW: cvs commit: src/sys/alpha/alpha swtch.s Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org A similar fix to the i386 fixed a number of problems that phk was seeing with the timecounter as well as performance problems. There is a chance that this will fix some machines that hang during the SCSI/ATA device probes. Also, I am currently working on getting kernels booting on all archs with WITNESS turned on (yes, I haven't gone into hiding). On the alpha the kernel panics because it tries to acquire the malloc mutex when interrupts are disabled during vfsinit(). No spin mutex is held, so that isn't the problem. On the i386, interrupts are enabled at this point, and they should be on the alpha (interrupts are enabled during SI_SUB_CONFIGURE and should stay full on except for within spin mutexes from then on), so it looks like the alpha is disabling interrupts somewhere during the bootup. This may also point to the hangs some people are seeing (on hte PC164's for example). -----FW: <200011150148.RAA57989@freefall.freebsd.org>----- Date: Tue, 14 Nov 2000 17:48:49 -0800 (PST) Sender: owner-cvs-committers@FreeBSD.org From: John Baldwin To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha swtch.s jhb 2000/11/14 17:48:49 PST Modified files: sys/alpha/alpha swtch.s Log: Enable all interrupts in switch_trampoline after releasing the sched_lock. This is needed so that kernel threads created before interrupts are enabled do not run with interrupts disabled once the system is up and running. Revision Changes Path 1.18 +3 -1 src/sys/alpha/alpha/swtch.s --------------End of forwarded message------------------------- -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message