NetBSD Problem Report #42950

From www@NetBSD.org  Wed Mar 10 21:05:04 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 4C81D63B8DE
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 10 Mar 2010 21:05:04 +0000 (UTC)
Message-Id: <20100310210503.DC50063B873@www.NetBSD.org>
Date: Wed, 10 Mar 2010 21:05:03 +0000 (UTC)
From: alnsn@yandex.ru
Reply-To: alnsn@yandex.ru
To: gnats-bugs@NetBSD.org
Subject: nfe(4) panic on HP Pavilion Slimline s5210uk Desktop PC
X-Send-Pr-Version: www-1.0

>Number:         42950
>Category:       kern
>Synopsis:       nfe(4) panic on HP Pavilion Slimline s5210uk Desktop PC
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 10 21:10:01 +0000 2010
>Closed-Date:    Mon Jan 31 18:49:47 +0000 2011
>Last-Modified:  Mon Feb 07 20:00:03 +0000 2011
>Originator:     Alexander Nasonov
>Release:        NetBSD-current
>Organization:
NA
>Environment:
NetBSD  5.99.24 NetBSD 5.99.24 (GENERIC) #2: Sun Mar  7 13:43:04 GMT 2010  root@obed.lan:/home/alnsn/src/netbsd-current/src/sys/arch/amd64/compile/obj/GENERIC amd64
>Description:
NetBSD panics with "rlphy_service: attempt to isolate phy" when I try to use nfe(4), e.g. when I run ifconfig nfe0.

Kernel wrongly detects 32 phy interfaces, but there is only one and it seems that there is never more than one:

( http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/mii/rlphy.c#rev1.1 )

	/*
	 * The RealTek PHY can never be isolated, so never allow non-zero
	 * instances!
	 */
	if (mii->mii_instance != 0) {
		device_printf(dev, "ignoring this PHY, non-zero instance\n");
		return(ENXIO);
	}

I have a patch that fixes the panic but it prints spurious entries
in dmesg:

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 5.99.24 (GENERIC) #2: Sun Mar  7 13:43:04 GMT 2010
	root@obed.lan:/home/alnsn/src/netbsd-current/src/sys/arch/amd64/compile/obj/GENERIC
total memory = 4095 MB
avail memory = 3953 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
HP-Pavilion VG249AA-ABU s5210uk ( )
mainbus0 (root)
cpu0 at mainbus0 apid 0: AMD 686-class, 2612MHz, id 0x100f52
cpu1 at mainbus0 apid 1: AMD 686-class, 2612MHz, id 0x100f52
cpu2 at mainbus0 apid 2: AMD 686-class, 2612MHz, id 0x100f52
cpu3 at mainbus0 apid 3: AMD 686-class, 2612MHz, id 0x100f52
ioapic0 at mainbus0 apid 4: pa 0xfec00000, version 11, 24 pins
acpi0 at mainbus0: Intel ACPICA 20090730
acpi0: X/RSDT: OemId <HPQOEM,SLIC-CPC,20090818>, AslId <MSFT,00000097>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
ACPI-Fast 24-bit timer
attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43 irq 0
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
midi0 at pcppi1: PC speaker
sysbeep0 at pcppi1
hpet0 at acpi0 (HPET, PNP0103-0): mem 0xfeff0000-0xfeff0fff
timecounter: Timecounter "hpet0" frequency 25000000 Hz quality 2000
acpibut0 at acpi0 (PWRB, PNP0C0C-170): ACPI Power Button
attimer1: attached to pcppi1
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
vendor 0x10de product 0x03ea (RAM memory, revision 0xa1) at pci0 dev 0 function 0 not configured
pcib0 at pci0 dev 1 function 0: vendor 0x10de product 0x03e0 (rev. 0xa2)
nfsmbc0 at pci0 dev 1 function 1: vendor 0x10de product 0x03eb (rev. 0xa2)
nfsmb0 at nfsmbc0 SMBus 1
iic0 at nfsmb0: I2C bus
nfsmb1 at nfsmbc0 SMBus 2
iic1 at nfsmb1: I2C bus
vendor 0x10de product 0x03f5 (RAM memory, revision 0xa2) at pci0 dev 1 function 2 not configured
ohci0 at pci0 dev 2 function 0: vendor 0x10de product 0x03f1 (rev. 0xa3)
LUB0: Picked IRQ 20 with weight 0
ohci0: interrupting at ioapic0 pin 20
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
ehci0 at pci0 dev 2 function 1: vendor 0x10de product 0x03f2 (rev. 0xa3)
LUB2: Picked IRQ 21 with weight 0
ehci0: interrupting at ioapic0 pin 21
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controller, 10 ports each: ohci0
usb1 at ehci0: USB revision 2.0
ppb0 at pci0 dev 4 function 0: vendor 0x10de product 0x03f3 (rev. 0xa1)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
hdaudio0 at pci0 dev 5 function 0: HD Audio Controller
LAZA: Picked IRQ 22 with weight 0
hdaudio0: interrupting at ioapic0 pin 22
hdafg0 at hdaudio0 vendor 0x10EC product 0x0662 nid 0x01 (firmware configuration)
hdafg0: DAC0:02, Analog Speaker: Jack (Green, 14)
hdafg0: DAC0:02, Analog HP Out: Jack (Green, 1B)
hdafg0: ADC1:08, Analog Mic In: Jack (Pink, 18)
hdafg0: ADC1:08, Analog Line In: Jack (Blue, 1A)
hdafg0: 2ch/2ch 44100Hz-96000Hz 16/16 20/32 24/32
audio0 at hdafg0: full duplex, playback, capture, independent
nfe0 at pci0 dev 7 function 0: vendor 0x10de product 0x03ef (rev. 0xa2)
LMAC: Picked IRQ 23 with weight 0
nfe0: interrupting at ioapic0 pin 23
nfe0: Ethernet address 00:26:18:8e:22:9e
rlphy0 at nfe0 phy 0: RTL8201L 10/100 media interface, rev. 1
rlphy0: Adding entry for Ethernet 10baseT <master,rxpause,txpause>
10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
, 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
, 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
, 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
, auto
ukphy0 at nfe0 phy 1: OUI 0x000004, model 0x0020, rev. 1
ukphy0: Adding entry for Ethernet none <master,rxpause,txpause>
Adding entry for Ethernet 10baseT <master,rxpause,txpause>
10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
, 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
, 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
, 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
, auto
ukphy1 at nfe0 phy 2: OUI 0x000004, model 0x0020, rev. 1
ukphy1: Adding entry for Ethernet none <master,rxpause,txpause>
Adding entry for Ethernet 10baseT <master,rxpause,txpause>
10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
, 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
, 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
, 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
, auto
ukphy2 at nfe0 phy 3: OUI 0x000004, model 0x0020, rev. 1
ukphy2: Adding entry for Ethernet none <master,rxpause,txpause>
Adding entry for Ethernet 10baseT <master,rxpause,txpause>
10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
, 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
, 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
, 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
, auto
ukphy3 at nfe0 phy 4: OUI 0x000004, model 0x0020, rev. 1
ukphy3: Adding entry for Ethernet none <master,rxpause,txpause>
Adding entry for Ethernet 10baseT <master,rxpause,txpause>
10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
, 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
, 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
, 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
, auto
ukphy4 at nfe0 phy 5: OUI 0x000004, model 0x0020, rev. 1
ukphy4: Adding entry for Ethernet none <master,rxpause,txpause>
Adding entry for Ethernet 10baseT <master,rxpause,txpause>
10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
, 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
, 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
, 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
, auto
ukphy5 at nfe0 phy 6: OUI 0x000004, model 0x0020, rev. 1
ukphy5: Adding entry for Ethernet none <master,rxpause,txpause>
Adding entry for Ethernet 10baseT <master,rxpause,txpause>
10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
, 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
, 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
, 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
, auto
ukphy6 at nfe0 phy 7: OUI 0x000004, model 0x0020, rev. 1
ukphy6: Adding entry for Ethernet none <master,rxpause,txpause>
Adding entry for Ethernet 10baseT <master,rxpause,txpause>
10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
, 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
, 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
, 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
, auto
ukphy7 at nfe0 phy 8: OUI 0x000004, model 0x0020, rev. 1
ukphy7: Adding entry for Ethernet none <master,rxpause,txpause>
Adding entry for Ethernet 10baseT <master,rxpause,txpause>
10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
, 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
, 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
, 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
, auto
ukphy8 at nfe0 phy 9: OUI 0x000004, model 0x0020, rev. 1
ukphy8: Adding entry for Ethernet none <master,rxpause,txpause>
Adding entry for Ethernet 10baseT <master,rxpause,txpause>
10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
, 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
, 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
, 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
, auto
ukphy9 at nfe0 phy 10: OUI 0x000004, model 0x0020, rev. 1
ukphy9: Adding entry for Ethernet none <master,rxpause,txpause>
Adding entry for Ethernet 10baseT <master,rxpause,txpause>
10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
, 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
, 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
, 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
, auto
ukphy10 at nfe0 phy 11: OUI 0x000004, model 0x0020, rev. 1
ukphy10: Adding entry for Ethernet none <master,rxpause,txpause>
Adding entry for Ethernet 10baseT <master,rxpause,txpause>
10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
, 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
, 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
, 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
, auto
ukphy11 at nfe0 phy 12: OUI 0x000004, model 0x0020, rev. 1
ukphy11: Adding entry for Ethernet none <master,rxpause,txpause>
Adding entry for Ethernet 10baseT <master,rxpause,txpause>
10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
, 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
, 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
, 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
, auto
ukphy12 at nfe0 phy 13: OUI 0x000004, model 0x0020, rev. 1
ukphy12: Adding entry for Ethernet none <master,rxpause,txpause>
Adding entry for Ethernet 10baseT <master,rxpause,txpause>
10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
, 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
, 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
, 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
, auto
ukphy13 at nfe0 phy 14: OUI 0x000004, model 0x0020, rev. 1
ukphy13: Adding entry for Ethernet none <master,rxpause,txpause>
Adding entry for Ethernet 10baseT <master,rxpause,txpause>
10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
, 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
, 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
, 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
, auto
ukphy14 at nfe0 phy 15: OUI 0x000004, model 0x0020, rev. 1
ukphy14: Adding entry for Ethernet none <master,rxpause,txpause>
Adding entry for Ethernet 10baseT <master,rxpause,txpause>
10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
, 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
, 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
, 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
, auto
ukphy15 at nfe0 phy 16: OUI 0x000004, model 0x0020, rev. 1
ukphy15: Adding entry for Ethernet none <master,rxpause,txpause>
Adding entry for Ethernet 10baseT <master,rxpause,txpause>
10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
, 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
, 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
, 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
, auto
ukphy16 at nfe0 phy 17: OUI 0x000004, model 0x0020, rev. 1
ukphy16: Adding entry for Ethernet none <master,rxpause,txpause>
Adding entry for Ethernet 10baseT <master,rxpause,txpause>
10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
, 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
, 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
, 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
, auto
ukphy17 at nfe0 phy 18: OUI 0x000004, model 0x0020, rev. 1
ukphy17: Adding entry for Ethernet none <master,rxpause,txpause>
Adding entry for Ethernet 10baseT <master,rxpause,txpause>
10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
, 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
, 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
, 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
, auto
ukphy18 at nfe0 phy 19: OUI 0x000004, model 0x0020, rev. 1
ukphy18: Adding entry for Ethernet none <master,rxpause,txpause>
Adding entry for Ethernet 10baseT <master,rxpause,txpause>
10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
, 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
, 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
, 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
, auto
ukphy19 at nfe0 phy 20: OUI 0x000004, model 0x0020, rev. 1
ukphy19: Adding entry for Ethernet none <master,rxpause,txpause>
Adding entry for Ethernet 10baseT <master,rxpause,txpause>
10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
, 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
, 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
, 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
, auto
ukphy20 at nfe0 phy 21: OUI 0x000004, model 0x0020, rev. 1
ukphy20: Adding entry for Ethernet none <master,rxpause,txpause>
Adding entry for Ethernet 10baseT <master,rxpause,txpause>
10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
, 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
, 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
, 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
, auto
ukphy21 at nfe0 phy 22: OUI 0x000004, model 0x0020, rev. 1
ukphy21: Adding entry for Ethernet none <master,rxpause,txpause>
Adding entry for Ethernet 10baseT <master,rxpause,txpause>
10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
, 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
, 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
, 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
, auto
ukphy22 at nfe0 phy 23: OUI 0x000004, model 0x0020, rev. 1
ukphy22: Adding entry for Ethernet none <master,rxpause,txpause>
Adding entry for Ethernet 10baseT <master,rxpause,txpause>
10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
, 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
, 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
, 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
, auto
ukphy23 at nfe0 phy 24: OUI 0x000004, model 0x0020, rev. 1
ukphy23: Adding entry for Ethernet none <master,rxpause,txpause>
Adding entry for Ethernet 10baseT <master,rxpause,txpause>
10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
, 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
, 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
, 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
, auto
ukphy24 at nfe0 phy 25: OUI 0x000004, model 0x0020, rev. 1
ukphy24: Adding entry for Ethernet none <master,rxpause,txpause>
Adding entry for Ethernet 10baseT <master,rxpause,txpause>
10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
, 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
, 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
, 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
, auto
ukphy25 at nfe0 phy 26: OUI 0x000004, model 0x0020, rev. 1
ukphy25: Adding entry for Ethernet none <master,rxpause,txpause>
Adding entry for Ethernet 10baseT <master,rxpause,txpause>
10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
, 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
, 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
, 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
, auto
ukphy26 at nfe0 phy 27: OUI 0x000004, model 0x0020, rev. 1
ukphy26: Adding entry for Ethernet none <master,rxpause,txpause>
Adding entry for Ethernet 10baseT <master,rxpause,txpause>
10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
, 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
, 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
, 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
, auto
ukphy27 at nfe0 phy 28: OUI 0x000004, model 0x0020, rev. 1
ukphy27: Adding entry for Ethernet none <master,rxpause,txpause>
Adding entry for Ethernet 10baseT <master,rxpause,txpause>
10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
, 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
, 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
, 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
, auto
ukphy28 at nfe0 phy 29: OUI 0x000004, model 0x0020, rev. 1
ukphy28: Adding entry for Ethernet none <master,rxpause,txpause>
Adding entry for Ethernet 10baseT <master,rxpause,txpause>
10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
, 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
, 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
, 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
, auto
ukphy29 at nfe0 phy 30: OUI 0x000004, model 0x0020, rev. 1
ukphy29: Adding entry for Ethernet none <master,rxpause,txpause>
Adding entry for Ethernet 10baseT <master,rxpause,txpause>
10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
, 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
, 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
, 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
, auto
ukphy30 at nfe0 phy 31: OUI 0x000004, model 0x0020, rev. 1
ukphy30: Adding entry for Ethernet none <master,rxpause,txpause>
Adding entry for Ethernet 10baseT <master,rxpause,txpause>
10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
, 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
, 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
, 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
, auto
ifmedia_match: multiple match for 0x20/0xffffffff, selected instance 0
ifmedia_set: target Ethernet autoselect <master,rxpause,txpause>
ifmedia_set: setting to Ethernet autoselect <master,rxpause,txpause>
viaide0 at pci0 dev 8 function 0: NVIDIA MCP61 Serial ATA Controller (rev. 0xa2)
viaide0: bus-master DMA support present
viaide0: primary channel wired to native-PCI mode
LSA0: Picked IRQ 20 with weight 1
viaide0: using ioapic0 pin 20 for native-PCI interrupt
atabus0 at viaide0 channel 0
viaide0: secondary channel wired to native-PCI mode
atabus1 at viaide0 channel 1
viaide1 at pci0 dev 8 function 1: NVIDIA MCP61 Serial ATA Controller (rev. 0xa2)
viaide1: bus-master DMA support present
viaide1: primary channel wired to native-PCI mode
LSA1: Picked IRQ 21 with weight 1
viaide1: using ioapic0 pin 21 for native-PCI interrupt
atabus2 at viaide1 channel 0
viaide1: secondary channel wired to native-PCI mode
atabus3 at viaide1 channel 1
ppb1 at pci0 dev 9 function 0: vendor 0x10de product 0x03e8 (rev. 0xa2)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
vga0 at pci2 dev 0 function 0: vendor 0x1002 product 0x954f (rev. 0x00)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
radeondrm0 at vga0: ATI Radeon HD 4350
radeondrm0: Initialized radeon 1.29.0 20080613
hdaudio1 at pci2 dev 0 function 1: HD Audio Controller
LNEA: Picked IRQ 16 with weight 0
hdaudio1: interrupting at ioapic0 pin 16
hdafg1 at hdaudio1 vendor 0x1002 product 0xAA01 nid 0x01 (firmware configuration)
hdafg1: DAC0:02, Digital Digital Other Out: Jack (Unknown, 03)
hdafg1: 2ch/0ch 32000Hz-48000Hz 16/16
audio1 at hdafg1: half duplex, playback
ppb2 at pci0 dev 11 function 0: vendor 0x10de product 0x03e9 (rev. 0xa2)
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
ppb3 at pci0 dev 12 function 0: vendor 0x10de product 0x03e9 (rev. 0xa2)
pci4 at ppb3 bus 4
pci4: i/o space, memory space enabled, rd/line, wr/inv ok
pchb0 at pci0 dev 24 function 0: vendor 0x1022 product 0x1200 (rev. 0x00)
pchb1 at pci0 dev 24 function 1: vendor 0x1022 product 0x1201 (rev. 0x00)
pchb2 at pci0 dev 24 function 2: vendor 0x1022 product 0x1202 (rev. 0x00)
amdtemp0 at pci0 dev 24 function 3: AMD CPU Temperature Sensors (Family10h / Family11h)
pchb3 at pci0 dev 24 function 4: vendor 0x1022 product 0x1204 (rev. 0x00)
isa0 at pcib0
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "TSC" frequency 2612059670 Hz quality 3000
uhub0 at usb0: vendor 0x10de OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 10 ports with 10 removable, self powered
uhub1 at usb1: vendor 0x10de EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 10 ports with 10 removable, self powered
viaide0 port 0: device present, speed: 3.0Gb/s
viaide0 port 1: device present, speed: 1.5Gb/s
wd0 at atabus0 drive 0: <WDC WD6400AAKS-65A7B2>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 596 GB, 1240341 cyl, 16 head, 63 sec, 512 bytes/sect x 1250263728 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(viaide0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <hp      DVD-RAM GH40L, B9ICBP4305474, RB0A> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
cd0(viaide0:1:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
ugen0 at uhub1 port 5
ugen0: Ralink 802.11 bg WLAN, rev 2.00/0.01, addr 2
umass0 at uhub1 port 10 configuration 1 interface 0
umass0: Generic Mass Storage Device, rev 2.00/1.00, addr 3
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <Multi, Flash Reader, 1.00> disk removable
sd0: drive offline
sd0(umass0:0:0:0):  Check Condition on CDB: 0x00 00 00 00 00 00
    SENSE KEY:  Not Ready
 COMMAND INFO:  11162944 (0xaa5540)
     ASC/ASCQ:  Medium Not Present

sd0: unable to open device, error = 19
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio2 at pad0: half duplex, playback, capture
sd0(umass0:0:0:0):  Check Condition on CDB: 0x00 00 00 00 00 00
    SENSE KEY:  Not Ready
 COMMAND INFO:  11162944 (0xaa5540)
     ASC/ASCQ:  Medium Not Present

sd0(umass0:0:0:0):  Check Condition on CDB: 0x00 00 00 00 00 00
    SENSE KEY:  Not Ready
 COMMAND INFO:  11162944 (0xaa5540)
     ASC/ASCQ:  Medium Not Present

sd0(umass0:0:0:0):  Check Condition on CDB: 0x00 00 00 00 00 00
    SENSE KEY:  Not Ready
 COMMAND INFO:  11162944 (0xaa5540)
     ASC/ASCQ:  Medium Not Present

sd0(umass0:0:0:0):  Check Condition on CDB: 0x00 00 00 00 00 00
    SENSE KEY:  Not Ready
 COMMAND INFO:  11162944 (0xaa5540)
     ASC/ASCQ:  Medium Not Present

boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
uhidev0 at uhub0 port 8 configuration 1 interface 0
uhidev0: HP HP Wireless Keyboard Kit, rev 2.00/0.02, addr 2, iclass 3/1
ukbd0 at uhidev0
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub0 port 8 configuration 1 interface 1
uhidev1: HP HP Wireless Keyboard Kit, rev 2.00/0.02, addr 2, iclass 3/1
uhidev1: 8 report ids
ums0 at uhidev1 reportid 1: 3 buttons and Z dir
wsmouse0 at ums0 mux 0
uhid0 at uhidev1 reportid 2: input=2, output=0, feature=0
uhid1 at uhidev1 reportid 3: input=1, output=0, feature=0
uhid2 at uhidev1 reportid 4: input=2, output=0, feature=0
uhid3 at uhidev1 reportid 5: input=0, output=0, feature=7
uhid4 at uhidev1 reportid 6: input=0, output=0, feature=7
uhid5 at uhidev1 reportid 7: input=0, output=0, feature=7
uhid6 at uhidev1 reportid 8: input=2, output=0, feature=0
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)

>How-To-Repeat:
ifconfig nfe0
>Fix:
As I wrote above, this patch fixes the panic but the kernel print spurious entries. Someone familiar with device matching logic should take a look at my patch.

Index: sys/dev/mii/rlphy.c
===================================================================
RCS file: /cvsroot/src/sys/dev/mii/rlphy.c,v
retrieving revision 1.25
diff -u -r1.25 rlphy.c
--- sys/dev/mii/rlphy.c	16 Feb 2009 08:00:42 -0000	1.25
+++ sys/dev/mii/rlphy.c	10 Mar 2010 20:22:12 -0000
@@ -90,8 +90,9 @@
 rlphymatch(device_t parent, cfdata_t match, void *aux)
 {
 	struct mii_attach_args *ma = aux;
+	struct mii_data *mii = ma->mii_data;

-	if (mii_phy_match(ma, rlphys) != NULL)
+	if (mii_phy_match(ma, rlphys) != NULL && mii->mii_instance == 0)
 		return (10);

 	if (MII_OUI(ma->mii_id1, ma->mii_id2) != 0 ||

>Release-Note:

>Audit-Trail:
From: Alexander Nasonov <alnsn@yandex.ru>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org
Subject: Re: kern/42950: nfe(4) panic on HP Pavilion Slimline s5210uk Desktop
 PC
Date: Mon, 10 Jan 2011 23:40:43 +0000

 > >Fix:
 > As I wrote above, this patch fixes the panic but the kernel print spurious entries. Someone familiar with device matching logic should take a look at my patch.
 > 
 > Index: sys/dev/mii/rlphy.c
 > ===================================================================
 > RCS file: /cvsroot/src/sys/dev/mii/rlphy.c,v
 > retrieving revision 1.25
 > diff -u -r1.25 rlphy.c
 > --- sys/dev/mii/rlphy.c	16 Feb 2009 08:00:42 -0000	1.25
 > +++ sys/dev/mii/rlphy.c	10 Mar 2010 20:22:12 -0000
 > @@ -90,8 +90,9 @@
 >  rlphymatch(device_t parent, cfdata_t match, void *aux)
 >  {
 >  	struct mii_attach_args *ma = aux;
 > +	struct mii_data *mii = ma->mii_data;
 >  
 > -	if (mii_phy_match(ma, rlphys) != NULL)
 > +	if (mii_phy_match(ma, rlphys) != NULL && mii->mii_instance == 0)
 >  		return (10);
 >  
 >  	if (MII_OUI(ma->mii_id1, ma->mii_id2) != 0 ||
 > 

 OpenBSD is currently not installed on the box but I'm pretty sure
 the commit below fixes it. You wll make one user happier if you do
 something similar in NetBSD.
 Many thanks,
 Alex

 ----- Forwarded message from Mark Kettenis <kettenis@cvs.openbsd.org> -----

 Date: Mon, 10 Jan 2011 09:18:03 -0700 (MST)
 From: Mark Kettenis <kettenis@cvs.openbsd.org>
 To: source-changes@cvs.openbsd.org
 Subject: CVS: cvs.openbsd.org: src

 CVSROOT:	/cvs
 Module name:	src
 Changes by:	kettenis@cvs.openbsd.org	2011/01/10 09:18:03

 Modified files:
 	sys/dev/pci    : if_nfe.c 

 Log message:
 Some nfe(4)/rlphy(4) combos don't work, because the PHY responds to all
 addresses on the mii bus.  As a countereasure, only attach the first PHY we
 encounter.  It is very unlikely we're going to ever see nfe(4) with multiple
 PHYs.  The same is probably true for any modern NIC.

 ok mikeb@, deraadt@



 ----- End forwarded message -----

State-Changed-From-To: open->feedback
State-Changed-By: pooka@NetBSD.org
State-Changed-When: Thu, 20 Jan 2011 16:37:32 +0200
State-Changed-Why:
do things work better now in -current?


From: Alexander Nasonov <alnsn@yandex.ru>
To: gnats-bugs@netbsd.org
Cc: kern-bug-people@netbsd.org,netbsd-bugs@netbsd.org,gnats-admin@netbsd.org,pooka@netbsd.org
Subject: Re: kern/42950 (nfe(4) panic on HP Pavilion Slimline s5210uk Desktop PC)
Date: Thu, 20 Jan 2011 19:17:06 +0300

 > do things work better now in -current?
 I run -current with my local change. I can revert it and test whether unpatched version works if you believe there was a change somewhere else that might have fixed my problem.
 -- 
 Alex

From: Alexander Nasonov <alnsn@yandex.ru>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, netbsd-bugs@netbsd.org,
	gnats-admin@netbsd.org, pooka@NetBSD.org, alnsn@yandex.ru
Subject: Re: kern/42950 (nfe(4) panic on HP Pavilion Slimline s5210uk Desktop
 PC)
Date: Thu, 20 Jan 2011 22:11:35 +0000

 pooka@NetBSD.org wrote:
 > do things work better now in -current?

 Yes, the latest change in rlphy.c fixes the problem. You can close the
 bug.
 Thanks guys for working on this!

 $ dmesg
 ...
 NetBSD 5.99.44 (GENERIC) #0: Thu Jan 20 21:42:15 GMT 2011
 	root@nebeda.localdomain:/home/alnsn/src/netbsd-current/src/sys/arch/amd64/compile/obj/GENERIC
 total memory = 4095 MB
 avail memory = 3953 MB
 timecounter: Timecounters tick every 10.000 msec
 timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
 HP-Pavilion VG249AA-ABU s5210uk ( )
 mainbus0 (root)
 cpu0 at mainbus0 apid 0: AMD Athlon(tm) II X4 620 Processor, id 0x100f52
 cpu0: SVM disabled by the BIOS
 cpu1 at mainbus0 apid 1: AMD Athlon(tm) II X4 620 Processor, id 0x100f52
 cpu2 at mainbus0 apid 2: AMD Athlon(tm) II X4 620 Processor, id 0x100f52
 cpu3 at mainbus0 apid 3: AMD Athlon(tm) II X4 620 Processor, id 0x100f52
 ioapic0 at mainbus0 apid 4: pa 0xfec00000, version 11, 24 pins
 acpi0 at mainbus0: Intel ACPICA 20100528
 acpi0: X/RSDT: OemId <HPQOEM,SLIC-CPC,20090818>, AslId <MSFT,00000097>
 acpi0: SCI interrupting at int 9
 timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
 P001 (ACPI Object Type 'Processor') at acpi0 not configured
 P002 (ACPI Object Type 'Processor') at acpi0 not configured
 P003 (ACPI Object Type 'Processor') at acpi0 not configured
 P004 (ACPI Object Type 'Processor') at acpi0 not configured
 attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43 irq 0
 pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
 midi0 at pcppi1: PC speaker
 sysbeep0 at pcppi1
 SIOR (PNP0C02) at acpi0 not configured
 RMSC (PNP0C02) at acpi0 not configured
 hpet0 at acpi0 (HPET, PNP0103-0): mem 0xfeff0000-0xfeff0fff
 timecounter: Timecounter "hpet0" frequency 25000000 Hz quality 2000
 OMSC (PNP0C02) at acpi0 not configured
 PCIE (PNP0C02) at acpi0 not configured
 RMEM (PNP0C01) at acpi0 not configured
 acpibut0 at acpi0 (PWRB, PNP0C0C-170): ACPI Power Button
 attimer1: attached to pcppi1
 pci0 at mainbus0 bus 0: configuration mode 1
 pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
 vendor 0x10de product 0x03ea (RAM memory, revision 0xa1) at pci0 dev 0 function 0 not configured
 pcib0 at pci0 dev 1 function 0: vendor 0x10de product 0x03e0 (rev. 0xa2)
 nfsmbc0 at pci0 dev 1 function 1: vendor 0x10de product 0x03eb (rev. 0xa2)
 nfsmb0 at nfsmbc0 SMBus 1
 iic0 at nfsmb0: I2C bus
 nfsmb1 at nfsmbc0 SMBus 2
 iic1 at nfsmb1: I2C bus
 vendor 0x10de product 0x03f5 (RAM memory, revision 0xa2) at pci0 dev 1 function 2 not configured
 ohci0 at pci0 dev 2 function 0: vendor 0x10de product 0x03f1 (rev. 0xa3)
 LUB0: Picked IRQ 20 with weight 0
 ohci0: interrupting at ioapic0 pin 20
 ohci0: OHCI version 1.0, legacy support
 usb0 at ohci0: USB revision 1.0
 ehci0 at pci0 dev 2 function 1: vendor 0x10de product 0x03f2 (rev. 0xa3)
 LUB2: Picked IRQ 21 with weight 0
 ehci0: interrupting at ioapic0 pin 21
 ehci0: BIOS has given up ownership
 ehci0: EHCI version 1.0
 ehci0: companion controller, 10 ports each: ohci0
 usb1 at ehci0: USB revision 2.0
 ppb0 at pci0 dev 4 function 0: vendor 0x10de product 0x03f3 (rev. 0xa1)
 pci1 at ppb0 bus 1
 pci1: i/o space, memory space enabled
 hdaudio0 at pci0 dev 5 function 0: HD Audio Controller
 LAZA: Picked IRQ 22 with weight 0
 hdaudio0: interrupting at ioapic0 pin 22
 hdafg0 at hdaudio0: Realtek ALC662
 hdafg0: DAC00 2ch: Speaker [Jack], HP Out [Jack]
 hdafg0: ADC01 2ch: Line In [Jack], Mic In [Jack]
 hdafg0: 2ch/2ch 44100Hz 48000Hz 96000Hz 16/16 20/32 24/32
 audio0 at hdafg0: full duplex, playback, capture, independent
 nfe0 at pci0 dev 7 function 0: vendor 0x10de product 0x03ef (rev. 0xa2)
 LMAC: Picked IRQ 23 with weight 0
 nfe0: interrupting at ioapic0 pin 23
 nfe0: Ethernet address 00:26:18:8e:22:9e
 rlphy0 at nfe0 phy 0: RTL8201L 10/100 media interface, rev. 1
 rlphy0: Adding entry for Ethernet 10baseT <master,rxpause,txpause>
 10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
 , 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
 , 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
 , 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
 , auto
 ukphy0 at nfe0 phy 1: OUI 0x000004, model 0x0020, rev. 1
 ukphy0: Adding entry for Ethernet none <master,rxpause,txpause>
 Adding entry for Ethernet 10baseT <master,rxpause,txpause>
 10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
 , 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
 , 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
 , 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
 , auto
 ukphy1 at nfe0 phy 2: OUI 0x000004, model 0x0020, rev. 1
 ukphy1: Adding entry for Ethernet none <master,rxpause,txpause>
 Adding entry for Ethernet 10baseT <master,rxpause,txpause>
 10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
 , 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
 , 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
 , 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
 , auto
 ukphy2 at nfe0 phy 3: OUI 0x000004, model 0x0020, rev. 1
 ukphy2: Adding entry for Ethernet none <master,rxpause,txpause>
 Adding entry for Ethernet 10baseT <master,rxpause,txpause>
 10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
 , 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
 , 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
 , 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
 , auto
 ukphy3 at nfe0 phy 4: OUI 0x000004, model 0x0020, rev. 1
 ukphy3: Adding entry for Ethernet none <master,rxpause,txpause>
 Adding entry for Ethernet 10baseT <master,rxpause,txpause>
 10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
 , 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
 , 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
 , 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
 , auto
 ukphy4 at nfe0 phy 5: OUI 0x000004, model 0x0020, rev. 1
 ukphy4: Adding entry for Ethernet none <master,rxpause,txpause>
 Adding entry for Ethernet 10baseT <master,rxpause,txpause>
 10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
 , 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
 , 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
 , 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
 , auto
 ukphy5 at nfe0 phy 6: OUI 0x000004, model 0x0020, rev. 1
 ukphy5: Adding entry for Ethernet none <master,rxpause,txpause>
 Adding entry for Ethernet 10baseT <master,rxpause,txpause>
 10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
 , 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
 , 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
 , 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
 , auto
 ukphy6 at nfe0 phy 7: OUI 0x000004, model 0x0020, rev. 1
 ukphy6: Adding entry for Ethernet none <master,rxpause,txpause>
 Adding entry for Ethernet 10baseT <master,rxpause,txpause>
 10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
 , 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
 , 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
 , 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
 , auto
 ukphy7 at nfe0 phy 8: OUI 0x000004, model 0x0020, rev. 1
 ukphy7: Adding entry for Ethernet none <master,rxpause,txpause>
 Adding entry for Ethernet 10baseT <master,rxpause,txpause>
 10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
 , 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
 , 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
 , 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
 , auto
 ukphy8 at nfe0 phy 9: OUI 0x000004, model 0x0020, rev. 1
 ukphy8: Adding entry for Ethernet none <master,rxpause,txpause>
 Adding entry for Ethernet 10baseT <master,rxpause,txpause>
 10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
 , 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
 , 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
 , 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
 , auto
 ukphy9 at nfe0 phy 10: OUI 0x000004, model 0x0020, rev. 1
 ukphy9: Adding entry for Ethernet none <master,rxpause,txpause>
 Adding entry for Ethernet 10baseT <master,rxpause,txpause>
 10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
 , 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
 , 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
 , 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
 , auto
 ukphy10 at nfe0 phy 11: OUI 0x000004, model 0x0020, rev. 1
 ukphy10: Adding entry for Ethernet none <master,rxpause,txpause>
 Adding entry for Ethernet 10baseT <master,rxpause,txpause>
 10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
 , 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
 , 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
 , 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
 , auto
 ukphy11 at nfe0 phy 12: OUI 0x000004, model 0x0020, rev. 1
 ukphy11: Adding entry for Ethernet none <master,rxpause,txpause>
 Adding entry for Ethernet 10baseT <master,rxpause,txpause>
 10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
 , 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
 , 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
 , 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
 , auto
 ukphy12 at nfe0 phy 13: OUI 0x000004, model 0x0020, rev. 1
 ukphy12: Adding entry for Ethernet none <master,rxpause,txpause>
 Adding entry for Ethernet 10baseT <master,rxpause,txpause>
 10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
 , 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
 , 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
 , 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
 , auto
 ukphy13 at nfe0 phy 14: OUI 0x000004, model 0x0020, rev. 1
 ukphy13: Adding entry for Ethernet none <master,rxpause,txpause>
 Adding entry for Ethernet 10baseT <master,rxpause,txpause>
 10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
 , 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
 , 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
 , 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
 , auto
 ukphy14 at nfe0 phy 15: OUI 0x000004, model 0x0020, rev. 1
 ukphy14: Adding entry for Ethernet none <master,rxpause,txpause>
 Adding entry for Ethernet 10baseT <master,rxpause,txpause>
 10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
 , 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
 , 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
 , 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
 , auto
 ukphy15 at nfe0 phy 16: OUI 0x000004, model 0x0020, rev. 1
 ukphy15: Adding entry for Ethernet none <master,rxpause,txpause>
 Adding entry for Ethernet 10baseT <master,rxpause,txpause>
 10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
 , 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
 , 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
 , 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
 , auto
 ukphy16 at nfe0 phy 17: OUI 0x000004, model 0x0020, rev. 1
 ukphy16: Adding entry for Ethernet none <master,rxpause,txpause>
 Adding entry for Ethernet 10baseT <master,rxpause,txpause>
 10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
 , 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
 , 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
 , 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
 , auto
 ukphy17 at nfe0 phy 18: OUI 0x000004, model 0x0020, rev. 1
 ukphy17: Adding entry for Ethernet none <master,rxpause,txpause>
 Adding entry for Ethernet 10baseT <master,rxpause,txpause>
 10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
 , 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
 , 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
 , 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
 , auto
 ukphy18 at nfe0 phy 19: OUI 0x000004, model 0x0020, rev. 1
 ukphy18: Adding entry for Ethernet none <master,rxpause,txpause>
 Adding entry for Ethernet 10baseT <master,rxpause,txpause>
 10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
 , 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
 , 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
 , 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
 , auto
 ukphy19 at nfe0 phy 20: OUI 0x000004, model 0x0020, rev. 1
 ukphy19: Adding entry for Ethernet none <master,rxpause,txpause>
 Adding entry for Ethernet 10baseT <master,rxpause,txpause>
 10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
 , 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
 , 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
 , 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
 , auto
 ukphy20 at nfe0 phy 21: OUI 0x000004, model 0x0020, rev. 1
 ukphy20: Adding entry for Ethernet none <master,rxpause,txpause>
 Adding entry for Ethernet 10baseT <master,rxpause,txpause>
 10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
 , 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
 , 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
 , 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
 , auto
 ukphy21 at nfe0 phy 22: OUI 0x000004, model 0x0020, rev. 1
 ukphy21: Adding entry for Ethernet none <master,rxpause,txpause>
 Adding entry for Ethernet 10baseT <master,rxpause,txpause>
 10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
 , 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
 , 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
 , 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
 , auto
 ukphy22 at nfe0 phy 23: OUI 0x000004, model 0x0020, rev. 1
 ukphy22: Adding entry for Ethernet none <master,rxpause,txpause>
 Adding entry for Ethernet 10baseT <master,rxpause,txpause>
 10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
 , 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
 , 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
 , 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
 , auto
 ukphy23 at nfe0 phy 24: OUI 0x000004, model 0x0020, rev. 1
 ukphy23: Adding entry for Ethernet none <master,rxpause,txpause>
 Adding entry for Ethernet 10baseT <master,rxpause,txpause>
 10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
 , 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
 , 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
 , 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
 , auto
 ukphy24 at nfe0 phy 25: OUI 0x000004, model 0x0020, rev. 1
 ukphy24: Adding entry for Ethernet none <master,rxpause,txpause>
 Adding entry for Ethernet 10baseT <master,rxpause,txpause>
 10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
 , 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
 , 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
 , 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
 , auto
 ukphy25 at nfe0 phy 26: OUI 0x000004, model 0x0020, rev. 1
 ukphy25: Adding entry for Ethernet none <master,rxpause,txpause>
 Adding entry for Ethernet 10baseT <master,rxpause,txpause>
 10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
 , 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
 , 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
 , 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
 , auto
 ukphy26 at nfe0 phy 27: OUI 0x000004, model 0x0020, rev. 1
 ukphy26: Adding entry for Ethernet none <master,rxpause,txpause>
 Adding entry for Ethernet 10baseT <master,rxpause,txpause>
 10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
 , 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
 , 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
 , 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
 , auto
 ukphy27 at nfe0 phy 28: OUI 0x000004, model 0x0020, rev. 1
 ukphy27: Adding entry for Ethernet none <master,rxpause,txpause>
 Adding entry for Ethernet 10baseT <master,rxpause,txpause>
 10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
 , 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
 , 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
 , 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
 , auto
 ukphy28 at nfe0 phy 29: OUI 0x000004, model 0x0020, rev. 1
 ukphy28: Adding entry for Ethernet none <master,rxpause,txpause>
 Adding entry for Ethernet 10baseT <master,rxpause,txpause>
 10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
 , 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
 , 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
 , 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
 , auto
 ukphy29 at nfe0 phy 30: OUI 0x000004, model 0x0020, rev. 1
 ukphy29: Adding entry for Ethernet none <master,rxpause,txpause>
 Adding entry for Ethernet 10baseT <master,rxpause,txpause>
 10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
 , 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
 , 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
 , 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
 , auto
 ukphy30 at nfe0 phy 31: OUI 0x000004, model 0x0020, rev. 1
 ukphy30: Adding entry for Ethernet none <master,rxpause,txpause>
 Adding entry for Ethernet 10baseT <master,rxpause,txpause>
 10baseTAdding entry for Ethernet 10baseT <full-duplex,master,rxpause,txpause>
 , 10baseT-FDXAdding entry for Ethernet 100baseTX <master,rxpause,txpause>
 , 100baseTXAdding entry for Ethernet 100baseTX <full-duplex,master,rxpause,txpause>
 , 100baseTX-FDXAdding entry for Ethernet autoselect <master,rxpause,txpause>
 , auto
 ifmedia_match: multiple match for 0x20/0xffffffff, selected instance 0
 ifmedia_set: target Ethernet autoselect <master,rxpause,txpause>
 ifmedia_set: setting to Ethernet autoselect <master,rxpause,txpause>
 viaide0 at pci0 dev 8 function 0: NVIDIA MCP61 Serial ATA Controller (rev. 0xa2)
 viaide0: bus-master DMA support present
 viaide0: primary channel wired to native-PCI mode
 LSA0: Picked IRQ 20 with weight 1
 viaide0: using ioapic0 pin 20 for native-PCI interrupt
 atabus0 at viaide0 channel 0
 viaide0: secondary channel wired to native-PCI mode
 atabus1 at viaide0 channel 1
 viaide1 at pci0 dev 8 function 1: NVIDIA MCP61 Serial ATA Controller (rev. 0xa2)
 viaide1: bus-master DMA support present
 viaide1: primary channel wired to native-PCI mode
 LSA1: Picked IRQ 21 with weight 1
 viaide1: using ioapic0 pin 21 for native-PCI interrupt
 atabus2 at viaide1 channel 0
 viaide1: secondary channel wired to native-PCI mode
 atabus3 at viaide1 channel 1
 ppb1 at pci0 dev 9 function 0: vendor 0x10de product 0x03e8 (rev. 0xa2)
 ppb1: PCI Express 1.0 <Root Port of PCI-E Root Complex>
 pci2 at ppb1 bus 2
 pci2: i/o space, memory space enabled, rd/line, wr/inv ok
 vga0 at pci2 dev 0 function 0: vendor 0x1002 product 0x954f (rev. 0x00)
 wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
 wsmux1: connecting to wsdisplay0
 radeondrm0 at vga0: ATI Radeon HD 4350
 radeondrm0: Initialized radeon 1.29.0 20080613
 hdaudio1 at pci2 dev 0 function 1: HD Audio Controller
 LNEA: Picked IRQ 16 with weight 0
 hdaudio1: interrupting at ioapic0 pin 16
 hdafg1 at hdaudio1: ATI RS600 HDMI
 hdafg1: DAC00 2ch: Digital Out [Jack]
 hdafg1: 2ch/0ch 32000Hz 44100Hz 48000Hz 16/16
 audio1 at hdafg1: half duplex, playback
 ppb2 at pci0 dev 11 function 0: vendor 0x10de product 0x03e9 (rev. 0xa2)
 ppb2: PCI Express 1.0 <Root Port of PCI-E Root Complex>
 pci3 at ppb2 bus 3
 pci3: i/o space, memory space enabled, rd/line, wr/inv ok
 ppb3 at pci0 dev 12 function 0: vendor 0x10de product 0x03e9 (rev. 0xa2)
 ppb3: PCI Express 1.0 <Root Port of PCI-E Root Complex>
 pci4 at ppb3 bus 4
 pci4: i/o space, memory space enabled, rd/line, wr/inv ok
 pchb0 at pci0 dev 24 function 0: vendor 0x1022 product 0x1200 (rev. 0x00)
 pchb1 at pci0 dev 24 function 1: vendor 0x1022 product 0x1201 (rev. 0x00)
 pchb2 at pci0 dev 24 function 2: vendor 0x1022 product 0x1202 (rev. 0x00)
 amdtemp0 at pci0 dev 24 function 3: AMD CPU Temperature Sensors (Family10h / Family11h)
 pchb3 at pci0 dev 24 function 4: vendor 0x1022 product 0x1204 (rev. 0x00)
 isa0 at pcib0
 pckbc0 at isa0 port 0x60-0x64
 pckbd0 at pckbc0 (kbd slot)
 pckbc0: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard, using wsdisplay0
 timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 timecounter: Timecounter "TSC" frequency 2612057700 Hz quality 3000
 uhub0 at usb0: vendor 0x10de OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 10 ports with 10 removable, self powered
 uhub1 at usb1: vendor 0x10de EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
 uhub1: 10 ports with 10 removable, self powered
 viaide0 port 0: device present, speed: 3.0Gb/s
 viaide0 port 1: device present, speed: 1.5Gb/s
 wd0 at atabus0 drive 0: <WDC WD6400AAKS-65A7B2>
 wd0: drive supports 16-sector PIO transfers, LBA48 addressing
 wd0: 596 GB, 1240341 cyl, 16 head, 63 sec, 512 bytes/sect x 1250263728 sectors
 wd0: 32-bit data port
 wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
 wd0(viaide0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
 atapibus0 at atabus1: 2 targets
 cd0 at atapibus0 drive 0: <hp      DVD-RAM GH40L, B9ICBP4305474, RB0A> cdrom removable
 cd0: 32-bit data port
 cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
 cd0(viaide0:1:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
 uhidev0 at uhub0 port 2 configuration 1 interface 0
 uhidev0: HP HP Wireless Keyboard Kit, rev 2.00/0.02, addr 2, iclass 3/1
 ukbd0 at uhidev0
 ugen0 at uhub1 port 5
 ugen0: Ralink 802.11 bg WLAN, rev 2.00/0.01, addr 2
 wskbd1 at ukbd0 mux 1
 wskbd1: connecting to wsdisplay0
 uhidev1 at uhub0 port 2 configuration 1 interface 1
 uhidev1: HP HP Wireless Keyboard Kit, rev 2.00/0.02, addr 2, iclass 3/1
 uhidev1: 8 report ids
 ums0 at uhidev1 reportid 1: 3 buttons and Z dir
 wsmouse0 at ums0 mux 0
 uhid0 at uhidev1 reportid 2: input=2, output=0, feature=0
 uhid1 at uhidev1 reportid 3: input=1, output=0, feature=0
 uhid2 at uhidev1 reportid 4: input=2, output=0, feature=0
 uhid3 at uhidev1 reportid 5: input=0, output=0, feature=7
 uhid4 at uhidev1 reportid 6: input=0, output=0, feature=7
 uhid5 at uhidev1 reportid 7: input=0, output=0, feature=7
 uhid6 at uhidev1 reportid 8: input=2, output=0, feature=0
 umass0 at uhub1 port 10 configuration 1 interface 0
 umass0: Generic Mass Storage Device, rev 2.00/1.00, addr 3
 umass0: using SCSI over Bulk-Only
 scsibus0 at umass0: 2 targets, 1 lun per target
 sd0 at scsibus0 target 0 lun 0: <Multi, Flash Reader, 1.00> disk removable
 sd0: drive offline
 sd0(umass0:0:0:0):  Check Condition on CDB: 0x00 00 00 00 00 00
     SENSE KEY:  Not Ready
  COMMAND INFO:  11162944 (0xaa5540)
      ASC/ASCQ:  Medium Not Present

 sd0: unable to open device, error = 19
 Kernelized RAIDframe activated
 pad0: outputs: 44100Hz, 16-bit, stereo
 audio2 at pad0: half duplex, playback, capture
 sd0(umass0:0:0:0):  Check Condition on CDB: 0x00 00 00 00 00 00
     SENSE KEY:  Not Ready
  COMMAND INFO:  11162944 (0xaa5540)
      ASC/ASCQ:  Medium Not Present

 sd0(umass0:0:0:0):  Check Condition on CDB: 0x00 00 00 00 00 00
     SENSE KEY:  Not Ready
  COMMAND INFO:  11162944 (0xaa5540)
      ASC/ASCQ:  Medium Not Present

 sd0(umass0:0:0:0):  Check Condition on CDB: 0x00 00 00 00 00 00
     SENSE KEY:  Not Ready
  COMMAND INFO:  11162944 (0xaa5540)
      ASC/ASCQ:  Medium Not Present

 sd0(umass0:0:0:0):  Check Condition on CDB: 0x00 00 00 00 00 00
     SENSE KEY:  Not Ready
  COMMAND INFO:  11162944 (0xaa5540)
      ASC/ASCQ:  Medium Not Present

 boot device: wd0
 root on wd0a dumps on wd0b
 root file system type: ffs
 wsdisplay0: screen 1 added (80x25, vt100 emulation)
 wsdisplay0: screen 2 added (80x25, vt100 emulation)
 wsdisplay0: screen 3 added (80x25, vt100 emulation)
 wsdisplay0: screen 4 added (80x25, vt100 emulation)

From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
To: gnats-bugs@NetBSD.org
Cc: pooka@NetBSD.org, tsutsui@ceres.dti.ne.jp
Subject: Re: kern/42950 (nfe(4) panic on HP Pavilion Slimline s5210uk DesktopPC)
Date: Fri, 21 Jan 2011 20:48:18 +0900

 > ukphy30 at nfe0 phy 31: OUI 0x000004, model 0x0020, rev. 1

 Should we also pull this change?

 http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pci/if_nfe.c#rev1.97
 >> Some nfe(4)/rlphy(4) combos don't work, because the PHY responds to all
 >> addresses on the mii bus.  As a countereasure, only attach the first PHY we
 >> encounter.  It is very unlikely we're going to ever see nfe(4) with multiple
 >> PHYs.  The same is probably true for any modern NIC.

 ---
 Izumi Tsutsui

From: Antti Kantee <pooka@NetBSD.org>
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
Cc: gnats-bugs@NetBSD.org
Subject: Re: kern/42950 (nfe(4) panic on HP Pavilion Slimline s5210uk DesktopPC)
Date: Fri, 21 Jan 2011 13:54:52 +0200

 On Fri Jan 21 2011 at 20:48:18 +0900, Izumi Tsutsui wrote:
 > > ukphy30 at nfe0 phy 31: OUI 0x000004, model 0x0020, rev. 1
 > 
 > Should we also pull this change?
 > 
 > http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pci/if_nfe.c#rev1.97
 > >> Some nfe(4)/rlphy(4) combos don't work, because the PHY responds to all
 > >> addresses on the mii bus.  As a countereasure, only attach the first PHY we
 > >> encounter.  It is very unlikely we're going to ever see nfe(4) with multiple
 > >> PHYs.  The same is probably true for any modern NIC.

 Probably, considering the number of ukphys that now attach.  I don't
 have the hardware, so if someone can test it, it would be great.

 -- 
 älä karot toivorikkauttas, kyl rätei ja lumpui piisaa

From: "Izumi Tsutsui" <tsutsui@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/42950 CVS commit: src/sys/dev/pci
Date: Sun, 23 Jan 2011 03:15:07 +0000

 Module Name:	src
 Committed By:	tsutsui
 Date:		Sun Jan 23 03:15:06 UTC 2011

 Modified Files:
 	src/sys/dev/pci: if_nfe.c

 Log Message:
 Pull the following fix from OpenBSD:
 http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pci/if_nfe.c#rev1.97
 >> Some nfe(4)/rlphy(4) combos don't work, because the PHY responds to all
 >> addresses on the mii bus.  As a countereasure, only attach the first PHY we
 >> encounter.  It is very unlikely we're going to ever see nfe(4) with multiple
 >> PHYs.  The same is probably true for any modern NIC.

 Should suppress bogus ukphy30 noted in PR kern/42950.
 No bad side effect on my nfe(4) which didn't get ghosts:
 ---
 nfe0 at pci0 dev 5 function 0: NVIDIA nForce3 Ethernet #4 (rev. 0xa2)
  :
 rlphy0 at nfe0 phy 1: RTL8201L 10/100 media interface, rev. 1
 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto


 To generate a diff of this commit:
 cvs rdiff -u -r1.53 -r1.54 src/sys/dev/pci/if_nfe.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 31 Jan 2011 04:57:09 +0000
State-Changed-Why:
Original problem confirmed fixed (thanks!)...


State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 31 Jan 2011 04:57:30 +0000
State-Changed-Why:
...but if you can please check if the ghost phys now go away.


From: Alexander Nasonov <alnsn@yandex.ru>
To: gnats-bugs@netbsd.org
Cc: kern-bug-people@netbsd.org,netbsd-bugs@netbsd.org,gnats-admin@netbsd.org,dholland@netbsd.org
Subject: Re: kern/42950 (nfe(4) panic on HP Pavilion Slimline s5210uk Desktop PC)
Date: Mon, 31 Jan 2011 11:38:07 +0300

 > ...but if you can please check if the ghost phys now go away.
 They did go away. I now only see on phy. Thanks!
 Alex

State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 31 Jan 2011 18:49:47 +0000
State-Changed-Why:
The ghost phys are confirmed gone. Thanks for checking.


From: "Antti Kantee" <pooka@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/42950 CVS commit: src/sys/dev/mii
Date: Thu, 20 Jan 2011 14:26:12 +0000

 Module Name:	src
 Committed By:	pooka
 Date:		Thu Jan 20 14:26:11 UTC 2011

 Modified Files:
 	src/sys/dev/mii: rlphy.c

 Log Message:
 Match only first instance of rlphy, following suite from Free/OpenBSD.

 should fix PR kern/42950, variant of patch from "js" on irc


 To generate a diff of this commit:
 cvs rdiff -u -r1.26 -r1.27 src/sys/dev/mii/rlphy.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.