Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Sep 2000 09:05:24 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        gallatin@cs.buffalo.edu
Cc:        alpha@FreeBSD.org
Subject:   RE: ithreads on UP1000
Message-ID:  <XFMail.000925090524.jhb@FreeBSD.org>
In-Reply-To: <20000925135319.3173837B424@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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.
> 
> <hang>
> 
> 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 <jhb@FreeBSD.org> -- 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.000925090524.jhb>