Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Feb 2002 13:01:43 -0800 (PST)
From:      Julian Elischer <julian@elischer.org>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        Jake Burkholder <jake@locore.ca>, current@FreeBSD.ORG
Subject:   Re: Non 386 testers REALLY NEEDED
Message-ID:  <20020212021148.6C80F9F285@okeeffe.bestweb.net>

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


I've committed both the kernel diff and a libkvm diff that seems to work
for me here.

can you check it with the new -current  again ?



On Wed, 6 Feb 2002, Andrew Gallatin wrote:

> 
> Jake Burkholder writes:
>  > > What's the "right" way to do this?
>  > 
>  > I think you want lda, its used to load an address constant in support.s:
>  > 
>  >         lda     t0, fusufault           /* trap faults */
> 
> Bingo!  Thanks.. I haven't done any alpha assembler in nearly a year..
> 
> Julian -- you need to add this to your diff:
> 
> 
> Index: alpha/alpha/locore.s
> ===================================================================
> RCS file: /home/ncvs/src/sys/alpha/alpha/locore.s,v
> retrieving revision 1.20
> diff -u -r1.20 locore.s
> --- alpha/alpha/locore.s	11 Dec 2001 23:33:38 -0000	1.20
> +++ alpha/alpha/locore.s	7 Feb 2002 01:05:10 -0000
> @@ -119,7 +119,7 @@
>  	/*
>  	 * Switch to proc0's PCB.
>  	 */
> -	ldq	t0,thread0		/* get phys addr of pcb */
> +	lda     t0,thread0
>  	ldq	a0,TD_MD_PCBPADDR(t0)
>  	SWITCH_CONTEXT
>  
> 
> Buildworld fails in libkvm with the first diff... I assume
> you're aware of this?
> 
> /usr/src/lib/libkvm/kvm_proc.c: In function `kvm_proclist':
> /usr/src/lib/libkvm/kvm_proc.c:263: structure has no member named `p_thread'
> /usr/src/lib/libkvm/kvm_proc.c:264: structure has no member named `p_thread'
> 
> <...>
> 
> 
> 
> I'm no seeing a hang when sync'ing disks, but this might just be a
> -current'ism.
> 
> 
> 
> 
> Cheers,
> 
> Drew
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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