Re: 6.2 bge regression

2007-01-29 Thread Peter Jeremy
On Mon, 2007-Jan-29 17:01:05 +1030, Daniel O'Connor wrote:
I have some Supermicro P8SCT based systems I would like to run 6.2 on,
unfortunately something between 6.1 and 6.2 has broken bge on this board.

This board has 2 bge's and the first one is on before the BIOS hands off to
the OS (I can see the activity light flash) but when the kernel attaches the
light stops flashing. An ifconfig says 'no carrier'.

Do you have a better idea than between 6.1 and 6.2 as to when it broke?
There was a fair amount of work on bge in that time so knowing CVSup dates
or revisions could be useful.

What speed switch are you using?  Auto-negotiate or hard-wired?  If
you have a managed switch, does switching between hard-wires and
auto-negotiate have any effect?

I have an older bge (BCM5705 A3 NIC/PHY) running 6.2 and the initial
ifconfig (during rc.d processing) normally reports no carrier but
it recovers in a second or so (it's OK by the time ntpdate wants
the network).  I presume you find that ifconfig is still reporting
no carrier once it's in multi-user mode.

-- 
Peter Jeremy


pgpLuJzvo8Qa5.pgp
Description: PGP signature


Re: 6.2 bge regression

2007-01-29 Thread Daniel O'Connor
On Monday 29 January 2007 20:11, Peter Jeremy wrote:
 Do you have a better idea than between 6.1 and 6.2 as to when it broke?
 There was a fair amount of work on bge in that time so knowing CVSup dates
 or revisions could be useful.

No :(
I have updated to RELENG_6 as of today and will try that tomorrow morning.

If that doesn't work I'll try a binary search.

 What speed switch are you using?  Auto-negotiate or hard-wired?  If
 you have a managed switch, does switching between hard-wires and
 auto-negotiate have any effect?

Currently it's connected to a 10mbit hub :)
(Very crusty, I know)

I've tried hard wiring it to 10BaseT/UTP but no change.

 I have an older bge (BCM5705 A3 NIC/PHY) running 6.2 and the initial
 ifconfig (during rc.d processing) normally reports no carrier but
 it recovers in a second or so (it's OK by the time ntpdate wants
 the network).  I presume you find that ifconfig is still reporting
 no carrier once it's in multi-user mode.

I am booting install media, but this is long past the kernel startup - I run 
the CD/DVD shell and then run ifconfig.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgp6mvm38sNSC.pgp
Description: PGP signature


Re: 6.2 bge regression

2007-01-29 Thread Daniel O'Connor
On Monday 29 January 2007 21:32, Daniel O'Connor wrote:
 Currently it's connected to a 10mbit hub :)
 (Very crusty, I know)

 I've tried hard wiring it to 10BaseT/UTP but no change.

I just dug out a spare switch (god knows why the hub was still in place) and 
it works fine with that.

I then tried the 6.1 system with the switch and it worked (duh) but when I 
went to switch back to the hub it wouldn't work..

I don't know how the 6.1 box worked with the hub since I can't get it to work 
now, perhaps the hub is busted.

So, in conclusion, I think bge(4) is OK :)

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgpBCE5By8dgs.pgp
Description: PGP signature


6.2 bge regression

2007-01-28 Thread Daniel O'Connor
I have some Supermicro P8SCT based systems I would like to run 6.2 on,
unfortunately something between 6.1 and 6.2 has broken bge on this board.

This board has 2 bge's and the first one is on before the BIOS hands off to
the OS (I can see the activity light flash) but when the kernel attaches the
light stops flashing. An ifconfig says 'no carrier'.

bge0: Broadcom BCM5721 Gigabit Ethernet, ASIC rev. 0x4101 mem 
0xd100-0xd100 irq 16 at device 0.0 on pci3
miibus0: MII bus on bge0
brgphy0: BCM5750 10/100/1000baseTX PHY on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
1000baseTX-FDX, auto
bge0: Ethernet address: 00:30:48:89:be:5c
pcib4: ACPI PCI-PCI bridge irq 17 at device 28.1 on pci0
pci4: ACPI PCI bus on pcib4
bge1: Broadcom BCM5721 Gigabit Ethernet, ASIC rev. 0x4101 mem 
0xd110-0xd110 irq 17 at device 0.0 on pci4
miibus1: MII bus on bge1
brgphy1: BCM5750 10/100/1000baseTX PHY on miibus1
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
1000baseTX-FDX, auto
bge1: Ethernet address: 00:30:48:89:be:5d

From pciconf..
[EMAIL PROTECTED]:0:0:  class=0x02 card=0x02c615d9 chip=0x165914e4 rev=0x11 
hdr=0x00
[EMAIL PROTECTED]:0:0:  class=0x02 card=0x02c615d9 chip=0x165914e4 rev=0x11 
hdr=0x00

This system was updated using CVS so it's really 6.2-PRERELEASE, I am about
to try updating again to RELENG_6 and seeing if I was perhaps out of sync.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgpLOIHsAga7u.pgp
Description: PGP signature


Re: 6.2 bge regression

2007-01-28 Thread LI Xin
Hi, Daniel,

Daniel O'Connor wrote:
 I have some Supermicro P8SCT based systems I would like to run 6.2 on,
 unfortunately something between 6.1 and 6.2 has broken bge on this board.
 
 This board has 2 bge's and the first one is on before the BIOS hands off to
 the OS (I can see the activity light flash) but when the kernel attaches the
 light stops flashing. An ifconfig says 'no carrier'.
 
 bge0: Broadcom BCM5721 Gigabit Ethernet, ASIC rev. 0x4101 mem 
 0xd100-0xd100 irq 16 at device 0.0 on pci3
 miibus0: MII bus on bge0
 brgphy0: BCM5750 10/100/1000baseTX PHY on miibus0
 brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
 1000baseTX-FDX, auto
 bge0: Ethernet address: 00:30:48:89:be:5c
 pcib4: ACPI PCI-PCI bridge irq 17 at device 28.1 on pci0
 pci4: ACPI PCI bus on pcib4
 bge1: Broadcom BCM5721 Gigabit Ethernet, ASIC rev. 0x4101 mem 
 0xd110-0xd110 irq 17 at device 0.0 on pci4
 miibus1: MII bus on bge1
 brgphy1: BCM5750 10/100/1000baseTX PHY on miibus1
 brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
 1000baseTX-FDX, auto
 bge1: Ethernet address: 00:30:48:89:be:5d
 
 From pciconf..
 [EMAIL PROTECTED]:0:0:  class=0x02 card=0x02c615d9 chip=0x165914e4 
 rev=0x11 hdr=0x00
 [EMAIL PROTECTED]:0:0:  class=0x02 card=0x02c615d9 chip=0x165914e4 
 rev=0x11 hdr=0x00
 
 This system was updated using CVS so it's really 6.2-PRERELEASE, I am about
 to try updating again to RELENG_6 and seeing if I was perhaps out of sync.

There is no difference between RELENG_6_2 and RELENG_6, so I think you
should expect no change.  I have backported some interesting changes
against bge(4) here:

http://people.freebsd.org/~delphij/misc/patch-bge-releng62

You may try it out to see if things gets improved, but I am not very
confident about that, because the changes are mostly unrelated to
BCM5752.  Also, we would appreciate if you could help to test if the
latest -CURRENT snapshot can make your NIC to work correctly, because it
looks like that we need a more complete MFC of the bge(4) changes, not
just the ones I have chosen (for my personal needs).

Cheers,
-- 
Xin LI [EMAIL PROTECTED]  http://www.delphij.net/
FreeBSD - The Power to Serve!



signature.asc
Description: OpenPGP digital signature