From nobody@FreeBSD.org  Sat Sep  3 11:53:32 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 56069106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  3 Sep 2011 11:53:32 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 46F5E8FC15
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  3 Sep 2011 11:53:32 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p83BrW4D016063
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 3 Sep 2011 11:53:32 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p83BrV8X016050;
	Sat, 3 Sep 2011 11:53:31 GMT
	(envelope-from nobody)
Message-Id: <201109031153.p83BrV8X016050@red.freebsd.org>
Date: Sat, 3 Sep 2011 11:53:31 GMT
From: Oliver Pinter <oliver.pntr@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: msk0: phy write timeout on HP 5310m
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         160420
>Category:       kern
>Synopsis:       [msk] phy write timeout on HP 5310m
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-net
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 03 12:00:26 UTC 2011
>Closed-Date:    Thu May 17 18:56:02 UTC 2012
>Last-Modified:  Thu May 17 19:00:09 UTC 2012
>Originator:     Oliver Pinter
>Release:        9.0-BETA2
>Organization:
>Environment:
FreeBSD opn 9.0-BETA2 FreeBSD 9.0-BETA2 #0: Fri Sep 2 10:04:06 CEST 2011 root@:/usr/obj/usr/src/sys/stable amd64
>Description:
when unplug the power cord from HP ProBook 5310m, then timed out the ethernet interface (msk0)

[...]

mskc0: <Marvell Yukon 88E8072 Gigabit Ethernet> port 0x2000-0x20ff mem 0xd060000
0-0xd0603fff irq 17 at device 0.0 on pci3
mskc0: MSI count : 1
mskc0: attempting to allocate 1 MSI vectors (1 supported)
msi: routing MSI IRQ 258 to local APIC 0 vector 56
mskc0: using IRQ 258 for MSI
mskc0: RAM buffer size : 0KB
msk0: <Marvell Technology Group Ltd. Yukon EX Id 0xb5 Rev 0x02> on mskc0
msk0: bpf attached
msk0: Ethernet address: 70:5a:b6:XX:XX:XX
miibus0: <MII bus> on msk0
e1000phy0: <Marvell 88E1149 Gigabit PHY> PHY 0 on miibus0
e1000phy0: OUI 0x000ac2, model 0x000b, rev. 1
e1000phy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 100
0baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow

[...]

msk0: link state changed to DOWN
msk0: link state changed to UP
system power profile changed to 'economy'
acpi_acad0: Off Line
msk0: phy write timeout
msk0: phy write timeout
msk0: phy write timeout
msk0: phy write timeout
msk0: phy write timeout
msk0: phy write timeout
msk0: phy write timeout
msk0: phy write timeout
msk0: phy write timeout
msk0: phy write timeout
msk0: phy write timeout
msk0: phy write timeout
msk0: phy write timeout

>How-To-Repeat:
1) plug in the power cord
2) boot
3) after interface come up
4) unplug the power cord
>Fix:


Patch attached with submission follows:

hostb0@pci0:0:0:0:	class=0x060000 card=0x3634103c chip=0x2a408086 rev=0x07 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Mobile 4 Series Chipset Memory Controller Hub'
    class      = bridge
    subclass   = HOST-PCI
vgapci0@pci0:0:2:0:	class=0x030000 card=0x3634103c chip=0x2a428086 rev=0x07 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Mobile 4 Series Chipset Integrated Graphics Controller'
    class      = display
    subclass   = VGA
vgapci1@pci0:0:2:1:	class=0x038000 card=0x3634103c chip=0x2a438086 rev=0x07 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Mobile 4 Series Chipset Integrated Graphics Controller'
    class      = display
uhci0@pci0:0:26:0:	class=0x0c0300 card=0x3634103c chip=0x29378086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) USB UHCI Controller'
    class      = serial bus
    subclass   = USB
uhci1@pci0:0:26:1:	class=0x0c0300 card=0x3634103c chip=0x29388086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) USB UHCI Controller'
    class      = serial bus
    subclass   = USB
uhci2@pci0:0:26:2:	class=0x0c0300 card=0x3634103c chip=0x29398086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) USB UHCI Controller'
    class      = serial bus
    subclass   = USB
ehci0@pci0:0:26:7:	class=0x0c0320 card=0x3634103c chip=0x293c8086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) USB2 EHCI Controller'
    class      = serial bus
    subclass   = USB
hdac0@pci0:0:27:0:	class=0x040300 card=0x3634103c chip=0x293e8086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) HD Audio Controller'
    class      = multimedia
    subclass   = HDA
pcib1@pci0:0:28:0:	class=0x060400 card=0x00000000 chip=0x29408086 rev=0x03 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) PCI Express Port 1'
    class      = bridge
    subclass   = PCI-PCI
pcib2@pci0:0:28:1:	class=0x060400 card=0x00000000 chip=0x29428086 rev=0x03 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) PCI Express Port 2'
    class      = bridge
    subclass   = PCI-PCI
pcib3@pci0:0:28:5:	class=0x060400 card=0x00000000 chip=0x294a8086 rev=0x03 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) PCI Express Port 6'
    class      = bridge
    subclass   = PCI-PCI
uhci3@pci0:0:29:0:	class=0x0c0300 card=0x3634103c chip=0x29348086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) USB UHCI Controller'
    class      = serial bus
    subclass   = USB
uhci4@pci0:0:29:1:	class=0x0c0300 card=0x3634103c chip=0x29358086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) USB UHCI Controller'
    class      = serial bus
    subclass   = USB
uhci5@pci0:0:29:2:	class=0x0c0300 card=0x3634103c chip=0x29368086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) USB UHCI Controller'
    class      = serial bus
    subclass   = USB
ehci1@pci0:0:29:7:	class=0x0c0320 card=0x3634103c chip=0x293a8086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) USB2 EHCI Controller'
    class      = serial bus
    subclass   = USB
pcib4@pci0:0:30:0:	class=0x060401 card=0x00000000 chip=0x24488086 rev=0x93 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801 Mobile PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
isab0@pci0:0:31:0:	class=0x060100 card=0x3634103c chip=0x29178086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'ICH9M-E LPC Interface Controller'
    class      = bridge
    subclass   = PCI-ISA
ahci0@pci0:0:31:2:	class=0x010601 card=0x3634103c chip=0x29298086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'ICH9M/M-E SATA AHCI Controller'
    class      = mass storage
    subclass   = SATA
iwn0@pci0:2:0:0:	class=0x028000 card=0x13158086 chip=0x00848086 rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Centrino Wireless-N 1000'
    class      = network
mskc0@pci0:3:0:0:	class=0x020000 card=0x3634103c chip=0x436c11ab rev=0x10 hdr=0x00
    vendor     = 'Marvell Technology Group Ltd.'
    device     = '88E8072 PCI-E Gigabit Ethernet Controller'
    class      = network
    subclass   = ethernet


>Release-Note:
>Audit-Trail:

From: Oliver Pinter <oliver.pntr@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org, freebsd-bugs@freebsd.org
Cc:  
Subject: Re: kern/160420: msk0: phy write timeout on HP 5310m
Date: Sat, 3 Sep 2011 14:17:43 +0200

 and when booting from battary without power cord, then timed out too
 
Responsible-Changed-From-To: freebsd-bugs->freebsd-net 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Sep 4 06:25:04 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=160420 
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Thu May 17 18:55:32 UTC 2012 
State-Changed-Why:  
Closed at submitter's request. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=160420 

From: Mark Linimon <linimon@lonesome.com>
To: bug-followup@FreeBSD.org
Cc: freebsd-bugs@freebsd.org
Subject: Re: kern/160420: msk0: phy write timeout on HP 5310m
Date: Thu, 17 May 2012 13:57:04 -0500

 On Thu, May 17, 2012 at 05:47:47PM +0200, Oliver Pinter wrote:
 > Please close this PR.
 > 
 > Solution:
 > Disable the "LAN powersave" mode in BIOS.
 > _______________________________________________
 > freebsd-bugs@freebsd.org mailing list
 > http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
 > To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
 > 
>Unformatted:
