pcie realtek issue (re driver)
Mike Tancsa
mike at sentex.net
Thu May 31 17:42:35 UTC 2012
On 5/31/2012 10:57 AM, John Baldwin wrote:
>>
>> Right, but what if it is not(from the pciconf output)?
>> I'm pretty sure re(4) used RF_ACTIVE with bus_alloc_resource_any(9).
>
> Hmm, is this pciconf output when the driver is attached?
Hi,
Here are some of the variations attached in a txt file. Could this
just be a broken card ? I will try and boot up another OS on the box
and see if it works.
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, mike at sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
-------------- next part --------------
GENERIC kernel, no loader tuneables with if_re loaded from /boot/loader.conf
none2 at pci0:4:0:0: class=0x020000 card=0xffff10ec chip=0x816810ec rev=0x03 hdr=0x00
vendor = 'Realtek Semiconductor Co., Ltd.'
device = 'RTL8111/8168B PCI Express Gigabit Ethernet controller'
class = network
subclass = ethernet
bar [10] = type I/O Port, range 32, base 0, size 256, disabled
bar [18] = type Memory, range 64, base 0xdfa00000, size 4096, disabled
bar [20] = type Prefetchable Memory, range 64, base 0, size 16384, disabled
cap 01[40] = powerspec 7 supports D0 D1 D2 D3 current D3
pci4: <ACPI PCI bus> on pcib4
pci4: domain=0, physical bus=4
found-> vendor=0x10ec, dev=0x8168, revid=0x03
domain=0, bus=4, slot=0, func=0
class=02-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0000, statreg=0x0010, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=255
map[10]: type I/O Port, range 32, base 0, size 8, port disabled
map[18]: type Memory, range 64, base 0, size 12, memory disabled
map[20]: type Prefetchable Memory, range 64, base 0, size 14, memory disabled
re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F PCIe Gigabit Ethernet> at device 0.0 on pci4
pcib0: allocated type 3 (0xdfa00000-0xdfafffff) for rid 20 of pcib4
pcib4: allocated initial memory window of 0xdfa00000-0xdfafffff
pcib4: allocated memory range (0xdfa00000-0xdfa00fff) for rid 18 of re0
re0: Lazy allocation of 0x1000 bytes rid 0x18 type 3 at 0xdfa00000
re0: MSI count : 0
re0: MSI-X count : 0
pcib4: matched entry for 4.0.INTA
pcib4: slot 0 INTA hardwired to IRQ 18
re0: turning off MSI enable bit.
re0: ASPM disabled
re0: Chip rev. 0x7c800000
re0: MAC rev. 0x00400000
re0: reset never completed!
re0: PHY write failed
re0: PHY write failed
re0: attaching PHYs failed
device_attach: re0 attach returned 6
------------------------
with
if_re_load="YES"
hw.re.msi_disable=1
pci4: <ACPI PCI bus> on pcib4
pci4: domain=0, physical bus=4
found-> vendor=0x10ec, dev=0x8168, revid=0x03
domain=0, bus=4, slot=0, func=0
class=02-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0007, statreg=0x0010, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=255
powerspec 3 supports D0 D1 D2 D3 current D0
MSI supports 1 message, 64 bit
MSI-X supports 4 messages in map 0x20
map[10]: type I/O Port, range 32, base 0, size 8, enabled
map[18]: type Memory, range 64, base 0, size 12, enabled
map[20]: type Prefetchable Memory, range 64, base 0, size 14, enabled
re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F PCIe Gigabit Ethernet> at device 0.0 on pci4
pcib4: allocated memory range (0xfe200000-0xfe200fff) for rid 18 of re0
re0: Lazy allocation of 0x1000 bytes rid 0x18 type 3 at 0xfe200000
re0: MSI count : 1
re0: MSI-X count : 4
pcib4: allocated memory range (0xfe204000-0xfe207fff) for rid 20 of re0
re0: Lazy allocation of 0x4000 bytes rid 0x20 type 3 at 0xfe204000
re0: attempting to allocate 1 MSI-X vectors (4 supported)
msi: routing MSI-X IRQ 266 to local APIC 0 vector 62
re0: using IRQ 266 for MSI-X
re0: Using 1 MSI-X message
re0: Chip rev. 0x28000000
re0: MAC rev. 0x00000000
miibus0: <MII bus> on re0
ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus0
ukphy0: OUI 0x00e0fc, model 0x003f, rev. 15
re0: PHY write failed
re0: PHY write failed
ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 100baseT4, 1000baseSX, 1000baseSX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow
re0: PHY write failed
re0: PHY write failed
re0: bpf attached
re0: Ethernet address: 00:0a:cd:1c:ba:89
re0 at pci0:4:0:0: class=0x020000 card=0x816810ec chip=0x816810ec rev=0x03 hdr=0x00
vendor = 'Realtek Semiconductor Co., Ltd.'
device = 'RTL8111/8168B PCI Express Gigabit Ethernet controller'
class = network
subclass = ethernet
bar [10] = type I/O Port, range 32, base 0, size 256, disabled
bar [18] = type Memory, range 64, base 0xfe200000, size 4096, disabled
bar [20] = type Prefetchable Memory, range 64, base 0xfe204000, size 16384, disabled
cap 01[40] = powerspec 3 supports D0 D1 D2 D3 current D0
cap 05[50] = MSI supports 1 message, 64 bit
cap 10[70] = PCI-Express 2 endpoint IRQ 2 max data 128(128) link x1(x1)
cap 11[ac] = MSI-X supports 4 messages in map 0x20
cap 03[cc] = VPD
ecap 0001[100] = AER 1 1 fatal 1 non-fatal 3 corrected
ecap 0002[140] = VC 1 max VC0
ecap 0003[160] = Serial 1 83050000684ce000
but it does not work
And with nothing loaded
none2 at pci0:4:0:0: class=0x020000 card=0x816810ec chip=0x816810ec rev=0x03 hdr=0x00
vendor = 'Realtek Semiconductor Co., Ltd.'
device = 'RTL8111/8168B PCI Express Gigabit Ethernet controller'
class = network
subclass = ethernet
bar [10] = type I/O Port, range 32, base 0xd000, size 256, enabled
bar [18] = type Memory, range 64, base 0xfe200000, size 4096, enabled
bar [20] = type Prefetchable Memory, range 64, base 0xf0000000, size 16384, enabled
cap 01[40] = powerspec 3 supports D0 D1 D2 D3 current D0
cap 05[50] = MSI supports 1 message, 64 bit
cap 10[70] = PCI-Express 2 endpoint IRQ 2 max data 128(128) link x1(x1)
cap 11[ac] = MSI-X supports 4 messages in map 0x20
cap 03[cc] = VPD
ecap 0001[100] = AER 1 1 fatal 1 non-fatal 3 corrected
ecap 0002[140] = VC 1 max VC0
ecap 0003[160] = Serial 1 83050000684ce000
The board is an Intel one
# dmidecode 2.11
SMBIOS 2.6 present.
56 structures occupying 2284 bytes.
Table at 0x000E9450.
Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: Intel Corp.
Version: BEH6110H.86A.0042.2012.0327.2202
Release Date: 03/27/2012
Address: 0xF0000
Runtime Size: 64 kB
ROM Size: 1024 kB
Characteristics:
PCI is supported
BIOS is upgradeable
BIOS shadowing is allowed
Boot from CD is supported
Selectable boot is supported
BIOS ROM is socketed
EDD is supported
5.25"/1.2 MB floppy services are supported (int 13h)
3.5"/720 kB floppy services are supported (int 13h)
3.5"/2.88 MB floppy services are supported (int 13h)
Print screen service is supported (int 5h)
8042 keyboard services are supported (int 9h)
Serial services are supported (int 14h)
Printer services are supported (int 17h)
ACPI is supported
USB legacy is supported
BIOS boot specification is supported
Targeted content distribution is supported
Base Board Information
Manufacturer: Intel Corporation
Product Name: DH61BE
Version: AAG14062-208
Serial Number: BTBE212003LQ
Asset Tag: To be filled by O.E.M.
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: To be filled by O.E.M.
Chassis Handle: 0x0003
Type: Motherboard
Contained Object Handles: 0
Handle 0x0035, DMI type 9, 17 bytes
System Slot Information
Designation: PCIeSlot
Type: x1 PCI Express x1
Current Usage: In Use
Length: Short
ID: 4
Characteristics:
3.3 V is provided
Opening is shared
PME signal is supported
Bus Address: 0000:00:1c.2
Handle 0x0036, DMI type 9, 17 bytes
System Slot Information
Designation: PCIeSlot
Type: x1 PCI Express x1
Current Usage: In Use
Length: Short
ID: 3
Characteristics:
3.3 V is provided
Opening is shared
PME signal is supported
Bus Address: 0000:00:1c.4
More information about the freebsd-hardware
mailing list