Subject: NetBSD/pc98
To: None <,>
From: KIYOHARA Takashi <>
List: tech-kern
Date: 08/21/2006 03:12:30
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi! all,

I have a PC-9821Cf.  This machine is pc98 architecture.  They work on
x86 cpus (8086 - PentiumII).  However not arch i386.  They ware being
from '82 to '03 years sold by NEC Corp.
It might be only FreeBSD to support them now.

It remained being left now though pc98 had been supported with the patch
before (at 1.4.X).  Then, I wrote the one besides it from the beginning. 

It is possible to boot only from FD now.  And, the some ne2000 compatible
device will work. wd(4) cannot coexist with other OS yet. 
And, pc98 needs the separation of i386 and x86 and cleanup.  ;-<

I put sources and diff.

floppy image (gziped)

Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="dmesg.pc98"

>> NetBSD/i386 BIOS Boot, Revision 1.0
>> (lance@highpriestess.fool, Mon Apr 17 11:27:31 JST 2006)
>> Memory: 640/31744 k
Press return to boot now, any other key for boot menu
booting fd0a:netbsd - starting in 0 
open netbsd: No such file or directory
boot: fd0a:netbsd: No such file or directory
booting fd0a:netbsd.gz
1911804+30468+185268 [133936+125942]=0x248134
Loaded initial symtab at 0xc03086b8, strtab at 0xc032953c, # entries 7892
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 4.99.1 (GENERIC) #0: Mon Aug 21 01:31:41 JST 2006
total memory = 32384 KB
avail memory = 29344 KB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8253" frequency 1193182 Hz quality 100
timecounter: selected timecounter "i8253" frequency 1193182 Hz quality 100
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium (P5) (586-class), 60.02 MHz, id 0x517
pic0 at mainbus0 port 0x00
pic0: I8259A Programmable Interrupt Controller
pic0: master
pic1 at mainbus0 port 0x08 irq 7
pic1: I8259A Programmable Interrupt Controller
pic1: slave
sysport0 at mainbus0 port 0x31
attimer0 at mainbus0 port 0x71,0x3fd8 irq 0
attimer0: AT Timer on PC-98x1
wdc0 at mainbus0 port 0x640 irq 9
wdc0: port 0x074c-0x074f
atabus0 at wdc0 channel 0
dcom0 at mainbus0 port 0x30 irq 4
dcom0: I8251A dumb UART
dcom0: max 38400bps
dcom0: console
cbus0 at mainbus0
ne4 at cbus0 port 0x56d0-0x56df irq 5
ne4: port 0x57d0-0x57df
ne4: NE2000 Ethernet
ne4: Ethernet address 00:80:c8:56:0c:66
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
wd0 at atabus0 drive 0: <WDC AC21600H>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 1549 MB, 3148 cyl, 16 head, 63 sec, 512 bytes/sect x 3173184 sectors
wd0: drive supports PIO mode 4, DMA mode 2
boot device: <unknown>
root device: ?
use one of: ne4 wd0[a-p] ddb halt reboot
root device: ne4
dump device: 
file system (default generic): 
root on ne4
mountroot: trying lfs...
mountroot: trying ffs...
mountroot: trying ext2fs...
mountroot: trying nfs...
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server:
nfs_boot: my_domain=fool
nfs_boot: my_addr=
nfs_boot: my_mask=
nfs_boot: gateway=
root on
root time: 0x44e891e6
root file system type: nfs
init path (default /sbin/init): 
init: copying out path `/sbin/init' 11
/etc/rc.conf is not configured.  Multiuser boot aborted.
Enter pathname of shell or RETURN for /bin/sh: 
Terminal type? [unknown] 
Terminal type is unknown.
We recommend creating a non-root account and using su(1) for root access.
# ls
.cshrc    altroot   dev       lib       mnt       root      stand     usr
.profile  bin       etc       libexec   rescue    sbin      tmp       var