Hello

I have a couple of Broadcom BCM5761 (PCI Express NICs) on my HP dc7900.
The only way I found to recognize them was installing OpenBSD 4.6-snapshots:

bge0 at pci1 dev 0 function 0 "Broadcom BCM5761" rev 0x10, BCM5761 A1
(0x5761100): apic 1 int 16 (irq 5), address 00:10:18:4b:2b:43
bge1 at pci2 dev 0 function 0 "Broadcom BCM5761" rev 0x10, BCM5761 A1
(0x5761100): apic 1 int 16 (irq 5), address 00:10:18:4b:22:c7

But when I run "ifconfig bge0 up" I'm getting a panic:

Jul 27 11:51:15 fw /bsd: panic: mii_phy_setmedia
Jul 27 11:51:15 fw /bsd: Stopped at     Debugger+0x4:   leave
Jul 27 11:51:15 fw /bsd: RUN AT LEAST 'trace' AND 'ps' AND INCLUDE
OUTPUT WHEN REPORTING THIS PANIC!
Jul 27 11:51:15 fw /bsd: DO NOT EVEN BOTHER REPORTING THIS WITHOUT
INCLUDING THAT INFORMATION!
Jul 27 11:51:15 fw /bsd: ddb> Debugger(0,d0c80580,0,2,d28d0500) at Debugger+0x4
Jul 27 11:51:15 fw /bsd: panic(d07417a8,0,0,3c00a000,3c00a000) at panic+0x55
Jul 27 11:51:15 fw /bsd:
mii_phy_setmedia(d28d0500,0,de509960,d05ac69f) at
mii_phy_setmedia+0xb7
Jul 27 11:51:15 fw /bsd: ukphy_service(d28d0500,d2a0b2f8,2,4128803) at
ukphy_service+0xe2
Jul 27 11:51:15 fw /bsd:
mii_mediachg(d2a0b2f8,204,1,f100008a,d0c80600) at mii_mediachg+0x2a
Jul 27 11:51:15 fw /bsd:
bge_stop(d2a0b000,d0848da0,de5099d0,d046b2d9,d0848da0) at
bge_stop+0x26b
Jul 27 11:51:15 fw /bsd: bge_init(d2a0b000,1,d088fc00,d03545e8) at bge_init+0x1e
Jul 27 11:51:15 fw /bsd:
bge_ioctl(d2a0b030,8020690c,d2add000,de509c64) at bge_ioctl+0xc6
Jul 27 11:51:15 fw /bsd: in6_purgeif(d2a0b030,d2add000,de509c48,1) at
in6_purgeif+0x6f9
Jul 27 11:51:15 fw /bsd:
in6_update_ifa(d2a0b030,de509c38,0,de500100,d8885814) at
in6_update_ifa+0x22f
Jul 27 11:51:15 fw /bsd:
in6_ifattach_linklocal(d2a0b030,0,de509d10,d035e3c9,de509d28) at
in6_ifattach_linklocal+0x104
Jul 27 11:51:15 fw /bsd:
in6_ifattach(d2a0b030,0,ba3bd2bf,d2a0b030,80206910) at
in6_ifattach+0xd9
Jul 27 11:51:15 fw /bsd:
in6_if_up(d2a0b030,d071cdaf,de509da0,d03545ca) at in6_if_up+0x12
Jul 27 11:51:15 fw /bsd: if_up(d2a0b030,0,d2a9bd70,4,d8884370) at if_up+0x7d
Jul 27 11:51:15 fw /bsd:
ifioctl(d8827ee8,80206910,de509e78,d886dc44,d8827ee8) at ifioctl+0x3c1
Jul 27 11:51:15 fw /bsd:
sys_ioctl(d886dc44,de509f68,de509f58,ffff8803,24) at sys_ioctl+0x125
Jul 27 11:51:15 fw /bsd: syscall() at syscall+0x24e
Jul 27 11:51:15 fw /bsd: --- syscall (number 54) ---
Jul 27 11:51:15 fw /bsd: 0x1c0093a5:
Jul 27 11:51:15 fw /bsd: ddb>    PID   PPID   PGRP    UID  S
FLAGS  WAIT          COMMAND
Jul 27 11:51:15 fw /bsd: * 2015  10182   2015      0  7      0x4002
            ifconfig
Jul 27 11:51:15 fw /bsd:  11147      1  11147      0  3      0x4082
ttyin         getty
Jul 27 11:51:15 fw /bsd:  25109      1  25109      0  3      0x4082
ttyin         getty
Jul 27 11:51:15 fw /bsd:   4980      1   4980      0  3      0x4082
ttyin         getty
Jul 27 11:51:15 fw /bsd:   8845      1   8845      0  3      0x4082
ttyin         getty
Jul 27 11:51:15 fw /bsd:  10182      1  10182      0  3      0x4082
pause         ksh
Jul 27 11:51:15 fw /bsd:  12937      1  12937      0  3     0x40180
select        sendmail
Jul 27 11:51:15 fw /bsd:  17215      1  17215      0  3        0x80
select        cron
Jul 27 11:51:15 fw /bsd:  15581      1  15581      0  3        0x80
select        sshd
Jul 27 11:51:15 fw /bsd:  13020  13273  13273     74  3       0x180
bpf           pflogd
Jul 27 11:51:15 fw /bsd:  13273      1  13273      0  3        0x80
netio         pflogd
Jul 27 11:51:15 fw /bsd:  28088  26959  26959     73  3       0x180
poll          syslogd
Jul 27 11:51:15 fw /bsd:  26959      1  26959      0  3        0x88
netio         syslogd
Jul 27 11:51:15 fw /bsd:     21      0      0      0  3    0x100200
bored         crypto
Jul 27 11:51:15 fw /bsd:     20      0      0      0  3    0x100200
aiodoned      aiodoned
Jul 27 11:51:15 fw /bsd:     19      0      0      0  3    0x100200
syncer        update
Jul 27 11:51:15 fw /bsd:     18      0      0      0  3    0x100200
cleaner       cleaner
Jul 27 11:51:15 fw /bsd:     17      0      0      0  3    0x100200
reaper        reaper
Jul 27 11:51:15 fw /bsd:     16      0      0      0  3    0x100200
pgdaemon      pagedaemon
Jul 27 11:51:15 fw /bsd:     15      0      0      0  3    0x100200
pftm          pfpurge
Jul 27 11:51:15 fw /bsd:     14      0      0      0  3    0x100200
usbevt        usb7
Jul 27 11:51:15 fw /bsd:     13      0      0      0  3    0x100200
usbevt        usb6
Jul 27 11:51:15 fw /bsd:     12      0      0      0  3    0x100200
usbevt        usb5
Jul 27 11:51:15 fw /bsd:     11      0      0      0  3    0x100200
usbevt        usb4
Jul 27 11:51:15 fw /bsd:     10      0      0      0  3    0x100200
usbevt        usb3
Jul 27 11:51:15 fw /bsd:      9      0      0      0  3    0x100200
usbevt        usb2
Jul 27 11:51:15 fw /bsd:      8      0      0      0  3    0x100200
usbevt        usb1
Jul 27 11:51:15 fw /bsd:      7      0      0      0  3    0x100200
usbtsk        usbtask
Jul 27 11:51:15 fw /bsd:      6      0      0      0  3    0x100200
usbevt        usb0
Jul 27 11:51:15 fw /bsd:      5      0      0      0  3    0x100200
acpi_idle     acpi0
Jul 27 11:51:15 fw /bsd:      4      0      0      0  3    0x100200
bored         syswq
Jul 27 11:51:15 fw /bsd:      3      0      0      0  3  0x40100200
            idle0
Jul 27 11:51:15 fw /bsd:      2      0      0      0  3    0x100200
kmalloc       kmthread
Jul 27 11:51:15 fw /bsd:      1      0      1      0  3      0x4080
wait          init
Jul 27 11:51:15 fw /bsd:      0     -1      0      0  3     0x80200
scheduler     swapper

dmesg:

OpenBSD 4.6-current (GENERIC) #85: Mon Jul 27 19:10:16 MDT 2009
    dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz ("GenuineIntel"
686-class) 3 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR
real mem  = 2073337856 (1977MB)
avail mem = 1995870208 (1903MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/25/08, BIOS32 rev. 0 @
0xe8580, SMBIOS rev. 2.5 @ 0xe9f80 (88 entries)
bios0: vendor Hewlett-Packard version "786G1 v01.08" date 08/25/2008
bios0: Hewlett-Packard HP Compaq dc7900 Convertible Minitower
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC ASF! MCFG TCPA SLIC HPET DMAR
acpi0: wakeup devices COM1(S4) COM2(S4) PCI0(S4) PEG1(S4) PEG2(S4)
IGBE(S4) PCX1(S4) PCX2(S4) PCX5(S4) PCX6(S4) HUB_(S4) USB1(S3)
USB2(S3) USB3(S3) USB4(S3) USB5(S3) USB6(S3) EUS1(S3) EUS2(S3)
PBTN(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 332MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PEG1)
acpiprt2 at acpi0: bus -1 (PEG2)
acpiprt3 at acpi0: bus 32 (PCX1)
acpiprt4 at acpi0: bus -1 (PCX2)
acpiprt5 at acpi0: bus 48 (PCX5)
acpiprt6 at acpi0: bus -1 (PCX6)
acpiprt7 at acpi0: bus 7 (HUB_)
acpicpu0 at acpi0: C2, C1, PSS
acpibtn0 at acpi0: PBTN
bios0: ROM list: 0xc0000/0xc400! 0xcc400/0x1000 0xcd400/0x1000
0xce400/0x1e00 0xe5800/0xa800!
cpu0: Enhanced SpeedStep 2993 MHz: speeds: 3000, 1998 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel Q45 Host" rev 0x03
ppb0 at pci0 dev 1 function 0 vendor "Intel", unknown product 0x2e11
rev 0x03: apic 1 int 16 (irq 5)
pci1 at ppb0 bus 1
bge0 at pci1 dev 0 function 0 "Broadcom BCM5761" rev 0x10, BCM5761 A1
(0x5761100): apic 1 int 16 (irq 5), address 00:10:18:4b:2b:43
ukphy0 at bge0 phy 1: Generic IEEE 802.3u media interface, rev. 0: OUI
0x0050ef, model 0x003d
vga1 at pci0 dev 2 function 0 "Intel Q45 Video" rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xe0000000, size 0x10000000
inteldrm0 at vga1: apic 1 int 16 (irq 5)
drm0 at inteldrm0
"Intel Q45 Video" rev 0x03 at pci0 dev 2 function 1 not configured
vendor "Intel", unknown product 0x2e14 (class communications subclass
miscellaneous, rev 0x03) at pci0 dev 3 function 0 not configured
pciide0 at pci0 dev 3 function 2 "Intel Q45 PT IDER" rev 0x03: DMA
(unsupported), channel 0 wired to native-PCI, channel 1 wired to
native-PCI
pciide0: using apic 1 int 18 (irq 10) for native-PCI interrupt
pciide0: channel 0 ignored (not responding; disabled or no drives?)
pciide0: channel 1 ignored (not responding; disabled or no drives?)
vendor "Intel", unknown product 0x2e17 (class communications subclass
serial, rev 0x03) at pci0 dev 3 function 3 not configured
em0 at pci0 dev 25 function 0 "Intel ICH10 D BM LM" rev 0x02: apic 1
int 19 (irq 5), address 00:21:5a:e9:47:b0
uhci0 at pci0 dev 26 function 0 "Intel 82801JD USB" rev 0x02: apic 1
int 20 (irq 11)
uhci1 at pci0 dev 26 function 1 "Intel 82801JD USB" rev 0x02: apic 1
int 21 (irq 5)
uhci2 at pci0 dev 26 function 2 "Intel 82801JD USB" rev 0x02: apic 1
int 22 (irq 10)
ehci0 at pci0 dev 26 function 7 "Intel 82801JD USB" rev 0x02: apic 1
int 22 (irq 10)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801JD HD Audio" rev 0x02:
apic 1 int 21 (irq 5)
azalia0: codecs: Analog Devices AD1884A
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 "Intel 82801JD PCIE" rev 0x02: apic 1
int 20 (irq 11)
pci2 at ppb1 bus 32
bge1 at pci2 dev 0 function 0 "Broadcom BCM5761" rev 0x10, BCM5761 A1
(0x5761100): apic 1 int 16 (irq 5), address 00:10:18:4b:22:c7
ukphy1 at bge1 phy 1: Generic IEEE 802.3u media interface, rev. 0: OUI
0x0050ef, model 0x003d
ppb2 at pci0 dev 28 function 4 "Intel 82801JD PCIE" rev 0x02: apic 1
int 20 (irq 11)
pci3 at ppb2 bus 48
uhci3 at pci0 dev 29 function 0 "Intel 82801JD USB" rev 0x02: apic 1
int 20 (irq 11)
uhci4 at pci0 dev 29 function 1 "Intel 82801JD USB" rev 0x02: apic 1
int 21 (irq 5)
uhci5 at pci0 dev 29 function 2 "Intel 82801JD USB" rev 0x02: apic 1
int 22 (irq 10)
ehci1 at pci0 dev 29 function 7 "Intel 82801JD USB" rev 0x02: apic 1
int 20 (irq 11)
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xa2
pci4 at ppb3 bus 7
pcib0 at pci0 dev 31 function 0 "Intel 82801JDO LPC" rev 0x02
ahci0 at pci0 dev 31 function 2 "Intel 82801JD AHCI" rev 0x02: apic 1
int 18 (irq 10), AHCI 1.2
ahci0: PHY offline on port 2
ahci0: PHY offline on port 3
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, WDC WD1600AAJS-6, 02.0> SCSI3 0/direct fixed
sd0: 152627MB, 512 bytes/sec, 312581808 sec total
cd0 at scsibus0 targ 1 lun 0: <ATAPI, DVD A DH16A6L, ZH37> ATAPI
5/cdrom removable
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb5 at uhci3: USB revision 1.0
uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb6 at uhci4: USB revision 1.0
uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb7 at uhci5: USB revision 1.0
uhub7 at usb7 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
mtrr: Pentium Pro MTRR support
softraid0 at root
root on sd0a swap on sd0b dump on sd0b
WARNING: / was not properly unmounted


It seems like this:
http://archive.netbsd.se/?ml=openbsd-bugs&a=2008-01&m=6209161

Can someone help me?

Thanks!

Reply via email to