NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/48058: bge(4) stops working after booting 5.2_STABLE



The following reply was made to PR kern/48058; it has been noted by GNATS.

From: SAITOH Masanobu <msaitoh%execsw.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: he%uninett.no@localhost, kern-bug-people%netbsd.org@localhost, 
gnats-admin%netbsd.org@localhost, 
 netbsd-bugs%netbsd.org@localhost, msaitoh%execsw.org@localhost
Subject: Re: kern/48058: bge(4) stops working after booting 5.2_STABLE
Date: Thu, 18 Jul 2013 02:32:34 +0900

 (2013/07/18 2:25), he%uninett.no@localhost wrote:
 >> Number:         48058
 >> Category:       kern
 >> Synopsis:       bge(4) stops working after booting 5.2_STABLE
 >> Confidential:   no
 >> Severity:       serious
 >> Priority:       high
 >> Responsible:    kern-bug-people
 >> State:          open
 >> Class:          sw-bug
 >> Submitter-Id:   net
 >> Arrival-Date:   Wed Jul 17 17:25:00 +0000 2013
 >> Originator:     Havard Eidnes
 >> Release:        NetBSD 5.2_STABLE
 >> Organization:
 >      UNINETT AS
 >> Environment:
 >      
 >      
 > System: NetBSD hegre.uninett.no 5.1_STABLE NetBSD 5.1_STABLE (GENERIC) #0: 
 > Mon Oct 29 23:29:28 CET 2012  
 > he%hegre.uninett.no@localhost:/usr/obj/sys/arch/i386/compile/GENERIC i386
 > Architecture: i386
 > Machine: i386
 >> Description:
 >      I'm trying to upgrade an IBM eServer 306m to 5.2_STABLE from
 >      the 5.1_STABLE kernel shown above.
 > 
 >      During boot-up of the 5.2_STABLE GENERIC kernel, the kernel
 >      messages contain:
 > 
 > bge1 at pci5 dev 0 function 0: Broadcom BCM5721 Gigabit Ethernet
 > bge1: interrupting at ioapic0 pin 17
 > adjust device control 0x1a2100 -> 0x1a5100
 > bge1: ASIC BCM5750 B1 (0x4101), Ethernet address 00:11:25:22:6c:8f
 > brgphy1 at bge1 phy 1: BCM5750 1000BASE-T media interface, rev. 0
 > brgphy1: no media present
 > ifmedia_set: no match for 0x20/0xffffffff
 > 
 >      and the kernel refuses to assign an IPv4 or IPv6 address via
 >      ifconfig with
 > 
 > hegre# ifconfig bge1 inet 128.39.2.22 netmask 255.255.255.0
 > ifconfig: SIOCAIFADDR: Invalid argument
 > hegre# exit
 > 
 >      Rebooting (warm) with the old 5.1_STABLE kernel does however
 >      not restore a working network interface, the kernel messages
 >      there now contain:
 > 
 > bge0 at pci4 dev 0 function 0: Broadcom BCM5721 Gigabit Ethernet
 > bge0: interrupting at ioapic0 pin 16
 > adjust device control 0x1a2100 -> 0x1a5100
 > bge0: ASIC BCM5750 B1 (0x4101), Ethernet address 00:11:25:22:6c:8e
 > brgphy0 at bge0 phy 1: BCM5750 1000BASE-T media interface, rev. 0
 > brgphy0: no media present
 > ifmedia_set: no match for 0x20/0xffffffff
 > bge1 at pci5 dev 0 function 0: Broadcom BCM5721 Gigabit Ethernet
 > bge1: interrupting at ioapic0 pin 17
 > bge1: ASIC BCM5750 B1 (0x4101), Ethernet address 00:11:25:22:6c:8f
 > bge1: setting short Tx thresholds
 > brgphy1 at bge1 phy 1: BCM5750 1000BASE-T media interface, rev. 0
 > brgphy1: no media present
 > ifmedia_set: no match for 0x20/0xffffffff
 > 
 >      At least "ifconfig -m bge1" seems to agree with the kernel
 >      messages.
 > 
 >      On closer inspection, I see that in NetBSD 5.2_STABLE, a lot
 >      of the PCI busses are detected as PCI-Express, while that was
 >      not the case with the 5.1_STABLE kernel.
 > 
 >      Kernel boot messages for the two kernels follow.
 > 
 >      I just hope the 5.1_STABLE kernel will come up working if I
 >      can get some remote hands to power-cycle the machine
 >      tomorrow...
 > 
 > 
 > 
 > 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.2_STABLE (GENERIC) #1: Wed Jul 17 15:18:24 CEST 2013
 >       he%hegre.uninett.no@localhost:/usr/obj/sys/arch/i386/compile/GENERIC
 > total memory = 2046 MB
 > avail memory = 1999 MB
 > IBM IBM eServer 306m -[884930Y]- (IBM CORPORATION)
 > mainbus0 (root)
 > cpu0 at mainbus0 apid 0: Intel 686-class, 3200MHz, id 0xf43
 > cpu1 at mainbus0 apid 1: Intel 686-class, 3200MHz, id 0xf43
 > ioapic0 at mainbus0 apid 2
 > acpi0 at mainbus0: Intel ACPICA 20080321
 > npx1 at acpi0 (MATH, PNP0C04): io 0xf0-0xfe irq 13
 > pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
 > midi0 at pcppi1: PC speaker (CPU-intensive output)
 > sysbeep0 at pcppi1
 > attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53 irq 0
 > FWH (INT0800) at acpi0 not configured
 > COM1 (PNP0501) at acpi0 not configured
 > pckbc1 at acpi0 (KBC0, PNP0303) (kbd port): io 0x60,0x64 irq 1
 > pckbc2 at acpi0 (MSE0, PNP0F13) (aux port): irq 12
 > acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
 > apm0 at acpi0: Power Management spec V1.2
 > attimer1: attached to pcppi1
 > ipmi0 at mainbus0
 > pci0 at mainbus0 bus 0: configuration mode 1
 > pchb0 at pci0 dev 0 function 0
 > pchb0: vendor 0x8086 product 0x2778 (rev. 0x81)
 > ppb0 at pci0 dev 1 function 0: vendor 0x8086 product 0x2779 (rev. 0x81)
 > ppb0: PCI Express 1.0 <Root Port of PCI-E Root Complex>
 > pci1 at ppb0 bus 1
 > pci1: no spaces enabled!
 > ppb1 at pci0 dev 28 function 0: vendor 0x8086 product 0x27d0 (rev. 0x01)
 > ppb1: PCI Express 1.0 <Root Port of PCI-E Root Complex>
 > pci2 at ppb1 bus 2
 > ppb2 at pci2 dev 0 function 0: vendor 0x8086 product 0x032c (rev. 0x09)
 > ppb2: PCI Express 1.0 <PCI-E to PCI/PCI-X Bridge>
 > pci3 at ppb2 bus 3
 > vendor 0x8086 product 0x0326 (interrupt system, interface 0x20, revision 
 > 0x09) at pci2 dev 0 function 1 not configured
 > ppb3 at pci0 dev 28 function 4: vendor 0x8086 product 0x27e0 (rev. 0x01)
 > ppb3: PCI Express 1.0 <Root Port of PCI-E Root Complex>
 > pci4 at ppb3 bus 4
 > bge0 at pci4 dev 0 function 0: Broadcom BCM5721 Gigabit Ethernet
 > bge0: interrupting at ioapic0 pin 16
 > adjust device control 0x1a2100 -> 0x1a5100
 > bge0: ASIC BCM5750 B1 (0x4101), Ethernet address 00:11:25:22:6c:8e
 > brgphy0 at bge0 phy 1: BCM5750 1000BASE-T media interface, rev. 0
 > brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 > ppb4 at pci0 dev 28 function 5: vendor 0x8086 product 0x27e2 (rev. 0x01)
 > ppb4: PCI Express 1.0 <Root Port of PCI-E Root Complex>
 > pci5 at ppb4 bus 5
 > bge1 at pci5 dev 0 function 0: Broadcom BCM5721 Gigabit Ethernet
 > bge1: interrupting at ioapic0 pin 17
 > adjust device control 0x1a2100 -> 0x1a5100
 > bge1: ASIC BCM5750 B1 (0x4101), Ethernet address 00:11:25:22:6c:8f
 > brgphy1 at bge1 phy 1: BCM5750 1000BASE-T media interface, rev. 0
 > brgphy1: no media present
 > ifmedia_set: no match for 0x20/0xffffffff
 > uhci0 at pci0 dev 29 function 0: vendor 0x8086 product 0x27c8 (rev. 0x01)
 > uhci0: interrupting at ioapic0 pin 23
 > usb0 at uhci0: USB revision 1.0
 > uhci1 at pci0 dev 29 function 1: vendor 0x8086 product 0x27c9 (rev. 0x01)
 > uhci1: interrupting at ioapic0 pin 19
 > usb1 at uhci1: USB revision 1.0
 > uhci2 at pci0 dev 29 function 2: vendor 0x8086 product 0x27ca (rev. 0x01)
 > uhci2: interrupting at ioapic0 pin 18
 > usb2 at uhci2: USB revision 1.0
 > ehci0 at pci0 dev 29 function 7: vendor 0x8086 product 0x27cc (rev. 0x01)
 > ehci0: interrupting at ioapic0 pin 23
 > ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2
 > usb3 at ehci0: USB revision 2.0
 > ppb5 at pci0 dev 30 function 0: vendor 0x8086 product 0x244e (rev. 0xe1)
 > pci6 at ppb5 bus 10
 > vga1 at pci6 dev 4 function 0: vendor 0x1002 product 0x515e (rev. 0x01)
 > wsdisplay0 at vga1 kbdmux 1
 > drm at vga1 not configured
 > ichlpcib0 at pci0 dev 31 function 0
 > ichlpcib0: vendor 0x8086 product 0x27b8 (rev. 0x01)
 > ichlpcib0: 24-bit timer
 > piixide0 at pci0 dev 31 function 2
 > piixide0: Intel 82801GB/GR Serial ATA/Raid Controller (ICH7) (rev. 0x01)
 > piixide0: primary channel interrupting at ioapic0 pin 14
 > atabus0 at piixide0 channel 0
 > piixide0: secondary channel interrupting at ioapic0 pin 15
 > atabus1 at piixide0 channel 1
 > ichsmb0 at pci0 dev 31 function 3: vendor 0x8086 product 0x27da (rev. 0x01)
 > ichsmb0: interrupting at ioapic0 pin 19
 > iic0 at ichsmb0: I2C bus
 > isa0 at ichlpcib0
 > com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
 > com0: console
 > uhub0 at usb0: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 > uhub1 at usb1: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 > wd0 at atabus0 drive 0uhub2 at usb2: vendor 0x8086 UHCI root hub, class 9/0, 
 > rev 1.00/1.00, addr 1
 > uhub3 at usb3: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
 > : <WDC WD800JD-23LSA0>
 > wd0: 76324 MB, 155072 cyl, 16 head, 63 sec, 512 bytes/sect x 156312576 
 > sectors
 > wd1 at atabus0 drive 1: <HDS728080PLA380 39M3701 26K5308IBM>
 > wd1: 76324 MB, 155072 cyl, 16 head, 63 sec, 512 bytes/sect x 156312576 
 > sectors
 > atapibus0 at atabus1: 2 targets
 > cd0 at atapibus0 drive 0: <HL-DT-ST  GCR-8240N, , 1.06> cdrom removable
 > Kernelized RAIDframe activated
 > pad0: outputs: 44100Hz, 16-bit, stereo
 > audio0 at pad0: half duplex, playback, capture
 > raid0: RAID Level 1
 > raid0: Components: /dev/wd0a /dev/wd1a
 > raid0: Total Sectors: 156312448 (76324 MB)
 > boot device: raid0
 > root on raid0a dumps on raid0b
 > root file system type: ffs
 > Wed Jul 17 14:12:10 GMT 2013
 > 
 > 
 > ...and this is after the brief period with 5.2_STABLE running:
 > 
 > 
 > 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.1_STABLE (GENERIC) #0: Mon Oct 29 23:29:28 CET 2012
 >       he%hegre.uninett.no@localhost:/usr/obj/sys/arch/i386/compile/GENERIC
 > total memory = 2046 MB
 > avail memory = 1999 MB
 > IBM IBM eServer 306m -[884930Y]- (IBM CORPORATION)
 > mainbus0 (root)
 > cpu0 at mainbus0 apid 0: Intel 686-class, 3200MHz, id 0xf43
 > cpu1 at mainbus0 apid 1: Intel 686-class, 3200MHz, id 0xf43
 > ioapic0 at mainbus0 apid 2
 > acpi0 at mainbus0: Intel ACPICA 20080321
 > npx1 at acpi0 (MATH, PNP0C04): io 0xf0-0xfe irq 13
 > pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
 > midi0 at pcppi1: PC speaker (CPU-intensive output)
 > sysbeep0 at pcppi1
 > attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53 irq 0
 > FWH (INT0800) at acpi0 not configured
 > COM1 (PNP0501) at acpi0 not configured
 > pckbc1 at acpi0 (KBC0, PNP0303) (kbd port): io 0x60,0x64 irq 1
 > pckbc2 at acpi0 (MSE0, PNP0F13) (aux port): irq 12
 > acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
 > apm0 at acpi0: Power Management spec V1.2
 > attimer1: attached to pcppi1
 > ipmi0 at mainbus0
 > pci0 at mainbus0 bus 0: configuration mode 1
 > pchb0 at pci0 dev 0 function 0
 > pchb0: vendor 0x8086 product 0x2778 (rev. 0x81)
 > ppb0 at pci0 dev 1 function 0: vendor 0x8086 product 0x2779 (rev. 0x81)
 > pci1 at ppb0 bus 1
 > pci1: no spaces enabled!
 > ppb1 at pci0 dev 28 function 0: vendor 0x8086 product 0x27d0 (rev. 0x01)
 > pci2 at ppb1 bus 2
 > ppb2 at pci2 dev 0 function 0: vendor 0x8086 product 0x032c (rev. 0x09)
 > ppb2: disabling notification events
 > pci3 at ppb2 bus 3
 > vendor 0x8086 product 0x0326 (interrupt system, interface 0x20, revision 
 > 0x09) at pci2 dev 0 function 1 not configured
 > ppb3 at pci0 dev 28 function 4: vendor 0x8086 product 0x27e0 (rev. 0x01)
 > pci4 at ppb3 bus 4
 > bge0 at pci4 dev 0 function 0: Broadcom BCM5721 Gigabit Ethernet
 > bge0: interrupting at ioapic0 pin 16
 > adjust device control 0x1a2100 -> 0x1a5100
 > bge0: ASIC BCM5750 B1 (0x4101), Ethernet address 00:11:25:22:6c:8e
 > brgphy0 at bge0 phy 1: BCM5750 1000BASE-T media interface, rev. 0
 > brgphy0: no media present
 > ifmedia_set: no match for 0x20/0xffffffff
 > ppb4 at pci0 dev 28 function 5: vendor 0x8086 product 0x27e2 (rev. 0x01)
 > pci5 at ppb4 bus 5
 > bge1 at pci5 dev 0 function 0: Broadcom BCM5721 Gigabit Ethernet
 > bge1: interrupting at ioapic0 pin 17
 > adjust device control 0x1a2100 -> 0x1a5100
 > bge1: ASIC BCM5750 B1 (0x4101), Ethernet address 00:11:25:22:6c:8f
 > brgphy1 at bge1 phy 1: BCM5750 1000BASE-T media interface, rev. 0
 > brgphy1: no media present
 > ifmedia_set: no match for 0x20/0xffffffff
 > uhci0 at pci0 dev 29 function 0: vendor 0x8086 product 0x27c8 (rev. 0x01)
 > uhci0: interrupting at ioapic0 pin 23
 > usb0 at uhci0: USB revision 1.0
 > uhci1 at pci0 dev 29 function 1: vendor 0x8086 product 0x27c9 (rev. 0x01)
 > uhci1: interrupting at ioapic0 pin 19
 > usb1 at uhci1: USB revision 1.0
 > uhci2 at pci0 dev 29 function 2: vendor 0x8086 product 0x27ca (rev. 0x01)
 > uhci2: interrupting at ioapic0 pin 18
 > usb2 at uhci2: USB revision 1.0
 > ehci0 at pci0 dev 29 function 7: vendor 0x8086 product 0x27cc (rev. 0x01)
 > ehci0: interrupting at ioapic0 pin 23
 > ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2
 > usb3 at ehci0: USB revision 2.0
 > ppb5 at pci0 dev 30 function 0: vendor 0x8086 product 0x244e (rev. 0xe1)
 > pci6 at ppb5 bus 10
 > vga1 at pci6 dev 4 function 0: vendor 0x1002 product 0x515e (rev. 0x01)
 > wsdisplay0 at vga1 kbdmux 1
 > drm at vga1 not configured
 > ichlpcib0 at pci0 dev 31 function 0
 > ichlpcib0: vendor 0x8086 product 0x27b8 (rev. 0x01)
 > ichlpcib0: 24-bit timer
 > piixide0 at pci0 dev 31 function 2
 > piixide0: Intel 82801GB/GR Serial ATA/Raid Controller (ICH7) (rev. 0x01)
 > piixide0: primary channel interrupting at ioapic0 pin 14
 > atabus0 at piixide0 channel 0
 > piixide0: secondary channel interrupting at ioapic0 pin 15
 > atabus1 at piixide0 channel 1
 > ichsmb0 at pci0 dev 31 function 3: vendor 0x8086 product 0x27da (rev. 0x01)
 > ichsmb0: interrupting at ioapic0 pin 19
 > iic0 at ichsmb0: I2C bus
 > isa0 at ichlpcib0
 > com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
 > com0: console
 > uhub0 at usb0: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 > uhub1 at usb1: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 > uhub2 at usb2: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 > uhub3 at usb3: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
 > wd0 at atabus0 drive 0: <WDC WD800JD-23LSA0>
 > wd0: 76324 MB, 155072 cyl, 16 head, 63 sec, 512 bytes/sect x 156312576 
 > sectors
 > wd1 at atabus0 drive 1: <HDS728080PLA380 39M3701 26K5308IBM>
 > wd1: 76324 MB, 155072 cyl, 16 head, 63 sec, 512 bytes/sect x 156312576 
 > sectors
 > atapibus0 at atabus1: 2 targets
 > cd0 at atapibus0 drive 0: <HL-DT-ST  GCR-8240N, , 1.06> cdrom removable
 > Kernelized RAIDframe activated
 > pad0: outputs: 44100Hz, 16-bit, stereo
 > audio0 at pad0: half duplex, playback, capture
 > raid0: RAID Level 1
 > raid0: Components: /dev/wd0a /dev/wd1a
 > raid0: Total Sectors: 156312448 (76324 MB)
 > boot device: raid0
 > root on raid0a dumps on raid0b
 > root file system type: ffs
 > Wed Jul 17 14:20:58 GMT 2013
 > 
 > 
 >> How-To-Repeat:
 >      Try to upgrade to 5.2_STABLE on an IBM eServer 306m.
 >      Watch network interfaces come up with no recognized media.
 >      
 >> Fix:
 >      Sorry, don't know.
 > 
 >> Unformatted:
 
 Could you test with the latest -current if the bge(4) works?
 
 
 -- 
 -----------------------------------------------
                 SAITOH Masanobu (msaitoh%execsw.org@localhost
                                  msaitoh%netbsd.org@localhost)
 


Home | Main Index | Thread Index | Old Index