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



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
dross%pobox.com@localhost


----- Original Message ----- From: "Izumi Tsutsui" <tsutsui%ceres.dti.ne.jp@localhost>
To: <tjamaloo%gmail.com@localhost>; <dross%pobox.com@localhost>
Cc: <port-atari%NetBSD.org@localhost>; <tsutsui%ceres.dti.ne.jp@localhost>
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




Home | Main Index | Thread Index | Old Index