From owner-FreeBSD-users-jp@jp.freebsd.org  Tue Sep  5 19:37:11 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id TAA07962;
	Tue, 5 Sep 2000 19:37:11 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from mgate1.sys.hokudai.ac.jp (mgate1.sys.hokudai.ac.jp [133.87.1.130])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id TAA07957
	for <FreeBSD-users-jp@jp.freebsd.org>; Tue, 5 Sep 2000 19:37:11 +0900 (JST)
	(envelope-from takehana@lib.hokudai.ac.jp)
Received: from wwwcs1.sys.hokudai.ac.jp (localhost [127.0.0.1])
	by mgate1.sys.hokudai.ac.jp (8.9.3/3.7W) with ESMTP id TAA18356
	for <FreeBSD-users-jp@jp.freebsd.org>; Tue, 5 Sep 2000 19:36:38 +0900 (JST)
Received: from mailserv.lib.hokudai.ac.jp by wwwcs1.sys.hokudai.ac.jp (8.9.3/3.7W) id TAA00647; Tue, 5 Sep 2000 19:37:28 +0900 (JST)
Received: from engopac02.lib.hokudai.ac.jp (engopac02.lib.hokudai.ac.jp [133.87.138.158])
	by mailserv.lib.hokudai.ac.jp (8.9.3/3.7W-19990831) with SMTP id TAA08574;
	Tue, 5 Sep 2000 19:37:04 +0900
Message-Id: <200009051037.TAA08574@mailserv.lib.hokudai.ac.jp>
X-My-Real-Login-Name: takehana; mailserv.lib.hokudai.ac.jp
X-Mailer: Denshin 8 Go V321.1b7
Date: Tue, 05 Sep 2000 19:42:36 +0900
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-2022-jp
From: TAKEHANA Toshiharu <takehana@lib.hokudai.ac.jp>
To: FreeBSD-users-jp@jp.freebsd.org
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: FreeBSD-users-jp 54875
Subject: [FreeBSD-users-jp 54875] Memory Probe in FreeBSD(98)2.2.8-Rev03
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org
X-Originator: takehana@lib.hokudai.ac.jp


$B$O$8$a$^$7$F!"C]I!$H$b$&$7$^$9!#(J
$B8E$$(J version $B$N$O$J$7$G62=L$J$s$G$9$,!"$h$m$7$/$*4j(J
$B$$$$$?$7$^$9!#(J

$B8=:_!"<+Bp$G0J2<$N$h$&$J9=@.$G;H$C$F$^$9!#(J
$BK\BN(J		: PC-9801RA21
CPU		: AMD5x86 120MHz 
	  	  ($B%a%k%3(J EUD-HP, $B@n5WJ]$5$s:n(J excache 1.3 $B;HMQ(J)
$B%a%b%j(J		: 11.6M($BK\BN(J) + 64M(EUD-HP $B>e(J)
SCSI-IF		: SC-98SB (I$B!&(JO$B%G!<%?(J), $B%P%9%^%9%?$G;HMQ(J
$B%S%G%*%\!<%I(J	: GA-NB4 (I$B!&(JO$B%G!<%?(J)
NIC		: LGY-98-T ($B%a%k%3(J)

FreeBSD(98) 2.2.6R-Rev02 $B$r;H$C$F$$$?$s$G$9$,!":#G/(J
$B$N@57n5Y$_$K(J 2.2.8R-Rev03 $B$X>e$2$^$7$?!#(J
# $B%[%s%H$O!"(J3.3R $B$X>e$2$?$+$+$C$?$s$G$9$,!"$J$s$+%d%C(J
# $B%+%$$=$&$@$C$?$s$@$G(J...$B!#(J
# $B%$%s%9%H!<%i$NN"$N(J shell $B$G!"(Jrm /dev/*  $B$9$l$P$$$$(J
# $B$N$+$J$!!"$C$F$$$&$N$OK\Bj$G$O$J$/$F(J...$B!#(J

2.2.6R-Rev02 $B$G$O2wD4$KF0$$$F$$$?$s$G$9$,!"(J2.2.8R-Rev03
$B$X>e$2$?$H$3$m!"(Jboot$B;~(J (boot: $B%W%m%s%W%H$N8e!"(JCopyright
$B$rI=<($9$k$r$"$?$j$+$i(J) $B$K!"%G%#%9%W%l%$$N(J20$B9TL\$"$?(J
$B$j$K!"J8;z$H=E$J$C$F!"?eJ?$KNP?'$N@~$,I=<($5$l!"$5$i(J
$B$KI=<($,?J$`$K$D$l$F!"NP?'$N@~$,2<$X$N$S$F!"<JLOMM$K(J
$B$J$C$F!"%^%&%s%H$9$k$"$?$j$G(J panic $B$7$F$7$^$$$^$9!#(J

$BKh2s5/$3$k$C$F$$$&$o$1$G$O$J$/$F!"BgBN(J3$B2s$K(J2$B2s0L$N3d(J
$B9g$G5/$3$j$^$9!#(J
$B5/F0D>8e$O5/$3$j$K$/$$$H$$$&$3$H$b$J$/!"A4$/%i%s%@%`(J
$B$K5/$3$C$F$$$k$h$&$K46$8$^$9!#(J

$B$G!"$7$g$&$,$J$$$N$G!"$$$m$s$J(J version $B$N%=!<%9$rF~(J
$B$l$F;n$7$F$_$^$7$?!#(J

	2.2.6R-Rev02		panic $B$7$J$$(J
	2.2.7R-Rev01		panic $B$9$k(J
	2.2.8R-Rev02		panic $B$9$k(J
	2.2.8R-Rev03		panic $B$9$k(J
	2.2.8R-Rev03 PAO$B%L%-(J	panic $B$9$k(J

$B$^$?!"(J2.2.8R-Rev03 $B$G(J
	options		CPU_MELCO_EX_WT
	options		"CPU_MELCO_EX_IOWAIT=7"		#5 (0-7)
	options		CPU_MELCO_EX_MEMNOBURST
	options		CPU_MELCO_EX_MEMNOFAST
	options		CPU_MELCO_EX_MEMWAIT
	options		"CPU_MELCO_EX_MEMCLOCK=7"	#1 (0-7)
$B$"$?$j$r$$$8$C$F$_$?$s$G$9$,!"(Jpanic $B$7$F$7$^$$$^$9!#(J

$B$5$i$K!"(Jbs $B%I%i%$%P$r5?$C$F!"(JDMA $BE>Aw$H%P%9%^%9%?E>(J
$BAw$r;n$7$F$_$?$s$G$9$,!"$I$A$i$G$b(J panic $B$7$F$7$^$$(J
$B$^$9!#(J
http://home.jp.FreeBSD.org/cgi-bin/showmail/announce-jp/508
$B$N%Q%C%A$b;n$7$F$_$?$s$G$9$,!"$3$N=$@5$r$7$F$bJQ$o(J
$B$j$^$;$s!#!J4X78$J$$$+$J(J??$B!K(J

$B0lEY$J$s$H$+(J login: $B$^$G;}$C$F$$$C$F!"(Jreboot $B$7$J$1$l(J
$B$P!"$J$s$F$3$H$O$J$$$s$G$9$,!";H$$$K$/$$$s$G!"860x$r(J
$BFM$-;_$a$?$$$H;W$C$F$^$9!#(J
Walnut Creek $B$+$i(J 4.1R $B$,FO$$$?$i!"(J4.1R $B$rF~$l$h$&$H(J
$B;W$C$F$k$s$G$9$,!"$I$&$;G:$`$N$J$i:#$N$&$A$KJRIU$1$F(J
$B$7$^$*$&$H;W$C$F$^$9!#(J


$B$3$3$G$h$&$d$/K\Bj$G$9!#(J
> Too many holes in the physical address space

$B$C$F8@$C$F$k$s$G!"%S%G%*(JRAM $B$rIaDL$N(J RAM $B$H%+%s%A%,(J
$B%$$7$F%a%b%j$K3d$jEv$F$i$l$A$c$C$F$k$s$8$c$J$$$+!"$H(J
$B5?$C$F$$$^$9!#(J
2.2.6R-Rev02 $B$H(J 2.2.8R-Rev03 (2.2.7R-Rev01??) $B$G%a%b(J
$B%j8!=P$K4X$9$k$H$3$m$G!"JQ99$K$J$C$?$H$3$m$O$"$k$s$G(J
$B$7$g$&$+(J??
$B%a%b%jNL$r8!=P$7$F$$$k$H$3$m$C$F!"(J/sys/pc98/i386/machdep.c $B$N(J
$B2<$"$?$j$C$F8+Ev$O$D$$$?$s$G$9$,!"$=$3$+$i@h$,$o$+$j(J
$B$^$;$s!#(J

$B!VJQ$o$C$F$$$J$$!W$N$J$i!"B>$K860x$,$"$k!"$H$$$&$3$H(J
$B$G$9$N$G!"$=$l$G$b%1%C%3%&$G$9!#(J

$BD9$/$J$C$F$7$^$$$^$7$?$,!"$h$m$7$/$*4j$$$$$?$7$^$9!#(J


$B0J2<$K!"(J
1. $B@5>o$K5/F0$7$?;~$N(J dmesg
2. panic $B$7$?;~$N(J dmesg $B$N0lNc(J (log $B$,;D$i$J$$$s$G<j$G=q$-$&$D$7$?$b$N(J)
3. config $B%U%!%$%k(J
$B$r$D$1$F$*$-$^$9!#(J

--------------------------------------------------------------------------
1. $B@5>o$K5/F0$7$?;~$N(J dmesg

Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1994-1998  FreeBSD(98) porting team.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California.
Copyright (c) 1992  A.Kojima F.Ukai M.Ishii (KMC).
	All rights reserved.

FreeBSD 2.2.8-RELEASE #0: Sun Sep  3 01:47:54 JST 2000
    ahou@ayumi.my.domain:/usr/src/sys228_3_nopao/compile/AYUMI
CPU: AMD Enhanced Am486DX4 Write-Back (486-class CPU)
  Origin = "AuthenticAMD"  Id = 0x494  Stepping=4
  Features=0x1<FPU>
CPU Controller: MGA-27 at 0x60e0, Id = 0x41 (EUD-HP (RA))
real memory  = 83886080 (81920K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009ffff, 651264 bytes (159 pages)
0x001d9000 - 0x00bfffff, 10645504 bytes (2599 pages)
0x01000000 - 0x04ffdfff, 67100672 bytes (16382 pages)

FreeBSD Kernel Configuration Utility - Version 1.1
 Type "help" for help or "visual" to go to the visual
 configuration interface (requires MGA/VGA display or
 serial terminal capable of displaying ANSI graphics).
config> exit
avail memory = 75812864 (74036K bytes)
Probing for devices on the ISA bus:
sc0 at 0x41-0x50 irq 1 on isa
sc0:  <text mode> <16 virtual consoles, flags=0x0>
ed3 at 0xd0-0xdf irq 6 flags 0x400000 on isa
ed3: address 00:40:26:14:73:e9, type LGY-98 (16 bit) 
sio0 at 0x30-0x33 irq 4 on isa
sio0: type 8251 (internal)
lpt0 at 0x40-0x47 on isa
mse0 at 0x7fd9 irq 13 on isa
fdc0 at 0x90-0x97 irq 11 drq 2 on isa
fd0: 1M/640K FDD
fd1: 1M/640K FDD
fd2: 1M/640K FDD
fd3: 1M/640K FDD
bs0: scsi bus reset and try to restart ... done. scsi bus ready.
bs0(2:0): <check> could not clear CA state
bs0(3:0): <check> could not clear CA state
bs0 at 0xcc0-0xcc4 irq 5 drq 3 flags 0x10000 on isa
bs0 waiting for scsi devices to settle
(bs0:0:0): "MAXTOR 7213-SCSI 0742" type 0 fixed SCSI 1
bs0(0:0): {0:0x0:0x1000:dma} flags 0xffff0b01<noparity,nosat,sync>
sd0(bs0:0:0): Direct-Access 202MB (415488 512 byte sectors)
sd0(bs0:0:0): with 1623 cyls, 8 heads, and an average 32 sectors/track
(bs0:1:0): "MELCO DSC-E4000 1.02" type 0 fixed SCSI 2
bs0(1:0): {0:0x10:0x1000:dma} flags 0xffff0b01<noparity,nosat,sync>
sd1(bs0:1:0): Direct-Access 4118MB (8433664 512 byte sectors)
sd1(bs0:1:0): with 8236 cyls, 8 heads, and an average 128 sectors/track
(bs0:2:0): "NEC CD-ROM DRIVE:501 2.3" type 5 removable SCSI 2
bs0(2:0): {5:0x10:0x1000:dma} flags 0xffff0b00<noparity,nosat>
cd0(bs0:2:0): CD-ROM can't get the size
(bs0:3:0): "KONICA OMD-9062 1.10" type 7 removable SCSI 2
bs0(3:0): {7:0x98:0x1000:dma} flags 0xffff0b00<noparity,nosat>
od0(bs0:3:0): Optical od not present
od0(bs0:3:0): with approximate 0 cyls, 0 heads, and 0 sectors/track
npx0 flags 0x1 on isa
npx0: INT 16 interface
imasks: bio c0080820, tty c0072052, net c0072052
BIOS Geometries:
 0:02660821 0..614=615 cylinders, 0..8=9 heads, 1..33=33 sectors
 1:02660821 0..614=615 cylinders, 0..8=9 heads, 1..33=33 sectors
 2:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
 3:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
 4:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
 5:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
 6:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
 7:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
 0 accounted for
Device configuration finished.
new masks: bio c0080820, tty c0072052, net c0072052
Considering FFS root f/s.
bs0(1:0): <synchronous> period 0x19 offset 12 chip (0xac) 10.0 M/s
sd1s1: mid 0xa1, start 1024, end = 2098175, size 2097152: OK
sd1s2: mid 0xa2, start 2098176, end = 3144703, size 1046528: OK
sd1s3: mid 0xa3, start 3144704, end = 3666943, size 522240: OK
sd1s4: mid 0x94, start 3666944, end = 8433663, size 4766720: OK



--------------------------------------------------------------------------
2. panic $B$7$?;~$N(J dmesg $B$N0lNc!#(J
   $B1?NI$/(J boot: $B%W%m%s%W%H$K(J -cv $B$HF~$l$i$l$?$H$-(J

Too many holes in the physical address space, given up
Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1994-1998 FreeBSD(98) porting team.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California
Copyright (c) 1992  A.Kojima F.Ukai M.Ishii (KMC)
	All rights reserved.

FreeBSD 2.2.8-RELEASE #0: Sun Sep  3 01:47:54 JST 2000
    ahou@ayumi.my.domain:/usr/src/sys228_3_nopao/compile/AYUMI
CPU: AMD Enhanced Am486DX4 Write-Back (486-class CPU)
  Origin = "AuthenticAMD"  Id = 0x494  Stepping=4
  Features=0x1<FPU>
real memory = 17563648 (17152K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009ffff, 651264 bytes (159 pages)
0x001d9000 - 0x00bfffff, 10645504 bytes (2599 pages)
0x01000000 - 0x010a1fff, 663552 bytes (162pages)
0x010a8000 - 0x010bdfff, 90112 bytes (22pages)

FreeBSD Kernel Configuration Utility - Version 1.1
 Type "help" for help of "visual" to go to the visual
 configuration interface (requires MGA/VGA display or
 serial terminal capable of displaying ANSI graphics).
config>exit

avail memory = 11001856 (10744Kbytes)

.. $BCfN,!#=q$-$&$D$;$:!#(J
$B:G=i$N(J panic $B%a%C%;!<%8$N%"%?%^$b@Z$l$F$^$9!#(J


frame pointer          = 0x10:0xf01b0df4
code segment           = base 0x0, limit 0xfffff, type 0x1b
                       = DPL 0, pres 1, def32 1, gran 1
processor eflags       = interrupt enabled, resume, IOPL = 0
current process        = idle
interrump mask         = net tty bio cam
panic: page fault

Fatal trap 12: page fault while in kernel mode
vault virtual address  = 0x0
fault code             = supervisor read, page not present
instruction pointer    = 0x8:0xf01857a2
stack pointer          = 0x10:0xf01b0b80
frame pointer          = 0x10:0xf01b0b8c
code segment           = base 0x0, limit 0xfffff, type 0x1b
                       = DPL 0, pres 1, def32 1, gran 1
processor eflags       = interrupt enabled, resume, IOPL = 0
current process        = idle
interrump mask         = net tty bio cam
panic: page fault

syncing disks... done
Automatic reboot in 15 seconds - press a key on the console to abort



--------------------------------------------------------------------------
3. config $B%U%!%$%k(J

machine		"pc98"
cpu		"I386_CPU"
cpu		"I486_CPU"
ident		"AYUMI"
maxusers	32

options		INCLUDE_CONFIG_FILE     # Include this file in kernel

options		"PC98"			#PC98
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		MSDOSFS			#MSDOS Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options		SCSI_DELAY=15		#Be pessimistic about Joe SCSI device
options		BOUNCE_BUFFERS		#include support for DMA bounce buffers
options		UCONSOLE		#Allow users to grab the console
options		"LINE30"
options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor

options		FAILSAFE		#Be conservative

options		SYSVSHM			
options		SYSVSEM
options		SYSVMSG

options		AUTO_CLOCK
#
#	Melco EUD-HP support
options		CPU_MELCO_EX
#options		CPU_MELCO_EX_TURBO
#options		CPU_MELCO_EX_WT
#options		CPU_MELCO_EX_NODMAFLUSH
#options		"CPU_MELCO_EX_IOWAIT=7"		#5 (0-7)
options		"CPU_MELCO_EX_MEMSLOT0=32"
options		"CPU_MELCO_EX_MEMSLOT1=32"
options		"MAXMEM=81920"
#options		CPU_MELCO_EX_MEMNOBURST
#options		CPU_MELCO_EX_MEMNOFAST
#options		CPU_MELCO_EX_MEMWAIT
#options		"CPU_MELCO_EX_MEMCLOCK=7"	#1 (0-7)

config		kernel	root on sd1

controller	isa0

controller	fdc0	at isa? port "IO_FD1" bio irq 11 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1
disk		fd2	at fdc0 drive 2
disk		fd3	at fdc0 drive 3

options	BS_TARG_SAFEMODE

# SC-98
controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0x10000 vector bsintr
controller	scbus0

device		sd0

device		od0	#See LINT for possible `od' options.
options		"OD_BOGUS_NOT_READY"
device		cd0	#Only need one of these, the code dynamically grows
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
device		npx0	at isa? port "IO_NPX" irq 8 flags 0x1 vector npxintr
device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		lpt0	at isa? port "IO_LPT"  tty
device		mse0	at isa? port "IO_MSE" tty irq 13 vector mseintr

device ed3 at isa? port 0x00d0 net irq 6 flags 0x400000 vector edintr

pseudo-device	loop
pseudo-device	ether
pseudo-device	log
pseudo-device	sl	1
pseudo-device	ppp	1
pseudo-device	vn	1
pseudo-device	tun	1
pseudo-device	pty	16
pseudo-device	gzip		# Exec gzipped a.out's

options		KTRACE		#kernel tracing

--------------------------------------------------------------------------

--
$B$G$s$?$/$*$C$5$s(J

$BC]I!(J $BIR<#(J ($BKL3$F;Bg3X9)3XIt?^=q@0M}3](J)
takehana@lib.hokudai.ac.jp
--
