Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Nov 1998 08:44:51 -0800
From:      rayk@wwncorp.net (Ray Kraszewski)
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   SMP FreeBSD 3.0
Message-ID:  <000701be1aee$6c6a3170$0100a8c0@system1.home.loc>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0004_01BE1AAB.5D495790
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

We're trying to set up a server using dual P133 processors with the SMP =
kernel of Free BSD 3.0. The server is equipped with a DPT PM2144w SCSI =
host adapter to which is connected a 9 GB Seagate HD. There are no IDE =
devices although support for an IDE CDROM drive is being compiled on the =
first IDE bus.

The problem is that after the second CPU is launched time outs occur on =
the SCSI bus. The messages are as follows:
(probe:dpt0:0:0:0) : CCB 0xf5526744 - timed out
(probe:dpt0:0:0:0) : CCB 0xf5526744 - timed out CCB already completed
(probe:dpt0:0:2:0) : CCB 0xf552664c - timed out
(probe:dpt0:0:3:0) : CCB 0xf55265d0 - timed out
...
(probe:dpt0:0:15:0) : CCB 0xf552607c - timed out
... etc
We've installed the 3.0 version on the same machine in single CPU mode =
without a problem.
Can you advise us.
 The folloeing is the SMP config file used:
machine "i386"

cpu "I586_CPU"

ident SMP

maxusers 32

# 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=3D2 # number of CPUs

options NBUS=3D4 # number of busses

options NAPIC=3D1 # number of IO APICs

options NINTR=3D24 # number of INTs

# Lets always enable the kernel debugger for SMP.

options DDB

options INET #InterNETworking

options FFS #Berkeley Fast Filesystem

options FFS_ROOT #FFS usable as root device [keep this!]

options MFS #Memory Filesystem

options MFS_ROOT #MFS usable as root device, "MFS" req'ed

options NFS #Network Filesystem

options NFS_ROOT #NFS usable as root device, "NFS" req'ed

options MSDOSFS #MSDOS Filesystem

options "CD9660" #ISO 9660 Filesystem

options "CD9660_ROOT" #CD-ROM usable as root. "CD9660" req'ed

options PROCFS #Process filesystem

options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!]

options SCSI_DELAY=3D15000 #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 da0

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

# Unless you know very well what you're doing, leave ft0 at drive 2, or

# remove the line entirely if you don't need it. Trying to configure

# it on another unit might cause surprises, see PR kern/7176.

tape ft0 at fdc0 drive 2

options "CMD640" # work around CMD640 chip deficiency

controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr

disk wd0 at wdc0 drive 0

disk wd1 at wdc0 drive 1

options ATAPI #Enable ATAPI support for IDE bus

options ATAPI_STATIC #Don't do it as an LKM

device wcd0 #IDE CD-ROM



# This controller offers a number of configuration options, too many to

# document here - see the LINT file in this directory and look up the

# dpt0 entry there for much fuller documentation on this.

controller dpt0

options DPT_FREELIST_IS_STACK

options DPT_INTR_DELAY=3D200

options DPT_LOST_IRQ



controller scbus0

device da0

# syscons is the default console driver, resembling an SCO console

device sc0 at isa? port "IO_KBD" conflicts tty irq 1 vector scintr

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

device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 vector siointr

device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr

device lpt0 at isa? port? tty irq 7 vector lptintr

device vx0

device xl0

pseudo-device loop

pseudo-device ether

pseudo-device pty 16

pseudo-device gzip # Exec gzipped a.out's

# This provides support for System V shared memory.

#

options SYSVSHM

# The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be

# aware of the legal and administrative consequences of enabling this

# option. The number of devices determines the maximum number of

# simultaneous BPF clients programs runnable.

pseudo-device bpfilter 4 #Berkeley packet filter

Thanks,
Ray Kraszewski
WorldWide Net Corporation=20
rayk@wwncorp.net


------=_NextPart_000_0004_01BE1AAB.5D495790
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.2106.6"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>We're trying to set up a server using dual P133 =
processors=20
with the SMP kernel of Free BSD 3.0. The server is equipped with a DPT =
PM2144w=20
SCSI host adapter to which is connected a 9 GB Seagate HD. There are no =
IDE=20
devices although support for an IDE CDROM drive is being compiled on the =
first=20
IDE bus.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>The problem is that after the second CPU is launched =
time outs=20
occur on the SCSI bus. The messages are as follows:</FONT></DIV>
<DIV><FONT size=3D2></FONT><FONT color=3D#000000 =
size=3D2>(probe:dpt0:0:0:0) : CCB=20
0xf5526744 - timed out</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>
<DIV><FONT color=3D#000000 size=3D2>(probe:dpt0:0:0:0) : CCB 0xf5526744 =
- timed out=20
CCB already completed</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>
<DIV><FONT color=3D#000000 size=3D2>(probe:dpt0:0:2:0) : CCB 0xf552664c =
- timed=20
out</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>
<DIV><FONT color=3D#000000 size=3D2>(probe:dpt0:0:3:0) : CCB 0xf55265d0 =
- timed=20
out</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT><FONT =
size=3D2>...</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>
<DIV><FONT color=3D#000000 size=3D2>(probe:dpt0:0:15:0) : CCB 0xf552607c =
- timed=20
out</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT><FONT size=3D2>...=20
etc</FONT></DIV></DIV></DIV></DIV></DIV>
<DIV><FONT size=3D2>We've installed the 3.0 version on the same machine =
in single=20
CPU mode without a problem.</FONT></DIV>
<DIV><FONT size=3D2>Can you advise us.</FONT></DIV>
<DIV><FONT size=3D2>&nbsp;The folloeing is the SMP config file =
used:</FONT></DIV>
<DIV><FONT size=3D2></FONT><FONT face=3D"Courier New" size=3D2>
<P>machine &quot;i386&quot;</P>
<P>cpu &quot;I586_CPU&quot;</P>
<P>ident SMP</P>
<P>maxusers 32</P>
<P># Create a SMP capable kernel (mandatory options):</P>
<P>options SMP # Symmetric MultiProcessor Kernel</P>
<P>options APIC_IO # Symmetric (APIC) I/O</P>
<P># Optional, these are the defaults:</P>
<P>options NCPU=3D2 # number of CPUs</P>
<P>options NBUS=3D4 # number of busses</P>
<P>options NAPIC=3D1 # number of IO APICs</P>
<P>options NINTR=3D24 # number of INTs</P>
<P># Lets always enable the kernel debugger for SMP.</P>
<P>options DDB</P>
<P>options INET #InterNETworking</P>
<P>options FFS #Berkeley Fast Filesystem</P>
<P>options FFS_ROOT #FFS usable as root device [keep this!]</P>
<P>options MFS #Memory Filesystem</P>
<P>options MFS_ROOT #MFS usable as root device, &quot;MFS&quot; =
req'ed</P>
<P>options NFS #Network Filesystem</P>
<P>options NFS_ROOT #NFS usable as root device, &quot;NFS&quot; =
req'ed</P>
<P>options MSDOSFS #MSDOS Filesystem</P>
<P>options &quot;CD9660&quot; #ISO 9660 Filesystem</P>
<P>options &quot;CD9660_ROOT&quot; #CD-ROM usable as root. =
&quot;CD9660&quot;=20
req'ed</P>
<P>options PROCFS #Process filesystem</P>
<P>options &quot;COMPAT_43&quot; #Compatible with BSD 4.3 [KEEP =
THIS!]</P>
<P>options SCSI_DELAY=3D15000 #Be pessimistic about Joe SCSI device</P>
<P>options UCONSOLE #Allow users to grab the console</P>
<P>options FAILSAFE #Be conservative</P>
<P>options USERCONFIG #boot -c editor</P>
<P>options VISUAL_USERCONFIG #visual boot -c editor</P>
<P>config kernel root on da0</P>
<P>controller isa0</P>
<P>controller eisa0</P>
<P>controller pci0</P>
<P>controller fdc0 at isa? port &quot;IO_FD1&quot; bio irq 6 drq 2 =
vector=20
fdintr</P>
<P>disk fd0 at fdc0 drive 0</P>
<P># Unless you know very well what you're doing, leave ft0 at drive 2, =
or</P>
<P># remove the line entirely if you don't need it. Trying to =
configure</P>
<P># it on another unit might cause surprises, see PR kern/7176.</P>
<P>tape ft0 at fdc0 drive 2</P>
<P>options &quot;CMD640&quot; # work around CMD640 chip deficiency</P>
<P>controller wdc0 at isa? port &quot;IO_WD1&quot; bio irq 14 vector =
wdintr</P>
<P>disk wd0 at wdc0 drive 0</P>
<P>disk wd1 at wdc0 drive 1</P>
<P>options ATAPI #Enable ATAPI support for IDE bus</P>
<P>options ATAPI_STATIC #Don't do it as an LKM</P>
<P>device wcd0 #IDE CD-ROM</P>
<P>&nbsp;</P>
<P># This controller offers a number of configuration options, too many =
to</P>
<P># document here - see the LINT file in this directory and look up =
the</P>
<P># dpt0 entry there for much fuller documentation on this.</P>
<P>controller dpt0</P>
<P>options DPT_FREELIST_IS_STACK</P>
<P>options DPT_INTR_DELAY=3D200</P>
<P>options DPT_LOST_IRQ</P>
<P>&nbsp;</P>
<P>controller scbus0</P>
<P>device da0</P>
<P># syscons is the default console driver, resembling an SCO =
console</P>
<P>device sc0 at isa? port &quot;IO_KBD&quot; conflicts tty irq 1 vector =

scintr</P>
<P>device npx0 at isa? port &quot;IO_NPX&quot; irq 13 vector npxintr</P>
<P>device sio0 at isa? port &quot;IO_COM1&quot; flags 0x10 tty irq 4 =
vector=20
siointr</P>
<P>device sio1 at isa? port &quot;IO_COM2&quot; tty irq 3 vector =
siointr</P>
<P>device lpt0 at isa? port? tty irq 7 vector lptintr</P>
<P>device vx0</P>
<P>device xl0</P>
<P>pseudo-device loop</P>
<P>pseudo-device ether</P>
<P>pseudo-device pty 16</P>
<P>pseudo-device gzip # Exec gzipped a.out's</P>
<P># This provides support for System V shared memory.</P>
<P>#</P>
<P>options SYSVSHM</P>
<P># The `bpfilter' pseudo-device enables the Berkeley Packet Filter. =
Be</P>
<P># aware of the legal and administrative consequences of enabling =
this</P>
<P># option. The number of devices determines the maximum number of</P>
<P># simultaneous BPF clients programs runnable.</P>
<P>pseudo-device bpfilter 4 #Berkeley packet filter</FONT></P></DIV>
<DIV><FONT size=3D2>Thanks,</FONT></DIV>
<DIV><FONT size=3D2>Ray Kraszewski</FONT></DIV>
<DIV><FONT size=3D2>WorldWide Net Corporation&nbsp;</FONT></DIV>
<DIV><FONT size=3D2>rayk@wwncorp.net</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0004_01BE1AAB.5D495790--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000701be1aee$6c6a3170$0100a8c0>