From owner-FreeBSD-users-jp@jp.freebsd.org  Sun Apr  5 01:42:28 1998
Received: by jaz.jp.freebsd.org (8.8.8+3.0Wbeta7/8.7.3) id BAA07655
	Sun, 5 Apr 1998 01:42:28 +0900 (JST)
Received: by jaz.jp.freebsd.org (8.8.8+3.0Wbeta7/8.7.3) with ESMTP id BAA07650
	for <freebsd-users-jp@jp.freebsd.org>; Sun, 5 Apr 1998 01:42:25 +0900 (JST)
Received: from shidahara1.planet.kobe-u.ac.jp (takawata@localhost [127.0.0.1]) by shidahara1.planet.kobe-u.ac.jp (8.8.8+2.7Wbeta7/3.4W4-MX) with ESMTP id BAA04184 for <freebsd-users-jp@jp.freebsd.org>; Sun, 5 Apr 1998 01:36:32 +0900 (JST)
Message-Id: <199804041636.BAA04184@shidahara1.planet.kobe-u.ac.jp>
To: freebsd-users-jp@jp.freebsd.org
Date: Sun, 05 Apr 1998 01:36:31 +0900
From: Takanori Watanabe <takawata@shidahara1.planet.kobe-u.ac.jp>
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=24]
X-Sequence: FreeBSD-users-jp 26868
Subject: [FreeBSD-users-jp 26868] SMP and AHA3940? onboard SCSI Controller.
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org

$BEOJU$H?=$7$^$9!#(B

$B5!3#$N@$OC$r6D$;$D$+$C$?$s$G$9$,!"(BOnboard SCSI$B%3%s%H%m!<%i$H!"(BSMP$B$N4X78$G(B
$B$O$^$C$F$^$9!#(B

$B5!3#$O(BHP$B$N(BNetServer LH II
<URL:http://www.jpn.hp.com/GRP1/nserver/ns_pro/lh2.html>
 $B$G!"(B3.0-960311-SNAP$B$rF0$+$7$F$^$9!#(B
UP$B$G$O$&$^$/F0$$$F$k$s$G$9$,!"(BSMP$B$@$H!"(Bmake -j2$B$G:n$C$?$j!"(B
make.conf$B$N%3%s%Q%$%k%*%W%7%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Key fingerprint =  2C 51 E2 78 2C E1 C5 2D  0F F1 20 A3 11 3A 62 2A 

==========
dmesg:
Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 3.0-980311-SNAP #3: Thu Apr  2 04:01:11 JST 1998
    takawat@planet.planet.kobe-u.ac.jp:/usr/src/sys/compile/ADMIRAL
Timecounter "i8254"  frequency 1193182 Hz  cost 4134 ns
CPU: Pentium Pro (686-class CPU)
  Origin = "GenuineIntel"  Id = 0x634  Stepping=4
  Features=0x80fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,MMX>
real memory  = 536870912 (524288K bytes)
avail memory = 520450048 (508252K bytes)
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x000f0011, at 0xfec00000
eisa0: <HWPc141 (System Board)>
Probing for devices on the EISA bus
Probing for devices on PCI bus 0:
chip0: <Intel 82440FX (Natoma) PCI and memory controller> rev 0x02 on pci0.0.0
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> rev 0x02 int a irq 11 on pci0.7.0
fxp0: Ethernet address 00:a0:c9:a7:22:65
chip1: <PCI to PCI bridge (vendor=1011 device=0021)> rev 0x02 on pci0.8.0
chip2: <Intel 82375EB PCI-EISA bridge> rev 0x15 on pci0.9.0
ahc0: <Adaptec aic7880 Ultra SCSI host adapter> rev 0x00 int a irq 9 on pci0.10.0
ahc0: Using left over BIOS settings
ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs
ahc0: waiting for scsi devices to settle
scbus0 at ahc0 bus 0
Sending SDTR!!
sd0 at scbus0 target 0 lun 0
sd0: <HP 4.26GB F 80-1201 > type 0 fixed SCSI 2
sd0: Direct-Access 4067MB (8330542 512 byte sectors)
Sending SDTR!!
sd1 at scbus0 target 1 lun 0
sd1: <HP 4.26GB F 80-1201 > type 0 fixed SCSI 2
sd1: Direct-Access 4067MB (8330542 512 byte sectors)
Sending SDTR!!
sd2 at scbus0 target 3 lun 0
sd2: <HP 4.26GB F 80-1201 > type 0 fixed SCSI 2
sd2: Direct-Access 4067MB (8330542 512 byte sectors)
st0 at scbus0 target 4 lun 0
st0: <HP C1533A A612> type 1 removable SCSI 2
st0: Sequential-Access density code 0x24,  drive empty
cd0 at scbus0 target 5 lun 0
cd0: <TOSHIBA CD-ROM XM-5701TA 0787> type 5 removable SCSI 2
cd0: CD-ROM cd present [321688 x 2048 byte records]
ahc1: <Adaptec aic7880 Ultra SCSI host adapter> rev 0x00 int a irq 9 on pci0.11.0
ahc1: Using left over BIOS settings
ahc1: aic7880 Wide Channel, SCSI Id=7, 16 SCBs
ahc1: waiting for scsi devices to settle
scbus1 at ahc1 bus 0
Sending SDTR!!
sd3 at scbus1 target 4 lun 0
sd3: <HP 4.26GB F 80-1201 > type 0 fixed SCSI 2
sd3: Direct-Access 4067MB (8330542 512 byte sectors)
Sending SDTR!!
sd4 at scbus1 target 5 lun 0
sd4: <HP 4.26GB F 80-1201 > type 0 fixed SCSI 2
sd4: Direct-Access 4067MB (8330542 512 byte sectors)
Probing for devices on PCI bus 1:
vga0: <Matrox MGA 1024SG graphics accelerator> rev 0x03 int a irq 9 on pci1.1.0
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
lpt1 not found
mse0 not found at 0x23c
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
npx0 on motherboard
npx0: INT 16 interface
APIC_IO: routing 8254 via 8259 on pin 0
changing root device to sd0s3a
SMP: AP CPU #1 Launched!

mptable:

===============================================================================

MPTable, version 2.0.15

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

MP Floating Pointer Structure:

  location:			BIOS
  physical address:		0x000fd8d0
  signature:			'_MP_'
  length:			16 bytes
  version:			1.1
  checksum:			0x4d
  mode:				Virtual Wire

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

MP Config Table Header:

  physical address:		0x0009fd50
  signature:			'PCMP'
  base table length:		260
  version:			1.1
  checksum:			0x96
  OEM ID:			'HP      '
  Product ID:			'LH II       '
  OEM table pointer:		0x00000000
  OEM table size:		0
  entry count:			24
  local APIC address:		0xfee00000
  extended table length:	0
  extended table checksum:	0

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

MP Config Base Table Entries:

--
Processors:	APIC ID	Version	State		Family	Model	Step	Flags
		 1	 0x11	 BSP, usable	 6	 3	 4	 0x80fbff
		 0	 0x11	 AP, usable	 6	 3	 4	 0x80fbff
--
Bus:		Bus ID	Type
		 0	 PCI   
		 1	 PCI   
		 2	 EISA  
--
I/O APICs:	APIC ID	Version	State		Address
		 2	 0x11	 usable		 0xfec00000
--
I/O Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	PIN#
		ExtINT	active-hi        edge	     2	   0	      2	   0
		INT	 conforms    conforms	     2	   1	      2	   1
		INT	 conforms    conforms	     2	   0	      2	   2
		INT	 conforms    conforms	     2	   3	      2	   3
		INT	 conforms    conforms	     2	   4	      2	   4
		INT	 conforms    conforms	     2	   5	      2	   5
		INT	 conforms    conforms	     2	   6	      2	   6
		INT	 conforms    conforms	     2	   7	      2	   7
		INT	 conforms    conforms	     2	   8	      2	   8
		INT	 conforms    conforms	     2	   9	      2	   9
		INT	 conforms    conforms	     2	  10	      2	  10
		INT	 conforms    conforms	     2	  11	      2	  11
		INT	 conforms    conforms	     2	  12	      2	  12
		INT	 conforms    conforms	     2	  13	      2	  13
		INT	 conforms    conforms	     2	  14	      2	  14
		INT	 conforms    conforms	     2	  15	      2	  15
--
Local Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	PIN#
		ExtINT	active-hi        edge	     2	   0	    255	   0
		NMI	active-hi        edge	     0	 0:A	    255	   1

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

# SMP kernel config file options:


# Required:
options		SMP			# Symmetric MultiProcessor Kernel
options		APIC_IO			# Symmetric (APIC) I/O

# Optional (built-in defaults will work in most cases):
#options		NCPU=2			# number of CPUs
#options		NBUS=3			# number of busses
#options		NAPIC=1			# number of IO APICs
#options		NINTR=24		# number of INTs

===============================================================================


config:
=======

#
# SMP-GENERIC -- Smp machine with WD/AHx/NCR/BTx family disks
#
# For more information read the handbook part System Administration -> 
# Configuring the FreeBSD Kernel -> The Configuration File. 
# The handbook is available in /usr/share/doc/handbook or online as
# latest version from the FreeBSD World Wide Web server 
# <URL:http://www.FreeBSD.ORG/>
#
# An exhaustive list of options and more detailed explanations of the 
# device lines is present in the ./LINT configuration file. If you are 
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
#	$Id: SMP-GENERIC,v 1.10 1997/10/31 22:10:02 jseger Exp $

machine		"i386"
# SMP does NOT support 386/486 CPUs.
#cpu		"I386_CPU"
#cpu		"I486_CPU"

cpu		"I586_CPU"
cpu		"I686_CPU"
ident		ADMIRAL
maxusers	10

# Create a SMP capable kernel (mandatory options):
options		SMP			# Symmetric MultiProcessor Kernel
options		APIC_IO			# Symmetric (APIC) I/O

# Optional, these are the defaults:
options		NCPU=2			# number of CPUs
options		NBUS=3			# number of busses
options		NAPIC=1			# number of IO APICs
options		NINTR=24		# number of INTs

# Lets always enable the kernel debugger for SMP.
options		DDB

# SMP shouldn't need x87 emulation, disable by default.
#options		MATH_EMULATE		#Support for x87 emulation

options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		NFS			#Network 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		UCONSOLE		#Allow users to grab the console
options		FAILSAFE		#Be conservative
options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor

config		kernel	root on wd0

controller	isa0
controller	eisa0
controller	pci0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1
tape		ft0	at fdc0 drive 2

# A single entry for any of these controllers (ncr, ahb, ahc, amd) is
# sufficient for any number of installed devices.
controller	ahc0

controller	scbus0

device		sd0

device		od0	#See LINT for possible `od' options.

device		st0

device		cd0	#Only need one of these, the code dynamically grows

options		SYSVSEM
options		SYSVSHM
options		SYSVMSG
# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device		vt0	at isa? port "IO_KBD" tty irq 1 vector pcrint
#options		PCVT_FREEBSD=210	# pcvt running on FreeBSD >= 2.0.5
#options		XSERVER			# include code for XFree86
#options		FAT_CURSOR		# start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#options		PCVT_SCANSET=2		# IBM keyboards are non-std

device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

#
# Laptop support (see LINT for more options)
#
device		apm0    at isa?	disable	flags 0x31 # Advanced Power Management

# PCCARD (PCMCIA) support
#controller	card0
#device		pcic0	at card?
#device		pcic1	at card?

device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
device		sio2	at isa? disable port "IO_COM3" tty irq 5 vector siointr
device		sio3	at isa? disable port "IO_COM4" tty irq 9 vector siointr

device		lpt0	at isa? port? tty irq 7 vector lptintr
device		lpt1	at isa? port? tty
device		mse0	at isa? port 0x23c tty irq 5 vector mseintr

device		psm0	at isa? disable port "IO_KBD" conflicts tty irq 12 vector psmintr

# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
device fxp0

pseudo-device	loop
pseudo-device	ether
pseudo-device	sl	1
# iijppp uses tun instead of ppp device
#pseudo-device	ppp	1
pseudo-device	tun	1
pseudo-device	pty	16
pseudo-device	gzip		# Exec gzipped a.out's

# KTRACE enables the system-call tracing facility ktrace(2).
# This adds 4 KB bloat to your kernel, and slightly increases
# the costs of each syscall.
options		KTRACE		#kernel tracing



