Re: FW: Broadcom BCM5787

2009-10-07 Thread Daniel Rapp
Still some problems..

System is uppdated to current..

Hangs at  bge0 at pci3 dev 0 function 0 Broadcom BCM5787M rev 0x02,
BCM5754/5787 A2 (0xb002)


Anybody have any ideas ? otherwise I will have to send the machine back..




 OpenBSD/i386 BOOT 3.02...
boot
booting hd0a:/bsd: 24491124+1053776 [52+344688+327471]=0x1900c0c
entry point at 0x200120

[ using 672584 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2009 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.6-current (GENERIC) #0: Tue Oct  6 21:55:29 CEST 2009
dr...@probec.islan.lab:/opt/flash/flashboot/obj/GENERIC
cpu0: VIA C7 Processor 1000MHz (CentaurHauls 686-class) 1 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,CMOV,PAT,CFLUSH,ACPI,MMX
,FXSR,SSE,SSE2,TM,SBF,SSE3,EST,TM2,xTPR
real mem  = 519663616 (495MB)
avail mem = 477478912 (455MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 05/27/08, BIOS32 rev. 0 @ 0xfb5c0,
SMBIOS rev. 2.3 @ 0xf0800 (33 entries)
bios0: vendor Phoenix Technologies, LTD version 6.00 PG date 05/27/2008
apm0 at bios0: Power Management spec V1.2 (slowidle)
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 3.0 @ 0xf/0xdc04
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfda50/416 (24 entries)
pcibios0: bad IRQ table checksum
pcibios0: PCI BIOS has 25 Interrupt Routing table entries
pcibios0: PCI Exclusive IRQs: 5 7 10 11
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc/0xf200 0xd/0x8000!
cpu0 at mainbus0: (uniprocessor)
cpu0: RNG AES AES-CTR SHA1 SHA256 RSA
cpu0: unknown Enhanced SpeedStep CPU, msr 0x08100a1308000a13
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 998 MHz: speeds: 1333, 1067 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 VIA CN700 Host rev 0x00
viaagp0 at pchb0: v3
agp0 at viaagp0: aperture at 0xd000, size 0x1000
pchb1 at pci0 dev 0 function 1 VIA CN700 Host rev 0x00
pchb2 at pci0 dev 0 function 2 VIA CN700 Host rev 0x00
pchb3 at pci0 dev 0 function 3 VIA PT890 Host rev 0x00
pchb4 at pci0 dev 0 function 4 VIA CN700 Host rev 0x00
pchb5 at pci0 dev 0 function 7 VIA CN700 Host rev 0x00
ppb0 at pci0 dev 1 function 0 VIA VT8377 AGP rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 VIA S3 Unichrome PRO IGP rev 0x01
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pciide0 at pci0 dev 15 function 0 vendor VIA, unknown product 0x5287 rev
0x07: DMA (unsupported), channel 0 configured to compatibility, channel 1
configured to compatibility
pciide0: channel 0 ignored (not responding; disabled or no drives?)
wd0 at pciide0 channel 1 drive 0: SanDisk SDCFH-002G
wd0: 1-sector PIO, LBA, 1918MB, 3928176 sectors
uhci0 at pci0 dev 16 function 0 VIA VT83C572 USB rev 0x91: irq 11
uhci1 at pci0 dev 16 function 1 VIA VT83C572 USB rev 0x91: irq 7
uhci2 at pci0 dev 16 function 2 VIA VT83C572 USB rev 0x91: irq 10
uhci3 at pci0 dev 16 function 3 VIA VT83C572 USB rev 0x91: irq 5
ehci0 at pci0 dev 16 function 4 VIA VT6202 USB rev 0x90: irq 7
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 VIA EHCI root hub rev 2.00/1.00 addr 1
viapm0 at pci0 dev 17 function 0 VIA VT8251 ISA rev 0x00
iic0 at viapm0
spdmem0 at iic0 addr 0x50: 512MB DDR2 SDRAM non-parity PC2-4200CL3 SO-DIMM
pchb6 at pci0 dev 17 function 7 VIA VT8251 VLINK rev 0x00
ppb1 at pci0 dev 19 function 0 VIA VT8251 PCIE rev 0x00
pci2 at ppb1 bus 128
bridge io address conflict 0xc000/0x1000
bridge mem address conflict 0xcfb0/0x10
bridge mem address conflict 0xcfe0/0x10
bridge io address conflict 0xb000/0x1000
bridge mem address conflict 0xcfd0/0x10
bridge mem address conflict 0xcfc0/0x10
ppb2 at pci2 dev 0 function 0 VIA VT8251 PCIE rev 0x00: irq 5
pci3 at ppb2 bus 129
bge0 at pci3 dev 0 function 0 Broadcom BCM5787M rev 0x02, BCM5754/5787 A2
(0xb002)
Hangs here..





Mvh
Daniel Rapp
Incabus Systems AB
Vdxel:  + 46 8 556 964 60
http://www.incabus.com



-Original Message-
From: owner-t...@openbsd.org [mailto:owner-t...@openbsd.org] On Behalf Of Mark
Kettenis
Sent: den 5 oktober 2009 14:21
To: Daniel Rapp
Cc: tech@openbsd.org
Subject: Re: FW: Broadcom BCM5787

 Date: Mon, 5 Oct 2009 14:03:08 +0200
 From: Daniel Rapp daniel.r...@incabus.com

 Hi, Here are the dmesg and pcidump -v

 I have asked the developers and they are positive ther is two gigabit
 network ports with BCM5787 chipset on there, there are also two 10/100
 ports with the BCM4401 and those are found..

...

 pchb6 at pci0 dev 17 function 7 VIA VT8251 VLINK rev 0x00
 pchb7 at pci0 dev 19 function 0 VIA VT8251 PCIE rev 0x00

Ah, a VIA VT8251 chipset.  This should be fixed in -current.



Re: FW: Broadcom BCM5787

2009-10-07 Thread Mark Kettenis
 Date: Wed, 7 Oct 2009 14:23:01 +0200
 From: Daniel Rapp daniel.r...@incabus.com
 
 Still some problems..
 
 System is uppdated to current..
 
 Hangs at  bge0 at pci3 dev 0 function 0 Broadcom BCM5787M rev 0x02,
 BCM5754/5787 A2 (0xb002)
 
 
 Anybody have any ideas ? otherwise I will have to send the machine back..

Can you boot the machine with those bge's disabled (boot -c, disable
bge at the UKC prompt) and send me dmesg, pcidump -xv and acpidump -o
output?

Please send things directly o me as the list will strip off any
attachments.



Re: FW: Broadcom BCM5787

2009-10-07 Thread Brynet
Daniel Rapp wrote:
 Anybody have any ideas ? otherwise I will have to send the machine back..
 ..
 acpi at bios0 function 0x0 not configured
 pcibios0 at bios0: rev 3.0 @ 0xf/0xdc04
 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfda50/416 (24 entries)
 pcibios0: bad IRQ table checksum
 pcibios0: PCI BIOS has 25 Interrupt Routing table entries
 pcibios0: PCI Exclusive IRQs: 5 7 10 11
 pcibios0: no compatible PCI ICU found
 pcibios0: Warning, unable to fix up PCI interrupt routing
 pcibios0: PCI bus #2 is the last bus
 ...

Hi,

What about trying ACPI? those pcibios warnings don't look very pleasant..

boot boot -c
UKC disable apm
UKC quit

Perhaps that may work.

-Brynet.



FW: Broadcom BCM5787

2009-10-05 Thread Daniel Rapp
Hi, Here are the dmesg and pcidump -v

I have asked the developers and they are positive ther is two gigabit
network ports with BCM5787 chipset on there, there are also two 10/100
ports with the BCM4401 and those are found..




   Phoenix Technologies, LTD
 System Configurations
+===
===+
| CPU Type  : VIA C7  Base Memory   :640K
|
| CPU ID/ucode ID   : 06D0Extended Memory   : 506880K
|
| CPU Clock : 1.00GHz Cache Memory  :   128K
|
|---
---|
| Diskette Drive A  : NoneDisplay Type  : Auto
|
| Diskette Drive B  : NoneSerial Port(s): 3F8 2F8
|
| Pri. Master Disk  : NoneParallel Port(s)  : None
|
| Pri. Slave  Disk  : NoneDDR2 SDRAM at Rank : 0
|
| Sec. Master Disk  : LBA,ATA 33, 4110MB
|
| Sec. Slave  Disk  : None
|
+===
===+


PCI device listing ...
Bus No. Device No. Func No. Vendor/Device Class Device Class
IRQ


0  15 0 1106   5287   0101  IDE Cntrlr
14
0  16 0 1106   3038   0C03  USB 1.0/1.1 UHCI Cntrlr
11
0  16 1 1106   3038   0C03  USB 1.0/1.1 UHCI Cntrlr
7
0  16 2 1106   3038   0C03  USB 1.0/1.1 UHCI Cntrlr
10
0  16 3 1106   3038   0C03  USB 1.0/1.1 UHCI Cntrlr
5
 OpenBSD/i386 BOOT 3.02...
boot
booting hd0a:/bsd: 6039964+1059784 [52+336688+318896]=0x7657ec
entry point at 0x200120

[ using 656008 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights
reserved.
Copyright (c) 1995-2009 OpenBSD. All rights reserved.
http://www.OpenBSD.org

OpenBSD 4.5 (GENERIC) #1749: Sat Feb 28 14:51:18 MST 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: VIA C7 Processor 1000MHz (CentaurHauls 686-class) 1 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,CMOV,PAT,CFLUSH,ACP
I,MMX,FXSR,SSE,SSE2,TM,SBF,SSE3,EST,TM2,xTPR
real mem  = 519663616 (495MB)
avail mem = 494170112 (471MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 05/27/08, BIOS32 rev. 0 @ 0xfb5c0,
SMBIOS rev. 2.3 @ 0xf0800 (33 entries)
bios0: vendor Phoenix Technologies, LTD version 6.00 PG date
05/27/2008
apm0 at bios0: Power Management spec V1.2 (slowidle)
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 3.0 @ 0xf/0xdc04
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfda50/416 (24 entries)
pcibios0: bad IRQ table checksum
pcibios0: PCI BIOS has 25 Interrupt Routing table entries
pcibios0: PCI Exclusive IRQs: 5 7 10 11
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc/0xf200 0xd/0x8000!
cpu0 at mainbus0: (uniprocessor)
cpu0: RNG AES AES-CTR SHA1 SHA256 RSA
cpu0: unknown Enhanced SpeedStep CPU, msr 0x08100a1308000a13
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 1333 MHz (1004 mV): speeds: 1333, 1067 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 VIA CN700 Host rev 0x00
viaagp0 at pchb0: v3
agp0 at viaagp0: aperture at 0xd000, size 0x1000
pchb1 at pci0 dev 0 function 1 VIA CN700 Host rev 0x00
pchb2 at pci0 dev 0 function 2 VIA CN700 Host rev 0x00
pchb3 at pci0 dev 0 function 3 VIA PT890 Host rev 0x00
pchb4 at pci0 dev 0 function 4 VIA CN700 Host rev 0x00
pchb5 at pci0 dev 0 function 7 VIA CN700 Host rev 0x00
ppb0 at pci0 dev 1 function 0 VIA VT8377 AGP rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 VIA S3 Unichrome PRO IGP rev 0x01
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pciide0 at pci0 dev 15 function 0 vendor VIA, unknown product 0x5287
rev 0x07: DMA (unsupported), channel 0 configured to compatibility,
channel 1 configured to compatibility
pciide0: channel 0 ignored (not responding; disabled or no drives?)
wd0 at pciide0 channel 1 drive 0: SanDisk SDCFX3-004G
wd0: 4-sector PIO, LBA, 3919MB, 8027712 sectors
uhci0 at pci0 dev 16 function 0 VIA VT83C572 USB rev 0x91: irq 11
uhci1 at pci0 dev 16 function 1 VIA VT83C572 USB rev 0x91: irq 7
uhci2 at pci0 dev 16 function 2 VIA VT83C572 USB rev 0x91: irq 10
uhci3 at pci0 dev 16 function 3 VIA VT83C572 USB rev 0x91: irq 5
ehci0 at pci0 dev 16 function 4 VIA VT6202 USB rev 0x90: irq 7
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 VIA EHCI root hub rev 2.00/1.00 addr 1
viapm0 at pci0 dev 17 function 0 VIA VT8251 ISA rev 0x00
iic0 at viapm0
spdmem0 at iic0 addr 0x50: 512MB DDR2 

Re: FW: Broadcom BCM5787

2009-10-05 Thread Stuart Henderson
On 2009/10/05 14:03, Daniel Rapp wrote:
 Hi, Here are the dmesg and pcidump -v
 
 I have asked the developers and they are positive ther is two gigabit
 network ports with BCM5787 chipset on there, there are also two 10/100
 ports with the BCM4401 and those are found..

 pchb6 at pci0 dev 17 function 7 VIA VT8251 VLINK rev 0x00

you need sys/arch/i386/pci/pchb.c r1.78 - you can either run a
snapshot or backport it yourself.