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

"David Ross" <[email protected]>
Newsgroups gmane.os.netbsd.ports.atari
Message-ID <[email protected]>
Ok, some good news mixed with bad...

The ATARITT kernel does not load, regardless of if anything is plugged into 
a serial port or not.  Just a blank screen after running loadbsd.ttp.

But the BOOT kernel does boot.  And I successfully installed the sets via 
CD-ROM!  The install completes successfully, but when the system is rebooted 
I just get "Halting..." after the memory test.  This is probably from the 
very first stage of the netbsd bootloader but I'm not really sure.  I didn't 
try doing a complete zero of the disk before the install -- it's conceivable 
that might help.

One issue that is probably minor...  When "/bin/sh MAKEDEV all" is running, 
I get "df: not found".  This does not stop the install though.  Probably the 
df binary just needs to be dropped onto the sysinst floppy.

David Ross
[email protected]


----- Original Message ----- 
From: "Izumi Tsutsui" <[email protected]>
To: <[email protected]>; <[email protected]>
Cc: <[email protected]>; <[email protected]>
Sent: Monday, December 29, 2008 2:42 AM
Subject: Re: Current kernel with http://gnats.netbsd.org/39965 and pmap 
patches


>I wrote:
>
>> Major diffrences between ATARITT (or FALCON) and BOOT
>> which might affect pmap changes are:
>> - kernel size (due to many MI options)
>> - options SERCONSOLE
>> - options RELOC_KERNEL
>> - options MSGBUFSIZE
>>
>> I guess the last two items require some special handling
>> during pmap initialization. (conversion between PA and VA etc.)
>
> I have not checked how RELOC_KERNEL works, but it looks
> Sysptmap_pa should be adjusted for it:
>
> --- atari_init.c.0 2008-12-28 14:40:20.000000000 +0900
> +++ atari_init.c 2008-12-29 19:09:46.000000000 +0900
> @@ -302,7 +302,7 @@
>  * allocate kernel page table map
>  */
>  Sysptmap = (pt_entry_t *)pstart;
> - Sysptmap_pa = pstart;
> + Sysptmap_pa = pstart + kbase;
>  pstart  += PAGE_SIZE;
>  avail   -= PAGE_SIZE;
>
>
> ---
>
> I've put new kernels from the latest sources
> (which include ffs_update() fix) with this patch:
>
> http://www.ceres.dti.ne.jp/~tsutsui/netbsd/netbsd-ATARITT-HEAD-20081229.gz
> http://www.ceres.dti.ne.jp/~tsutsui/netbsd/netbsd-BOOT-HEAD-20081229.gz
> http://www.ceres.dti.ne.jp/~tsutsui/netbsd/netbsd-FALCON-HEAD-20081229.gz
>
> ---
> Izumi Tsutsui
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.