From owner-freebsd-stable@FreeBSD.ORG Fri Mar 19 07:50:53 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3B5D16A4CE; Fri, 19 Mar 2004 07:50:53 -0800 (PST) Received: from durian.pingpong.net (81.milagro.bahnhof.net [195.178.168.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 866EA43D41; Fri, 19 Mar 2004 07:50:51 -0800 (PST) (envelope-from girgen@pingpong.net) Received: from localhost (localhost [127.0.0.1]) by durian.pingpong.net (8.12.11/8.12.11) with ESMTP id i2JFomEV047434; Fri, 19 Mar 2004 16:50:48 +0100 (CET) (envelope-from girgen@pingpong.net) Date: Fri, 19 Mar 2004 16:50:48 +0100 From: Palle Girgensohn To: Wilko Bulte , Tim Robbins Message-ID: <30640000.1079711448@durian.pingpong.net> In-Reply-To: <20040319115550.GA3018@freebie.xs4all.nl> References: <4854.80.14.204.211.1079694139.squirrel@shuttle.kmem.org> <20040319113952.GA16120@cat.robbins.dropbear.id.au> <20040319115550.GA3018@freebie.xs4all.nl> X-Mailer: Mulberry/3.1.0 (Linux/x86) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="==========815C9699B09F7B22DE19==========" cc: freebsd-stable@freebsd.org cc: tom@kmem.org Subject: Re: if_sk driver X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2004 15:50:53 -0000 --==========815C9699B09F7B22DE19========== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I have a similar card, see attached mail. It seems to be the same PHY but a different NIC? For me, both are Marvell, you have 3Com NIC. Same driver, though, it seems? Any ideas what's happening? /Palle --On Friday, March 19, 2004 12:55:50 +0100 Wilko Bulte wrote: > On Fri, Mar 19, 2004 at 10:39:52PM +1100, Tim Robbins wrote: >> On Fri, Mar 19, 2004 at 12:02:19PM +0100, tom@kmem.org wrote: >> >> > I'm having trouble with a machine i just bought quite recently. >> > The motherboard is a ASUS P4P800 and has an onboard NIC >> [...] >> > i'm seeing the after loading if_sk which to my knowledge supports this >> > device. >> > >> > When i kldload if_sk i see this : >> > >> > skc0: <3Com 3C940 Gigabit Ethernet> port 0xd800-0xd8ff mem >> > 0xfeafc000-0xfeafffff irq 11 at device 5.0 on pci2 >> > skc0: 3Com Gigabit LOM (3C940) >> > sk0: on skc0 >> > sk0: Ethernet address: 00:0e:a6:48:8d:de >> > sk0: no memory for list buffers! >> > device_probe_and_attach: sk0 attach returned 12 >> >> Try building sk into the kernel or loading it from the bootloader. >> >> I have a similar board (ASUS K8V Deluxe) with the same 3Com gigabit >> adapter, and it worked perfectly first time with 5.2.1-RELEASE - >> I haven't tried -stable yet. > > WOrks brilliantly on my P4P800, if_sk is built into the kernel, no > module. On -stable. > > -- > Wilko Bulte wilko@FreeBSD.org > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" --==========815C9699B09F7B22DE19========== Content-Type: message/rfc822; name="sk ethernet driver: watchdog timeout" Return-Path: Received: from melon.pingpong.net ([unix socket]) by bastuba.partitur.se (Cyrus v2.0.17); Mon, 15 Mar 2004 23:40:47 +0100 X-Sieve: cmu-sieve 2.0 Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) by melon.pingpong.net (8.12.9p2/8.12.9) with ESMTP id i2FMefsv046124 for ; Mon, 15 Mar 2004 23:40:42 +0100 (CET) (envelope-from owner-freebsd-hardware@freebsd.org) X-Real-To: Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 587D356820; Mon, 15 Mar 2004 14:40:36 -0800 (PST) (envelope-from owner-freebsd-hardware@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id C1E8F16A4D3; Mon, 15 Mar 2004 14:40:34 -0800 (PST) Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E90C016A4CE for ; Mon, 15 Mar 2004 14:40:30 -0800 (PST) Received: from amsfep19-int.chello.nl (amsfep19-int.chello.nl [213.46.243.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8FF343D1D for ; Mon, 15 Mar 2004 14:40:29 -0800 (PST) (envelope-from girgen@pingpong.net) Received: from palle.girgensohn.se ([213.89.137.38]) by amsfep19-int.chello.nlESMTP <20040315224028.WOBW23304.amsfep19-int.chello.nl@palle.girgensohn.se>; Mon, 15 Mar 2004 23:40:28 +0100 Received: from localhost (localhost [127.0.0.1]) by palle.girgensohn.se (8.12.11/8.12.11) with ESMTP id i2FMeR7I056559; Mon, 15 Mar 2004 23:40:27 +0100 (CET) (envelope-from girgen@pingpong.net) Date: Mon, 15 Mar 2004 23:40:27 +0100 From: Palle Girgensohn To: hardware@freebsd.org Message-ID: <5800000.1079390427@palle.girgensohn.se> X-Mailer: Mulberry/3.1.0 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; FORMAT=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: sk ethernet driver: watchdog timeout X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: owner-freebsd-hardware@freebsd.org Errors-To: owner-freebsd-hardware@freebsd.org X-MailScanner-Information: Please contact the ISP for more information X-MailScanner-PINGPONG: Found to be clean Hi, I have an ASUS motherboard with onboard 10/100/1000 Mbit/s NIC from Marvell Semiconductor. My problem is that it sometimes lock up with the error message sk0: watchdog timeout The network is gone for a minute or so, then it comes back. It seems to work better when connected to a gigabit switch than when connected to a 100 Mb/s switch, but it happens in both modes. Happens on at least two different machines with different cables. Any ideas? Bad driver? It also cannot use DHCP unless it is first manually set in promiscous mode. Regards, Palle ifconfig: sk0: flags=8843 mtu 1500 inet 192.168.1.187 netmask 0xffffff00 broadcast 192.168.1.255 inet6 fe80::20e:a6ff:fe15:2e3f%sk0 prefixlen 64 scopeid 0x1 ether 00:0e:a6:15:2e:3f media: Ethernet autoselect (1000baseTX ) status: active FreeBSD 4.9-STABLE #0: Sat Mar 13 18:11:47 CET 2004 kudo@jordgubbe.pingpong.net:/.a/banan/usr/obj/usr/src/sys/ASUS Timecounter "i8254" frequency 1193182 Hz CPU: AMD Athlon(tm) XP 2800+ (2079.56-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x6a0 Stepping = 0 Features=0x383fbff AMD Features=0xc0400000 real memory = 1073676288 (1048512K bytes) avail memory = 1040752640 (1016360K bytes) Preloaded elf kernel "kernel" at 0xc0436000. Preloaded elf module "if_sk.ko" at 0xc043609c. Preloaded elf module "snd_pcm.ko" at 0xc043613c. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 12 entries at 0xc00fdea0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pci0: (vendor=0x10de, dev=0x01eb) at 0.1 pci0: (vendor=0x10de, dev=0x01ee) at 0.2 pci0: (vendor=0x10de, dev=0x01ed) at 0.3 pci0: (vendor=0x10de, dev=0x01ec) at 0.4 pci0: (vendor=0x10de, dev=0x01ef) at 0.5 isab0: at device 1.0 on pci0 isa0: on isab0 pci0: (vendor=0x10de, dev=0x0064) at 1.1 irq 9 ohci0: mem 0xe9001000-0xe9001fff irq 11 at device 2.0 on pci0 usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: (0x10de) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: mem 0xe9002000-0xe9002fff irq 9 at device 2.1 on pci0 usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: on ohci1 usb1: USB revision 1.0 uhub1: (0x10de) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/18.00, addr 2, iclass 3/1 ums0: 6 buttons and Z dir. ukbd0: Key Tronic Keytronic USB Keyboard, rev 1.10/1.02, addr 3, iclass 3/1 kbd1 at ukbd0 pci0: at 2.2 irq 11 pci0: (vendor=0x10de, dev=0x0066) at 4.0 irq 9 pcib1: at device 8.0 on pci0 pci1: on pcib1 skc0: port 0xa000-0xa0ff mem 0xe8000000-0xe8003fff irq 7 at device 4.0 on pci1 skc0: Yukon Gigabit Ethernet 10/100/1000Base-T Adapter sk0: on skc0 sk0: Ethernet address: 00:0e:a6:15:2e:3f miibus0: on sk0 e1000phy0: on miibus0 e1000phy0: 1000baseTX-FDX, 100baseTX-FDX, 100baseTX, 10baseTX-FDX, 10baseTX, auto pci1: (vendor=0x1274, dev=0x1371) at 7.0 irq 11 xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xa800-0xa87f mem 0xe8004000-0xe800407f irq 9 at device 10.0 on pci1 xl0: Ethernet address: 00:10:5a:12:00:87 miibus1: on xl0 xlphy0: <3Com internal media interface> on miibus1 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci1: (vendor=0x1095, dev=0x3112) at 11.0 irq 11 atapci0: port 0xf000-0xf00f at device 9.0 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: (vendor=0x10de, dev=0x006e) at 13.0 irq 9 pcib2: at device 30.0 on pci0 pci3: on pcib2 pci3: at 0.0 irq 11 pci3: at 0.1 orm0: