Re: Broadcom BCM5752 NIC

2006-02-06 Thread Badbanchi Hossein
Thanks everybody for helpful hints.

Dear Brad,
This morning downloaded the latest i386 snapshot and installed it.

Although I still get the error message firmware handshake timed out, but after
the machine boots, the NIC speed is OK.

Thanks for your engagement.

Regards,
Amir



Re: Broadcom BCM5752 NIC

2006-02-03 Thread Badbanchi Hossein
:28:20 susrocdns2 savecore: no core dump

Regards,
Amir


-Original Message-
From: Brad [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 02, 2006 23:28
To: Badbanchi Hossein
Subject: Re: Broadcom BCM5752 NIC

Ok thanks. I think another developer mentioned something similar to this awhile 
ago.
As I had asked earlier, please try a snapshot and let me know how it goes.


On Thu, Feb 02, 2006 at 11:24:01PM +0100, Badbanchi Hossein wrote:
 I saw this message from both the kernel on the CD during installation AND 
 after booting from the installed kernel on the disk.
 
 Here is my messages file:
 Feb  2 05:13:11 susrocdns1 syslogd: restart
 Feb  2 05:13:11 susrocdns1 /bsd: syncing disks...
 Feb  2 05:13:11 susrocdns1 /bsd: OpenBSD 3.8 (RAMDISK_CD) #794: Sat Sep 10 
 15:58:32 MDT 2005
 Feb  2 05:13:11 susrocdns1 /bsd: [EMAIL 
 PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK_CD
 Feb  2 05:13:11 susrocdns1 /bsd: cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz 
 (GenuineIntel 686-class) 3 GHz
 Feb  2 05:13:11 susrocdns1 /bsd: cpu0: 
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,EST,CNXT-ID
 Feb  2 05:13:11 susrocdns1 /bsd: real mem  = 527863808 (515492K)
 Feb  2 05:13:11 susrocdns1 /bsd: avail mem = 475762688 (464612K)
 Feb  2 05:13:11 susrocdns1 /bsd: using 4278 buffers containing 26497024 bytes 
 (25876K) of memory
 Feb  2 05:13:11 susrocdns1 /bsd: mainbus0 (root)
 Feb  2 05:13:11 susrocdns1 /bsd: bios0 at mainbus0: AT/286+(b0) BIOS, date 
 05/18/05, BIOS32 rev. 0 @ 0xeb660
 Feb  2 05:13:11 susrocdns1 /bsd: pcibios0 at bios0: rev 2.2 @ 0xeb660/0x49a0
 Feb  2 05:13:11 susrocdns1 /bsd: pcibios0: PCI IRQ Routing Table rev 1.0 @ 
 0xf5680/240 (13 entries)
 Feb  2 05:13:11 susrocdns1 /bsd: pcibios0: PCI Interrupt Router at 000:31:0 
 (Intel 82801GB LPC rev 0x00)
 Feb  2 05:13:11 susrocdns1 /bsd: pcibios0: PCI bus #3 is the last bus
 Feb  2 05:13:11 susrocdns1 /bsd: bios0: ROM list: 0xc/0xaa00! 
 0xcaa00/0x1000 0xcba00/0x1800 0xe8c00/0x7400!
 Feb  2 05:13:11 susrocdns1 /bsd: cpu0 at mainbus0
 Feb  2 05:13:11 susrocdns1 /bsd: pci0 at mainbus0 bus 0: configuration mode 1 
 (no bios)
 Feb  2 05:13:11 susrocdns1 /bsd: pchb0 at pci0 dev 0 function 0 Intel 
 82945GP rev 0x02
 Feb  2 05:13:11 susrocdns1 /bsd: vga1 at pci0 dev 2 function 0 vendor 
 Intel, unknown product 0x2772 rev 0x02
 Feb  2 05:13:11 susrocdns1 /bsd: wsdisplay0 at vga1 mux 1: console (80x25, 
 vt100 emulation)
 Feb  2 05:13:11 susrocdns1 /bsd: vendor Intel, unknown product 0x2776 
 (class display subclass miscellaneous, rev 0x02) at pci0 dev 2 function 1 not 
 configured
 Feb  2 05:13:11 susrocdns1 /bsd: Intel 82801GB HD Audio rev 0x01 at pci0 
 dev 27 function 0 not configured
 Feb  2 05:13:11 susrocdns1 /bsd: ppb0 at pci0 dev 28 function 0 Intel 
 82801GB PCIE rev 0x01
 Feb  2 05:13:11 susrocdns1 /bsd: pci1 at ppb0 bus 1
 Feb  2 05:13:11 susrocdns1 /bsd: ppb1 at pci0 dev 28 function 1 Intel 
 82801GB PCIE rev 0x01
 Feb  2 05:13:11 susrocdns1 /bsd: pci2 at ppb1 bus 2
 Feb  2 05:13:11 susrocdns1 /bsd: bge0 at pci2 dev 0 function 0 Broadcom 
 BCM5752 rev 0x01, BCM5752 A1 (0x6001): irq 10bge0: firmware handshake timed 
 out
 Feb  2 05:13:11 susrocdns1 /bsd:  address 00:15:60:4f:22:e4
 Feb  2 05:13:11 susrocdns1 /bsd: brgphy0 at bge0 phy 1: BCM5752 
 10/100/1000baseT PHY, rev. 0
 Feb  2 05:13:11 susrocdns1 /bsd: uhci0 at pci0 dev 29 function 0 Intel 
 82801GB USB rev 0x01: irq 5
 Feb  2 05:13:11 susrocdns1 /bsd: usb0 at uhci0: USB revision 1.0
 Feb  2 05:13:11 susrocdns1 /bsd: uhub0 at usb0
 Feb  2 05:13:11 susrocdns1 /bsd: uhub0: Intel UHCI root hub, rev 1.00/1.00, 
 addr 1
 Feb  2 05:13:11 susrocdns1 /bsd: uhub0: 2 ports with 2 removable, self powered
 Feb  2 05:13:11 susrocdns1 /bsd: uhci1 at pci0 dev 29 function 1 Intel 
 82801GB USB rev 0x01: irq 10
 Feb  2 05:13:11 susrocdns1 /bsd: usb1 at uhci1: USB revision 1.0
 Feb  2 05:13:11 susrocdns1 /bsd: uhub1 at usb1
 Feb  2 05:13:11 susrocdns1 /bsd: uhub1: Intel UHCI root hub, rev 1.00/1.00, 
 addr 1
 Feb  2 05:13:11 susrocdns1 /bsd: uhub1: 2 ports with 2 removable, self powered
 Feb  2 05:13:11 susrocdns1 /bsd: uhci2 at pci0 dev 29 function 2 Intel 
 82801GB USB rev 0x01: irq 11
 Feb  2 05:13:11 susrocdns1 /bsd: usb2 at uhci2: USB revision 1.0
 Feb  2 05:13:11 susrocdns1 /bsd: uhub2 at usb2
 Feb  2 05:13:11 susrocdns1 /bsd: uhub2: Intel UHCI root hub, rev 1.00/1.00, 
 addr 1
 Feb  2 05:13:11 susrocdns1 /bsd: uhub2: 2 ports with 2 removable, self powered
 Feb  2 05:13:11 susrocdns1 /bsd: uhci3 at pci0 dev 29 function 3 Intel 
 82801GB USB rev 0x01: irq 11
 Feb  2 05:13:11 susrocdns1 /bsd: usb3 at uhci3: USB revision 1.0
 Feb  2 05:13:11 susrocdns1 /bsd: uhub3 at usb3
 Feb  2 05:13:11 susrocdns1 /bsd: uhub3: Intel UHCI root hub, rev 1.00/1.00, 
 addr 1
 Feb  2 05:13:11 susrocdns1 /bsd: uhub3: 2 ports with 2 removable, self powered
 Feb  2 05:13:11 susrocdns1 /bsd: ehci0 at pci0 dev 29 function 7 Intel 
 82801GB USB rev

Re: Broadcom BCM5752 NIC

2006-02-03 Thread Srebrenko Sehic
On 2/3/06, Badbanchi Hossein [EMAIL PROTECTED] wrote:

 Hi,
 This morning I installed the kernel from the snapshot.

 The only (cosmetic) difference is that the time-out values are reduced, so
 it doesn't take that long as before for the system to boot, but
 the BCM5752 NIC is still not functioning properly!

Ok. Try this. Power-off you machine, unplug the cable from the network
card and boot the machine with the latest -current snapshot. Look for
firmware handshake error message.

It seems like that Broadcom network cards, if not initialized properly
(this could've happened when you booted 3.8), have to be
re-initialized properly in order to function again. This happened on
my IBM e326m and the above approach solved the problem.



Re: Broadcom BCM5752 NIC

2006-02-03 Thread Andrew Smith
I'm not sure about the level of support for this card in OpenBSD (this says
more about the level of support by Broadcomm for Open Source operating
systems development effort).

The bge driver does support some of that range of cards but I can't say if
that one specifically is supported. - if it uses it's own unique PCIID then
it is definitely missing support in the bge driver (since it isn't listed in
the pci_matchid structure (bge_devices) table for that driver [-current cvs
checked also]). You could possible compare functionality against one of the
other cards and try adding a PCIID for it if it's close enough to one of the
others.. (you are obviously into full testing etc. if you do adopt this
approach).

It's sad to say though that the card may not be supported without a lot more
work though... if anyone else has this card working then please correct me.

In the http://www.openbsd.org/faq/faq6.html page I found the following
phrase which I have to say I enjoyed very much but you may of course get
less enjoyment from it.. sorry.

'Other manufacturers, such as Broadcom, Texas Instruments and Connexant have
actively fought our attempts to develop free drivers for their products.'


- Andy

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Badbanchi Hossein
Sent: 03 February 2006 12:08
To: Brad
Cc: misc@openbsd.org
Subject: Re: Broadcom BCM5752 NIC

Hi,
This morning I installed the kernel from the snapshot.

The only (cosmetic) difference is that the time-out values are reduced, so
it doesn't take that long as before for the system to boot, but
the BCM5752 NIC is still not functioning properly!

Still the output of a ls command is interrupted several times.

This system should be sent to a remote site to act as a DNS/DHCP Server.
I suppose I had better install a 3com NIC into the box and use that.
Even if the snapshot had functioned, I don't think that it is a good idea
to use a beta version in production environment.

The in-line /var/log/messages file which I transferred to my PC via scp
could only be transmitted with 2.8 kB/s.

Here is the latest /var/log/messages file:
Feb  3 06:28:20 susrocdns2 syslogd: restart
Feb  3 06:28:20 susrocdns2 /bsd: OpenBSD 3.9-beta (RAMDISK_CD) #1005: Mon
Jan 30 12:31:07 MST 2006
Feb  3 06:28:20 susrocdns2 /bsd:
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK_CD
Feb  3 06:28:20 susrocdns2 /bsd: cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz
(GenuineIntel 686-class) 3 GHz
Feb  3 06:28:20 susrocdns2 /bsd: cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLU
SH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,EST,CNXT-ID
Feb  3 06:28:20 susrocdns2 /bsd: real mem  = 527863808 (515492K)
Feb  3 06:28:20 susrocdns2 /bsd: avail mem = 475787264 (464636K)
Feb  3 06:28:20 susrocdns2 /bsd: using 4278 buffers containing 26497024
bytes (25876K) of memory
Feb  3 06:28:20 susrocdns2 /bsd: mainbus0 (root)
Feb  3 06:28:20 susrocdns2 /bsd: bios0 at mainbus0: AT/286+(b0) BIOS, date
05/18/05, BIOS32 rev. 0 @ 0xeb660
Feb  3 06:28:20 susrocdns2 /bsd: pcibios0 at bios0: rev 2.2 @ 0xeb660/0x49a0
Feb  3 06:28:20 susrocdns2 /bsd: pcibios0: PCI IRQ Routing Table rev 1.0 @
0xf5680/240 (13 entries)
Feb  3 06:28:20 susrocdns2 /bsd: pcibios0: PCI Interrupt Router at 000:31:0
(Intel 82801GB LPC rev 0x00)
Feb  3 06:28:20 susrocdns2 /bsd: pcibios0: PCI bus #3 is the last bus
Feb  3 06:28:20 susrocdns2 /bsd: bios0: ROM list: 0xc/0xaa00!
0xcaa00/0x1000 0xcba00/0x1800 0xe8c00/0x7400!
Feb  3 06:28:20 susrocdns2 /bsd: cpu0 at mainbus0
Feb  3 06:28:20 susrocdns2 /bsd: pci0 at mainbus0 bus 0: configuration mode
1 (no bios)
Feb  3 06:28:20 susrocdns2 /bsd: pchb0 at pci0 dev 0 function 0 Intel
82945GP rev 0x02
Feb  3 06:28:20 susrocdns2 /bsd: vga1 at pci0 dev 2 function 0 Intel 82945G
Video rev 0x02
Feb  3 06:28:20 susrocdns2 /bsd: wsdisplay0 at vga1 mux 1: console (80x25,
vt100 emulation)
Feb  3 06:28:20 susrocdns2 /bsd: Intel 82945G Video rev 0x02 at pci0 dev 2
function 1 not configured
Feb  3 06:28:20 susrocdns2 /bsd: Intel 82801GB HD Audio rev 0x01 at pci0
dev 27 function 0 not configured
Feb  3 06:28:20 susrocdns2 /bsd: ppb0 at pci0 dev 28 function 0 Intel
82801GB PCIE rev 0x01
Feb  3 06:28:20 susrocdns2 /bsd: pci1 at ppb0 bus 1
Feb  3 06:28:20 susrocdns2 /bsd: ppb1 at pci0 dev 28 function 1 Intel
82801GB PCIE rev 0x01
Feb  3 06:28:20 susrocdns2 /bsd: pci2 at ppb1 bus 2
Feb  3 06:28:20 susrocdns2 /bsd: bge0 at pci2 dev 0 function 0 Broadcom
BCM5752 rev 0x01, BCM5752 A1 (0x6001): irq 10bge0: firmware handshake timed
out
Feb  3 06:28:20 susrocdns2 /bsd: , address 00:15:60:4f:25:35
Feb  3 06:28:20 susrocdns2 /bsd: brgphy0 at bge0 phy 1: BCM5752
10/100/1000baseT PHY, rev. 0
Feb  3 06:28:20 susrocdns2 /bsd: uhci0 at pci0 dev 29 function 0 Intel
82801GB USB rev 0x01: irq 5
Feb  3 06:28:20 susrocdns2 /bsd: usb0 at uhci0: USB revision 1.0
Feb  3 06:28:20 susrocdns2 /bsd: uhub0 at usb0
Feb  3 06:28:20 susrocdns2 /bsd: uhub0: Intel UHCI root hub

FW: Broadcom BCM5752 NIC

2006-02-03 Thread Andrew Smith
*sigh* ok, ignore that last posting.

I'm an idiot responding to these posts when I'm spaced out with a cold. (no
flame needed)

I was looking for 5725 not 5752. There is an ID for the 5752 in the driver
:P

Good luck,

- Andy

-Original Message-
From: Andrew Smith [mailto:[EMAIL PROTECTED] 
Sent: 03 February 2006 13:24
To: 'misc@openbsd.org'
Subject: RE: Broadcom BCM5752 NIC

I'm not sure about the level of support for this card in OpenBSD (this says
more about the level of support by Broadcomm for Open Source operating
systems development effort).

The bge driver does support some of that range of cards but I can't say if
that one specifically is supported. - if it uses it's own unique PCIID then
it is definitely missing support in the bge driver (since it isn't listed in
the pci_matchid structure (bge_devices) table for that driver [-current cvs
checked also]). You could possible compare functionality against one of the
other cards and try adding a PCIID for it if it's close enough to one of the
others.. (you are obviously into full testing etc. if you do adopt this
approach).

It's sad to say though that the card may not be supported without a lot more
work though... if anyone else has this card working then please correct me.

In the http://www.openbsd.org/faq/faq6.html page I found the following
phrase which I have to say I enjoyed very much but you may of course get
less enjoyment from it.. sorry.

'Other manufacturers, such as Broadcom, Texas Instruments and Connexant have
actively fought our attempts to develop free drivers for their products.'


- Andy

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Badbanchi Hossein
Sent: 03 February 2006 12:08
To: Brad
Cc: misc@openbsd.org
Subject: Re: Broadcom BCM5752 NIC

Hi,
This morning I installed the kernel from the snapshot.

The only (cosmetic) difference is that the time-out values are reduced, so
it doesn't take that long as before for the system to boot, but
the BCM5752 NIC is still not functioning properly!

Still the output of a ls command is interrupted several times.

This system should be sent to a remote site to act as a DNS/DHCP Server.
I suppose I had better install a 3com NIC into the box and use that.
Even if the snapshot had functioned, I don't think that it is a good idea
to use a beta version in production environment.

The in-line /var/log/messages file which I transferred to my PC via scp
could only be transmitted with 2.8 kB/s.

Here is the latest /var/log/messages file:
Feb  3 06:28:20 susrocdns2 syslogd: restart
Feb  3 06:28:20 susrocdns2 /bsd: OpenBSD 3.9-beta (RAMDISK_CD) #1005: Mon
Jan 30 12:31:07 MST 2006
Feb  3 06:28:20 susrocdns2 /bsd:
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK_CD
Feb  3 06:28:20 susrocdns2 /bsd: cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz
(GenuineIntel 686-class) 3 GHz
Feb  3 06:28:20 susrocdns2 /bsd: cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLU
SH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,EST,CNXT-ID
Feb  3 06:28:20 susrocdns2 /bsd: real mem  = 527863808 (515492K)
Feb  3 06:28:20 susrocdns2 /bsd: avail mem = 475787264 (464636K)
Feb  3 06:28:20 susrocdns2 /bsd: using 4278 buffers containing 26497024
bytes (25876K) of memory
Feb  3 06:28:20 susrocdns2 /bsd: mainbus0 (root)
Feb  3 06:28:20 susrocdns2 /bsd: bios0 at mainbus0: AT/286+(b0) BIOS, date
05/18/05, BIOS32 rev. 0 @ 0xeb660
Feb  3 06:28:20 susrocdns2 /bsd: pcibios0 at bios0: rev 2.2 @ 0xeb660/0x49a0
Feb  3 06:28:20 susrocdns2 /bsd: pcibios0: PCI IRQ Routing Table rev 1.0 @
0xf5680/240 (13 entries)
Feb  3 06:28:20 susrocdns2 /bsd: pcibios0: PCI Interrupt Router at 000:31:0
(Intel 82801GB LPC rev 0x00)
Feb  3 06:28:20 susrocdns2 /bsd: pcibios0: PCI bus #3 is the last bus
Feb  3 06:28:20 susrocdns2 /bsd: bios0: ROM list: 0xc/0xaa00!
0xcaa00/0x1000 0xcba00/0x1800 0xe8c00/0x7400!
Feb  3 06:28:20 susrocdns2 /bsd: cpu0 at mainbus0
Feb  3 06:28:20 susrocdns2 /bsd: pci0 at mainbus0 bus 0: configuration mode
1 (no bios)
Feb  3 06:28:20 susrocdns2 /bsd: pchb0 at pci0 dev 0 function 0 Intel
82945GP rev 0x02
Feb  3 06:28:20 susrocdns2 /bsd: vga1 at pci0 dev 2 function 0 Intel 82945G
Video rev 0x02
Feb  3 06:28:20 susrocdns2 /bsd: wsdisplay0 at vga1 mux 1: console (80x25,
vt100 emulation)
Feb  3 06:28:20 susrocdns2 /bsd: Intel 82945G Video rev 0x02 at pci0 dev 2
function 1 not configured
Feb  3 06:28:20 susrocdns2 /bsd: Intel 82801GB HD Audio rev 0x01 at pci0
dev 27 function 0 not configured
Feb  3 06:28:20 susrocdns2 /bsd: ppb0 at pci0 dev 28 function 0 Intel
82801GB PCIE rev 0x01
Feb  3 06:28:20 susrocdns2 /bsd: pci1 at ppb0 bus 1
Feb  3 06:28:20 susrocdns2 /bsd: ppb1 at pci0 dev 28 function 1 Intel
82801GB PCIE rev 0x01
Feb  3 06:28:20 susrocdns2 /bsd: pci2 at ppb1 bus 2
Feb  3 06:28:20 susrocdns2 /bsd: bge0 at pci2 dev 0 function 0 Broadcom
BCM5752 rev 0x01, BCM5752 A1 (0x6001): irq 10bge0: firmware handshake timed
out
Feb  3 06:28:20 susrocdns2 /bsd

Re: Broadcom BCM5752 NIC

2006-02-03 Thread Badbanchi Hossein
Hi,
I did exactly as you have written. I even reinstalled from scratch using the 
snapshot
I had downloaded last night.

Both during the installation AND after a boot from the installed kernel I get 
the
same error message, but the time it takes to time out is much less now.

The same error message can be seen also when after the boot the OS tries to
initialize the NIC with appropriate IP parameters.

Good news is that afterwards the NIC works at normal speed!!

Regards,


-Original Message-
From: Srebrenko Sehic [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 03, 2006 14:05
To: Badbanchi Hossein
Cc: misc
Subject: Re: Broadcom BCM5752 NIC

On 2/3/06, Badbanchi Hossein [EMAIL PROTECTED] wrote:

 Hi,
 This morning I installed the kernel from the snapshot.

 The only (cosmetic) difference is that the time-out values are reduced, so
 it doesn't take that long as before for the system to boot, but
 the BCM5752 NIC is still not functioning properly!

Ok. Try this. Power-off you machine, unplug the cable from the network
card and boot the machine with the latest -current snapshot. Look for
firmware handshake error message.

It seems like that Broadcom network cards, if not initialized properly
(this could've happened when you booted 3.8), have to be
re-initialized properly in order to function again. This happened on
my IBM e326m and the above approach solved the problem.



Re: Broadcom BCM5752 NIC

2006-02-03 Thread Daniel Ouellet

Badbanchi Hossein wrote:

Hi,
I did exactly as you have written. I even reinstalled from scratch using the 
snapshot
I had downloaded last night.

Both during the installation AND after a boot from the installed kernel I get 
the
same error message, but the time it takes to time out is much less now.

The same error message can be seen also when after the boot the OS tries to
initialize the NIC with appropriate IP parameters.

Good news is that afterwards the NIC works at normal speed!!


The snapshot you got are from January 30, and if you look at the email I 
send on this, you will see that changes were done in the last three 
days. So, not recent to fix the issue.


Either continue with today updates, or wait a few more days for a new 
snapshot, but the fixes are NOT in the snapshot you installed.


Trust me!

Brad fixed them all and it is fast! But not in the snapshot yet, sorry.



Re: Broadcom BCM5752 NIC

2006-02-03 Thread Daniel Ouellet

Badbanchi Hossein wrote:

Hi,
I did exactly as you have written. I even reinstalled from scratch using the 
snapshot
I had downloaded last night.



Here is some examples of some of the changes that fix all of this:

http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pci/if_bge.c

Look at the time these changes were done, then look at your snapshot 
date. (;




Re: Broadcom BCM5752 NIC

2006-02-03 Thread Badbanchi Hossein
 Either continue with today updates, or wait a few more days for a new 
 snapshot, but the fixes are NOT in the snapshot you installed.
 A Trust me!
 Brad fixed them all and it is fast! But not in the snapshot yet, sorry.

Thanks for the clue.

I just looked at the snapshot directory and the file dates are still
30/1/2006 except the x...tgz files which I do not install at all.

I suppose I have to wait a couple of days until the snapshot is updated,
because I have never compiled a kernel myself.

Regards,
Amir



Broadcom BCM5752 NIC

2006-02-02 Thread Badbanchi Hossein
Hi,
Have recently got an HP Compaq dc7600 to be used as DHCP Server.

OpenBSD 3.8 install couldn't properly work with the Broadcom BCM5752 NIC!

The Error says: 
bge0: firmware handshake timed out

After installation was complete, now each time I reboot the system it takes a 
long
time for the system to boot. It waits during initial boot and a second time 
while
trying to configure the NIC with IP parameters, until it times out (both times
with the same error as above).

After the boot process is complete the NIC works!! I mean I can ping the box.
I haven't tested the throughput of the NIC though.

Here is an excerpt from dmesg:
# dmesg | grep bge
bge0 at pci2 dev 0 function 0 Broadcom BCM5752 rev 0x01, BCM5752 A1 (0x6001): 
irq 10bge0: firmware handshake timed out
brgphy0 at bge0 phy 1: BCM5752 10/100/1000baseT PHY, rev. 0
bge0: firmware handshake timed out
# 

And here is an excerpt from man brgphy:
DESCRIPTION
 The brgphy driver supports Broadcom BCM5400 100/1000TX Ethernet PHY in-
 terfaces, as well as the BCM5401, BCM5411, BCM5421S, BCM5701, BCM5703,
 BCM5704, BCM5705, BCM5714, BCM5750 and BCM5752 10/100/1000baseTX Ethernet
 PHY interfaces.

I would greatly appreciate any help?

Amir



Re: Broadcom BCM5752 NIC

2006-02-02 Thread Badbanchi Hossein
Actually the NIC doesn't work properly. I can ssh to the box, but even output of
a simple ls command takes seconds to appear on the screen, and gets 
interrupted
in between.

Does anyone know of any patch for this?

Here is the output of ifconfig:
# ifconfig -a
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33224
groups: lo
inet 127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
bge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:15:60:4f:22:e4
groups: egress
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 172.22.11.235 netmask 0xfc00 broadcast 172.22.11.255
inet6 fe80::215:60ff:fe4f:22e4%bge0 prefixlen 64 scopeid 0x1
pflog0: flags=0 mtu 33224
pfsync0: flags=0 mtu 1348
enc0: flags=0 mtu 1536

Thanks for any assistance.

Amir

-Original Message-
From: Badbanchi Hossein 
Sent: Thursday, February 02, 2006 19:36
To: misc@openbsd.org
Subject: Broadcom BCM5752 NIC

Hi,
Have recently got an HP Compaq dc7600 to be used as DHCP Server.

OpenBSD 3.8 install couldn't properly work with the Broadcom BCM5752 NIC!

The Error says: 
bge0: firmware handshake timed out

After installation was complete, now each time I reboot the system it takes a 
long
time for the system to boot. It waits during initial boot and a second time 
while
trying to configure the NIC with IP parameters, until it times out (both times
with the same error as above).

After the boot process is complete the NIC works!! I mean I can ping the box.
I haven't tested the throughput of the NIC though.

Here is an excerpt from dmesg:
# dmesg | grep bge
bge0 at pci2 dev 0 function 0 Broadcom BCM5752 rev 0x01, BCM5752 A1 (0x6001): 
irq 10bge0: firmware handshake timed out
brgphy0 at bge0 phy 1: BCM5752 10/100/1000baseT PHY, rev. 0
bge0: firmware handshake timed out
# 

And here is an excerpt from man brgphy:
DESCRIPTION
 The brgphy driver supports Broadcom BCM5400 100/1000TX Ethernet PHY in-
 terfaces, as well as the BCM5401, BCM5411, BCM5421S, BCM5701, BCM5703,
 BCM5704, BCM5705, BCM5714, BCM5750 and BCM5752 10/100/1000baseTX Ethernet
 PHY interfaces.

I would greatly appreciate any help?

Amir



Re: Broadcom BCM5752 NIC

2006-02-02 Thread Srebrenko Sehic
Try a -current snapshot. Some important bge(4) fixes went into the
tree after 3.8.

On 2/2/06, Badbanchi Hossein [EMAIL PROTECTED] wrote:
 Actually the NIC doesn't work properly. I can ssh to the box, but even output 
 of
 a simple ls command takes seconds to appear on the screen, and gets 
 interrupted
 in between.

 Does anyone know of any patch for this?

 Here is the output of ifconfig:
 # ifconfig -a
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33224
 groups: lo
 inet 127.0.0.1 netmask 0xff00
 inet6 ::1 prefixlen 128
 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
 bge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 lladdr 00:15:60:4f:22:e4
 groups: egress
 media: Ethernet autoselect (100baseTX full-duplex)
 status: active
 inet 172.22.11.235 netmask 0xfc00 broadcast 172.22.11.255
 inet6 fe80::215:60ff:fe4f:22e4%bge0 prefixlen 64 scopeid 0x1
 pflog0: flags=0 mtu 33224
 pfsync0: flags=0 mtu 1348
 enc0: flags=0 mtu 1536

 Thanks for any assistance.

 Amir

 -Original Message-
 From: Badbanchi Hossein
 Sent: Thursday, February 02, 2006 19:36
 To: misc@openbsd.org
 Subject: Broadcom BCM5752 NIC

 Hi,
 Have recently got an HP Compaq dc7600 to be used as DHCP Server.

 OpenBSD 3.8 install couldn't properly work with the Broadcom BCM5752 NIC!

 The Error says:
 bge0: firmware handshake timed out

 After installation was complete, now each time I reboot the system it takes a 
 long
 time for the system to boot. It waits during initial boot and a second time 
 while
 trying to configure the NIC with IP parameters, until it times out (both times
 with the same error as above).

 After the boot process is complete the NIC works!! I mean I can ping the box.
 I haven't tested the throughput of the NIC though.

 Here is an excerpt from dmesg:
 # dmesg | grep bge
 bge0 at pci2 dev 0 function 0 Broadcom BCM5752 rev 0x01, BCM5752 A1 
 (0x6001): irq 10bge0: firmware handshake timed out
 brgphy0 at bge0 phy 1: BCM5752 10/100/1000baseT PHY, rev. 0
 bge0: firmware handshake timed out
 #

 And here is an excerpt from man brgphy:
 DESCRIPTION
  The brgphy driver supports Broadcom BCM5400 100/1000TX Ethernet PHY in-
  terfaces, as well as the BCM5401, BCM5411, BCM5421S, BCM5701, BCM5703,
  BCM5704, BCM5705, BCM5714, BCM5750 and BCM5752 10/100/1000baseTX Ethernet
  PHY interfaces.

 I would greatly appreciate any help?

 Amir



Re: Broadcom BCM5752 NIC

2006-02-02 Thread Daniel Ouellet

Badbanchi Hossein wrote:

Actually the NIC doesn't work properly. I can ssh to the box, but even output of
a simple ls command takes seconds to appear on the screen, and gets 
interrupted
in between.



I would try current first, as in the last two days there was a lots of 
work and still some is going on now that may actually address your 
problem, but without proper testing and dmesg send back with the latest 
current, that's not going to help much now.


Trust me, it's worth the time to test and send the feedback. I can tell 
you that in my case, it wasn't working two days ago and now I saturate 
my switch big time!


So, do your share and test, you will love the results. It's worth to 
invest some of your time if you care about your results.


Daniel