Date: Wed, 06 Feb 2002 06:19:53 -0600 From: Greg Panula <greg.panula@dolaninformation.com> To: freebsd-questions@freebsd.org Subject: SMP kernel & dc driver Message-ID: <3C611F69.BA49738A@dolaninformation.com>
next in thread | raw e-mail | index | archive | help
Howdy, I am experiencing watchdog timeouts and lack of network connectivity with my dlink 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> 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: <math processor> on motherboard npx0: INT 16 interface pcib0: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboard IOAPIC #0 intpin 19 -> irq 2 IOAPIC #0 intpin 21 -> irq 3 pci0: <PCI bus> on pcib0 ida0: <Compaq Integrated Array controller> port 0x2000-0x20ff mem 0xc4000000-0xc4ffffff,0xc5000000-0xc5ffffff irq 2 at device 1.0 on pci0 ida0: drives=1 firm_rev=1.42 idad0: <Compaq Logical Drive> on ida0 idad0: 17359MB (35553120 sectors), blocksize=512 pci0: <ATI Mach64-GV graphics accelerator> at 3.0 pci0: <unknown card> (vendor=0x0e11, dev=0xa0f0) at 4.0 pcib1: <PCI to PCI bridge (vendor=8086 device=0960)> at device 5.0 on pci0 pci1: <PCI bus> on pcib1 pci1: <ATI Mach64-GV graphics accelerator> at 0.0 pci0: <unknown card> (vendor=0x8086, dev=0x1960) at 5.1 irq 3 isab0: <ServerWorks IB6566 PCI to ISA bridge> at device 15.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <ServerWorks ROSB4 ATA33 controller> port 0x2800-0x280f at device 15.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pcib3: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboard IOAPIC #0 intpin 17 -> irq 5 IOAPIC #0 intpin 24 -> irq 7 pci3: <PCI bus> on pcib3 fxp0: <Intel Pro 10/100B/100+ Ethernet> 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: <i82555 10/100 media interface> on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: <Intel Pro 10/100B/100+ Ethernet> 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: <i82555 10/100 media interface> on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcib2: <DEC 21152 PCI-PCI bridge> at device 6.0 on pci3 pci4: <PCI bus> on pcib2 dc0: <Intel 21143 10/100BaseTX> port 0x5000-0x507f mem 0xc6fffc00-0xc6ffffff irq 11 at device 4.0 on pci4 dc0: Ethernet address: 00:80:c8:cf:b0:49 miibus2: <MII bus> on dc0 ukphy0: <Generic IEEE 802.3u media interface> on miibus2 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc1: <Intel 21143 10/100BaseTX> port 0x5080-0x50ff mem 0xc6fff800-0xc6fffbff irq 11 at device 5.0 on pci4 dc1: Ethernet address: 00:80:c8:cf:b0:4a miibus3: <MII bus> on dc1 ukphy1: <Generic IEEE 802.3u media interface> on miibus3 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc2: <Intel 21143 10/100BaseTX> port 0x5400-0x547f mem 0xc6fff400-0xc6fff7ff irq 11 at device 6.0 on pci4 dc2: Ethernet address: 00:80:c8:cf:b0:4b miibus4: <MII bus> on dc2 ukphy2: <Generic IEEE 802.3u media interface> on miibus4 ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc3: <Intel 21143 10/100BaseTX> port 0x5480-0x54ff mem 0xc6fff000-0xc6fff3ff irq 11 at device 7.0 on pci4 dc3: Ethernet address: 00:80:c8:cf:b0:4c miibus5: <MII bus> on dc3 ukphy3: <Generic IEEE 802.3u media interface> on miibus5 ukphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcbfff,0xe8000-0xedfff,0xee000-0xeffff 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=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0x2 ppc0: parallel port not found. APIC_IO: Testing 8254 interrupt delivery APIC_IO: Broken MP table detected: 8254 is not connected to IOAPIC #0 intpin 2 APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0 IPsec: Initialized Security Association Processing. SMP: AP CPU #1 Launched! ata1-slave: ata_command: timeout waiting for intr ata1-slave: identify failed acd0: CDROM <CD-224E> at ata1-master using PIO4 Mounting root from ufs:/dev/idad0s2a NON-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:04:46 CST 2002 root@:/usr/obj/usr/src/sys/GENERIC 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> real memory = 402636800 (393200K bytes) avail memory = 386785280 (377720K bytes) Preloaded elf kernel "kernel" at 0xc0496000. Pentium Pro MTRR support enabled md0: Malloc disk npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 ida0: <Compaq Integrated Array controller> port 0x2000-0x20ff mem 0xc4000000-0xc4ffffff,0xc5000000-0xc5ffffff irq 5 at device 1.0 on pci0 ida0: drives=1 firm_rev=1.42 idad0: <Compaq Logical Drive> on ida0 idad0: 17359MB (35553120 sectors), blocksize=512 pci0: <ATI Mach64-GV graphics accelerator> at 3.0 pci0: <unknown card> (vendor=0x0e11, dev=0xa0f0) at 4.0 pcib1: <PCI to PCI bridge (vendor=8086 device=0960)> at device 5.0 on pci0 pci1: <PCI bus> on pcib1 pci1: <ATI Mach64-GV graphics accelerator> at 0.0 pci0: <unknown card> (vendor=0x8086, dev=0x1960) at 5.1 irq 3 isab0: <ServerWorks IB6566 PCI to ISA bridge> at device 15.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <ServerWorks ROSB4 ATA33 controller> port 0x2800-0x280f at device 15.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pcib3: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboard pci3: <PCI bus> on pcib3 fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0x4000-0x403f mem 0xc6d00000-0xc6dfffff,0xc6eff000-0xc6efffff irq 7 at device 4.0 on pci3 fxp0: Ethernet address 00:02:a5:8b:db:46 inphy0: <i82555 10/100 media interface> on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: <Intel Pro 10/100B/100+ Ethernet> port 0x4040-0x407f mem 0xc6b00000-0xc6bfffff,0xc6cff000-0xc6cfffff irq 10 at device 5.0 on pci3 fxp1: Ethernet address 00:02:a5:8b:db:45 inphy1: <i82555 10/100 media interface> on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcib2: <DEC 21152 PCI-PCI bridge> at device 6.0 on pci3 pci4: <PCI bus> on pcib2 dc0: <Intel 21143 10/100BaseTX> port 0x5000-0x507f mem 0xc6fffc00-0xc6ffffff irq 11 at device 4.0 on pci4 dc0: Ethernet address: 00:80:c8:cf:b0:49 miibus2: <MII bus> on dc0 ukphy0: <Generic IEEE 802.3u media interface> on miibus2 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc1: <Intel 21143 10/100BaseTX> port 0x5080-0x50ff mem 0xc6fff800-0xc6fffbff irq 11 at device 5.0 on pci4 dc1: Ethernet address: 00:80:c8:cf:b0:4a miibus3: <MII bus> on dc1 ukphy1: <Generic IEEE 802.3u media interface> on miibus3 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc2: <Intel 21143 10/100BaseTX> port 0x5400-0x547f mem 0xc6fff400-0xc6fff7ff irq 11 at device 6.0 on pci4 dc2: Ethernet address: 00:80:c8:cf:b0:4b miibus4: <MII bus> on dc2 ukphy2: <Generic IEEE 802.3u media interface> on miibus4 ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc3: <Intel 21143 10/100BaseTX> port 0x5480-0x54ff mem 0xc6fff000-0xc6fff3ff irq 11 at device 7.0 on pci4 dc3: Ethernet address: 00:80:c8:cf:b0:4c miibus5: <MII bus> on dc3 ukphy3: <Generic IEEE 802.3u media interface> on miibus5 ukphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto eisa0: <EISA bus> on motherboard mainboard0: <CPQ0685 (System Board)> on eisa0 slot 0 orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcbfff,0xe8000-0xedfff,0xee000-0xeffff 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=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0x2 ppc0: parallel port not found. ata1-slave: ata_command: timeout waiting for intr ata1-slave: identify failed acd0: CDROM <CD-224E> at ata1-master using PIO4 Mounting root from ufs:/dev/idad0s2a The hardware platform is a Compaq DL360. I would really like to use both CPUs&nics at the same time. Any suggestions or ideas? Thanks, Greg Panula To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C611F69.BA49738A>