Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Mar 2004 16:50:48 +0100
From:      Palle Girgensohn <girgen@pingpong.net>
To:        Wilko Bulte <wkb@freebie.xs4all.nl>, Tim Robbins <tjr@freebsd.org>
Cc:        tom@kmem.org
Subject:   Re: if_sk driver
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>

next in thread | previous in thread | raw e-mail | index | archive | help
--==========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 
<wkb@freebie.xs4all.nl> 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: <Marvell Semiconductor, Inc. Yukon> 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: <owner-freebsd-hardware@freebsd.org>
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 <bb+freebsd.hardware@partitur.se>;
	Mon, 15 Mar 2004 23:40:42 +0100 (CET)
	(envelope-from owner-freebsd-hardware@freebsd.org)
X-Real-To: <bb+freebsd.hardware@partitur.se>
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 <hardware@freebsd.org>; 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 <hardware@freebsd.org>; 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 <girgen@pingpong.net>
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
	<freebsd-hardware.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-hardware>,
	<mailto:freebsd-hardware-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-hardware>;
List-Post: <mailto:freebsd-hardware@freebsd.org>
List-Help: <mailto:freebsd-hardware-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-hardware>,
	<mailto:freebsd-hardware-request@freebsd.org?subject=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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex,flag0,flag1>)
        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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA
,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
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: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pci0: <unknown card> (vendor=0x10de, dev=0x01eb) at 0.1
pci0: <unknown card> (vendor=0x10de, dev=0x01ee) at 0.2
pci0: <unknown card> (vendor=0x10de, dev=0x01ed) at 0.3
pci0: <unknown card> (vendor=0x10de, dev=0x01ec) at 0.4
pci0: <unknown card> (vendor=0x10de, dev=0x01ef) at 0.5
isab0: <PCI to ISA bridge (vendor=10de device=0060)> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <unknown card> (vendor=0x10de, dev=0x0064) at 1.1 irq 9
ohci0: <OHCI (generic) USB controller> 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: <OHCI (generic) USB controller> 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: <OHCI (generic) USB controller> 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: <OHCI (generic) USB controller> 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: <USB controller> at 2.2 irq 11
pci0: <unknown card> (vendor=0x10de, dev=0x0066) at 4.0 irq 9
pcib1: <PCI to PCI bridge (vendor=10de device=006c)> at device 8.0 on pci0
pci1: <PCI bus> on pcib1
skc0: <Marvell Gigabit Ethernet> port 0xa000-0xa0ff mem 
0xe8000000-0xe8003fff irq 7 at device 4.0 on pci1
skc0: Yukon Gigabit Ethernet 10/100/1000Base-T Adapter
sk0: <Marvell Semiconductor, Inc. Yukon> on skc0
sk0: Ethernet address: 00:0e:a6:15:2e:3f
miibus0: <MII bus> on sk0
e1000phy0: <Marvell Semiconductor 88E1000* gigabit PHY> on miibus0
e1000phy0:  1000baseTX-FDX, 100baseTX-FDX, 100baseTX, 10baseTX-FDX, 
10baseTX, auto
pci1: <unknown card> (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: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus1
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci1: <unknown card> (vendor=0x1095, dev=0x3112) at 11.0 irq 11
atapci0: <nVIDIA nForce2 ATA133 controller> port 0xf000-0xf00f at device 
9.0 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <unknown card> (vendor=0x10de, dev=0x006e) at 13.0 irq 9
pcib2: <PCI to PCI bridge (vendor=10de device=01e8)> at device 30.0 on pci0
pci3: <PCI bus> on pcib2
pci3: <ATI model 4151 graphics accelerator> at 0.0 irq 11
pci3: <ATI model 4171 graphics accelerator> at 0.1
orm0: <Option ROMs> at iomem 
0xc0000-0xccfff,0xd0000-0xd3fff,0xd4000-0xd57ff,0xd6000-0xd6fff on isa0
pmtimer0 on isa0
fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
device_probe_and_attach: atkbd0 attach returned 6
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>
IPsec: Initialized Security Association Processing.
ad0: 9641MB <IBM-DTTA-371010> [19590/16/63] at ata0-master UDMA33
Mounting root from ufs:/dev/ad0s1a


_______________________________________________
freebsd-hardware@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hardware
To unsubscribe, send any mail to "freebsd-hardware-unsubscribe@freebsd.org"

--==========815C9699B09F7B22DE19==========--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?30640000.1079711448>