Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Mar 2002 13:06:30 -0800
From:      Bill Swingle <unfurl@dub.net>
To:        stable@freebsd.org
Cc:        ops@swansystems.com
Subject:   DMA/SCB timeouts with fxp driver
Message-ID:  <20020305210629.GA93389@dub.net>

next in thread | raw e-mail | index | archive | help

--pf9I7BMVVzbSWLtt
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I have a farm full of Rackable Systems 1U machines. Recently I've had a
few machines that were crashing on a all-to-frequent basis. Just prior
to crashing the machine would barf these lines into the logs several
thousand times:

Sometimes this appears just before the timeouts:
Mar  5 12:10:29 and-app /kernel: NMI ISA 2c, EISA ff
Mar  5 12:10:29 and-app /kernel: Mar  5 12:10:29 and-app /kernel: NMI ISA 2=
c, EISA ff

Then 1000's of these:
Mar  5 12:10:45 and-app /kernel: fxp0: device timeout
Mar  5 12:10:45 and-app /kernel: fxp0: SCB timeout: 0xff 0xff 0xff 0xffff
Mar  5 12:10:45 and-app /kernel: fxp0: DMA timeout
Mar  5 12:10:45 and-app /kernel: fxp0: SCB timeout: 0xff 0xff 0xff 0xffff
Mar  5 12:10:45 and-app /kernel: fxp0: DMA timeout
Mar  5 12:10:45 and-app /kernel: fxp0: SCB timeout: 0xff 0xff 0xff 0xffff
Mar  5 12:10:45 and-app /kernel: fxp0: DMA timeout
Mar  5 12:10:45 and-app /kernel: fxp0: SCB timeout: 0xff 0xff 0xff 0xffff

I've seen this on machines running 4.4-STABLE from early December and
again this morning on a machine running 4.5-STABLE from yesterday. None
of these machines get large amounts of any sort of traffic.

All the machines in question are identical hardware-wise. They're all
dual PIII/900's, 512Mb RAM on a Tyan Thunder 251x motherboard.=20
dmesg and kernel config included below.

Anyone have any ideas? Let me know if you need more info. I may
also be able to provide a place for someone to take a look on the
machine if need be.

-Bill


--=20
-=3D| Bill Swingle - <unfurl@(dub.net|freebsd.org)>
-=3D| Every message PGP signed
-=3D| Fingerprint: C1E3 49D1 EFC9 3EE0 EA6E  6414 5200 1C95 8E09 0223
-=3D| "Computers are useless. They can only give you answers" Pablo Picasso=
=20

------ START DMESG ---------------

Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 4.5-STABLE #1: Mon Mar  4 16:07:24 PST 2002
    bswingle@and-app.sf.swansystems.com:/usr/obj/usr/src/sys/AND-APP
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (863.93-MHz 686-class CPU)
  Origin =3D "GenuineIntel"  Id =3D 0x686  Stepping =3D 6
  Features=3D0x387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE=
,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>
real memory  =3D 536870912 (524288K bytes)
avail memory =3D 519016448 (506852K bytes)
Programming 16 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
Programming 16 pins in IOAPIC #1
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  4, version: 0x000f0011, at 0xfec00000
 io1 (APIC): apic id:  5, version: 0x000f0011, at 0xfec01000
Preloaded elf kernel "kernel" at 0xc02e5000.
Pentium Pro MTRR support enabled
Using $PIR table, 10 entries at 0xc00f51e0
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboard
IOAPIC #1 intpin 6 -> irq 2
IOAPIC #1 intpin 4 -> irq 9
IOAPIC #1 intpin 5 -> irq 10
IOAPIC #0 intpin 10 -> irq 11
pci0: <PCI bus> on pcib0
pci0: <ATI Mach64-GR graphics accelerator> at 1.0 irq 2
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xd400-0xd43f mem 0xfe900000-0=
xfe9fffff,0xfeafe000-0xfeafefff irq 9 at device 4.0 on pci0
fxp0: Ethernet address 00:e0:81:01:85:a7
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: <Intel Pro 10/100B/100+ Ethernet> port 0xd000-0xd03f mem 0xfe700000-0=
xfe7fffff,0xfeafd000-0xfeafdfff irq 10 at device 5.0 on pci0
fxp1: Ethernet address 00:e0:81:01:85:a8
inphy1: <i82555 10/100 media interface> on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <ServerWorks IB6566 PCI to ISA bridge> at device 15.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <ServerWorks ROSB4 ATA33 controller> port 0xffa0-0xffaf at device =
15.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <OHCI USB controller> at 15.2 irq 11
pcib1: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboard
pci1: <PCI bus> on pcib1
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff,0xc9000-0xc9ff=
f on isa0
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> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=3D0x100>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: Broken MP table detected: 8254 is not connected to IOAPIC #0 intpi=
n 2
APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0
SMP: AP CPU #1 Launched!
ad0: 29314MB <IBM-DTLA-307030> [59560/16/63] at ata0-master UDMA33
Mounting root from ufs:/dev/ad0s1a

------ END DMESG ---------------

------ START KERNCONF ----------

machine         i386
cpu             I686_CPU
ident           AND-APP
maxusers        0

options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         FFS_ROOT                #FFS usable as root device [keep th=
is!]
options         SOFTUPDATES             #Enable FFS soft updates support
options         UFS_DIRHASH             #Improve performance on big directo=
ries
options         MFS                     #Memory Filesystem
options         NFS                     #Network Filesystem
options         PROCFS                  #Process filesystem
options         COMPAT_43               #Compatible with BSD 4.3 [KEEP THIS=
!]
options         UCONSOLE                #Allow users to grab the console
options         USERCONFIG              #boot -c editor
options         VISUAL_USERCONFIG       #visual boot -c editor
options         KTRACE                  #ktrace(1) support
options         SYSVSHM                 #SYSV-style shared memory
options         SYSVMSG                 #SYSV-style message queues
options         SYSVSEM                 #SYSV-style semaphores
options         P1003_1B                #Posix P1003_1B real-time extensions
options         _KPOSIX_PRIORITY_SCHEDULING
options         ICMP_BANDLIM            #Rate limit bad replies
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev

# To make an SMP kernel, the next two are needed
options         SMP                     # Symmetric MultiProcessor Kernel
options         APIC_IO                 # Symmetric (APIC) I/O

device          isa
device          pci

# Floppy drives
device          fdc0    at isa? port IO_FD1 irq 6 drq 2
device          fd0     at fdc0 drive 0

# ATA and ATAPI devices
device          ata0    at isa? port IO_WD1 irq 14
device          ata1    at isa? port IO_WD2 irq 15
device          ata
device          atadisk                 # ATA disk drives
device          atapicd                 # ATAPI CDROM drives
device          atapifd                 # ATAPI floppy drives
device          atapist                 # ATAPI tape drives
options         ATA_STATIC_ID           #Static device numbering

# atkbdc0 controls both the keyboard and the PS/2 mouse
device          atkbdc0 at isa? port IO_KBD
device          atkbd0  at atkbdc? irq 1 flags 0x1
device          psm0    at atkbdc? irq 12

device          vga0    at isa?

# splash screen/screen saver
pseudo-device   splash

# syscons is the default console driver, resembling an SCO console
device          sc0     at isa? flags 0x100

# Floating point support - do not disable.
device          npx0    at nexus? port IO_NPX irq 13

# Power management support (see LINT for more options)
device          apm0    at nexus? disable flags 0x20 # Advanced Power Manag=
ement

# Serial (COM) ports
device          sio0    at isa? port IO_COM1 flags 0x10 irq 4
device          sio3    at isa? disable port IO_COM4 irq 9

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device          miibus          # MII bus support
device          fxp             # Intel EtherExpress PRO/100B (82557, 82558)

# Pseudo devices - the number indicates how many units to allocate.
pseudo-device   loop            # Network loopback
pseudo-device   ether           # Ethernet support
pseudo-device   tun             # Packet tunnel.
pseudo-device   pty             # Pseudo-ttys (telnet etc)

# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device   bpf             #Berkeley packet filter


------ END KERNCONF ----------



--pf9I7BMVVzbSWLtt
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8hTNVUgAclY4JAiMRAhHdAJ0e/xm4CVs2+7UkpNTnp8rr57LsowCfSevn
aAbjfDSJPmkz+/U+zIIfucU=
=Aw43
-----END PGP SIGNATURE-----

--pf9I7BMVVzbSWLtt--

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020305210629.GA93389>