From owner-freebsd-smp  Mon Apr 10  0:38:50 2000
Delivered-To: freebsd-smp@freebsd.org
Received: from cube.gelatinous.com (cube.gelatinous.com [207.82.194.150])
	by hub.freebsd.org (Postfix) with SMTP id 66FB737B60B
	for <smp@freebsd.org>; Mon, 10 Apr 2000 00:38:46 -0700 (PDT)
	(envelope-from aaron@gelatinous.com)
Received: (qmail 88830 invoked by uid 1000); 10 Apr 2000 07:38:36 -0000
Date: Mon, 10 Apr 2000 00:38:36 -0700
From: Aaron Smith <aaron-fbsd@mutex.org>
To: Joe Greco <jgreco@ns.sol.net>
Cc: smp@freebsd.org
Subject: Re: Any problems with serial consoles?
Message-ID: <20000410003836.A88784@gelatinous.com>
References: <200004111252.HAA20496@aurora.sol.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <200004111252.HAA20496@aurora.sol.net>; from jgreco@ns.sol.net on Tue, Apr 11, 2000 at 07:52:41AM -0500
Sender: owner-freebsd-smp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

hi joe, 

one of my boxes is almost this exact hardware (well, dual p2-400 on asus
p2b-ds, 256m ram, scsi) and serial console works fine. when i was debugging
serial console early on, i had a problem where the kernel knew the correct
baud rate but the switchover once boot messages were finished resulted in
garbage. you might want to read:

     http://www.mutex.org/aaron/tips/freebsd-serial-console

which is a breakdown of what i did to get serial console working. from your
description it sounds like baud rate problems OR the terminal program
you're using. the bootup process sends a break a couple times; tip is
pretty awful and would hang up on me or get confused. kermit works though.

aaron

On Tue, Apr 11, 2000 at 07:52:41AM -0500, Joe Greco wrote:
> I've a continuing (multi-year) issue with serial consoles on SMP machines.
> 
> The general issue is that, during bootup, the console "loses it" and seems
> to switch baud rates or something, and all user I/O becomes garbage.
> However, kernel messages continue to print out correctly(!).
> 
> The hardware I typically use is ASUS P2B-DS, large RAM (512MB+), Adaptec
> 3940's, and SMC Dual EtherPower 10/100(s).
> 
> The OS revs are basically everything from 3.0 on up, IIRC.
> 
> The system continues to boot just fine, and eventually the getty on ttyd0
> will clear up the situation by resetting the terminal modes.  I infrequently
> see the situation reassert itself after boot, usually after very long
> uptimes.
> 
> The real problem is single-user mode.  The sequence
> 
> # ccdconfig -Cv; mount -a; sh /etc/netstart
> 
> is at least 50% likely to leave the system in the state described, which of
> course means that it cannot hear further commands such as "reboot god damn
> it I don't want to drive to Chicago to reset you".  So I usually end up
> doing something like
> 
> # (sleep 900; reboot)&
> # ccdconfig -Cv; mount -a; sh /etc/netstart; stty sane; reset
> 
> which generally seems not to fail in the described manner.
> 
> I used to be fairly sure it was something in the networking that was
> causing the problem, but recently I ran into the situation when I was
> merely puttering with the disks after doing a "vinum start; mount -a"
> type affair.
> 
> Solutions solicited.  I may be able to provide a box with the described
> syndrome if anyone wants to look at it.
> 
> ... Joe
> 
> -------------------------------------------------------------------------------
> Joe Greco - Systems Administrator			      jgreco@ns.sol.net
> Solaria Public Access UNIX - Milwaukee, WI			   414/342-4847


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


From owner-freebsd-smp  Mon Apr 10  1: 2:27 2000
Delivered-To: freebsd-smp@freebsd.org
Received: from solaris.matti.ee (solaris.matti.ee [194.126.98.135])
	by hub.freebsd.org (Postfix) with ESMTP id 8112337B5EB
	for <smp@freebsd.org>; Mon, 10 Apr 2000 01:02:25 -0700 (PDT)
	(envelope-from vallo@matti.ee)
Received: from myhakas.matti.ee (myhakas.matti.ee [194.126.114.87])
	by solaris.matti.ee (Postfix) with ESMTP
	id 970E12CECF; Mon, 10 Apr 2000 10:02:21 +0200 (EET)
Received: by myhakas.matti.ee (Postfix, from userid 1000)
	id 041CA1C57D7; Mon, 10 Apr 2000 10:02:19 +0200 (EET)
Date: Mon, 10 Apr 2000 10:02:19 +0200
From: Vallo Kallaste <vallo@matti.ee>
To: Joe Greco <jgreco@ns.sol.net>
Cc: smp@freebsd.org
Subject: Re: Any problems with serial consoles?
Message-ID: <20000410100219.A96316@myhakas.matti.ee>
Reply-To: vallo@matti.ee
References: <200004111252.HAA20496@aurora.sol.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <200004111252.HAA20496@aurora.sol.net>; from jgreco@ns.sol.net on Tue, Apr 11, 2000 at 07:52:41AM -0500
Organization: =?UTF-8?Q?AS_Matti_B=C3=BCrootehnika?=
Sender: owner-freebsd-smp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

On Tue, Apr 11, 2000 at 07:52:41AM -0500, Joe Greco <jgreco@ns.sol.net> wrote:

> I've a continuing (multi-year) issue with serial consoles on SMP machines.
> 
> The general issue is that, during bootup, the console "loses it" and seems
> to switch baud rates or something, and all user I/O becomes garbage.
> However, kernel messages continue to print out correctly(!).

I've two Tyan S1837-UANG boards which work very well with serial console
at 57600 and minicom on the other end. I've set CONSPEED=57600 option
for kernel config, built and installed /usr/src/sys/boot with
/etc/make.conf including BOOT_COMCONSOLE_SPEED=57600. I think the latter
is necessary for getting bootstrap to know the initial speed, otherwise
it defaults to 9600. Finally set '-h' in /boot.config,  disabled getty's
on ttyv's and enabled getty on ttyd0. I'm using minicom -o on the other
end. But you're running 3.x and up not -current as I am, so there can be
differences.
-- 

Vallo Kallaste
vallo@matti.ee


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


From owner-freebsd-smp  Tue Apr 11  9: 5:47 2000
Delivered-To: freebsd-smp@freebsd.org
Received: from mxr01.hvn01.dsl.net (mxr01.hvn01.dsl.net [209.87.64.78])
	by hub.freebsd.org (Postfix) with ESMTP id 35C9D37BAF1
	for <freebsd-smp@freebsd.org>; Tue, 11 Apr 2000 09:05:42 -0700 (PDT)
	(envelope-from eric@cdc.net)
Received: from garfield (216-175-151-207.client.dsl.net [216.175.151.207])
	by mxr01.hvn01.dsl.net (8.9.3/8.9.3) with SMTP id MAA13660
	for <freebsd-smp@freebsd.org>; Tue, 11 Apr 2000 12:08:17 -0400
From: "Duncan, Eric A." <eric@cdc.net>
To: <freebsd-smp@freebsd.org>
Subject: Serious SMP problems on Dell PE 2450 dual P-IIIs 733mhz
Date: Tue, 11 Apr 2000 11:05:18 -0500
Message-ID: <NDBBIMCDELJLMJDJPOFICEONCDAA.eric@cdc.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 1 (Highest)
X-MSMail-Priority: High
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
Importance: High
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Sender: owner-freebsd-smp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org


Basically, I enable SMP support and the system hangs on the PCI probing on
boot up.  I originally wanted to install 3.4, but had to install 4.0 which I
seem to like more now (read below).  Here's the configuration:

Dell Power Edge 2450
Dual 733mhz 133mhz bus P-IIIs
512megs
Adaptec 7899 U2W SCSI (2940 ahc driver)
  ^- Important info below.

Here's the story:

FreeBSD 3.4
----------------
Upon the setup from the 3.4 floppies (ftp install), the kernel never found
the SCSI controller (ahc0).  It never even probed it during the PCI scan.  I
even tried a 3.3-STABLE kernel without success.  I built a custom kernel on
another box including the ahc0 driver.  I even tried wiring down devices,
calling scsibus, setting them manually, setting with '?'s.  I tried it all
and built a new kernel every time.  Even making sure the boot loader wasn't
di'ing it.  All kernels were gzipped as kernel.gz and replaced the kernel.gz
off of the boot floppies at first.  This was how I was able to boot the new
kernel off of the floppies.  I even tried downloading and created the ISOs
for the 3.4 and 4.0 kernels without success.

The ahc controller was never probed upon boot.  It never even showed 'ahc0:
not found' when I had it compiled in the kernel.  Nothing.  Very odd!

FreeBSD 4.0
----------------
Immediately FBSD4 found the ahc0 controller and loaded the correct driver.
It found my tape backup devices, ata cdrom, and 2 da 18gig SCSI drives
without any problems.

I continued to install the kernel, ports, packages, etc.  The system is
running great with all devices configured!

I tried to build a custom kernel.  To disable drivers and clean up the
kernel, firewall, smp, etc.  Everything was going great and running smooth.
Until the SMP part.  As I mentioned above, the kernel halts, with no errors,
it simply locks the machine up while booting.  I tried even using the
GENERIC kernel, which enables a lot and works just fine.  Until I simply
enable SMP support.

And example SMP setup I tried is (which seems to be what the system asks
for):
options SMP
options APIC_IO
options NCPU=2
options NBUS=4
options NAPIC=2
options NINTR=28

Yes, I tried disabling all but the first two lines.  The kernel would halt
immediately telling me I has more then 1 apic and I had to rebuild my kernel
(it numbered NAPIC=2 on the error).  It also reported back errors that I had
4 buses and to increase my NBUS=4 and that I had 28 intr and to increase
NINTR to 28.  I even tried to build a very minimal kernel, disabling
everything but the SMP.  Same results.  It locks up every time after the
ISA configuration of devices, before the 'waiting 15seconds for scsi devices
to settle' statement.

Now, I haven't tried OVER SIZING any of the above.  I had to ship the
servers off today.  But I will be back working on them in a few days and
would love any advice.

Another odd story.  Just for argument sake, I compiled a 3.3-STABLE kernel
with SMP support with the params above, and the floppies loaded it correctly
enabling both CPU0 and CPU1 on boot!  Just no SCSI card/Harddrives were
found because of the 3.x problem of not detecting my SCSI board.

So, I now have a 3.x kernel with SMP but no HD.  And a 4.0 kernel with HDs,
but no SMP support.

Yes, I tried changing all sorts of settings in the BIOS and Utility config.
Changing mem IOs, IRQs, disabling the second bus, etc etc etc.  Everything
combination I can think of.  Disabling the IDE bus (used for the CDROM),
disabling the floppy, etc.  I had another PowerEdge 2450 with dual P-IIIs
600mhz and same controller, but with embedded RAID from Dell.  The
3.3-KERNEL never found the HDs, and the 4.0 kernel never enabled the SMP.
Same results so it isn't a hardware fault I believe.

HELP!  A $1,200 second CPU laying to waste in this system isn't too good at
all.


Thanks in advance,
Eric Duncan

eduncan@idealmusic.com



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


From owner-freebsd-smp  Tue Apr 11 21: 3:50 2000
Delivered-To: freebsd-smp@freebsd.org
Received: from aurora.sol.net (aurora.sol.net [206.55.65.76])
	by hub.freebsd.org (Postfix) with ESMTP id 6665037BBCA
	for <smp@freebsd.org>; Tue, 11 Apr 2000 21:03:47 -0700 (PDT)
	(envelope-from jgreco@aurora.sol.net)
Received: (from jgreco@localhost)
	by aurora.sol.net (8.9.2/8.9.2/SNNS-1.02) id RAA33289;
	Fri, 14 Apr 2000 17:29:18 -0500 (CDT)
From: Joe Greco <jgreco@ns.sol.net>
Message-Id: <200004142229.RAA33289@aurora.sol.net>
Subject: Re: Any problems with serial consoles?
In-Reply-To: <20000410003836.A88784@gelatinous.com> from Aaron Smith at "Apr 10, 2000  0:38:36 am"
To: aaron-fbsd@mutex.org (Aaron Smith)
Date: Fri, 14 Apr 2000 17:29:17 -0500 (CDT)
Cc: smp@freebsd.org
X-Mailer: ELM [version 2.4ME+ PL43 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-smp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

> one of my boxes is almost this exact hardware (well, dual p2-400 on asus
> p2b-ds, 256m ram, scsi) and serial console works fine. when i was debugging
> serial console early on, i had a problem where the kernel knew the correct
> baud rate but the switchover once boot messages were finished resulted in
> garbage. you might want to read:
> 
>      http://www.mutex.org/aaron/tips/freebsd-serial-console
> 
> which is a breakdown of what i did to get serial console working. from your
> description it sounds like baud rate problems OR the terminal program
> you're using. the bootup process sends a break a couple times; tip is
> pretty awful and would hang up on me or get confused. kermit works though.

No.  I've been doing serial consoles since day 1, and was one of the folks
who've done more bizarre stuff like setting up diskless boot to allow serial
consoles.  I'm talking about a problem that is _specific_ to SMP boxes, and
in particular, the systems I described.  That's why I described it the way
I did.  :-)

> On Tue, Apr 11, 2000 at 07:52:41AM -0500, Joe Greco wrote:
> > I've a continuing (multi-year) issue with serial consoles on SMP machines.
-- 
... Joe

-------------------------------------------------------------------------------
Joe Greco - Systems Administrator			      jgreco@ns.sol.net
Solaria Public Access UNIX - Milwaukee, WI			   414/342-4847


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


From owner-freebsd-smp  Tue Apr 11 22: 0:33 2000
Delivered-To: freebsd-smp@freebsd.org
Received: from aurora.sol.net (aurora.sol.net [206.55.65.76])
	by hub.freebsd.org (Postfix) with ESMTP id B51ED37BB91
	for <smp@freebsd.org>; Tue, 11 Apr 2000 22:00:30 -0700 (PDT)
	(envelope-from jgreco@aurora.sol.net)
Received: (from jgreco@localhost)
	by aurora.sol.net (8.9.2/8.9.2/SNNS-1.02) id SAA37382;
	Fri, 14 Apr 2000 18:31:41 -0500 (CDT)
From: Joe Greco <jgreco@ns.sol.net>
Message-Id: <200004142331.SAA37382@aurora.sol.net>
Subject: Re: Any problems with serial consoles?
In-Reply-To: <200004092151.XAA63630@midten.fast.no> from "Tor.Egge@fast.no" at "Apr 9, 2000 11:51:52 pm"
To: Tor.Egge@fast.no
Date: Fri, 14 Apr 2000 18:31:41 -0500 (CDT)
Cc: smp@freebsd.org
X-Mailer: ELM [version 2.4ME+ PL43 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-smp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Your patch didn't quite cleanly patch on 3.3R.  I "think" I did the right
thing with it, though.

Unfortunately, it didn't fix the problem, although it did change it!

I run my "sh /etc/netstart" from single user, now, and it still mashes the
console.  Looks like it changes baud, or parity, or something.  But it 
seems to correct itself, somewhat.

I now get a prompt when it is done.

More fascinating, I can type any non-shell-builtin command, and I get

# command
tcsetpgrp failed, errno=25
tcsetpgrp failed, errno=25

#

"^D" works to continue with system bootup, but of the various commands I
tried, including "stty sane", "reset", etc., none worked.  It is almost
as though something is stomping whatever setup the terminal had.  This is
more or less what I observed with the previous condition as well, except
it never recovered to a point where I could type.

P.S. The triple break to debugger thing would be real cool to have in
FreeBSD-stable.

... Joe

-------------------------------------------------------------------------------
Joe Greco - Systems Administrator			      jgreco@ns.sol.net
Solaria Public Access UNIX - Milwaukee, WI			   414/342-4847


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


From owner-freebsd-smp  Wed Apr 12  0: 5: 7 2000
Delivered-To: freebsd-smp@freebsd.org
Received: from aurora.sol.net (aurora.sol.net [206.55.65.76])
	by hub.freebsd.org (Postfix) with ESMTP id E2C4937BC50
	for <smp@freebsd.org>; Wed, 12 Apr 2000 00:04:55 -0700 (PDT)
	(envelope-from jgreco@aurora.sol.net)
Received: (from jgreco@localhost)
	by aurora.sol.net (8.9.2/8.9.2/SNNS-1.02) id UAA46158;
	Fri, 14 Apr 2000 20:48:20 -0500 (CDT)
From: Joe Greco <jgreco@ns.sol.net>
Message-Id: <200004150148.UAA46158@aurora.sol.net>
Subject: Re: Any problems with serial consoles?
In-Reply-To: <20000412083325.C55899@bnc.net> from Achim Patzner at "Apr 12, 2000  8:33:25 am"
To: ap@bnc.net (Achim Patzner)
Date: Fri, 14 Apr 2000 20:48:19 -0500 (CDT)
Cc: smp@freebsd.org
X-Mailer: ELM [version 2.4ME+ PL43 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Sender: owner-freebsd-smp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

> > No.  I've been doing serial consoles since day 1, and was one of the fo=
lks
> > who've done more bizarre stuff like setting up diskless boot to allow s=
erial
> > consoles.  I'm talking about a problem that is _specific_ to SMP boxes,=
 and
> > in particular, the systems I described.  That's why I described it the =
way
> > I did.  :-)
>=20
> May I have your original problem description again - I guess I never got =
it
> but I'm running 4.0-STABLE on an HP LH4 and it's doing weird things to the
> console while booting (it even crashed the Linux system being the
> console...).

Okay.

Fairly straightforward SMP server-class system.  P2B-DS, various
configurations.  I've maybe a dozen of these and all exhibit it.

Consoles are all 9600 baud (i.e. default), and have ttyd0 enabled
in ttys.

A good percentage of the time (ranging all the way on up to 100%),
the console goes "nuts" right around the time it starts doing the=20
ifconfig's in netstart.  This continues until the box is booted and
the getty runs on ttyd0, at which point all is fine.  Alternatively,
if I go into single user mode and run /etc/netstart, I run the risk
of losing my console to this problem.

Now, it _appears_ as though something odd happens to the baud or parity
or whatever.  However, kernel console messages (particularly ipfw)
continue to print with no problem.

Now, I "solved" (partially) this problem on some of my machines by
sticking a 'stty 9600 sane' in rc.network, but that doesn't really
solve the problem, because running other commands like ifconfig have
been known to toast the machine.

It looks like this:

/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=
=08|=08/=08-=08Console: serial port
BIOS drive A: is disk0
BIOS drive C: is disk1
BIOS drive D: is disk2
BIOS drive E: is disk3
BIOS drive F: is disk4
BIOS drive G: is disk5
BIOS drive H: is disk6
BIOS drive I: is disk7
BIOS drive J: is disk8

FreeBSD/i386 bootstrap loader, Revision 0.7  640/65472kB
(jkh@highwing.cdrom.com, Thu Sep 16 22:16:41 GMT 1999)
|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=
=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08=
/=08-=08\=08|=08/=08Loading /boot/defaults/loader.conf=20
-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=
=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/kernel =
text=3D0x10a408 /=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=
=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08=
-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=
=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08=
\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08=
-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=
=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08=
\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08data=3D0x17=
b48+0x1a97c \=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08syms=3D[0x4+0x1=
ee30\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08+0x4+0x=
206b3\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08]
\=08|=08/=08-=08\=08|=08/=08
Hit [Enter] to boot immediately, or any other key for command prompt.
=0DBooting [kernel] in 14 seconds... =0DBooting [kernel] in 13 seconds... =
=0DBooting [kernel] in 12 seconds... =0DBooting [kernel] in 11 seconds... =
=0DBooting [kernel]...              =20
Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 3.3-RELEASE #0: Mon Nov 15 06:21:26 CST 1999
    root@:/usr/src/sys/compile/SMP
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Xeon/Celeron (686-class CPU)
  Origin =3D "GenuineIntel"  Id =3D 0x653  Stepping =3D 3
  Features=3D0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE=
,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  =3D 536870912 (524288K bytes)
avail memory =3D 519716864 (507536K bytes)
Programming 24 pins in IOAPIC #0
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: 0x00170011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc027e000.
Pentium Pro MTRR support enabled
Probing for devices on PCI bus 0:
chip0: <Intel 82443BX host to PCI bridge> rev 0x03 on pci0.0.0
chip1: <Intel 82443BX host to AGP bridge> rev 0x03 on pci0.1.0
chip2: <Intel 82371AB PCI to ISA bridge> rev 0x02 on pci0.4.0
chip3: <Intel 82371AB Power management controller> rev 0x02 on pci0.4.3
ahc0: <Adaptec aic7890/91 Ultra2 SCSI adapter> rev 0x00 int a irq 19 on pci=
0.6.0
ahc0: aic7890/91 Wide Channel A, SCSI Id=3D7, 16/255 SCBs
hfa0: <FORE Systems PCA-200E ATM> rev 0x00 int a irq 19 on pci0.9.0
chip4: <PCI to PCI bridge (vendor=3D1011 device=3D0021)> rev 0x02 on pci0.1=
1.0
ahc1: <Adaptec 3940A Ultra SCSI adapter> rev 0x03 int a irq 16 on pci0.12.0
ahc1: aic7895 Wide Channel A, SCSI Id=3D7, 255 SCBs
ahc2: <Adaptec 3940A Ultra SCSI adapter> rev 0x03 int b irq 17 on pci0.12.1
ahc2: aic7895 Wide Channel B, SCSI Id=3D7, 255 SCBs
Probing for devices on PCI bus 1:
Probing for devices on PCI bus 2:
de0: <Digital 21140A Fast Ethernet> rev 0x20 int a irq 17 on pci2.4.0
de0: SMC 9332BDT 21140A [10-100Mb/s] pass 2.0
de0: address 00:e0:29:10:e5:e9
de1: <Digital 21140A Fast Ethernet> rev 0x20 int a irq 18 on pci2.5.0
de1: SMC 9332BDT 21140A [10-100Mb/s] pass 2.0
de1: address 00:e0:29:10:e5:e8
Probing for PnP devices:
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=3D0x0>
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A, console
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
sio2: configured irq 5 not in bitmap of probed irqs 0
sio2 not found at 0x3e8
sio3: configured irq 9 not in bitmap of probed irqs 0
sio3 not found at 0x2e8
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
we0 at 0x2e8 on isa
we0: kernel is keeping watchdog alive
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via pin 2
IP packet filtering initialized, divert disabled, rule-based forwarding dis=
abled, logging limited to 100 packets/entry by default
ccd0-3: Concatenated disk drivers
Waiting 2 seconds for SCSI devices to settle
SMP: AP CPU #1 Launched!
de0: enabling 100baseTX port
de1: enabling 100baseTX port
cda1 at ahc1 bus 0 target 0 lun 0
da1: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da1: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Ena=
bled
da1: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da4 at ahc1 bus 0 target 3 lun 0
da4: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da4: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Ena=
bled
da4: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da7 at ahc1 bus 0 target 6 lun 0
da7: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da7: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Ena=
bled
da7: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da10 at ahc2 bus 0 target 0 lun 0
da10: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da10: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing En=
abled
da10: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da6 at ahc1 bus 0 target 5 lun 0
da6: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da6: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Ena=
bled
da6: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da13 at ahc2 bus 0 target 3 lun 0
da13: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da13: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing En=
abled
da13: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da5 at ahc1 bus 0 target 4 lun 0
da5: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da5: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Ena=
bled
da5: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da16 at ahc2 bus 0 target 6 lun 0
da16: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da16: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing En=
abled
da16: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da3 at ahc1 bus 0 target 2 lun 0
da3: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da3: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Ena=
bled
da3: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da15 at ahc2 bus 0 target 5 lun 0
da15: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da15: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing En=
abled
da15: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da2 at ahc1 bus 0 target 1 lun 0
da2: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da2: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Ena=
bled
da2: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da14 at ahc2 bus 0 target 4 lun 0
da14: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da14: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing En=
abled
da14: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da9 at ahc1 bus 0 target 9 lun 0
da9: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da9: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Ena=
bled
da9: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da12 at ahc2 bus 0 target 2 lun 0
da12: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da12: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing En=
abled
da12: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da8 at ahc1 bus 0 target 8 lun 0
da8: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da8: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Ena=
bled
da8: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da11 at ahc2 bus 0 target 1 lun 0
da11: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da11: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing En=
abled
da11: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da18 at ahc2 bus 0 target 9 lun 0
da18: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da18: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing En=
abled
da18: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da17 at ahc2 bus 0 target 8 lun 0
da17: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da17: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing En=
abled
da17: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM DDRS-34560W S97B> Fixed Direct Access SCSI-2 device=20
da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing En=
abled
da0: 4357MB (8925000 512 byte sectors: 255H 63S/T 555C)
hanging root device to da0s2a
vinum: loaded
Can't open history file /var/tmp/vinum_history: No such file or directory (=
2)
vinum: reading configuration from /dev/da17s1e
vinum: updating configuration from /dev/da15s1e
vinum: updating configuration from /dev/da14s1e
vinum: updating configuration from /dev/da16s1e
vinum: updating configuration from /dev/da18s1e
vinum: updating configuration from /dev/da11s1e
vinum: updating configuration from /dev/da12s1e
vinum: updating configuration from /dev/da13s1e
vinum: updating configuration from /dev/da10s1e
vinum: updating configuration from /dev/da5s1e
vinum: updating configuration from /dev/da6s1e
vinum: updating configuration from /dev/da7s1e
vinum: updating configuration from /dev/da8s1e
vinum: updating configuration from /dev/da9s1e
vinum: updating configuration from /dev/da1s1e
vinum: updating configuration from /dev/da4s1e
vinum: updating configuration from /dev/da3s1e
vinum: updating configuration from /dev/da2s1e
vinum: /dev is mounted read-only, not rebuilding /dev/vinum
swapon: adding /dev/da0s2b as swap device
Automatic reboot in progress...
/dev/rda0s2a: FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/rda0s2a: clean, 137165 free (301 frags, 17108 blocks, 0.2% fragmentati=
on)
/dev/rda0s2h: FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/rda0s2h: clean, 787453 free (29 frags, 98428 blocks, 0.0% fragmentatio=
n)
/dev/rda0s2e: FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/rda0s2e: clean, 46261 free (7917 frags, 4793 blocks, 4.0% fragmentatio=
n)
/dev/rda0s2f: FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/rda0s2f: clean, 110419 free (163 frags, 13782 blocks, 0.1% fragmentati=
on)
/dev/rda0s2g: FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/rda0s2g: clean, 1003665 free (217 frags, 125431 blocks, 0.0% fragmenta=
tion)
Doing initial network setup: hostname.
de0: enabling 100baseTX port
de0: enabling Full Duplex 100baseTX port
de0: flags=3D884@@@@=00=00@=00=0E@@=00=0F@=00=00=00=00=00@=00=00=00=00p=00=
=00=00=00=00=00px=00=00=00=00=00=00=00p=0Cp=00@=00=00p=0C=0C=00=00=00=00x=
=00=0E=00=00=00x=00=1E=00=00=00=00=00=00@pTXde1: enabling Full Duplex 100ba=
seTX port
=00=00=00

Now, at that point normally it'd carry on like that until the login prompt
was spawned, but still spitting out kernel messages like the de1: thing.
However, this box has the "stty sane" hack and actually reverts shortly
after that point.

--=20
... Joe

---------------------------------------------------------------------------=
----
Joe Greco - Systems Administrator			      jgreco@ns.sol.net
Solaria Public Access UNIX - Milwaukee, WI			   414/342-4847


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


From owner-freebsd-smp  Wed Apr 12  2:41:55 2000
Delivered-To: freebsd-smp@freebsd.org
Received: from ipamzlx.physik.uni-mainz.de (ipamzlx.Physik.Uni-Mainz.DE [134.93.180.54])
	by hub.freebsd.org (Postfix) with ESMTP id 279C937B8B6
	for <freebsd-smp@freebsd.org>; Wed, 12 Apr 2000 02:41:52 -0700 (PDT)
	(envelope-from ohartman@ipamzlx.physik.uni-mainz.de)
Received: from ipamzlx.Physik.Uni-Mainz.DE (ipamzlx.Physik.Uni-Mainz.DE [134.93.180.54])
	by ipamzlx.physik.uni-mainz.de (8.9.3/8.9.3) with ESMTP id LAA13751
	for <freebsd-smp@freebsd.org>; Wed, 12 Apr 2000 11:42:02 +0200 (CEST)
	(envelope-from ohartman@ipamzlx.physik.uni-mainz.de)
Date: Wed, 12 Apr 2000 11:42:02 +0200 (CEST)
From: "O. Hartmann" <ohartman@ipamzlx.physik.uni-mainz.de>
To: freebsd-smp@freebsd.org
Subject: TYAN Thunder 2500 SMP board and FBSD 4.0
Message-ID: <Pine.BSF.4.10.10004121136100.12966-100000@ipamzlx.physik.uni-mainz.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-smp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Dear Sirs. 
We look for a couple of new SMP server mainboards and we want to obtain
TYAN Thunder 2500 mainboards as they get become available. This type of mainboard
has really nice server features based on a high end chipset from RCC/Reliant
(hope, the manufacturer of this chipset is spelled right). The chipset type
is ServerWorks III/HE. The mainboard comes with two SCSI3/160 channels, a Intel
LAN chip and allows up to 8GB of PC133 registered SDRAMs, FSB is 133MHz, memory is
accessed interleaved. I read the unresolved problems on i840 based mainboards
in case of SMP use so I want to ask the SMP community for assistance, help or
some critical aspects of purchasing and using TYAN Thunder 2500 mainborads
in conjunction with FreeBSD 4.0-STABLE. Does anyone have some comments, experiences, hints
or other thoughts regarding to this? Please email me, your email is highly
appreciated!

Kind regards,

O. Hartmann

Gruss O. Hartmann
-------------------------------------------------------------------
ohartman@ipamzlx.physik.uni-mainz.de

Klimadatenserver des IPA, Universitaet Mainz
Netzwerk- und Systembetreuung



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


From owner-freebsd-smp  Thu Apr 13 19:30:39 2000
Delivered-To: freebsd-smp@freebsd.org
Received: from TYO202.gate.nec.co.jp (TYO202.gate.nec.co.jp [202.247.6.41])
	by hub.freebsd.org (Postfix) with ESMTP id D074637BE45
	for <freebsd-smp@freebsd.org>; Thu, 13 Apr 2000 19:30:35 -0700 (PDT)
	(envelope-from mihara@prd.fc.nec.co.jp)
Received: from mailsv4.nec.co.jp (mailsv4-le1 [192.168.1.93])
	by TYO202.gate.nec.co.jp (8.9.3/3.7W00031314) with ESMTP id LAA25523;
	Fri, 14 Apr 2000 11:30:28 +0900 (JST)
Received: from elmer.prd.fc.nec.co.jp (root@elmer.prd.fc.nec.co.jp [10.32.193.1]) by mailsv4.nec.co.jp (8.9.3/3.7W-MAILSV4-NEC) with ESMTP
	id LAA05262; Fri, 14 Apr 2000 11:30:27 +0900 (JST)
Received: from oz.prd.fc.nec.co.jp (oz.prd.fc.nec.co.jp [10.32.193.3])
	by elmer.prd.fc.nec.co.jp (8.8.8/3.6W-00032121) with ESMTP id LAA24400;
	Fri, 14 Apr 2000 11:30:26 +0900 (JST)
Date: Fri, 14 Apr 2000 11:30:20 +0900
Message-ID: <86vh1l2z43.wl@oz.prd.fc.nec.co.jp>
From: Osamu MIHARA <mihara@prd.fc.nec.co.jp>
To: eric@cdc.net
Cc: freebsd-smp@freebsd.org
Subject: Re: Serious SMP problems on Dell PE 2450 dual P-IIIs 733mhz
In-Reply-To: In your message of "Tue, 11 Apr 2000 11:05:18 -0500"
	<NDBBIMCDELJLMJDJPOFICEONCDAA.eric@cdc.net>
References: <NDBBIMCDELJLMJDJPOFICEONCDAA.eric@cdc.net>
User-Agent: Wanderlust/1.1.0 (Overjoyed) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.1 (patch 9) (Canyonlands) (i386-unknown-freebsd3.4)
Organization: NEC Corporation, Tokyo Japan
MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu")
Content-Type: text/plain; charset=US-ASCII
Sender: owner-freebsd-smp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

At Tue, 11 Apr 2000 11:05:18 -0500,
Duncan, Eric A. <eric@cdc.net> wrote:
> 
> 
> Basically, I enable SMP support and the system hangs on the PCI probing on
> boot up.  I originally wanted to install 3.4, but had to install 4.0 which I
> seem to like more now (read below).  Here's the configuration:
> 
> Dell Power Edge 2450
> Dual 733mhz 133mhz bus P-IIIs
> 512megs
> Adaptec 7899 U2W SCSI (2940 ahc driver)
>   ^- Important info below.

Your situation is almost same as mine.  I have a dual Xion 500MHz
machine (NEC Express 5800/120Rb-2) with RCC LE chipset, 7899 onboard
SCSI controller and Mylex RAID controller.  With 4.0-STABLE smp
enabled kernel, it hangs up while booting, after the proble of SIO.
I also tried current kernel, but the situation was same.

This problems is reported in freebsd-smp.

http://www.freebsd.org/cgi/getmsg.cgi?fetch=0+0+/usr/local/www/db/text/2000/freebsd-smp/20000220.freebsd-smp

In the thread of mail,  it is reported that there may be a problem in
PnP probing in SMP kernel.  I have asked Conrad, the poster of the
above mail, about his current status, and he still has same problem.

I have tried install RedHad Linux on my machine, and ... it works!
I heard that they had a problem in supporting multiple APIC, and it
was fixed recently.  I would like to suggest smp-hackers to invetigate
Linux's code.
-- 
  Osamu MIHARA // NEC Printers Division


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


From owner-freebsd-smp  Fri Apr 14  1:53: 3 2000
Delivered-To: freebsd-smp@freebsd.org
Received: from pn2.vsnl.net.in (pn2.vsnl.net.in [202.54.10.17])
	by hub.freebsd.org (Postfix) with ESMTP id 56AA737BE20
	for <freebsd-smp@FreeBSD.ORG>; Fri, 14 Apr 2000 01:52:58 -0700 (PDT)
	(envelope-from anandamoy@calsoftinc.com)
Received: from videsh ([203.197.83.4])
	by pn2.vsnl.net.in (8.9.0/8.9.0) with SMTP id OAA01139
	for <freebsd-smp@FreeBSD.ORG>; Fri, 14 Apr 2000 14:20:48 +0530 (IST)
Message-ID: <011d01bfa5ee$abb63db0$0a646464@vsnl.net.in>
From: "Anandamoy Roychowdhury" <anandamoy@calsoftinc.com>
To: <freebsd-smp@FreeBSD.ORG>
References: <NDBBIMCDELJLMJDJPOFICEONCDAA.eric@cdc.net> <86vh1l2z43.wl@oz.prd.fc.nec.co.jp>
Subject: 
Date: Fri, 14 Apr 2000 14:21:47 +0530
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Sender: owner-freebsd-smp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

unsubscribe



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


From owner-freebsd-smp  Fri Apr 14  1:53:37 2000
Delivered-To: freebsd-smp@freebsd.org
Received: from pn2.vsnl.net.in (pn2.vsnl.net.in [202.54.10.17])
	by hub.freebsd.org (Postfix) with ESMTP id E2A9637BE75
	for <freebsd-smp@FreeBSD.ORG>; Fri, 14 Apr 2000 01:53:32 -0700 (PDT)
	(envelope-from anandamoy@calsoftinc.com)
Received: from videsh ([203.197.83.4])
	by pn2.vsnl.net.in (8.9.0/8.9.0) with SMTP id OAA32094
	for <freebsd-smp@FreeBSD.ORG>; Fri, 14 Apr 2000 14:21:23 +0530 (IST)
Message-ID: <012501bfa5ee$c055a120$0a646464@vsnl.net.in>
From: "Anandamoy Roychowdhury" <anandamoy@calsoftinc.com>
To: <freebsd-smp@FreeBSD.ORG>
References: <NDBBIMCDELJLMJDJPOFICEONCDAA.eric@cdc.net> <86vh1l2z43.wl@oz.prd.fc.nec.co.jp>
Subject: 
Date: Fri, 14 Apr 2000 14:22:22 +0530
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Sender: owner-freebsd-smp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

unsubscribe freebsd-smp 



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


From owner-freebsd-smp  Fri Apr 14  6:23:12 2000
Delivered-To: freebsd-smp@freebsd.org
Received: from thehousleys.net (frenchknot.ne.mediaone.net [24.147.224.201])
	by hub.freebsd.org (Postfix) with ESMTP id 0420037B58D
	for <freebsd-smp@freebsd.org>; Fri, 14 Apr 2000 06:23:08 -0700 (PDT)
	(envelope-from jim@thehousleys.net)
Received: from thehousleys.net (baby.int.thehousleys.net [192.168.0.24])
	by thehousleys.net (8.9.3/8.9.3) with ESMTP id JAA00797
	for <freebsd-smp@freebsd.org>; Fri, 14 Apr 2000 09:23:07 -0400 (EDT)
Message-ID: <38F71BBB.9FCD3C8B@thehousleys.net>
Date: Fri, 14 Apr 2000 09:23:07 -0400
From: James Housley <jim@thehousleys.net>
Organization: The Housleys dot Net
X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 3.4-STABLE i386)
X-Accept-Language: en
MIME-Version: 1.0
To: freebsd-smp@freebsd.org
Subject: ASUS P2B-D & SMB
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-smp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

I have an Asus P2B-D for my server.  I tried to enable the SMB in SMP
mode but I get a panic on boot.  I don't have a log yet.  I added the
following to my SMP kernel to cause the panic.

controller smbus0
controller intpm0
device smb0     at smbus?
controller iicbus0
controller iicbb0
device ic0      at iicbus?
device iic0     at iicbus?
device iicsmb0  at iicbus?
controller pcf0 at isa? port 0x320 net irq 5

In UP mode it boots fine and produces the following dmesg.

Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights
reserved.
FreeBSD 3.4-STABLE #0: Fri Apr 14 08:29:18 EDT 2000
    root@cat.int.thehousleys.net:/usr/src/sys/compile/MYKERNELup
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (451.02-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x665  Stepping = 5
 
Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CM
OV,PAT,PSE36,MMX,FXSR>
real memory  = 268435456 (262144K bytes)
avail memory = 258486272 (252428K bytes)
Preloaded elf kernel "kernel" at 0xc0281000.
Pentium Pro MTRR support enabled
Probing for devices on PCI bus 0:
chip0: <Intel 82443BX host to PCI bridge> rev 0x03 on pci0.0.0
chip1: <Intel 82443BX host to AGP bridge> rev 0x03 on pci0.1.0
chip2: <Intel 82371AB PCI to ISA bridge> rev 0x02 on pci0.4.0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.4.1
intpm0: <Intel 82371AB Power management controller> rev 0x02 on pci0.4.3
intpm0: I/O mapped e800 ALLOCED IRQ 0 intr IRQ 9 enabled revision 0
intsmb0: <Intel PIIX4 SMBUS Interface>
smbus0: <System Management Bus> on intsmb0
smb0: <SMBus general purpose I/O> on smbus0
intpm0: PM I/O mapped e400 
vx0: <3COM 3C590 Etherlink III PCI> rev 0x00 int a irq 9 on pci0.9.0
utp[*utp*] address 00:60:97:08:9a:d7
ed1: <NE2000 PCI Ethernet (RealTek 8029)> rev 0x00 int a irq 12 on
pci0.10.0
ed1: address 00:80:c8:de:1a:50, type NE2000 (16 bit) 
bt0: <Buslogic Multi-Master SCSI Host Adapter> rev 0x08 int a irq 10 on
pci0.11.
0
bt0: BT-948 FW Rev. 5.06I Ultra Narrow SCSI Host Adapter, SCSI ID 7, 192
CCBs
vga0: <S3 Trio graphics accelerator> rev 0x54 int a irq 11 on pci0.12.0
Probing for devices on PCI bus 1:
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 not found
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
psm0 not found
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
sio2 at 0x3e8-0x3ef irq 5 on isa
sio2: type 16550A
ppc0 at 0x378 irq 7 on isa
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
ppi0: <generic parallel i/o> on ppbus 0
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa
wdc0: unit 0 (wd0): <WDC AC36400L>, DMA, 32-bit, multi-block-16
wd0: 6149MB (12594960 sectors), 13328 cyls, 15 heads, 63 S/T, 512 B/S
wdc0: unit 1 (atapi): <MATSHITA CR-583/107J>, removable, accel, dma,
iordis
acd0: drive speed 1378KB/sec, 128KB cache
acd0: supported read types: CD-R, CD-DA
acd0: Audio: play, 256 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: no/blank disc inside, unlocked
wdc1 at 0x170-0x177 irq 15 flags 0xa0ffa0ff on isa
wdc1: unit 0 (wd2): <WDC AC36400L>, DMA, 32-bit, multi-block-16
wd2: 6149MB (12594960 sectors), 13328 cyls, 15 heads, 63 S/T, 512 B/S
pcf0 at 0x320 irq 5 on isa
pcf0 not attached due to irq conflict with sio2 at 5
bt: unit number (1) too high
bt1 not found at 0x330
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
apm0 flags 0x20 on isa
apm: found APM BIOS version 1.2
pcf0: <PCF8584 I2C bus controller>
iicbus0: <Philips I2C bus> on pcf0 addr 0xaa
iicsmb0: <I2C to SMB bridge> on iicbus0
smbus1: <System Management Bus> on iicsmb0
smb1: <SMBus general purpose I/O> on smbus1
iic0: <I2C general purpose I/O> on iicbus0
IP packet filtering initialized, divert enabled, rule-based forwarding
enabled, 
default to accept, logging limited to 25 packets/entry by default
sa0 at bt0 bus 0 target 3 lun 0
sa0: <HP C1533A A708> Removable Sequential Access SCSI-2 device 
sa0: 10.000MB/s transfers (10.000MHz, offset 15)
da0 at bt0 bus 0 target 0 lun 0
da0: <SEAGATE ST31200N 8648> Fixed Direct Access SCSI-2 device 
da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing
Enabled
da0: 1006MB (2061108 512 byte sectors: 64H 32S/T 1006C)
changing root device to wd0s1a

In SMP it paniced at the "intsmb0: <Intel PIIX4 SMBUS Interface>" line I
think.

What can I do to trouble shoot this.  This functionality is not required
by me, but if I can help with out bringing the server down for too long
I will do what is needed.

My first guesses are I probably need a serial console? and kernel
debugging DDG?

I din't find any open PRs in "i386" searching for SMB or SMP.  All
pointers welcome.

Jim
-- 
In God we Trust -- all others must submit an X.509 certificate.
    -- Charles Forsythe <forsythe@alum.mit.edu>


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


From owner-freebsd-smp  Fri Apr 14 17:50:55 2000
Delivered-To: freebsd-smp@freebsd.org
Received: from mail.prophetnetworks.net (mail.pns.net [63.71.252.9])
	by hub.freebsd.org (Postfix) with ESMTP id C69E837B7AA
	for <freebsd-smp@freebsd.org>; Fri, 14 Apr 2000 17:50:43 -0700 (PDT)
	(envelope-from bvaughn@pns.net)
Received: from radium (radium.noc.prophetnetworks.net [63.71.252.245])
	by mail.prophetnetworks.net (8.9.3/8.9.1) with SMTP id TAA12102
	for <freebsd-smp@freebsd.org>; Fri, 14 Apr 2000 19:56:18 -0500 (EST)
	(envelope-from bvaughn@pns.net)
From: "Ben Vaughn" <bvaughn@pns.net>
To: <freebsd-smp@freebsd.org>
Subject: Issues with Spankin' new Poweredge 4400 w/ dual 866's and 133MHz FSB?
Date: Fri, 14 Apr 2000 19:50:27 -0500
Message-ID: <NDBBLJLIKLNKLNOLEJIKCEKMCDAA.bvaughn@pns.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Importance: Normal
Sender: owner-freebsd-smp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Hello,
	Just got 4.0-STABLE onto this new server of ours, and i'm having serious
problems getting SMP to work. If I enable SMP, I have to use the following
kernel settings:

#options        SMP                     # Symmetric MultiProcessor Kernel
#options        APIC_IO                 # Symmetric (APIC) I/O
# Optionally these may need tweaked, (defaults shown):
#options        NCPU=2                  # number of CPUs
#options        NBUS=14                 # number of busses
#options        NAPIC=4                 # number of IO APICs
#options        NINTR=47                # number of INTs

Without the comments, of course. When I boot, I get past the initial screen,
but the boot process stops right after sio1 initializes. Enabling DDB, and
trying to CTRL-ALT-ESCAPE won't allow me to, so I suppose the whole thing
just dies hard-core when it gets there. Below is a copy of my mptable and
dmesg. If you need anything else, please tell me. I was hoping to bring this
server live by April 21, so I hope someone can help. :-)

Regards,
Ben Vaughn
Prophet Network Systems


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

MPTable, version 2.0.15

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

MP Floating Pointer Structure:

  location:                     BIOS
  physical address:             0x000fe710
  signature:                    '_MP_'
  length:                       16 bytes
  version:                      1.4
  checksum:                     0x91
  mode:                         Virtual Wire

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

MP Config Table Header:

  physical address:             0x000f0000
  signature:                    'PCMP'
  base table length:            604
  version:                      1.4
  checksum:                     0x57
  OEM ID:                       'DELL    '
  Product ID:                   'POWEREDGE 9A'
  OEM table pointer:            0x00000000
  OEM table size:               0
  entry count:                  67
  local APIC address:           0xfee00000
  extended table length:        208
  extended table checksum:      195

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

MP Config Base Table Entries:

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

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

MP Config Extended Table Entries:

--

 bus ID: 0 address type: I/O address
 address base: 0xf000
 address range: 0x1000
--

 bus ID: 0 address type: memory address
 address base: 0xa0000
 address range: 0x20000
--

 bus ID: 0 address type: memory address
 address base: 0xfd000000
 address range: 0x1b10000
--

 bus ID: 1 address type: I/O address
 address base: 0xd000
 address range: 0x2000
--

 bus ID: 1 address type: memory address
 address base: 0xfbf00000
 address range: 0x1100000
--

 bus ID: 6 address type: I/O address
 address base: 0xc000
 address range: 0x1000
--

 bus ID: 6 address type: memory address
 address base: 0xfa000000
 address range: 0x1f00000
--

 bus ID: 8 address type: I/O address
 address base: 0xa000
 address range: 0x2000
--

 bus ID: 0 address type: I/O address
 address base: 0x0
 address range: 0xa000
--

 bus ID: 8 address type: memory address
 address base: 0xf8f00000
 address range: 0x1100000
--

 bus ID: 13 bus info: 0x01 parent bus ID: 0
----------------------------------------------------------------------------
---

# 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=14                 # number of busses
#options                NAPIC=2                 # number of IO APICs
#options                NINTR=47                # number of INTs

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


And, My DMESG:


root@blerf:/usr/src# dmesg
Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 4.0-STABLE #0: Fri Apr 14 13:39:26 EST 2000
    root@blerf.pns.net:/usr/obj/usr/src/sys/PNS-SMP
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon (863.93-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3

Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,
CMOV,PAT,PSE36,MMX,FXSR,XMM>
real memory  = 2147475456 (2097144K bytes)
config> di sn0
No such device: sn0
Invalid command or syntax.  Type `?' for help.
config> di lnc0
No such device: lnc0
Invalid command or syntax.  Type `?' for help.
config> di le0
No such device: le0
Invalid command or syntax.  Type `?' for help.
config> di ie0
No such device: ie0
Invalid command or syntax.  Type `?' for help.
config> di fe0
No such device: fe0
Invalid command or syntax.  Type `?' for help.
config> di ed0
No such device: ed0
Invalid command or syntax.  Type `?' for help.
config> di cs0
No such device: cs0
Invalid command or syntax.  Type `?' for help.
config> di bt0
No such device: bt0
Invalid command or syntax.  Type `?' for help.
config> di aic0
No such device: aic0
Invalid command or syntax.  Type `?' for help.
config> di aha0
No such device: aha0
Invalid command or syntax.  Type `?' for help.
config> di adv0
No such device: adv0
Invalid command or syntax.  Type `?' for help.
config> q
avail memory = 2086125568 (2037232K bytes)
Preloaded elf kernel "kernel" at 0xc0303000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc030309c.
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <RCC LE host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> port 0xfcc0-0xfcff mem
0xfe900000-0xfe9fffff,0xfeb02000-0xfeb02fff irq 14 at device 4.0 on pci0
fxp0: Ethernet address 00:b0:d0:20:a7:06
pci0: <ATI model 4759 graphics accelerator> at 6.0
isab0: <PCI to ISA bridge (vendor=1166 device=0200)> at device 15.0 on pci0
isa0: <ISA bus> on isab0
pci0: <OHCI USB controller> at 15.2 irq 11
pcib1: <RCC LE host to PCI bridge> on motherboard
pci1: <PCI bus> on pcib1
pcib6: <RCC LE host to PCI bridge> on motherboard
pci6: <PCI bus> on pcib6
pcib9: <PCI to PCI bridge (vendor=8086 device=0962)> at device 4.0 on pci6
pci7: <PCI bus> on pcib9
ahc0: <Adaptec aic7899 Ultra160 SCSI adapter> port 0xcc00-0xccff mem
0xfbdff000-0xfbdfffff irq 10 at device 4.0 on pci7
ahc0: aic7899 Wide Channel A, SCSI Id=7, 16/255 SCBs
ahc1: <Adaptec aic7899 Ultra160 SCSI adapter> port 0xc800-0xc8ff mem
0xfbdfe000-0xfbdfefff irq 5 at device 4.1 on pci7
ahc1: aic7899 Wide Channel B, SCSI Id=7, 16/255 SCBs
ahc2: <Adaptec aic7880 Ultra SCSI adapter> port 0xc400-0xc4ff mem
0xfbdfd000-0xfbdfdfff irq 14 at device 6.0 on pci7
ahc2: aic7880 Single Channel A, SCSI Id=7, 16/255 SCBs
pcib8: <RCC LE host to PCI bridge> on motherboard
pci8: <PCI bus> on pcib8
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
IP packet filtering initialized, divert disabled, rule-based forwarding
disabled, default to accept, logging limited to 100 packets/entry by default
DUMMYNET initialized (000106)
Waiting 15 seconds for SCSI devices to settle
pass2 at ahc0 bus 0 target 6 lun 0
pass2: <DELL 1x6 U2W SCSI BP 5.35> Fixed Processor SCSI-2 device
pass2: 3.300MB/s transfers
da0 at ahc0 bus 0 target 0 lun 0
da0: <QUANTUM ATLAS 10K 9SCA UCHD> Fixed Direct Access SCSI-3 device
da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing
Enabled
da0: 8683MB (17783249 512 byte sectors: 255H 63S/T 1106C)
da1 at ahc0 bus 0 target 1 lun 0
da1: <QUANTUM ATLAS 10K 9SCA UCHD> Fixed Direct Access SCSI-3 device
da1: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing
Enabled
da1: 8683MB (17783249 512 byte sectors: 255H 63S/T 1106C)
vinum: loaded
Mounting root from ufs:/dev/da0s1a
cd0 at ahc2 bus 0 target 5 lun 0
cd0: <NEC CD-ROM DRIVE:466 1.06> Removable CD-ROM SCSI-2 device
cd0: 20.000MB/s transfers (20.000MHz, offset 15)
cd0: Attempt to query device size failed: NOT READY, Medium not present



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


From owner-freebsd-smp  Sat Apr 15 16:58:40 2000
Delivered-To: freebsd-smp@freebsd.org
Received: from mxr01.nyc01.dsl.net (ns2.dsl.net [209.87.79.232])
	by hub.freebsd.org (Postfix) with ESMTP id B2ED737B69E
	for <freebsd-smp@freebsd.org>; Sat, 15 Apr 2000 16:58:31 -0700 (PDT)
	(envelope-from eric@cdc.net)
Received: from garfield (216-175-151-207.client.dsl.net [216.175.151.207])
	by mxr01.nyc01.dsl.net (8.9.3/8.9.3) with SMTP id TAA29186;
	Sat, 15 Apr 2000 19:58:24 -0400
From: "Duncan, Eric A." <eric@cdc.net>
To: "Ben Vaughn" <bvaughn@pns.net>, <freebsd-smp@freebsd.org>
Subject: RE: Issues with Spankin' new Poweredge 4400 w/ dual 866's and 133MHz FSB?
Date: Sat, 15 Apr 2000 18:57:53 -0500
Message-ID: <NDBBIMCDELJLMJDJPOFIIEPJCDAA.eric@cdc.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Importance: Normal
In-Reply-To: <NDBBLJLIKLNKLNOLEJIKCEKMCDAA.bvaughn@pns.net>
Sender: owner-freebsd-smp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Ben,

Several of us are having the same issues.  It stops after the SIO probing
(which doesn't have anything to do with the problem).  After reading a few
other messages that users have posted, it seems to be a problem with FBSD
being able to handle more then one APIC.  Here's an article to back it up:

http://www.freebsd.org/cgi/getmsg.cgi?fetch=0+0+/usr/local/www/db/text/2000/
freebsd-smp/20000220.freebsd-smp

Give thanks to Osamu for posting that message.

As it mentions, Linux seems to have fixed the issue recently.  And in the
message, it suggests that FBSD's developers take a look at Linux's code
(ewww!!) to see if anything can be applied.

Yes, this is a serious problem.  I was hoping to have our new 2450 dual
733mhz's online last month.  But this stopped that entire analogy.  As it
stands, it is running off of 1 cpu.  :(

Suggestions:
A few suggestions have came across the wire.  The only thing I can see to
try is to disable the second APIC in the BIOS.  But for me, and other Dell
customers, that isn't an issue as Dell's BIOS is very limited.  And in their
Utility configuration as well.  Dell said (and I verified it) that they can
not disable the second APIC as they work hand and hand on the system.  Maybe
if you call, that will make at lease 4 inquiries to Dell and hopefully they
can release a BIOS update for it.

So if you can't disable all but 1 APIC, I believe you are out of luck using
FreeBSD 4.0 on that machine.

FreeBSD 4.0 developers:
Are you guys looking into this?  If you can give me a hint of which files to
look into in the source, I'll start debugging Linux to see if I can find
their changes.


Eric Duncan
eric@cdc.net



-----Original Message-----
From: owner-freebsd-smp@FreeBSD.ORG
[mailto:owner-freebsd-smp@FreeBSD.ORG]On Behalf Of Ben Vaughn
Sent: Friday, April 14, 2000 7:50 PM
To: freebsd-smp@freebsd.org
Subject: Issues with Spankin' new Poweredge 4400 w/ dual 866's and
133MHz FSB?


Hello,
	Just got 4.0-STABLE onto this new server of ours, and i'm having serious
problems getting SMP to work. If I enable SMP, I have to use the following
kernel settings:

#options        SMP                     # Symmetric MultiProcessor Kernel
#options        APIC_IO                 # Symmetric (APIC) I/O
# Optionally these may need tweaked, (defaults shown):
#options        NCPU=2                  # number of CPUs
#options        NBUS=14                 # number of busses
#options        NAPIC=4                 # number of IO APICs
#options        NINTR=47                # number of INTs

Without the comments, of course. When I boot, I get past the initial screen,
but the boot process stops right after sio1 initializes. Enabling DDB, and
trying to CTRL-ALT-ESCAPE won't allow me to, so I suppose the whole thing
just dies hard-core when it gets there. Below is a copy of my mptable and
dmesg. If you need anything else, please tell me. I was hoping to bring this
server live by April 21, so I hope someone can help. :-)

Regards,
Ben Vaughn
Prophet Network Systems


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

MPTable, version 2.0.15

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

MP Floating Pointer Structure:

  location:                     BIOS
  physical address:             0x000fe710
  signature:                    '_MP_'
  length:                       16 bytes
  version:                      1.4
  checksum:                     0x91
  mode:                         Virtual Wire

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

MP Config Table Header:

  physical address:             0x000f0000
  signature:                    'PCMP'
  base table length:            604
  version:                      1.4
  checksum:                     0x57
  OEM ID:                       'DELL    '
  Product ID:                   'POWEREDGE 9A'
  OEM table pointer:            0x00000000
  OEM table size:               0
  entry count:                  67
  local APIC address:           0xfee00000
  extended table length:        208
  extended table checksum:      195

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

MP Config Base Table Entries:

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

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

MP Config Extended Table Entries:

--

 bus ID: 0 address type: I/O address
 address base: 0xf000
 address range: 0x1000
--

 bus ID: 0 address type: memory address
 address base: 0xa0000
 address range: 0x20000
--

 bus ID: 0 address type: memory address
 address base: 0xfd000000
 address range: 0x1b10000
--

 bus ID: 1 address type: I/O address
 address base: 0xd000
 address range: 0x2000
--

 bus ID: 1 address type: memory address
 address base: 0xfbf00000
 address range: 0x1100000
--

 bus ID: 6 address type: I/O address
 address base: 0xc000
 address range: 0x1000
--

 bus ID: 6 address type: memory address
 address base: 0xfa000000
 address range: 0x1f00000
--

 bus ID: 8 address type: I/O address
 address base: 0xa000
 address range: 0x2000
--

 bus ID: 0 address type: I/O address
 address base: 0x0
 address range: 0xa000
--

 bus ID: 8 address type: memory address
 address base: 0xf8f00000
 address range: 0x1100000
--

 bus ID: 13 bus info: 0x01 parent bus ID: 0
----------------------------------------------------------------------------
---

# 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=14                 # number of busses
#options                NAPIC=2                 # number of IO APICs
#options                NINTR=47                # number of INTs

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


And, My DMESG:


root@blerf:/usr/src# dmesg
Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 4.0-STABLE #0: Fri Apr 14 13:39:26 EST 2000
    root@blerf.pns.net:/usr/obj/usr/src/sys/PNS-SMP
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon (863.93-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3

Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,
CMOV,PAT,PSE36,MMX,FXSR,XMM>
real memory  = 2147475456 (2097144K bytes)
config> di sn0
No such device: sn0
Invalid command or syntax.  Type `?' for help.
config> di lnc0
No such device: lnc0
Invalid command or syntax.  Type `?' for help.
config> di le0
No such device: le0
Invalid command or syntax.  Type `?' for help.
config> di ie0
No such device: ie0
Invalid command or syntax.  Type `?' for help.
config> di fe0
No such device: fe0
Invalid command or syntax.  Type `?' for help.
config> di ed0
No such device: ed0
Invalid command or syntax.  Type `?' for help.
config> di cs0
No such device: cs0
Invalid command or syntax.  Type `?' for help.
config> di bt0
No such device: bt0
Invalid command or syntax.  Type `?' for help.
config> di aic0
No such device: aic0
Invalid command or syntax.  Type `?' for help.
config> di aha0
No such device: aha0
Invalid command or syntax.  Type `?' for help.
config> di adv0
No such device: adv0
Invalid command or syntax.  Type `?' for help.
config> q
avail memory = 2086125568 (2037232K bytes)
Preloaded elf kernel "kernel" at 0xc0303000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc030309c.
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <RCC LE host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> port 0xfcc0-0xfcff mem
0xfe900000-0xfe9fffff,0xfeb02000-0xfeb02fff irq 14 at device 4.0 on pci0
fxp0: Ethernet address 00:b0:d0:20:a7:06
pci0: <ATI model 4759 graphics accelerator> at 6.0
isab0: <PCI to ISA bridge (vendor=1166 device=0200)> at device 15.0 on pci0
isa0: <ISA bus> on isab0
pci0: <OHCI USB controller> at 15.2 irq 11
pcib1: <RCC LE host to PCI bridge> on motherboard
pci1: <PCI bus> on pcib1
pcib6: <RCC LE host to PCI bridge> on motherboard
pci6: <PCI bus> on pcib6
pcib9: <PCI to PCI bridge (vendor=8086 device=0962)> at device 4.0 on pci6
pci7: <PCI bus> on pcib9
ahc0: <Adaptec aic7899 Ultra160 SCSI adapter> port 0xcc00-0xccff mem
0xfbdff000-0xfbdfffff irq 10 at device 4.0 on pci7
ahc0: aic7899 Wide Channel A, SCSI Id=7, 16/255 SCBs
ahc1: <Adaptec aic7899 Ultra160 SCSI adapter> port 0xc800-0xc8ff mem
0xfbdfe000-0xfbdfefff irq 5 at device 4.1 on pci7
ahc1: aic7899 Wide Channel B, SCSI Id=7, 16/255 SCBs
ahc2: <Adaptec aic7880 Ultra SCSI adapter> port 0xc400-0xc4ff mem
0xfbdfd000-0xfbdfdfff irq 14 at device 6.0 on pci7
ahc2: aic7880 Single Channel A, SCSI Id=7, 16/255 SCBs
pcib8: <RCC LE host to PCI bridge> on motherboard
pci8: <PCI bus> on pcib8
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
IP packet filtering initialized, divert disabled, rule-based forwarding
disabled, default to accept, logging limited to 100 packets/entry by default
DUMMYNET initialized (000106)
Waiting 15 seconds for SCSI devices to settle
pass2 at ahc0 bus 0 target 6 lun 0
pass2: <DELL 1x6 U2W SCSI BP 5.35> Fixed Processor SCSI-2 device
pass2: 3.300MB/s transfers
da0 at ahc0 bus 0 target 0 lun 0
da0: <QUANTUM ATLAS 10K 9SCA UCHD> Fixed Direct Access SCSI-3 device
da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing
Enabled
da0: 8683MB (17783249 512 byte sectors: 255H 63S/T 1106C)
da1 at ahc0 bus 0 target 1 lun 0
da1: <QUANTUM ATLAS 10K 9SCA UCHD> Fixed Direct Access SCSI-3 device
da1: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing
Enabled
da1: 8683MB (17783249 512 byte sectors: 255H 63S/T 1106C)
vinum: loaded
Mounting root from ufs:/dev/da0s1a
cd0 at ahc2 bus 0 target 5 lun 0
cd0: <NEC CD-ROM DRIVE:466 1.06> Removable CD-ROM SCSI-2 device
cd0: 20.000MB/s transfers (20.000MHz, offset 15)
cd0: Attempt to query device size failed: NOT READY, Medium not present



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



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