Port-atari archive

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

Re: Current kernel with http://gnats.netbsd.org/39965 and pmap patches



On Tue, Dec 16, 2008 at 2:52 PM, Izumi Tsutsui 
<tsutsui%ceres.dti.ne.jp@localhost> wrote:
>> Positive thing is that I don't have ATA problem anymore (no need for
>> ATAC_CAP_NOIRQ workaround), but installer still crashes with earlier problem
>> when using 030 cpu ...

I was in assumption that my test kernel was compiled without ATAC_CAP_NOIRQ,
but I was wrong: atari/dev/wdc_mb.c still seems to need it... Sorry about bogus
information.

However I was able to install base, etc and compiler sets from ATA drive today
(before pmap modifications it failed with ATA based errors). I'll try to
install all sets to check if we can use ATAC_CAP_NOIRQ workaround.

>
> I think VM_MAX_KERNEL_ADDRESS in <machine/vmparam.h> should also
> be adjusted for moved Sysmap:
>
>
> Index: include/vmparam.h
> ===================================================================
> RCS file: /cvsroot/src/sys/arch/atari/include/vmparam.h,v
> retrieving revision 1.21
> diff -u -r1.21 vmparam.h
> --- include/vmparam.h   11 Dec 2005 12:16:59 -0000      1.21
> +++ include/vmparam.h   16 Dec 2008 12:46:12 -0000
> @@ -152,7 +152,7 @@
>  #define VM_MAX_ADDRESS         ((vaddr_t)(USRSTACK))
>  #define VM_MAXUSER_ADDRESS     ((vaddr_t)(VM_MAX_ADDRESS))
>  #define VM_MIN_KERNEL_ADDRESS  ((vaddr_t)0)
> -#define VM_MAX_KERNEL_ADDRESS  ((vaddr_t)(0-PAGE_SIZE))
> +#define VM_MAX_KERNEL_ADDRESS  ((vaddr_t)(-NPTEPG * PAGE_SIZE))
>
>  /*
>  * virtual sizes (bytes) for various kernel submaps
>
> ---

Thanks! I missed that one. I applied patch (but corrected place for minus sign
for VM_MAX_KERNEL_ADDRESS just like in amiga/include/vmparam.h :))

Installer panics just like before with 030 cpu, but it works with 060 cpu, so it
seems there's something funny happening with 030 that we need to sort out.

> It would also be better to remove old "Set Sysmap;" comment in
> atari_init.c since it looks quite obsolete.

True, I removed that comment.

-Tuomo


Home | Main Index | Thread Index | Old Index