Re: Network unavailable when booting directly to FreeBSD.

2012-06-26 Thread Pedro Giffuni
Hi again;

--- Mar 26/6/12, YongHyeon PYUN pyu...@gmail.com ha scritto:
...
 -0700, Pedro Giffuni wrote:
  Hi again;
  
  --- Dom 24/6/12, Pedro Giffuni p...@freebsd.org
 ha scritto:
  ...
   
   --- Lun 25/6/12, YongHyeon PYUN pyu...@gmail.com
   ha scritto:
   ...

Could you narrow down which commit broke
 bge(4)?

   
   Sean Bruno suggested it may be r233495, but I
 haven't
   found the time to revert it.
   
   I will let you know tomorrow.
   
  
  Reverting only r233495 didn't fix it either. This will
 
 Because your controller is not BCM5704, r233495 should have
 no
 effects. 
 
  take some time :(.
  
 
 Ok, if you happen to find guilty commit let me know.
 

Well...

To make it easier to test I dropped the kernel driver and
started using only the kld. I also reverted the driver back
to the 9.0R version.

The network card still gives me the watchdog timeouts
and now after X starts I lose control of the mouse and
the keyboard. I've seen similar reports on the latest
PC-BSD but they went away for me after I added the
USB stuff to /boot/defaults.

This is all very weird; I suspect it may be some issue
in the bus support and not really a driver issue :(.

HTH,

Pedro.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Network unavailable when booting directly to FreeBSD.

2012-06-25 Thread Pedro Giffuni
Hi again;

--- Dom 24/6/12, Pedro Giffuni p...@freebsd.org ha scritto:
...
 
 --- Lun 25/6/12, YongHyeon PYUN pyu...@gmail.com
 ha scritto:
 ...
  
  Could you narrow down which commit broke bge(4)?
  
 
 Sean Bruno suggested it may be r233495, but I haven't
 found the time to revert it.
 
 I will let you know tomorrow.
 

Reverting only r233495 didn't fix it either. This will
take some time :(.

Pedro.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Network unavailable when booting directly to FreeBSD.

2012-06-25 Thread YongHyeon PYUN
On Mon, Jun 25, 2012 at 02:22:54PM -0700, Pedro Giffuni wrote:
 Hi again;
 
 --- Dom 24/6/12, Pedro Giffuni p...@freebsd.org ha scritto:
 ...
  
  --- Lun 25/6/12, YongHyeon PYUN pyu...@gmail.com
  ha scritto:
  ...
   
   Could you narrow down which commit broke bge(4)?
   
  
  Sean Bruno suggested it may be r233495, but I haven't
  found the time to revert it.
  
  I will let you know tomorrow.
  
 
 Reverting only r233495 didn't fix it either. This will

Because your controller is not BCM5704, r233495 should have no
effects. 

 take some time :(.
 

Ok, if you happen to find guilty commit let me know.

 Pedro.
 
 
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Network unavailable when booting directly to FreeBSD.

2012-06-24 Thread YongHyeon PYUN
On Sat, Jun 23, 2012 at 01:04:44PM -0700, Pedro Giffuni wrote:
 Hello;

[...]

   Iff I boot Windows first and then reboot to start
   FreeBSD the network works fine.
  
  This looks strange and I can't narrow down what other
  changes made
  since 9.0-RELEASE broke the driver. Would you try reverting
  r235821?
  
 
 I reverted it manually but things didn't change.
 
  If that does not solve the issue, would you try a WIP
  version at
  the following URL? It's mainly written to improve BCM5720
  with APE
  firmware support and it exactly follows recommendations
  suggested
  by Broadcom so it may have some differences.
  
  http://people.freebsd.org/~yongari/bge/if_bge.c
  http://people.freebsd.org/~yongari/bge/if_bgereg.h
  http://people.freebsd.org/~yongari/bge/brgphy.c
  
 
 No joy either :(
 

Could you narrow down which commit broke bge(4)?

 Pedro.
 
 
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Network unavailable when booting directly to FreeBSD.

2012-06-24 Thread Pedro Giffuni


--- Lun 25/6/12, YongHyeon PYUN pyu...@gmail.com ha scritto:
...
 
 Could you narrow down which commit broke bge(4)?
 

Sean Bruno suggested it may be r233495, but I haven't
found the time to revert it.

I will let you know tomorrow.

Pedro.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Network unavailable when booting directly to FreeBSD.

2012-06-23 Thread YongHyeon PYUN
On Thu, Jun 21, 2012 at 02:05:33PM -0500, Pedro Giffuni wrote:
 Hello;
 
 I noticed a regression from 9.0 and I cannot boot directly FreeBSD
 and access the network. Unfortunately I cannot recall the exact
 commit where this started happening.
 
 uname -a
 FreeBSD pcbsd-8555 9.0-STABLE FreeBSD 9.0-STABLE #12: Wed May 30 
 11:16:35 PDT 2012 
 r...@build9x64.pcbsd.org:/usr/obj/builds/amd64/pcbsd-build90/fbsd-source/9.0/sys/GENERIC
  
 amd64
 
 From my dmesg
 __
 ...
 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
 pcib0: Length mismatch for 4 range: 81 vs 7f
 pci0: ACPI PCI bus on pcib0
 pci0: memory, RAM at device 0.0 (no driver attached)
 pci0: memory, RAM at device 0.1 (no driver attached)
 pci0: memory, RAM at device 0.2 (no driver attached)
 pci0: memory, RAM at device 0.3 (no driver attached)
 pci0: memory, RAM at device 0.4 (no driver attached)
 pci0: memory, RAM at device 0.5 (no driver attached)
 pci0: memory, RAM at device 0.6 (no driver attached)
 pci0: memory, RAM at device 0.7 (no driver attached)
 pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0
 pci1: ACPI PCI bus on pcib1
 pcib2: ACPI PCI-PCI bridge at device 3.0 on pci0
 pci2: ACPI PCI bus on pcib2
 bge0: Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 
 0x00b002 mem 0xfdef-0xfdef irq 16 at device 0.0 on pci2
 bge0: CHIP ID 0xb002; ASIC REV 0x0b; CHIP REV 0xb0; PCI-E
 miibus0: MII bus on bge0
 brgphy0: BCM5754/5787 1000BASE-T media interface PHY 1 on miibus0
 brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow
 bge0: Ethernet address: 00:18:8b:76:a4:1e
 pcib3: ACPI PCI-PCI bridge at device 4.0 on pci0
 pci3: ACPI PCI bus on pcib3
 
 
 Cuse4BSD v0.1.23 @ /dev/cuse
 bge0: watchdog timeout -- resetting
 bge0: watchdog timeout -- resetting
 WARNING: attempt to domain_add(bluetooth) after domainfinalize()
 fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8
 bge0: watchdog timeout -- resetting
 bge0: link state changed to DOWN
 bge0: link state changed to UP
 bge0: watchdog timeout -- resetting
 bge0: link state changed to DOWN
 bge0: link state changed to UP
 bge0: watchdog timeout -- resetting
 bge0: link state changed to DOWN
 bge0: link state changed to UP
 _
 
 Iff I boot Windows first and then reboot to start FreeBSD the network
 works fine.

This looks strange and I can't narrow down what other changes made
since 9.0-RELEASE broke the driver. Would you try reverting r235821?

If that does not solve the issue, would you try a WIP version at
the following URL? It's mainly written to improve BCM5720 with APE
firmware support and it exactly follows recommendations suggested
by Broadcom so it may have some differences.

http://people.freebsd.org/~yongari/bge/if_bge.c
http://people.freebsd.org/~yongari/bge/if_bgereg.h
http://people.freebsd.org/~yongari/bge/brgphy.c

 
 Pedro.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Network unavailable when booting directly to FreeBSD.

2012-06-23 Thread Pedro Giffuni
Hello;

--- Sab 23/6/12, YongHyeon PYUN pyu...@gmail.com ha scritto:
...
 
  amd64
  
  From my dmesg
  __
  ...
  pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on
 acpi0
  pcib0: Length mismatch for 4 range: 81 vs 7f
  pci0: ACPI PCI bus on pcib0
  pci0: memory, RAM at device 0.0 (no driver
 attached)
  pci0: memory, RAM at device 0.1 (no driver
 attached)
  pci0: memory, RAM at device 0.2 (no driver
 attached)
  pci0: memory, RAM at device 0.3 (no driver
 attached)
  pci0: memory, RAM at device 0.4 (no driver
 attached)
  pci0: memory, RAM at device 0.5 (no driver
 attached)
  pci0: memory, RAM at device 0.6 (no driver
 attached)
  pci0: memory, RAM at device 0.7 (no driver
 attached)
  pcib1: ACPI PCI-PCI bridge at device 2.0 on
 pci0
  pci1: ACPI PCI bus on pcib1
  pcib2: ACPI PCI-PCI bridge at device 3.0 on
 pci0
  pci2: ACPI PCI bus on pcib2
  bge0: Broadcom NetXtreme Gigabit Ethernet
 Controller, ASIC rev. 
  0x00b002 mem 0xfdef-0xfdef irq 16 at device
 0.0 on pci2
  bge0: CHIP ID 0xb002; ASIC REV 0x0b; CHIP REV 0xb0;
 PCI-E
  miibus0: MII bus on bge0
  brgphy0: BCM5754/5787 1000BASE-T media
 interface PHY 1 on miibus0
  brgphy0:  10baseT, 10baseT-FDX, 100baseTX,
 100baseTX-FDX, 1000baseT, 
  1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master,
 auto, auto-flow
  bge0: Ethernet address: 00:18:8b:76:a4:1e
  pcib3: ACPI PCI-PCI bridge at device 4.0 on
 pci0
  pci3: ACPI PCI bus on pcib3
  
  
  Cuse4BSD v0.1.23 @ /dev/cuse
  bge0: watchdog timeout -- resetting
  bge0: watchdog timeout -- resetting
  WARNING: attempt to domain_add(bluetooth) after
 domainfinalize()
  fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8
  bge0: watchdog timeout -- resetting
  bge0: link state changed to DOWN
  bge0: link state changed to UP
  bge0: watchdog timeout -- resetting
  bge0: link state changed to DOWN
  bge0: link state changed to UP
  bge0: watchdog timeout -- resetting
  bge0: link state changed to DOWN
  bge0: link state changed to UP
  _
  
  Iff I boot Windows first and then reboot to start
  FreeBSD the network works fine.
 
 This looks strange and I can't narrow down what other
 changes made
 since 9.0-RELEASE broke the driver. Would you try reverting
 r235821?
 

I reverted it manually but things didn't change.

 If that does not solve the issue, would you try a WIP
 version at
 the following URL? It's mainly written to improve BCM5720
 with APE
 firmware support and it exactly follows recommendations
 suggested
 by Broadcom so it may have some differences.
 
 http://people.freebsd.org/~yongari/bge/if_bge.c
 http://people.freebsd.org/~yongari/bge/if_bgereg.h
 http://people.freebsd.org/~yongari/bge/brgphy.c
 

No joy either :(

Pedro.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Network unavailable when booting directly to FreeBSD.

2012-06-21 Thread Pedro Giffuni

Hello;

I noticed a regression from 9.0 and I cannot boot directly FreeBSD
and access the network. Unfortunately I cannot recall the exact
commit where this started happening.

uname -a
FreeBSD pcbsd-8555 9.0-STABLE FreeBSD 9.0-STABLE #12: Wed May 30 
11:16:35 PDT 2012 
r...@build9x64.pcbsd.org:/usr/obj/builds/amd64/pcbsd-build90/fbsd-source/9.0/sys/GENERIC 
amd64


From my dmesg
__
...
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pcib0: Length mismatch for 4 range: 81 vs 7f
pci0: ACPI PCI bus on pcib0
pci0: memory, RAM at device 0.0 (no driver attached)
pci0: memory, RAM at device 0.1 (no driver attached)
pci0: memory, RAM at device 0.2 (no driver attached)
pci0: memory, RAM at device 0.3 (no driver attached)
pci0: memory, RAM at device 0.4 (no driver attached)
pci0: memory, RAM at device 0.5 (no driver attached)
pci0: memory, RAM at device 0.6 (no driver attached)
pci0: memory, RAM at device 0.7 (no driver attached)
pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0
pci1: ACPI PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge at device 3.0 on pci0
pci2: ACPI PCI bus on pcib2
bge0: Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 
0x00b002 mem 0xfdef-0xfdef irq 16 at device 0.0 on pci2

bge0: CHIP ID 0xb002; ASIC REV 0x0b; CHIP REV 0xb0; PCI-E
miibus0: MII bus on bge0
brgphy0: BCM5754/5787 1000BASE-T media interface PHY 1 on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow

bge0: Ethernet address: 00:18:8b:76:a4:1e
pcib3: ACPI PCI-PCI bridge at device 4.0 on pci0
pci3: ACPI PCI bus on pcib3


Cuse4BSD v0.1.23 @ /dev/cuse
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
WARNING: attempt to domain_add(bluetooth) after domainfinalize()
fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8
bge0: watchdog timeout -- resetting
bge0: link state changed to DOWN
bge0: link state changed to UP
bge0: watchdog timeout -- resetting
bge0: link state changed to DOWN
bge0: link state changed to UP
bge0: watchdog timeout -- resetting
bge0: link state changed to DOWN
bge0: link state changed to UP
_

Iff I boot Windows first and then reboot to start FreeBSD the network
works fine.

Pedro.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Network unavailable when booting directly to FreeBSD.

2012-06-21 Thread Sean Bruno
On Thu, 2012-06-21 at 12:05 -0700, Pedro Giffuni wrote:
 Hello;
 
 I noticed a regression from 9.0 and I cannot boot directly FreeBSD
 and access the network. Unfortunately I cannot recall the exact
 commit where this started happening.
 
 uname -a
 FreeBSD pcbsd-8555 9.0-STABLE FreeBSD 9.0-STABLE #12: Wed May 30 
 11:16:35 PDT 2012 
 r...@build9x64.pcbsd.org:/usr/obj/builds/amd64/pcbsd-build90/fbsd-source/9.0/sys/GENERIC
  
 amd64
 
  From my dmesg
 __
 ...
 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
 pcib0: Length mismatch for 4 range: 81 vs 7f
 pci0: ACPI PCI bus on pcib0
 pci0: memory, RAM at device 0.0 (no driver attached)
 pci0: memory, RAM at device 0.1 (no driver attached)
 pci0: memory, RAM at device 0.2 (no driver attached)
 pci0: memory, RAM at device 0.3 (no driver attached)
 pci0: memory, RAM at device 0.4 (no driver attached)
 pci0: memory, RAM at device 0.5 (no driver attached)
 pci0: memory, RAM at device 0.6 (no driver attached)
 pci0: memory, RAM at device 0.7 (no driver attached)
 pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0
 pci1: ACPI PCI bus on pcib1
 pcib2: ACPI PCI-PCI bridge at device 3.0 on pci0
 pci2: ACPI PCI bus on pcib2
 bge0: Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 
 0x00b002 mem 0xfdef-0xfdef irq 16 at device 0.0 on pci2
 bge0: CHIP ID 0xb002; ASIC REV 0x0b; CHIP REV 0xb0; PCI-E
 miibus0: MII bus on bge0
 brgphy0: BCM5754/5787 1000BASE-T media interface PHY 1 on miibus0
 brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow
 bge0: Ethernet address: 00:18:8b:76:a4:1e
 pcib3: ACPI PCI-PCI bridge at device 4.0 on pci0
 pci3: ACPI PCI bus on pcib3
 
 
 Cuse4BSD v0.1.23 @ /dev/cuse
 bge0: watchdog timeout -- resetting
 bge0: watchdog timeout -- resetting
 WARNING: attempt to domain_add(bluetooth) after domainfinalize()
 fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8
 bge0: watchdog timeout -- resetting
 bge0: link state changed to DOWN
 bge0: link state changed to UP
 bge0: watchdog timeout -- resetting
 bge0: link state changed to DOWN
 bge0: link state changed to UP
 bge0: watchdog timeout -- resetting
 bge0: link state changed to DOWN
 bge0: link state changed to UP
 _
 
 Iff I boot Windows first and then reboot to start FreeBSD the network
 works fine.
 
 Pedro.

I wonder if this is the one that caused your problems?

http://svnweb.freebsd.org/base?view=revisionrevision=233495

Can you post the full verbose dmesg and the output of pciconf -lvb for
review?

Sean

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Network unavailable when booting directly to FreeBSD.

2012-06-21 Thread Pedro Giffuni


--- Gio 21/6/12, Sean Bruno sean...@yahoo-inc.com ha scritto:

 On Thu, 2012-06-21 at 12:05 -0700, Pedro Giffuni wrote:
  Hello;
  
  I noticed a regression from 9.0 and I cannot boot
 directly FreeBSD
  and access the network. Unfortunately I cannot recall
 the exact
  commit where this started happening.
  
  uname -a
  FreeBSD pcbsd-8555 9.0-STABLE FreeBSD 9.0-STABLE #12:
 Wed May 30 
  11:16:35 PDT 2012 
  r...@build9x64.pcbsd.org:/usr/obj/builds/amd64/pcbsd-build90/fbsd-source/9.0/sys/GENERIC
 
  amd64
  
...
 
 I wonder if this is the one that caused your problems?
 
 http://svnweb.freebsd.org/base?view=revisionrevision=233495
 

I will have a look at reverting it locally.

 Can you post the full verbose dmesg

http://people.freebsd.org/~pfg/dmesg-bge-error.txt

 and the output of pciconf -lvb

http://people.freebsd.org/~pfg/pciconf.txt

 for review?
 

Thanks!

Pedro.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org