From owner-freebsd-alpha Mon Sep 25 9: 7:33 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 907F837B42C for ; Mon, 25 Sep 2000 09:07:22 -0700 (PDT) Received: from foo.osd.bsdi.com (root@foo.osd.bsdi.com [204.216.28.137]) by pike.osd.bsdi.com (8.11.0/8.9.3) with ESMTP id e8PG7Hi38604; Mon, 25 Sep 2000 09:07:17 -0700 (PDT) (envelope-from jhb@foo.osd.bsdi.com) Received: (from jhb@localhost) by foo.osd.bsdi.com (8.11.0/8.11.0) id e8PG5Ok36068; Mon, 25 Sep 2000 09:05:24 -0700 (PDT) (envelope-from jhb) 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 In-Reply-To: <20000925135319.3173837B424@hub.freebsd.org> Date: Mon, 25 Sep 2000 09:05:24 -0700 (PDT) From: John Baldwin To: gallatin@cs.buffalo.edu Subject: RE: ithreads on UP1000 Cc: alpha@FreeBSD.org Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 25-Sep-00 Andrew Gallatin wrote: > > (apol;ogies if you get 2 copies of this, mail @ Freebsd is pretty flaky > for me right now) > > John, > > I just tried your latest patchset on an API UP1000. > (MD5 (alpha.ithreads.patch) = 11d809b59741189c7261be15166e2519) Try it without static hints. Some people have been having problems with static hints. Also, if dynamic hints works ok for you, please do an nm of your kernel and see where the hints_loaded variable shows up in the list. Esp. in relation to sched_lock and Giant in the BSS. It seems that we may have a bug in the mutex code that trashes the memory just before a mutex. :-/ It's been reported on the x86, and the mutex code is almost identical in the two platforms. > It locks solid after printing the copyright: > FreeBSD/alpha SRM disk boot, Revision 0.3 > (root@thunder.cs.duke.edu, Tue Aug 29 11:44:06 EDT 2000) > Memory: 131072 k > <...> > ok unload kernel > ok load kernel.ithreads > /kernel.ithreads data=0x3c8c98+0x327a8 syms=[0x8+0x4eeb8+0x8+0x393ce] > ok boot > Entering kernel.ithreads at 0xfffffc0000330780... > Copyright (c) 1992-2000 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > > > > This is with both serial & graphics console. > > The UP1000 uses the irongate chipset & routes all interrupts through > isa. I tried adding an isa_{dis,en}able_intr() functions and > replacing the enable/disable args to alpha_setup_intr() in > isa_setup_intr(), but it didn't seem to have any affect. The box > doesn't have a halt switch, so I cannot determine exacly where it is > locking up. > > Do you have any ideas? > > Thanks, > > Drew > > PS: > > Config file is basically generic, plus static hints, plus your > suggested debugging flags: > > --- GENERIC Wed Sep 20 13:30:20 2000 > +++ ITHREADS Sun Sep 24 13:49:45 2000 > @@ -24,11 +24,11 @@ > machine alpha > cpu EV4 > cpu EV5 > -ident GENERIC > +ident ITHREADS > maxusers 32 > > #To statically compile in device wiring instead of /boot/device.hints > -#hints "GENERIC.hints" > +hints "ITHREADS.hints" > > #makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols > > @@ -63,7 +63,7 @@ > options CD9660_ROOT #CD-ROM usable as root device > options PROCFS #Process filesystem > options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] > -options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI > +options SCSI_DELAY=1500 #Delay (in ms) before probing SCSI > options UCONSOLE #Allow users to grab the console > options KTRACE #ktrace(1) syscall trace support > options SYSVSHM #SYSV-style shared memory > @@ -182,3 +182,8 @@ > device aue # ADMtek USB ethernet > device cue # CATC USB ethernet > device kue # Kawasaki LSI USB ethernet > +options SMP_DEBUG > +options DIAGNOSTIC > +options INVARIANTS > +options INVARIANT_SUPPORT > + > > > Drew -- 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