From owner-freebsd-current@FreeBSD.ORG Mon Aug 25 21:11:31 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0834A16A4BF for ; Mon, 25 Aug 2003 21:11:31 -0700 (PDT) Received: from remt23.cluster1.charter.net (remt23.cluster1.charter.net [209.225.8.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8EC7243FE1 for ; Mon, 25 Aug 2003 21:11:29 -0700 (PDT) (envelope-from glennpj@charter.net) Received: from [24.158.214.251] (HELO gforce.johnson.home) by remt23.cluster1.charter.net (CommuniGate Pro SMTP 4.0.6) with ESMTP id 134957224; Tue, 26 Aug 2003 00:11:27 -0400 Received: from gforce.johnson.home (localhost [127.0.0.1]) by gforce.johnson.home (8.12.9/8.12.9) with ESMTP id h7Q4BNo9000882; Mon, 25 Aug 2003 23:11:23 -0500 (CDT) (envelope-from glenn@gforce.johnson.home) Received: (from glenn@localhost) by gforce.johnson.home (8.12.9/8.12.9/Submit) id h7Q4BNc6000881; Mon, 25 Aug 2003 23:11:23 -0500 (CDT) (envelope-from glenn) Date: Mon, 25 Aug 2003 23:11:23 -0500 From: Glenn Johnson To: Stuart Walsh , freebsd-current@freebsd.org Message-ID: <20030826041123.GB718@gforce.johnson.home> Mail-Followup-To: Stuart Walsh , freebsd-current@freebsd.org References: <20030823154530.GA86441@deepfreeze.stu.ipng.org.uk> <20030824112239.GA231@freebie.xs4all.nl> <20030825034224.GA713@gforce.johnson.home> <20030825101425.GA52184@deepfreeze.stu.ipng.org.uk> <20030825162023.GC40907@node1.cluster.srrc.usda.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030825162023.GC40907@node1.cluster.srrc.usda.gov> User-Agent: Mutt/1.5.4i Subject: Re: 3C940 / Asus P4P800 gigabit LAN driver X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2003 04:11:31 -0000 On Mon, Aug 25, 2003 at 11:20:23AM -0500, Glenn Johnson wrote: > On Mon, Aug 25, 2003 at 11:14:25AM +0100, Stuart Walsh wrote: > > > On Sun Aug 24, 10:42P -0500, Glenn Johnson wrote: > > > > > On Sun, Aug 24, 2003 at 01:22:39PM +0200, Wilko Bulte wrote: > > > > > > > On Sat, Aug 23, 2003 at 04:45:30PM +0100, Stuart Walsh wrote: > > > > > > > > > Hi, > > > > > > > > > > I ported the openbsd additions to the sk driver to support > > > > > the 3c940 gigabit network card which is commonly found in the > > > > > above asus motherboard. Testers/comments/commits welcome, but > > > > > please don't blame me if it burns your house down or something > > > > > :) > > > > > > > > Hi Stuart, > > > > > > > > I tried this patch instead of the earlier ones you pointed me to > > > > on IRC. > > > > > > > > Unfortunately my Asus P4P800 still locks up solid (reset button > > > > required) after printing the 3c940's ethernet address. > > > > > > > > I'm interested to know if other P4P800 owners have the same > > > > issue. > > > > > > I have an Abit IS7 with a 3c940. I also get a lockup at boot > > > time. I tried loading the module after bootup as well. I tried > > > that two times; it loaded one time and locked the machine up the > > > other time. > > > > > > Does it lock up after printing the ethernet address as in Wilko's > > case? > > Yes. > > > Does the card work properly if the module does manage to load? > > I do not know. I did not have a cable plugged in to the 3c940 port at > the time. I do remember some message about not being able to set up > a jumbo frame. I was going to plug a cable into the port to see if > it worked but I was not able to get the module to load again without > locking up the machine. > > > Also could you mail your dmesg. > > Yes, but not until I get home later this evening as the 3c940 is on my > home system. Here is my dmesg output: Copyright (c) 1992-2003 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 5.1-CURRENT #94: Mon Aug 25 22:43:06 CDT 2003 root@gforce.johnson.home:/usr/obj/usr/src/sys/GFORCE Preloaded elf kernel "/boot/kernel/kernel" at 0xc0433000. Preloaded elf module "/boot/kernel/if_xl.ko" at 0xc04331f4. Preloaded elf module "/boot/kernel/miibus.ko" at 0xc04332a0. Preloaded elf module "/boot/kernel/snd_ich.ko" at 0xc043334c. Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc04333f8. Preloaded elf module "/boot/kernel/random.ko" at 0xc04334a4. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0433550. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2405.47-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebfbff Hyperthreading: 2 logical CPUs real memory = 536805376 (511 MB) avail memory = 516743168 (492 MB) Changing APIC ID for IO APIC #0 from 0 to 2 on chip Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): apic id: 0, version: 0x00050014, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00050014, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00178020, at 0xfec00000 Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 11 entries at 0xc00fdd30 acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 acpi_cpu0: on acpi0 acpi_cpu1: on acpi0 acpi_tz0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 IOAPIC #0 intpin 16 -> irq 2 IOAPIC #0 intpin 19 -> irq 5 IOAPIC #0 intpin 18 -> irq 9 IOAPIC #0 intpin 23 -> irq 10 IOAPIC #0 intpin 17 -> irq 11 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pci0: at device 29.0 (no driver attached) pci0: at device 29.1 (no driver attached) pci0: at device 29.2 (no driver attached) pci0: at device 29.3 (no driver attached) pci0: at device 29.7 (no driver attached) pcib2: at device 30.0 on pci0 pci2: on pcib2 pci2: at device 2.0 (no driver attached) xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xa400-0xa47f mem 0xfb004000-0xfb00407f irq 11 at device 9.0 on pci2 xl0: Ethernet address: 00:01:02:84:81:50 miibus0: on xl0 xlphy0: <3Com internal media interface> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f,0-0x3,0-0x7,0-0x3,0-0x7 irq 9 at device 31.2 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at device 31.3 (no driver attached) pcm0: port 0xdc00-0xdc3f,0xd800-0xd8ff mem 0xfc002000-0xfc0020ff,0xfc001000-0xfc0011ff irq 11 at device 31.5 on pci0 pcm0: fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 orm0: