From owner-freebsd-stable Tue Feb 5 3:47: 2 2002 Delivered-To: freebsd-stable@freebsd.org Received: from host185.dolanmedia.com (host185.dolanmedia.com [209.98.197.185]) by hub.freebsd.org (Postfix) with SMTP id 7BBA837B41E for ; Tue, 5 Feb 2002 03:46:50 -0800 (PST) Received: (qmail 19728 invoked by uid 0); 5 Feb 2002 11:46:49 -0000 Received: from greg.panula@dolaninformation.com by proxy with qmail-scanner-0.96 (. Clean. Processed in 0.338397 secs); 05 Feb 2002 11:46:49 -0000 X-Qmail-Scanner-Mail-From: greg.panula@dolaninformation.com via proxy X-Qmail-Scanner-Rcpt-To: freebsd-stable@freebsd.org X-Qmail-Scanner: 0.96 (No viruses found. Processed in 0.338397 secs) Received: from mail.dolanmedia.com (10.1.1.23) by proxy.dolanmedia.com with SMTP; 5 Feb 2002 11:46:48 -0000 Received: from dolaninformation.com (10.1.1.135) by mail.dolanmedia.com (Worldmail 1.3.167) for freebsd-stable@freebsd.org; 5 Feb 2002 05:46:48 -0600 Message-ID: <3C5FC628.294C8A92@dolaninformation.com> Date: Tue, 05 Feb 2002 05:46:48 -0600 From: Greg Panula Reply-To: greg.panula@dolaninformation.com Organization: Dolan Information Inc X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: SMP kernel & dc driver Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Howdy, I am experiencing watchdog timeouts and lack of network connectivity with my dfe570tx nic when I have a SMP capable kernel loaded. When I use a non-smp kernel, the nic behaves fine. Basically if I run a kernel that uses both CPUs the dfe570tx(dc driver) is dead in the water & the on-board intel nics(fxp driver) work fine. Use a kernel that only uses one CPU and I can use both nics(dfe570tx and on-board intel nic). I cvsup'd the source tree on 02/03/2002 (around 10am cst) and built&installed a fresh world from that code, kernels included. Previously the box was a clean install from a 4.4 CD. The non-smp kernel is the GENERIC kernel. The smp kernel is GENERIC with smp uncommented, IPSEC supported add(grep IPSEC LINT > dl360-smp) and the following lines commented out: cpu I386_CPU cpu I486_CPU options MATH_EMULATE options INET6 Here are the dmesgs from boot-up: SMP KERNEL ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 #0: Mon Feb 4 15:22:50 CST 2002 root@:/usr/obj/usr/src/sys/dl360-smp Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (1263.45-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6b1 Stepping = 1 Features=0x383fbff real memory = 402636800 (393200K bytes) avail memory = 386707456 (377644K bytes) Changing APIC ID for IO APIC #0 from 0 to 8 on chip Programming 35 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 3, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 8, version: 0x00220011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc04a6000. Pentium Pro MTRR support enabled md0: Malloc disk npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard IOAPIC #0 intpin 19 -> irq 2 IOAPIC #0 intpin 21 -> irq 3 pci0: on pcib0 ida0: port 0x2000-0x20ff mem 0xc4000000-0xc4ffffff,0xc5000000-0xc5ffffff irq 2 at device 1.0 on pci0 ida0: drives=1 firm_rev=1.42 idad0: on ida0 idad0: 17359MB (35553120 sectors), blocksize=512 pci0: at 3.0 pci0: (vendor=0x0e11, dev=0xa0f0) at 4.0 pcib1: at device 5.0 on pci0 pci1: on pcib1 pci1: at 0.0 pci0: (vendor=0x8086, dev=0x1960) at 5.1 irq 3 isab0: at device 15.0 on pci0 isa0: on isab0 atapci0: port 0x2800-0x280f at device 15.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pcib3: on motherboard IOAPIC #0 intpin 17 -> irq 5 IOAPIC #0 intpin 24 -> irq 7 pci3: on pcib3 fxp0: port 0x4000-0x403f mem 0xc6d00000-0xc6dfffff,0xc6eff000-0xc6efffff irq 5 at device 4.0 on pci3 fxp0: Ethernet address 00:02:a5:8b:db:46 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: port 0x4040-0x407f mem 0xc6b00000-0xc6bfffff,0xc6cff000-0xc6cfffff irq 7 at device 5.0 on pci3 fxp1: Ethernet address 00:02:a5:8b:db:45 inphy1: on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcib2: at device 6.0 on pci3 pci4: on pcib2 dc0: port 0x5000-0x507f mem 0xc6fffc00-0xc6ffffff irq 11 at device 4.0 on pci4 dc0: Ethernet address: 00:80:c8:cf:b0:49 miibus2: on dc0 ukphy0: on miibus2 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc1: port 0x5080-0x50ff mem 0xc6fff800-0xc6fffbff irq 11 at device 5.0 on pci4 dc1: Ethernet address: 00:80:c8:cf:b0:4a miibus3: on dc1 ukphy1: on miibus3 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc2: port 0x5400-0x547f mem 0xc6fff400-0xc6fff7ff irq 11 at device 6.0 on pci4 dc2: Ethernet address: 00:80:c8:cf:b0:4b miibus4: on dc2 ukphy2: on miibus4 ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc3: port 0x5480-0x54ff mem 0xc6fff000-0xc6fff3ff irq 11 at device 7.0 on pci4 dc3: Ethernet address: 00:80:c8:cf:b0:4c miibus5: on dc3 ukphy3: on miibus5 ukphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto orm0: