Re: em: Hardware Initialization Failed on 8.0-RELEASE

2010-05-28 Thread Ryan Stone
So it seems the problem is buggy hardware that incorrectly reports
that is has a copper PHY instead of an internal serdes.  For whatever
reason this didn't matter to the old driver, but the new driver is
tripping over the problem.  *sigh*
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org


em: Hardware Initialization Failed on 8.0-RELEASE

2010-05-26 Thread Ryan Stone
8.0-RELEASE is not able to bring up some of the my em interfaces.  The
error message that I get is:

em0: Intel(R) PRO/1000 Network Connection 6.9.14 port 0xa800-0xa81f
mem 0xce48-0xce49,0xce46-0xce47 irq 16 at device 0.0
on pci1
em0: Reserved 0x2 bytes for rid 0x10 type 3 at 0xce48
em0: attempting to allocate 1 MSI vectors (1 supported)
msi: routing MSI IRQ 256 to local APIC 0 vector 48
em0: using IRQ 256 for MSI
em0: Using MSI interrupt
em0: Hardware Initialization Failed
em0: Unable to initialize the hardware
device_attach: em0 attach returned 5
em1: Intel(R) PRO/1000 Network Connection 6.9.14 port 0xac00-0xac1f
mem 0xce4e-0xce4f,0xce4c-0xce4d irq 17 at device 0.1
on pci1
em1: Reserved 0x2 bytes for rid 0x10 type 3 at 0xce4e
em1: attempting to allocate 1 MSI vectors (1 supported)
msi: routing MSI IRQ 256 to local APIC 0 vector 48
em1: using IRQ 256 for MSI
em1: Using MSI interrupt
em1: Hardware Initialization Failed
em1: Unable to initialize the hardware
device_attach: em1 attach returned 5


I tried enabling all of the debug output I could find in the em driver
and got the following output(I truncated most of it because it didn't
look interesting).

e1000_set_d0_lplu_state_82571
e1000_read_phy_reg_igp
e1000_get_hw_semaphore_82571
e1000_write_phy_reg_mdic
e1000_read_phy_reg_mdic
MDI Error

e1000_put_hw_semaphore_generic
Error Disabling LPLU D0

e1000_clear_hw_cntrs_82571
e1000_clear_hw_cntrs_base_generic
em0: Hardware Initialization Failed
em0: Unable to initialize the hardware

Here's the pciconf output for the interfaces that are giving me problems:

e...@pci0:1:0:0: class=0x02 card=0x125e8086 chip=0x105e8086 rev=0x00 
hdr=0x00
e...@pci0:1:0:1: class=0x02 card=0x125e8086 chip=0x105e8086 rev=0x00 
hdr=0x00
e...@pci0:2:0:0: class=0x02 card=0x125e8086 chip=0x105e8086 rev=0x00 
hdr=0x00
e...@pci0:2:0:1: class=0x02 card=0x125e8086 chip=0x105e8086 rev=0x00 
hdr=0x00

Please let me know if there's anything else that you need.  I'm
willing to try patches or get more debug output.

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


Re: em: Hardware Initialization Failed on 8.0-RELEASE

2010-05-26 Thread Jack Vogel
Maybe its a real hardware problem, never seen this behavior, I suppose you
could try the STABLE/8 May snapshot, see if it helps.

Jack


On Wed, May 26, 2010 at 12:47 PM, Ryan Stone ryst...@gmail.com wrote:

 8.0-RELEASE is not able to bring up some of the my em interfaces.  The
 error message that I get is:

 em0: Intel(R) PRO/1000 Network Connection 6.9.14 port 0xa800-0xa81f
 mem 0xce48-0xce49,0xce46-0xce47 irq 16 at device 0.0
 on pci1
 em0: Reserved 0x2 bytes for rid 0x10 type 3 at 0xce48
 em0: attempting to allocate 1 MSI vectors (1 supported)
 msi: routing MSI IRQ 256 to local APIC 0 vector 48
 em0: using IRQ 256 for MSI
 em0: Using MSI interrupt
 em0: Hardware Initialization Failed
 em0: Unable to initialize the hardware
 device_attach: em0 attach returned 5
 em1: Intel(R) PRO/1000 Network Connection 6.9.14 port 0xac00-0xac1f
 mem 0xce4e-0xce4f,0xce4c-0xce4d irq 17 at device 0.1
 on pci1
 em1: Reserved 0x2 bytes for rid 0x10 type 3 at 0xce4e
 em1: attempting to allocate 1 MSI vectors (1 supported)
 msi: routing MSI IRQ 256 to local APIC 0 vector 48
 em1: using IRQ 256 for MSI
 em1: Using MSI interrupt
 em1: Hardware Initialization Failed
 em1: Unable to initialize the hardware
 device_attach: em1 attach returned 5


 I tried enabling all of the debug output I could find in the em driver
 and got the following output(I truncated most of it because it didn't
 look interesting).

 e1000_set_d0_lplu_state_82571
 e1000_read_phy_reg_igp
 e1000_get_hw_semaphore_82571
 e1000_write_phy_reg_mdic
 e1000_read_phy_reg_mdic
 MDI Error

 e1000_put_hw_semaphore_generic
 Error Disabling LPLU D0

 e1000_clear_hw_cntrs_82571
 e1000_clear_hw_cntrs_base_generic
 em0: Hardware Initialization Failed
 em0: Unable to initialize the hardware

 Here's the pciconf output for the interfaces that are giving me problems:

 e...@pci0:1:0:0: class=0x02 card=0x125e8086 chip=0x105e8086 rev=0x00
 hdr=0x00
 e...@pci0:1:0:1: class=0x02 card=0x125e8086 chip=0x105e8086 rev=0x00
 hdr=0x00
 e...@pci0:2:0:0: class=0x02 card=0x125e8086 chip=0x105e8086 rev=0x00
 hdr=0x00
 e...@pci0:2:0:1: class=0x02 card=0x125e8086 chip=0x105e8086 rev=0x00
 hdr=0x00

 Please let me know if there's anything else that you need.  I'm
 willing to try patches or get more debug output.

 Thanks,
 Ryan Stone

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


Re: em: Hardware Initialization Failed on 8.0-RELEASE

2010-05-26 Thread Ryan Stone
The em driver version 6.2.9(that's the Intel version number) worked
just fine, but it stopped working on multiple machines as soon as I
upgraded, so I doubt that it's the hardware.
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org