[install NetBSD 5.2_STABLE(netbsd-5) on L-Router] memo


<<<on host machine>>>
[cross build NetBSD 5.2_STABLE(netbsd-5)/hpcmips]


[LR_PAPANUI kernel config diff to LROUTER]
(remove all unused or not-exist devices)
(assume set local date/time on L-Router)
--- LROUTER	2008-07-31 16:41:01.000000000 +0900
+++ LR_PAPANUI	2017-06-19 11:41:43.000000000 +0900
@@ -9,7 +9,7 @@

 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

-maxusers	32
+maxusers	16

 options 	MIPS3			# R4000/R4400/R4600 CPUs

@@ -20,7 +20,7 @@
 options 	VR4122			# NEC VR4122

 # Standard system options
-options 	DDB			# in-kernel debugger
+#options 	DDB			# in-kernel debugger
 #options 	DDB_ONPANIC=0		# don't enter debugger on panic
 #options 	KGDB			# remote debugger
 options 	DIAGNOSTIC		# extra kernel debugging checks
@@ -42,7 +42,7 @@
 options 	EPOCHYEAR=1970

 #options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
-#options 	RTC_OFFSET=-540		# JST-9
+options 	RTC_OFFSET=-540		# JST-9
 #options 	RTC_OFFSET=480		# PST8
 					# In NO RTC_OFFSET , inherit RTC_OFFSET
 					# from Windows CE.
@@ -59,11 +59,12 @@
 # Filesystem options
 file-system 	FFS		# fast filesystem with user and group quotas
 #file-system 	EXT2FS		# second extended file system (linux)
-file-system 	MFS		# memory-based filesystem
+#file-system 	MFS		# memory-based filesystem
+file-system 	TMPFS		# efficient memory-based filesystem
 file-system 	NFS		# Sun NFS-compatible filesystem (client)
 #file-system	LFS		# Log-based filesystem (still experimental)
-file-system 	CD9660		# ISO 9660 + Rock Ridge file system
-file-system 	MSDOSFS		# MS-DOS file system
+#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
+#file-system 	MSDOSFS		# MS-DOS file system
 #file-system 	FDESC		# /dev/fd
 file-system 	KERNFS		# /kern (kernel informational filesystem)
 #file-system 	NULLFS		# loopback file system
@@ -71,14 +72,14 @@
 #file-system 	PORTAL		# portal filesystem (still experimental)
 file-system 	PROCFS		# /proc
 #file-system 	UMAPFS		# NULLFS + uid and gid remapping
-file-system 	UNION
+#file-system 	UNION
 file-system	PTYFS		# /dev/pts/N support

 options 	NFSSERVER	# Sun NFS-compatible filesystem (server)
 options 	SOFTDEP		# FFS soft updates support.
-options 	WAPBL		# File system journaling support - Experimental
+#options 	WAPBL		# File system journaling support - Experimental
 #options 	QUOTA		# UFS quotas
-#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
+options 	FFS_NO_SNAPSHOT	# No FFS snapshot support

 # Networking options
 #options 	GATEWAY		# IP packet forwarding
@@ -96,10 +97,10 @@

 # NetBSD backwards compatibility
 options 	COMPAT_43
-options 	COMPAT_16
-options 	COMPAT_20
-options 	COMPAT_30	# NetBSD 3.0 compatibility.
-options 	COMPAT_40	# NetBSD 4.0 compatibility.
+#options 	COMPAT_16
+#options 	COMPAT_20
+#options 	COMPAT_30	# NetBSD 3.0 compatibility.
+#options 	COMPAT_40	# NetBSD 4.0 compatibility.
 options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.

 options 	NFS_BOOT_DHCP
@@ -108,12 +109,12 @@
 #makeoptions	DEFGP="-G 14"

 config		netbsd		root on ? type ?
-config		nfsnetbsd	root on ? type nfs
+#config		nfsnetbsd	root on ? type nfs


 # temporally power management
-hpcapm0	at mainbus0			# power management
-apmdev0	at hpcapm0			# APM
+#hpcapm0	at mainbus0			# power management
+#apmdev0	at hpcapm0			# APM

 vrip*	at mainbus0
 vrbcu*	at vrip? addr 0x0f000000 size 0x20
@@ -155,25 +156,25 @@

 # IDE drives
 #wd*	at atabus? drive ? flags 0x0ffa	# PIO mode 2
-wd*	at atabus? drive ? flags 0x0ffb	# PIO mode 3
-#wd*	at atabus? drive ? flags 0x0ff0	# PIO mode 4
+#wd*	at atabus? drive ? flags 0x0ffb	# PIO mode 3
+wd*	at atabus? drive ? flags 0x0ff0	# PIO mode 4
 #wd*	at atabus? drive ? flags 0x0000	# UDMA mode 2

 # ATAPI bus support
-atapibus* at atapi?
+#atapibus* at atapi?

 # ATAPI devices
-cd*	at atapibus? drive ? flags 0x0ff0 # ATAPI CD-ROM drives
-sd*	at atapibus? drive ? flags 0x0ff0 # ATAPI disk drives
-st*	at atapibus? drive ? flags 0x0ff0 # ATAPI tape drives
+#cd*	at atapibus? drive ? flags 0x0ff0 # ATAPI CD-ROM drives
+#sd*	at atapibus? drive ? flags 0x0ff0 # ATAPI disk drives
+#st*	at atapibus? drive ? flags 0x0ff0 # ATAPI tape drives

 pseudo-device	loop		1	# network loopback
-pseudo-device	ppp			# serial-line IP ports
+#pseudo-device	ppp			# serial-line IP ports
 pseudo-device	pty			# pseudo-terminals
 pseudo-device	bpfilter		# packet filter ports
 pseudo-device	ipfilter		# IP filter, NAT

-pseudo-device	vnd			# virtual disk ick
+#pseudo-device	vnd			# virtual disk ick
 #pseudo-device	ccd		4	# concatenated disks
 #pseudo-device	fss		4	# file system snapshot device
 pseudo-device	rnd			# /dev/random and in-kernel generator
@@ -185,7 +186,7 @@
 #options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
 #options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
 #options 	MEMORY_DISK_DYNAMIC	# fs image don't exist in data section.
-pseudo-device	md		1	# memory disk device (ramdisk)
+#pseudo-device	md		1	# memory disk device (ramdisk)

 #pseudo-device	raid		4	# RAIDframe disk driver
 #options 	RAID_AUTOCONFIG		# auto-configuration of RAID components



[cross build netbsd-5/hpcmips]

host$ mkdir /proj/src/NetBSD/obj

host$ cd /proj/src/NetBSD/src
host$ ./build.sh -j 4 -U -O ../obj -m hpcmips tools >& ../build-hpcmips-tools.log &
host$ ./build.sh -j 4 -U -u -O ../obj -m hpcmips kernel=LR_PAPANUI >& ../build-hpcmips-kernel.log &
host$ ./build.sh -j 4 -U -u -O ../obj -m hpcmips release >& ../build-hpcmips-release.log &
{
  -j njob   : Run up to njob jobs in parallel
  -U        : build without requiring root privileges
  -O objdir : Set obj root directory to objdir
  -u        : do not run "make cleandir" first.
}



<<<on host machine>>>
<<<install to CF>>>

[delete fdisk area (mbr/partition infomation)]
host# dd if=/dev/zero of=/dev/rsd0d bs=512k count=100


[edit CF disklabel] <Transcend 512M x45 CF>
host# disklabel -r -e sd0
      (edit size/offset, whatever edit type/disk/flags)
# /dev/rsd0d:
type: ESDI
disk: TS512MCF45
label: fictitious
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 1014
total sectors: 1022112
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

4 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a:   1022112         0     4.2BSD   1024  8192    86  # (Cyl.      0 -   1013)
 c:   1022112         0     unused      0     0        # (Cyl.      0 -   1013)
 d:   1022112         0     unused      0     0        # (Cyl.      0 -   1013)


[edit CF disklabel] <Transcend 4G x133 CF>
host# disklabel -r -e sd0
      (edit size/offset, whatever edit type/disk/flags)
host# disklabel -r sd0
# /dev/rsd0d:
type: ESDI
disk: Transcend
label: fictitious
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 3823
total sectors: 7831152
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

5 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a:   7661568         0     4.2BSD      0     0     0  # (Cyl.      0 -   3740)
 b:    169584   7661568       swap                     # (Cyl.   3741 -   3823*)
 c:   7831152         0     unused      0     0        # (Cyl.      0 -   3823*)
 d:   7831152         0     unused      0     0        # (Cyl.      0 -   3823*)


[initialize filesystem]
host# newfs /dev/rsd0a


[mount for install]
host# mount /dev/sd0a /mnt


[create 16MB swap file on CF]
host# dd if=/dev/zero of=/mnt/.swap bs=1m count=16
host# chmod 600 /mnt/.swap


[install kernel and user-land]
host# cd /mnt
[required for booting]
host# cp /proj/src/NetBSD/obj/sys/arch/hpcmips/compile/LR_PAPANUI/netbsd /mnt
host# tar -xzvpf /proj/src/NetBSD/obj/releasedir/hpcmips/binary/sets/base.tgz
host# tar -xzvpf /proj/src/NetBSD/obj/releasedir/hpcmips/binary/sets/etc.tgz
[as needed]
host# tar -xzvpf /proj/src/NetBSD/obj/releasedir/hpcmips/binary/sets/comp.tgz
host# tar -xzvpf /proj/src/NetBSD/obj/releasedir/hpcmips/binary/sets/text.tgz
host# tar -xzvpf /proj/src/NetBSD/obj/releasedir/hpcmips/binary/sets/man.tgz
host# tar -xzvpf /proj/src/NetBSD/obj/releasedir/hpcmips/binary/sets/misc.tgz


[create home/kernfs/procfs/nfsswap mount point]
host# cd /mnt
host# mkdir home kern proc .nfsswap


[create device]
host# cd /mnt/dev
host# ./MAKEDEV all
host# mkdir pts


[clear /var/run] (/var/run mount as tmpfs)
host# cd /mnt/var/run
host# rm -rf *


[config etc]
host# cd /mnt/etc
host# rm localtime
host# ln -s /usr/share/zoneinfo/Japan localtime


[create RCS directory]
host# cd /mnt/etc
host# mkdir RCS
host# touch fstab hosts.allow hosts.deny resolv.conf
host# ci -l fstab hosts.allow hosts.deny resolv.conf
host# ci -l gettytab group hosts passwd.conf rc.conf sysctl.conf ttys

[etc diff]
--- fstab	2017/06/15 08:17:11	1.1
+++ fstab	2017/06/15 08:30:37
@@ -0,0 +1,10 @@
+/dev/wd0a	/	ffs	rw,softdep,noatime,nodevmtime            1 1
+fs:/export/pub/.lrouter.swap	none	swap	sw,nfsmntpt=/.nfsswap,priority=0 0 0
+/.swap		none	swap	sw,priority=1                            0 0
+#/dev/wd0b	none	swap	sw,dp,priority=1	0 0
+tmpfs		/tmp		tmpfs	rw,-s8M
+tmpfs		/var/run	tmpfs	rw,-s4M
+kernfs		/kern	kernfs	rw
+procfs		/proc	procfs	rw
+ptyfs		/dev/pts	ptyfs	rw
+fs:/export/home	/home	nfs	rw,bg,intr,soft                          0 0
--- gettytab	2017/06/08 16:24:58	1.1
+++ gettytab	2017/06/08 16:25:17
@@ -152,3 +152,6 @@
 #
 Auto-baud:\
 	:ab:sp#2400:f0#040:
+
+lrouter:\
+	:np:tc=115200-baud:
--- group	2017/06/09 02:31:02	1.1
+++ group	2017/06/09 02:34:20
@@ -1,4 +1,4 @@
-wheel:*:0:root
+wheel:*:0:root,hoge
 daemon:*:1:daemon
 kmem:*:2:root
 sys:*:3:root
--- hosts	2017/06/09 02:40:42	1.1
+++ hosts	2017/06/09 02:41:40
@@ -14,3 +14,5 @@
 # 10.0.0.0	10.255.255.255
 # 172.16.0.0	172.31.255.255
 # 192.168.0.0	192.168.255.255
+192.168.1.222	fs.example.org fs
+192.168.1.140	bart.example.org bart
--- hosts.allow	2017/06/09 02:36:08	1.1
+++ hosts.allow	2017/06/09 02:51:48
@@ -0,0 +1,5 @@
+ALL: localhost 127.0.0.1 [::1]
+# DHCP allocated 192.168.1.32-192.168.1.127
+ALL: 192.168.1.32/255.255.255.224 192.168.1.64/255.255.255.192
+# LAN machines
+ALL: 192.168.1.128/255.255.255.224
--- hosts.deny	2017/06/09 02:36:08	1.1
+++ hosts.deny	2017/06/09 02:37:05
@@ -0,0 +1 @@
+ALL:ALL
--- passwd.conf	2017/06/08 09:24:46	1.1
+++ passwd.conf	2017/06/08 09:26:05
@@ -4,6 +4,9 @@
 #	password configuration file
 #

-#default:
-#	localcipher = md5
+default:
+	localcipher = sha1
 #	ypcipher = old
+
+root:
+	localcipher = blowfish,5
--- rc.conf	2017/06/08 16:00:59	1.1
+++ rc.conf	2017/06/09 06:33:27
@@ -15,7 +15,23 @@

 # If this is not set to YES, the system will drop into single-user mode.
 #
-rc_configured=NO
+rc_configured=YES

 # Add local overrides below
 #
+hostname="lisa.example.org"
+defaultroute="192.168.1.1"
+ifconfig_fxp0="inet 192.168.1.139 netmask 255.255.255.0 link0"
+critical_filesystems_local="${critical_filesystems_local} /var/run"
+
+savecore=NO
+quota=NO
+inetd=NO
+sshd=YES
+raidframe=NO
+rpcbind=YES
+nfs_client=YES
+lockd=YES
+statd=YES
+ntpdate=YES
+ntpdate_hosts="ntp.example.org"
--- resolv.conf	2017/06/09 02:56:25	1.1
+++ resolv.conf	2017/06/09 02:56:42
@@ -0,0 +1,2 @@
+search example.org
+nameserver 192.168.1.1
--- sysctl.conf	2017/06/08 17:18:08	1.1
+++ sysctl.conf	2017/06/09 02:19:12
@@ -14,7 +14,7 @@
 # to 0 - THIS IS CONSIDERED A SECURITY RISK - VERY LIKELY ANY LOCAL USER WILL
 # BE ABLE TO CRASH YOUR SYSTEM - USE AT YOUR OWN RISK!
 #
-kern.no_sa_support?=1
+#kern.no_sa_support?=0

 # Default on panic: dump core and reboot. See savecore(8) for information.
 # Switch this to 1 if you want to enter the kernel debugger on crashes
@@ -29,3 +29,7 @@

 # Number of kernel threads to use for NFS client
 #vfs.nfs.iothreads=4
+
+# low-memory system
+# see http://mail-index.netbsd.org/tech-kern/2002/11/27/0005.html
+vm.anonmax=95
--- ttys	2017/06/08 16:25:30	1.1
+++ ttys	2017/06/08 16:26:18
@@ -4,8 +4,8 @@
 # name	getty				type	status		comments

 # serial port
-console	"/usr/libexec/getty std.9600"	vt100	off secure
+console	"/usr/libexec/getty lrouter"	vt100	on secure
 constty	"/usr/libexec/getty std.9600"	vt100	off secure

 # Workstation console (framebuffer) ttys
-ttyE0	"/usr/libexec/getty std.9600"	vt100	on secure
+#ttyE0	"/usr/libexec/getty std.9600"	vt100	on secure


[checkin]
host# ci -u fstab hosts.allow hosts.deny resolv.conf
host# ci -u gettytab group hosts passwd.conf rc.conf sysctl.conf ttys



[insert CF into lrouter and power ON]
<boot messages>
host# tip ucom0
connected

ICW1_1:11ICW2_1:00ICW3_1:04ICW4_1:01OCW1_1:00OCW1_2:00OCW1_3:4aend
 Boot monitor Ver1.33
 Data translating...
 If you use monitor program then push SP key.
 Skip L-Board monitor program.

 User Kernel Area Select.
Netboot for NetBSD, Revision 0.5
(hoge@netbsd, Thu Sep 25 13:46:01 JST 2003)
wd_open: geom = 7769 16 63
wd_open: no MBR, assuiming whole NetBSD disk
wd_pen: wd0a@(0x1f0,0,0)
.../\/\.../\/\...
Entering wd0a:netbsd at 0x80001000...
 netbsd
mem_cluster_cnt = 2
mem_clusters[0] = {0x0,0x276000}
mem_clusters[1] = {0x276000,0x1d8a000}
loading 0x276000,0x1d8a000
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010
    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 5.2_STABLE (LR_PAPANUI) #0: Mon Jun 19 12:01:55 JST 2017
        hoge@bart.example.org:/.a/proj/src/netbsd-5/obj/sys/arch/hpcmips/compile/LR_PAPANUI
LASER5 L-BOARD (NEC VR4122 rev0.3 180.633MHz)
total memory = 32768 KB
avail memory = 29356 KB
mainbus0 (root)
cpu0 at mainbus0: NEC VR4100 CPU (0xc70) Rev. 7.0 with software emulated floating point
cpu0: 32KB/32B direct-mapped L1 Instruction cache, 32 TLB entries
cpu0: 16KB/16B direct-mapped write-back L1 Data cache
vrip0 at mainbus0
vrbcu0 at vrip0 addr 0x0f000000-001f
vrbcu0: CPU 180.633MHz, bus 30.105MHz, ram 60.211MHz
vrcmu0 at vrip0 addr 0x0f000060-007f
vrgiu0 at vrip0 addr 0x0f000140-015f
hpcioman0 at vrgiu0
hpcin0 at hpcioman0 iochip vrgiu0, port 12, type 5, id 0, interrupt level low
hpcin1 at hpcioman0 iochip vrgiu0, port 13, type 5, id 2048, interrupt level low
hpcin2 at hpcioman0 iochip vrgiu0, port 11, type 5, id 32768, interrupt level high
com0 at vrip0 addr 0x0f000800-0807: ns16550a, working fifo
com0: console
vrrtc0 at vrip0 addr 0x0f000100-011f
vrpmu0 at vrip0 addr 0x0f0000c0-00df
vrpmu: RTC alarm detected
vrpmu: HAL timer reset
vrpciu0 at vrip0 addr 0x0f000c00-0dff
pci0 at vrpciu0 bus 0
fxp0 at pci0 dev 0 function 0: i82559S Ethernet, rev 9
fxp0: interrupting at pciintr 0:0:0
fxp0: Ethernet address 00:00:ff:ff:32:03
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1 at pci0 dev 1 function 0: i82559S Ethernet, rev 9
fxp1: interrupting at pciintr 0:1:0
fxp1: Ethernet address 00:00:ff:ff:32:03
inphy1 at fxp1 phy 1: i82555 10/100 media interface, rev. 4
inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Acer Labs M1533 PCI-ISA Bridge (ISA bridge, revision 0xc3) at pci0 dev 7 function 0 not configured
aceride0 at pci0 dev 16 function 0
aceride0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc2)
aceride0: using pciintr 0:16:0 for native-PCI interrupt
atabus0 at aceride0 channel 0
atabus1 at aceride0 channel 1
[CF 512M x45]{
wd0 at atabus0 drive 0: <Transcend>
wd0: 499 MB, 1014 cyl, 16 head, 63 sec, 512 bytes/sect x 1022112 sectors
}
[CF 4G x133]{
wd0 at atabus0 drive 0: <TS4GCF133>
wd0: 3823 MB, 7769 cyl, 16 head, 63 sec, 512 bytes/sect x 7831152 sectors
}
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
Mon Jun 19 13:05:21 JST 2017
Starting file system checks:
/dev/rwd0a: file system is clean; not checking
Setting tty flags.
Setting sysctl variables:
vm.anonmax: 80 -> 95
Starting network.
Hostname: lisa.example.org
IPv6 mode: host
Configuring network interfaces: fxp0fxp0: Microcode loaded: int delay: 1000 usec, max bundle: 6.
Adding interface aliases:.
add net default: gateway 192.168.1.1
Building databases: dev, utmp, utmpx, services done
Starting syslogd.
Setting date via ntp.
Starting rpcbind.
Mounting all filesystems...
Clearing temporary files.
Starting statd.
Starting lockd.
Setting securelevel: kern.securelevel: 0 -> 1
swapctl: adding fs:/export/pub/.lrouter.swap as swap device at priority 0
swapctl: adding /.swap as swap device at priority 1
Starting virecover.
Starting local daemons:.
Updating motd.
Starting sshd.
postfix: rebuilding /etc/mail/aliases (missing /etc/mail/aliases.db)
postfix/postfix-script: starting the Postfix mail system
Starting cron.
Mon Jun 19 13:10:10 JST 2017

NetBSD/hpcmips (lisa.example.org) (console)

login:


<<<on lrouter>>>

lisa# dmesg
NetBSD 5.2_STABLE (LR_PAPANUI) #0: Mon Jun 19 12:01:55 JST 2017
        hoge@bart.example.org:/.a/proj/src/netbsd-5/obj/sys/arch/hpcmips/compile/LR_PAPANUI
LASER5 L-BOARD (NEC VR4122 rev0.3 180.633MHz)
total memory = 32768 KB
avail memory = 29356 KB
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root)
cpu0 at mainbus0: NEC VR4100 CPU (0xc70) Rev. 7.0 with software emulated floating point
cpu0: 32KB/32B direct-mapped L1 Instruction cache, 32 TLB entries
cpu0: 16KB/16B direct-mapped write-back L1 Data cache
vrip0 at mainbus0
vrbcu0 at vrip0 addr 0x0f000000-001f
vrbcu0: CPU 180.633MHz, bus 30.105MHz, ram 60.211MHz
vrcmu0 at vrip0 addr 0x0f000060-007f
vrgiu0 at vrip0 addr 0x0f000140-015f
hpcioman0 at vrgiu0
hpcin0 at hpcioman0 iochip vrgiu0, port 12, type 5, id 0, interrupt level low
hpcin1 at hpcioman0 iochip vrgiu0, port 13, type 5, id 2048, interrupt level low
hpcin2 at hpcioman0 iochip vrgiu0, port 11, type 5, id 32768, interrupt level high
com0 at vrip0 addr 0x0f000800-0807: ns16550a, working fifo
com0: console
vrrtc0 at vrip0 addr 0x0f000100-011f
vrpmu0 at vrip0 addr 0x0f0000c0-00df
vrpmu: RTC alarm detected
vrpmu: HAL timer reset
vrpciu0 at vrip0 addr 0x0f000c00-0dff
pci0 at vrpciu0 bus 0
pci0: i/o space, memory space enabled, rd/line ok
fxp0 at pci0 dev 0 function 0: i82559S Ethernet, rev 9
fxp0: interrupting at pciintr 0:0:0
fxp0: Ethernet address 00:00:ff:ff:32:03
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1 at pci0 dev 1 function 0: i82559S Ethernet, rev 9
fxp1: interrupting at pciintr 0:1:0
fxp1: Ethernet address 00:00:ff:ff:32:03
inphy1 at fxp1 phy 1: i82555 10/100 media interface, rev. 4
inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Acer Labs M1533 PCI-ISA Bridge (ISA bridge, revision 0xc3) at pci0 dev 7 function 0 not configured
aceride0 at pci0 dev 16 function 0
aceride0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc2)
aceride0: bus-master DMA support present
aceride0: using PIO transfers above 137GB as workaround for 48bit DMA access bug, expect reduced performance
aceride0: primary channel configured to native-PCI mode
aceride0: using pciintr 0:16:0 for native-PCI interrupt
atabus0 at aceride0 channel 0
aceride0: secondary channel configured to native-PCI mode
atabus1 at aceride0 channel 1
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "vrrtc" frequency 32768 Hz quality 100
[CF 512M x45]{
wd0 at atabus0 drive 0: <Transcend>
wd0: drive supports 1-sector PIO transfers, LBA addressing
wd0: 499 MB, 1014 cyl, 16 head, 63 sec, 512 bytes/sect x 1022112 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4
wd0(aceride0:0:0): using PIO mode 4
}
[CF 4G x133]{
wd0 at atabus0 drive 0: <TS4GCF133>
wd0: drive supports 1-sector PIO transfers, LBA addressing
wd0: 3823 MB, 7769 cyl, 16 head, 63 sec, 512 bytes/sect x 7831152 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
wd0(aceride0:0:0): using PIO mode 4
}
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
fxp0: Microcode loaded: int delay: 1000 usec, max bundle: 6



[set root password]
lisa# passwd root


[add user hoge]
lisa# vipw
hoge:*:1002:20::0:0:Hoge Hoge User:/home/hoge:/bin/sh

lisa# passwd hoge
lisa# mkdir -p /usr/home/hoge



 Copyright(C)2017 Kuramoto.org
 NO WARRANTY.
($Date: 2017/11/06 08:05:09 $ $Revision: 1.8 $)