Date: Wed, 26 Nov 1997 05:02:35 -0800 (PST) From: Dave Smith <dpsmith@xoom.com> To: freebsd-questions@freebsd.org, freebsd-smp@freebsd.org Subject: fxp0 or de0 will not work with FreeBSD 3.0 in SMP mode. (fwd) Message-ID: <Pine.BSF.3.96.971126050000.9704H-300000@mail1.xoom.com>
index | next in thread | raw e-mail
[-- Attachment #1 --]
Big Problem,
Two identical machines, except for their ethernet cards.
For the generic kernel on both machines the cards work fine, i.e.
connect to the network, in the generic kernel that comes with FreeBSD 3.
They do no work when the SMP kernel is the installed kernel.
2 Intel EtherExpress Pro 10/100B Ethernet cards (fxp0 and fxp1) in one
machine, www6.
1 Linksys Etherfast 100Base-TX Lan card (de0) in another machine, www5.
www6: fxp0 is connected to the network,fxp1 is not connected to the
network.
www5: de0 is connected to the network.
If I boot www5 and www6 into the generic kernel which comes with the
latest FreeBSD 3.0,
I can ping nodes on the net.
If I boot www5 and www6 into the SMP generic kernel which comes with the
latest FreeBSD 3.0,
I can not browse the network or ping nodes.
fxp0 on www6 gives me a 'device timeout' error message
de0 on www5 gives me no error message but has 'OACTIVE' displayed for it
in ifconfig -a.
I would like to get these ethernet cards working for the SMP kernel so
that I can switch over both machines to take advantage of their dual 300
x PIIs.
For www6:
Attached is the output of mptable -dmesg.
Also attached is my smp kernel config file which is the same on both
machines.
(The machine was booted into the generic kernel on 3.0 so I could grab
these attachments.)
Thanks,
Dave.
--
David Smith - MIS Manager CONTACT INFORMATION
Xoom Software, Inc. E-mail: dpsmith@xoom.com
433 California St., Suite 910, Tel: (415) 445-2525 x122
San Francisco, Ca 94104 Fax: (415) 445-2526
[-- Attachment #2 --]
===============================================================================
MPTable, version 2.0.15
-------------------------------------------------------------------------------
MP Floating Pointer Structure:
location: BIOS
physical address: 0x000f6a50
signature: '_MP_'
length: 16 bytes
version: 1.1
checksum: 0xe4
mode: Virtual Wire
-------------------------------------------------------------------------------
MP Config Table Header:
physical address: 0x000f664a
signature: 'PCMP'
base table length: 244
version: 1.1
checksum: 0xfb
OEM ID: 'OEM00000'
Product ID: 'PROD00000000'
OEM table pointer: 0x00000000
OEM table size: 0
entry count: 22
local APIC address: 0xfee00000
extended table length: 0
extended table checksum: 0
-------------------------------------------------------------------------------
MP Config Base Table Entries:
--
Processors: APIC ID Version State Family Model Step Flags
1 0x11 BSP, usable 6 3 3 0x80fbff
0 0x11 AP, usable 6 3 3 0x80fbff
--
Bus: Bus ID Type
0 PCI
1 ISA
--
I/O APICs: APIC ID Version State Address
2 0x11 usable 0xfec00000
--
I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN#
ExtINT conforms conforms 1 0 2 0
INT conforms conforms 1 1 2 1
INT conforms conforms 1 0 2 2
INT conforms conforms 1 3 2 3
INT conforms conforms 1 4 2 4
INT conforms conforms 1 5 2 5
INT conforms conforms 1 6 2 6
INT conforms conforms 1 7 2 7
INT conforms conforms 1 8 2 8
INT conforms conforms 1 9 2 9
INT conforms conforms 1 14 2 14
INT conforms conforms 1 15 2 15
INT active-lo level 1 11 2 16
INT active-lo level 1 10 2 18
INT active-lo level 1 12 2 19
--
Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN#
ExtINT active-hi edge 1 0 255 0
NMI active-hi edge 1 0 255 1
-------------------------------------------------------------------------------
# SMP kernel config file options:
# Required:
options SMP # Symmetric MultiProcessor Kernel
options APIC_IO # Symmetric (APIC) I/O
# Optional (built-in defaults will work in most cases):
#options NCPU=2 # number of CPUs
#options NBUS=2 # number of busses
#options NAPIC=1 # number of IO APICs
#options NINTR=24 # number of INTs
-------------------------------------------------------------------------------
dmesg output:
Copyright (c) 1992-1997 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
FreeBSD 3.0-971125-SNAP #0: Wed Nov 26 02:22:44 PST 1997
root@www6.xoom.com:/usr/src/sys/compile/MYKERNEL-SMP
CPU: Pentium Pro (686-class CPU)
Origin = "GenuineIntel" Id = 0x633 Stepping=3
Features=0x80fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,MMX>
real memory = 268435456 (262144K bytes)
avail memory = 258609152 (252548K bytes)
FreeBSD/SMP: Multiprocessor motherboard
cpu0 (BSP): apic id: 1, version: 0x00040011, at 0xfee00000
cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000
io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000
Probing for devices on PCI bus 0:
chip0: <Host to PCI bridge (vendor=8086 device=7180)> rev 0x03 on pci0.0.0
chip1: <PCI to PCI bridge (vendor=8086 device=7181)> rev 0x03 on pci0.1.0
chip2: <Intel 82371AB PCI to ISA bridge> rev 0x01 on pci0.4.0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.4.1
chip3: <Intel 82371AB USB host controller> rev 0x01 int d irq 12 on pci0.4.2
chip4: <Intel 82371AB power management> rev 0x01 on pci0.4.3
vga0: <S3 Trio graphics accelerator> rev 0x44 int a irq 10 on pci0.10.0
de0: <Digital 21140A Fast Ethernet> rev 0x22 int a irq 11 on pci0.12.0
de0: 21140A [10-100Mb/s] pass 2.2
de0: address 00:40:05:35:cc:0a
Probing for devices on PCI bus 1:
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
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 on isa
wdc0: unit 0 (wd0): <WDC AC22000L>
wd0: 1907MB (3907008 sectors), 3876 cyls, 16 heads, 63 S/T, 512 B/S
npx0 on motherboard
npx0: INT 16 interface
APIC_IO: routing 8254 via 8259 on pin 0
SMP: AP CPU #1 Launched!
de0: enabling 10baseT port
===============================================================================
[-- Attachment #3 --]
#
# SMP-GENERIC -- Smp machine with WD/AHx/NCR/BTx family disks
#
# For more information read the handbook part System Administration ->
# Configuring the FreeBSD Kernel -> The Configuration File.
# The handbook is available in /usr/share/doc/handbook or online as
# latest version from the FreeBSD World Wide Web server
# <URL:http://www.FreeBSD.ORG/>
#
# An exhaustive list of options and more detailed explanations of the
# device lines is present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $Id: SMP-GENERIC,v 1.10 1997/10/31 22:10:02 jseger Exp $
machine "i386"
# SMP does NOT support 386/486 CPUs.
#cpu "I386_CPU"
#cpu "I486_CPU"
cpu "I586_CPU"
cpu "I686_CPU"
ident SMP-GENERIC-CLEAN
#
# The `maxusers' parameter controls the static sizing of a number of
# internal system tables by a complicated formula defined in param.c.
#
# maxusers 10
#maxusers 50
maxusers 128
#
# Under some circumstances it is convenient to increase the defaults
# for the maximum number of processes per user and the maximum number
# of open files files per user. E.g., (1) in a large news server, user
# `news' may need more than 100 concurrent processes. (2) a user may
# need lots of windows under X. In both cases, it may be inconvenient
# to start all the processes from a parent whose soft rlimit on the
# number of processes is large enough. The following options work by
# changing the soft rlimits for init.
#
# options CHILD_MAX=128
# options OPEN_MAX=128
# For 3.0 child_max and open_max are obsolete options.
#options CHILD_MAX=512
#options OPEN_MAX=512
#
# Certain applications can grow to be larger than the 128M limit
# that FreeBSD initially imposes. Below are some options to
# allow that limit to grow to 256MB, and can be increased further
# with changing the parameters. MAXDSIZ is the maximum that the
# limit can be set to, and the DFLDSIZ is the default value for
# the limit. You might want to set the default lower than the
# max, and explicitly set the maximum with a shell command for processes
# that regularly exceed the limit like INND.
#
options "MAXDSIZ=(256*1024*1024)"
options "DFLDSIZ=(256*1024*1024)"
# 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
# SMP shouldn't need x87 emulation, disable by default.
#options MATH_EMULATE #Support for x87 emulation
options INET #InterNETworking
options FFS #Berkeley Fast Filesystem
options NFS #Network Filesystem
options MSDOSFS #MSDOS Filesystem
options "CD9660" #ISO 9660 Filesystem
options PROCFS #Process filesystem
options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!]
options SCSI_DELAY=15 #Be pessimistic about Joe SCSI device
options BOUNCE_BUFFERS #include support for DMA bounce buffers
options UCONSOLE #Allow users to grab the console
options FAILSAFE #Be conservative
options USERCONFIG #boot -c editor
options VISUAL_USERCONFIG #visual boot -c editor
config kernel root on wd0
controller isa0
controller eisa0
controller pci0
controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk fd0 at fdc0 drive 0
disk fd1 at fdc0 drive 1
tape ft0 at fdc0 drive 2
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
# controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr
# disk wd2 at wdc1 drive 0
# disk wd3 at wdc1 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
# A single entry for any of these controllers (ncr, ahb, ahc, amd) is
# sufficient for any number of installed devices.
controller ncr0
controller amd0
controller ahb0
controller ahc0
# controller bt0 at isa? port "IO_BT0" bio irq ? vector bt_isa_intr
# controller uha0 at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr
# controller aha0 at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr
# controller aic0 at isa? port 0x340 bio irq 11 vector aicintr
# controller nca0 at isa? port 0x1f88 bio irq 10 vector ncaintr
# controller nca1 at isa? port 0x350 bio irq 5 vector ncaintr
# controller sea0 at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr
controller scbus0
device sd0
device od0 #See LINT for possible `od' options.
device st0
device cd0 #Only need one of these, the code dynamically grows
# device wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr
# device mcd0 at isa? port 0x300 bio irq 10 vector mcdintr
# controller matcd0 at isa? port 0x230 bio
# device scd0 at isa? port 0x230 bio
# syscons is the default console driver, resembling an SCO console
device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint
#options PCVT_FREEBSD=210 # pcvt running on FreeBSD >= 2.0.5
#options XSERVER # include code for XFree86
#options FAT_CURSOR # start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#options PCVT_SCANSET=2 # IBM keyboards are non-std
device npx0 at isa? port "IO_NPX" irq 13 vector npxintr
#
# Laptop support (see LINT for more options)
#
device apm0 at isa? disable flags 0x31 # Advanced Power Management
# PCCARD (PCMCIA) support
#controller card0
#device pcic0 at card?
#device pcic1 at card?
device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr
device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr
device sio2 at isa? disable port "IO_COM3" tty irq 5 vector siointr
device sio3 at isa? disable port "IO_COM4" tty irq 9 vector siointr
device lpt0 at isa? port? tty irq 7 vector lptintr
# device lpt1 at isa? port? tty
# device mse0 at isa? port 0x23c tty irq 5 vector mseintr
device psm0 at isa? disable port "IO_KBD" conflicts tty irq 12 vector psmintr
# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
device de0
device fxp0
device vx0
# device ed0 at isa? port 0x280 net irq 5 iomem 0xd8000 vector edintr
# device ed1 at isa? port 0x300 net irq 5 iomem 0xd8000 vector edintr
# device ie0 at isa? port 0x300 net irq 10 iomem 0xd0000 vector ieintr
# device ie1 at isa? port 0x360 net irq 7 iomem 0xd0000 vector ieintr
# device ep0 at isa? port 0x300 net irq 10 vector epintr
# device ex0 at isa? port? net irq? vector exintr
# device fe0 at isa? port 0x300 net irq ? vector feintr
# device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr
# device lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr
# device ze0 at isa? port 0x300 net irq 5 iomem 0xd8000 vector zeintr
# device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr
pseudo-device loop
pseudo-device ether
pseudo-device sl 1
#pseudo-device bpfilter 4 #Berkeley packet filter
pseudo-device bpfilter 16 #Berkeley packet filter
# iijppp uses tun instead of ppp device
#pseudo-device ppp 1
pseudo-device tun 1
pseudo-device pty 16
pseudo-device vn 1
pseudo-device gzip # Exec gzipped a.out's
# KTRACE enables the system-call tracing facility ktrace(2).
# This adds 4 KB bloat to your kernel, and slightly increases
# the costs of each syscall.
options KTRACE #kernel tracing
# These three options provide support for System V Interface
# Definition-style interprocess communication, in the form of shared
# memory, semaphores, and message queues, respectively.
#
options SYSVSHM
options SYSVSEM
options SYSVMSG
# undocumented lint options
options NMBCLUSTERS=4096
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971126050000.9704H-300000>
