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
[-- Attachment #1 --] 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=2 # number of CPUs options NBUS=4 # 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 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=15000 #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=200 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 rayk@wwncorp.net [-- Attachment #2 --] <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN"> <HTML> <HEAD> <META content=text/html;charset=iso-8859-1 http-equiv=Content-Type> <META content='"MSHTML 4.72.2106.6"' name=GENERATOR> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT size=2>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.</FONT></DIV> <DIV><FONT size=2></FONT> </DIV> <DIV><FONT size=2>The problem is that after the second CPU is launched time outs occur on the SCSI bus. The messages are as follows:</FONT></DIV> <DIV><FONT size=2></FONT><FONT color=#000000 size=2>(probe:dpt0:0:0:0) : CCB 0xf5526744 - timed out</FONT></DIV> <DIV><FONT color=#000000 size=2></FONT> <DIV><FONT color=#000000 size=2>(probe:dpt0:0:0:0) : CCB 0xf5526744 - timed out CCB already completed</FONT></DIV> <DIV><FONT color=#000000 size=2></FONT> <DIV><FONT color=#000000 size=2>(probe:dpt0:0:2:0) : CCB 0xf552664c - timed out</FONT></DIV> <DIV><FONT color=#000000 size=2></FONT> <DIV><FONT color=#000000 size=2>(probe:dpt0:0:3:0) : CCB 0xf55265d0 - timed out</FONT></DIV> <DIV><FONT color=#000000 size=2></FONT><FONT size=2>...</FONT></DIV> <DIV><FONT color=#000000 size=2></FONT> <DIV><FONT color=#000000 size=2>(probe:dpt0:0:15:0) : CCB 0xf552607c - timed out</FONT></DIV> <DIV><FONT color=#000000 size=2></FONT><FONT size=2>... etc</FONT></DIV></DIV></DIV></DIV></DIV> <DIV><FONT size=2>We've installed the 3.0 version on the same machine in single CPU mode without a problem.</FONT></DIV> <DIV><FONT size=2>Can you advise us.</FONT></DIV> <DIV><FONT size=2> The folloeing is the SMP config file used:</FONT></DIV> <DIV><FONT size=2></FONT><FONT face="Courier New" size=2> <P>machine "i386"</P> <P>cpu "I586_CPU"</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=2 # number of CPUs</P> <P>options NBUS=4 # number of busses</P> <P>options NAPIC=1 # number of IO APICs</P> <P>options NINTR=24 # 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, "MFS" req'ed</P> <P>options NFS #Network Filesystem</P> <P>options NFS_ROOT #NFS usable as root device, "NFS" req'ed</P> <P>options MSDOSFS #MSDOS Filesystem</P> <P>options "CD9660" #ISO 9660 Filesystem</P> <P>options "CD9660_ROOT" #CD-ROM usable as root. "CD9660" req'ed</P> <P>options PROCFS #Process filesystem</P> <P>options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!]</P> <P>options SCSI_DELAY=15000 #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 "IO_FD1" bio irq 6 drq 2 vector 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 "CMD640" # work around CMD640 chip deficiency</P> <P>controller wdc0 at isa? port "IO_WD1" 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> </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=200</P> <P>options DPT_LOST_IRQ</P> <P> </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 "IO_KBD" conflicts tty irq 1 vector scintr</P> <P>device npx0 at isa? port "IO_NPX" irq 13 vector npxintr</P> <P>device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 vector siointr</P> <P>device sio1 at isa? port "IO_COM2" 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=2>Thanks,</FONT></DIV> <DIV><FONT size=2>Ray Kraszewski</FONT></DIV> <DIV><FONT size=2>WorldWide Net Corporation </FONT></DIV> <DIV><FONT size=2>rayk@wwncorp.net</FONT></DIV> <DIV><FONT size=2></FONT> </DIV></BODY></HTML>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000701be1aee$6c6a3170$0100a8c0>
