Subject: kern/35711: NetBSD-current msk/amd64 random failures
To: None <,,>
From: None <>
List: netbsd-bugs
Date: 02/19/2007 15:50:01
>Number:         35711
>Category:       kern
>Synopsis:       NetBSD-current msk/amd64 random failures
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 19 15:50:01 +0000 2007
>Originator:     tru
>Release:        4.99.11 Mon Feb 19 00:45:31 CET 2007

arch: amd64

hardware: Sony laptop SZ3XP (core duo2)

msk0 initialisation failure?

mskc0 at pci3 dev 0 function 0mskc0: interrupt moderation is 0 us
, Yukon-2 FE rev. A1 (0x1): ioapic0 pin 18 (irq 10)
msk0 at mskc0 port A: Ethernet address 00:13:a9:8c:78:69
mvphy0 at msk0 phy 0: Marvell 88E6060 10/100 5-port PHY switch, rev. 3
mvphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ukphy0 at msk0 phy 3: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000800, model 0x0004, rev. 0
ukphy0: no media present
ukphy1 at msk0 phy 6: Generic IEEE 802.3u media interface
ukphy1: OUI 0x002200, model 0x0011, rev. 0
ukphy1: no media present

ifconfig -m msk0:
  address: 00:13:a9:8c:78:69
  media: Ethernet autoselect (none)
  status: no carrier
  supported Ethernet media:
    media none
    media 10baseT
    media 10baseT mediaopt full-duplex
    media 100baseTX
    media 100baseTX mediaopt full-duplex
    media autoselect
  inet netmask 0xff000000 broadcast
  inet6 fe80::213:a9ff:fe8c:7869%msk0 prefixlen 64 scopeid 0x2

compile current
plug the network cable
ifconfig -a

depending on the switch on the other side, the link is either up on down
(no electrical connection -> "status: no carrier)".

The cable is fine, as any of the device on the other end.
The NIC is properly initiated under linux Fedora Core 6 x86_64.

Any thing I can add to help debug the problem?