From owner-freebsd-drivers@FreeBSD.ORG Sun Sep 18 18:28:45 2005 Return-Path: X-Original-To: freebsd-drivers@freebsd.org Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A53DE16A41F for ; Sun, 18 Sep 2005 18:28:45 +0000 (GMT) (envelope-from ben@benswebs.com) Received: from ms-smtp-04.nyroc.rr.com (ms-smtp-04.nyroc.rr.com [24.24.2.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16B1443D45 for ; Sun, 18 Sep 2005 18:28:44 +0000 (GMT) (envelope-from ben@benswebs.com) Received: from [127.0.0.1] (cpe-72-224-114-15.nycap.res.rr.com [72.224.114.15]) by ms-smtp-04.nyroc.rr.com (8.12.10/8.12.10) with ESMTP id j8IISeV4028453 for ; Sun, 18 Sep 2005 14:28:41 -0400 (EDT) Message-ID: <432DB1AD.7070202@benswebs.com> Date: Sun, 18 Sep 2005 14:27:57 -0400 From: Benjamin Rosenblum User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-drivers@freebsd.org X-Virus-Scanned: Symantec AntiVirus Scan Engine Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Problems with SK and EM network cards X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2005 18:28:45 -0000 Im having an issue with my new linksys eg1032 nic and the onboard intel 82547EI on my new server. ill go over both problems individually and include my dmesg below that. First the SK problem. Sep 18 13:43:50 Valhalla kernel: skc0: port 0xc400-0xc4ff mem 0xfeafec00-0xfeafecff irq 21 at device 5.0 on pci3 Sep 18 13:43:50 Valhalla kernel: skc0: failed: rid 0x10 is ioport, requested 3 Sep 18 13:43:50 Valhalla kernel: sk0: couldn't map ports/memory i have run this network card before on another system with out any problems, cant figure this one out im sure its something easy but i cant figure it out at all please help. now the EM problem. when i am running a very high network load (streaming video, dumping ALOT of data across the network, etc) the network card disconnects (i loose pings and all my transfers drop) and 15-20 seconds later it pops up on the console with "em0: Link is up 1000 Mbps Full Duplex" and then it starts working again. again im at a dead wall and really want my network to work properly so i can do what i need to do. Here are my uname and dmesg FreeBSD Valhalla.PHISIG 5.4-RELEASE FreeBSD 5.4-RELEASE #5: Sun Sep 18 13:41:21 EDT 2005 laser@Valhalla.PHISIG:/usr/src/sys/i386/compile/VALHALLA i386 Sep 18 14:11:16 Valhalla syslogd: kernel boot file is /boot/kernel/kernel Sep 18 14:11:16 Valhalla kernel: Copyright (c) 1992-2005 The FreeBSD Project. Sep 18 14:11:16 Valhalla kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Sep 18 14:11:16 Valhalla kernel: The Regents of the University of California. All rights reserved. Sep 18 14:11:16 Valhalla kernel: FreeBSD 5.4-RELEASE #5: Sun Sep 18 13:41:21 EDT 2005 Sep 18 14:11:16 Valhalla kernel: laser@Valhalla.PHISIG:/usr/src/sys/i386/compile/VALHALLA Sep 18 14:11:16 Valhalla kernel: WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant Sep 18 14:11:16 Valhalla kernel: WARNING: MPSAFE network stack disabled, expect reduced performance. Sep 18 14:11:16 Valhalla kernel: Timecounter "i8254" frequency 1193182 Hz quality 0 Sep 18 14:11:16 Valhalla kernel: CPU: Intel(R) Pentium(R) 4 CPU 3.20GHz (3192.02-MHz 686-class CPU) Sep 18 14:11:16 Valhalla kernel: Origin = "GenuineIntel" Id = 0xf41 Stepping = 1 Sep 18 14:11:16 Valhalla kernel: Features=0xbfebfbff Sep 18 14:11:16 Valhalla kernel: Hyperthreading: 2 logical CPUs Sep 18 14:11:16 Valhalla kernel: real memory = 2147418112 (2047 MB) Sep 18 14:11:16 Valhalla kernel: avail memory = 2095964160 (1998 MB) Sep 18 14:11:16 Valhalla kernel: ACPI APIC Table: Sep 18 14:11:16 Valhalla kernel: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs Sep 18 14:11:16 Valhalla kernel: cpu0 (BSP): APIC ID: 0 Sep 18 14:11:16 Valhalla kernel: cpu1 (AP): APIC ID: 1 Sep 18 14:11:16 Valhalla kernel: ioapic0 irqs 0-23 on motherboard Sep 18 14:11:16 Valhalla kernel: ioapic1 irqs 24-47 on motherboard Sep 18 14:11:16 Valhalla kernel: hptmv6: RocketRAID 222x controller driver v1.01 (Jun 15 2005 10:17:49) Sep 18 14:11:16 Valhalla kernel: npx0: on motherboard Sep 18 14:11:16 Valhalla kernel: npx0: INT 16 interface Sep 18 14:11:16 Valhalla kernel: acpi0: on motherboard Sep 18 14:11:16 Valhalla kernel: acpi0: Power Button (fixed) Sep 18 14:11:16 Valhalla kernel: Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 Sep 18 14:11:16 Valhalla kernel: acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 Sep 18 14:11:16 Valhalla kernel: cpu0: on acpi0 Sep 18 14:11:16 Valhalla kernel: cpu1: on acpi0 Sep 18 14:11:16 Valhalla kernel: pcib0: port 0xcf8-0xcff on acpi0 Sep 18 14:11:16 Valhalla kernel: pci0: on pcib0 Sep 18 14:11:16 Valhalla kernel: pcib1: at device 3.0 on pci0 Sep 18 14:11:16 Valhalla kernel: pci1: on pcib1 Sep 18 14:11:16 Valhalla kernel: em0: port 0xac00-0xac1f mem 0xfc4c0000-0xfc4dffff,0xfc4e0000-0xfc4fffff irq 18 at device 1.0 on pci1 Sep 18 14:11:16 Valhalla kernel: em0: Ethernet address: 00:13:d4:5a:de:3d Sep 18 14:11:16 Valhalla kernel: em0: Speed:N/A Duplex:N/A Sep 18 14:11:16 Valhalla kernel: pcib2: at device 28.0 on pci0 Sep 18 14:11:16 Valhalla kernel: pci2: on pcib2 Sep 18 14:11:16 Valhalla kernel: hptmv60: port 0xb800-0xb8ff mem 0xfc900000-0xfc9fffff irq 25 at device 3.0 on pci2 Sep 18 14:11:16 Valhalla kernel: hptmv6: adapter at PCI 2:3:0, IRQ 25 Sep 18 14:11:16 Valhalla kernel: atapci0: port 0xb000-0xb07f,0xb400-0xb40f,0xbc00-0xbc3f mem 0xfc7c0000-0xfc7dffff,0xfc7ff000-0xfc7fffff irq 27 at device 5.0 on pci2 Sep 18 14:11:16 Valhalla kernel: atapci0: failed: rid 0x20 is memory, requested 4 Sep 18 14:11:16 Valhalla kernel: ata2: channel #0 on atapci0 Sep 18 14:11:16 Valhalla kernel: ata3: channel #1 on atapci0 Sep 18 14:11:16 Valhalla kernel: ata4: channel #2 on atapci0 Sep 18 14:11:16 Valhalla kernel: ata5: channel #3 on atapci0 Sep 18 14:11:16 Valhalla kernel: uhci0: port 0xe800-0xe81f irq 16 at device 29.0 on pci0 Sep 18 14:11:16 Valhalla kernel: usb0: on uhci0 Sep 18 14:11:16 Valhalla kernel: usb0: USB revision 1.0 Sep 18 14:11:16 Valhalla kernel: uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 Sep 18 14:11:16 Valhalla kernel: uhub0: 2 ports with 2 removable, self powered Sep 18 14:11:16 Valhalla kernel: uhci1: port 0xec00-0xec1f irq 19 at device 29.1 on pci0 Sep 18 14:11:16 Valhalla kernel: usb1: on uhci1 Sep 18 14:11:16 Valhalla kernel: usb1: USB revision 1.0 Sep 18 14:11:16 Valhalla kernel: uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 Sep 18 14:11:16 Valhalla kernel: uhub1: 2 ports with 2 removable, self powered Sep 18 14:11:16 Valhalla kernel: pci0: at device 29.4 (no driver attached) Sep 18 14:11:16 Valhalla kernel: pci0: at device 29.5 (no driver attached) Sep 18 14:11:16 Valhalla kernel: pci0: at device 29.7 (no driver attached) Sep 18 14:11:16 Valhalla kernel: pcib3: at device 30.0 on pci0 Sep 18 14:11:16 Valhalla kernel: pci3: on pcib3 Sep 18 14:11:16 Valhalla kernel: pci3: at device 3.0 (no driver attached) Sep 18 14:11:16 Valhalla kernel: skc0: port 0xc400-0xc4ff mem 0xfeafec00-0xfeafecff irq 21 at device 5.0 on pci3 Sep 18 14:11:16 Valhalla kernel: skc0: failed: rid 0x10 is ioport, requested 3 Sep 18 14:11:16 Valhalla kernel: sk0: couldn't map ports/memory Sep 18 14:11:16 Valhalla kernel: device_attach: skc0 attach returned 6 Sep 18 14:11:16 Valhalla kernel: adv0: port 0xc000-0xc0ff mem 0xfeafe800-0xfeafe8ff irq 22 at device 6.0 on pci3 Sep 18 14:11:16 Valhalla kernel: adv0: Warning EEPROM Checksum mismatch. Using default device parameters Sep 18 14:11:16 Valhalla kernel: adv0: AdvanSys SCSI Host Adapter, SCSI ID 7, queue depth 16 Sep 18 14:11:16 Valhalla kernel: isab0: at device 31.0 on pci0 Sep 18 14:11:16 Valhalla kernel: isa0: on isab0 Sep 18 14:11:16 Valhalla kernel: atapci1: port 0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 Sep 18 14:11:16 Valhalla kernel: ata0: channel #0 on atapci1 Sep 18 14:11:16 Valhalla kernel: ata1: channel #1 on atapci1 Sep 18 14:11:16 Valhalla kernel: pci0: at device 31.3 (no driver attached) Sep 18 14:11:16 Valhalla kernel: acpi_button0: on acpi0 Sep 18 14:11:16 Valhalla kernel: sio0: configured irq 4 not in bitmap of probed irqs 0 Sep 18 14:11:16 Valhalla kernel: sio0: port may not be enabled Sep 18 14:11:16 Valhalla kernel: sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 Sep 18 14:11:16 Valhalla kernel: sio0: type 16550A Sep 18 14:11:16 Valhalla kernel: sio1: configured irq 3 not in bitmap of probed irqs 0 Sep 18 14:11:16 Valhalla kernel: sio1: port may not be enabled Sep 18 14:11:16 Valhalla kernel: sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 Sep 18 14:11:16 Valhalla kernel: sio1: type 16550A Sep 18 14:11:16 Valhalla kernel: fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 Sep 18 14:11:16 Valhalla kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0 Sep 18 14:11:16 Valhalla kernel: ppc0: port 0x378-0x37f irq 7 on acpi0 Sep 18 14:11:16 Valhalla kernel: ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode Sep 18 14:11:16 Valhalla kernel: ppbus0: on ppc0 Sep 18 14:11:16 Valhalla kernel: plip0: on ppbus0 Sep 18 14:11:16 Valhalla kernel: lpt0: on ppbus0 Sep 18 14:11:16 Valhalla kernel: lpt0: Interrupt-driven port Sep 18 14:11:16 Valhalla kernel: ppi0: on ppbus0 Sep 18 14:11:16 Valhalla kernel: atkbdc0: port 0x64,0x60 irq 1 on acpi0 Sep 18 14:11:16 Valhalla kernel: atkbd0: irq 1 on atkbdc0 Sep 18 14:11:16 Valhalla kernel: kbd0 at atkbd0 Sep 18 14:11:16 Valhalla kernel: orm0: at iomem 0xc0000-0xc7fff on isa0 Sep 18 14:11:16 Valhalla kernel: pmtimer0 on isa0 Sep 18 14:11:16 Valhalla kernel: sc0: at flags 0x100 on isa0 Sep 18 14:11:16 Valhalla kernel: sc0: VGA <16 virtual consoles, flags=0x300> Sep 18 14:11:16 Valhalla kernel: vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Sep 18 14:11:16 Valhalla kernel: hptmv6: start channel [0,0] Sep 18 14:11:16 Valhalla kernel: hptmv6: channel [0,0] started successfully Sep 18 14:11:16 Valhalla kernel: hptmv6: start channel [0,1] Sep 18 14:11:16 Valhalla kernel: hptmv6: channel [0,1] started successfully Sep 18 14:11:16 Valhalla kernel: hptmv6: start channel [0,2] Sep 18 14:11:16 Valhalla kernel: hptmv6: channel [0,2] started successfully Sep 18 14:11:16 Valhalla kernel: hptmv6: start channel [0,3] Sep 18 14:11:16 Valhalla kernel: hptmv6: channel [0,3] started successfully Sep 18 14:11:16 Valhalla kernel: hptmv6: start channel [0,4] Sep 18 14:11:16 Valhalla kernel: hptmv6: channel [0,4] started successfully Sep 18 14:11:16 Valhalla kernel: Timecounters tick every 1.000 msec Sep 18 14:11:16 Valhalla kernel: IPsec: Initialized Security Association Processing. Sep 18 14:11:16 Valhalla kernel: ipfw2 initialized, divert enabled, rule-based forwarding disabled, default to accept, logging disabled Sep 18 14:11:16 Valhalla kernel: ad0: 114440MB [232514/16/63] at ata0-master UDMA100 Sep 18 14:11:16 Valhalla kernel: acd0: DVDR at ata1-master PIO4 Sep 18 14:11:16 Valhalla kernel: acd1: DVDR at ata1-slave PIO4 Sep 18 14:11:16 Valhalla kernel: Waiting 15 seconds for SCSI devices to settle Sep 18 14:11:16 Valhalla kernel: da0 at hptmv60 bus 0 target 0 lun 0 Sep 18 14:11:16 Valhalla kernel: da0: Fixed Direct Access SCSI-0 device Sep 18 14:11:16 Valhalla kernel: da0: 1525760MB (3124756480 512 byte sectors: 255H 63S/T 194507C) Sep 18 14:11:16 Valhalla kernel: SMP: AP CPU #1 Launched! Sep 18 14:11:16 Valhalla kernel: Mounting root from ufs:/dev/ad0s1a Sep 18 14:11:18 Valhalla kernel: em0: Link is up 1000 Mbps Full Duplex Sep 18 14:11:19 Valhalla ntpd[453]: ntpd 4.2.0-a Sun May 8 06:01:21 UTC 2005 (1) Sep 18 14:14:13 Valhalla su: laser to root on /dev/ttyp0