Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Mar 2015 18:14:52 +0000 (UTC)
From:      rondzierwa@comcast.net
To:        freebsd-net@FreeBSD.org
Subject:   em resource allocation fails on SunFire X4500
Message-ID:  <1366749342.11996850.1426875292282.JavaMail.zimbra@comcast.net>
In-Reply-To: <1247051661.11988589.1426874816055.JavaMail.zimbra@comcast.net>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
I am using 10.1-RELEASE on a SunFire X4500 (thumper). It has 4 em devices, of which only the first two work due to a resource failure: 

em0: <Intel(R) PRO/1000 Legacy Network Connection 1.0.6> port 0xcc00-0xcc3f mem 0xfdae0000-0xfdafffff irq 52 at device 1.0 on pci7 
em0: Ethernet address: 00:14:4f:21:09:94 
em1: <Intel(R) PRO/1000 Legacy Network Connection 1.0.6> port 0xc800-0xc83f mem 0xfdac0000-0xfdadffff irq 53 at device 1.1 on pci7 
em1: Ethernet address: 00:14:4f:21:09:95 
em2: <Intel(R) PRO/1000 Legacy Network Connection 1.0.6> mem 0xfdbe0000-0xfdbfffff irq 61 at device 1.0 on pci8 
em2: 0x40 bytes of rid 0x20 res 4 failed (0, 0xffffffffffffffff). 
em2: Unable to allocate bus resource: ioport 
em2: Allocation of PCI resources failed 
em2: <Intel(R) PRO/1000 Legacy Network Connection 1.0.6> mem 0xfdbc0000-0xfdbdffff irq 62 at device 1.1 on pci8 
em2: 0x40 bytes of rid 0x20 res 4 failed (0, 0xffffffffffffffff). 
em2: Unable to allocate bus resource: ioport 
em2: Allocation of PCI resources failed 

a previous bug, #196501 was closed by setting 'hint.agp.0.disabled=1' in loader.conf, but this had no effect on the X4500. 

I have attached the pciconf output. 

Thanks in advance for any help or suggestions! 

ron. 


[-- Attachment #2 --]
root@thumper1:~ # pciconf -lbcV
pcib1@pci0:0:1:0:       class=0x060400 card=0x00000000 chip=0x74581022 rev=0x12 hdr=0x01
    cap 07[60] = PCI-X 64-bit bridge supports 133MHz
    cap 08[b8] = HT interrupt
    cap 08[c0] = HT slave
    cap 08[f4] = HT MSI address window disabled at 0xfee00000
ioapic0@pci0:0:1:1:     class=0x080010 card=0x74591022 chip=0x74591022 rev=0x12 hdr=0x00
    bar   [10] = type Memory, range 64, base 0xfd2ff000, size 4096, enabled
pcib2@pci0:0:2:0:       class=0x060400 card=0x00000000 chip=0x74581022 rev=0x12 hdr=0x01
    cap 07[60] = PCI-X 64-bit bridge supports 133MHz
    cap 08[b8] = HT interrupt
    cap 08[c0] = HT revision ID
    cap 08[f4] = HT MSI address window disabled at 0xfee00000
ioapic1@pci0:0:2:1:     class=0x080010 card=0x74591022 chip=0x74591022 rev=0x12 hdr=0x00
    bar   [10] = type Memory, range 64, base 0xfd2fe000, size 4096, enabled
pcib3@pci0:0:6:0:       class=0x060400 card=0x00000000 chip=0x74601022 rev=0x07 hdr=0x01
    cap 08[c0] = HT slave
    cap 08[f0] = HT interrupt
isab0@pci0:0:7:0:       class=0x060100 card=0x74681022 chip=0x74681022 rev=0x05 hdr=0x00
atapci0@pci0:0:7:1:     class=0x01018a card=0x74691022 chip=0x74691022 rev=0x03 hdr=0x00
    bar   [20] = type I/O Port, range 32, base 0xffa0, size 16, enabled
none0@pci0:0:7:2:       class=0x0c0500 card=0x746a1022 chip=0x746a1022 rev=0x02 hdr=0x00
    bar   [10] = type I/O Port, range 32, base 0x1900, size 32, enabled
none1@pci0:0:7:3:       class=0x068000 card=0x746b1022 chip=0x746b1022 rev=0x05 hdr=0x00
hostb0@pci0:0:24:0:     class=0x060000 card=0x00000000 chip=0x11001022 rev=0x00 hdr=0x00
    cap 08[80] = HT host
    cap 08[a0] = HT host
    cap 08[c0] = HT host
hostb1@pci0:0:24:1:     class=0x060000 card=0x00000000 chip=0x11011022 rev=0x00 hdr=0x00
hostb2@pci0:0:24:2:     class=0x060000 card=0x00000000 chip=0x11021022 rev=0x00 hdr=0x00
hostb3@pci0:0:24:3:     class=0x060000 card=0x00000000 chip=0x11031022 rev=0x00 hdr=0x00
hostb4@pci0:0:25:0:     class=0x060000 card=0x00000000 chip=0x11001022 rev=0x00 hdr=0x00
    cap 08[80] = HT host
    cap 08[a0] = HT host
    cap 08[c0] = HT host
hostb5@pci0:0:25:1:     class=0x060000 card=0x00000000 chip=0x11011022 rev=0x00 hdr=0x00
hostb6@pci0:0:25:2:     class=0x060000 card=0x00000000 chip=0x11021022 rev=0x00 hdr=0x00
hostb7@pci0:0:25:3:     class=0x060000 card=0x00000000 chip=0x11031022 rev=0x00 hdr=0x00
mvs0@pci0:1:1:0:        class=0x010000 card=0x11ab11ab chip=0x608111ab rev=0x09 hdr=0x00
    bar   [10] = type Memory, range 64, base 0xfae00000, size 1048576, enabled
    bar   [18] = type I/O Port, range 32, base 0x7c00, size 256, enabled
    cap 01[40] = powerspec 2  supports D0 D3  current D0
    cap 05[50] = MSI supports 1 message, 64 bit
    cap 07[60] = PCI-X 64-bit supports 133MHz, 512 burst read, 4 split transactions
mvs1@pci0:2:1:0:        class=0x010000 card=0x11ab11ab chip=0x608111ab rev=0x09 hdr=0x00
    bar   [10] = type Memory, range 64, base 0xfb000000, size 1048576, enabled
    bar   [18] = type I/O Port, range 32, base 0x8c00, size 256, enabled
    cap 01[40] = powerspec 2  supports D0 D3  current D0
    cap 05[50] = MSI supports 1 message, 64 bit
    cap 07[60] = PCI-X 64-bit supports 133MHz, 512 burst read, 4 split transactions
ohci0@pci0:3:0:0:       class=0x0c0310 card=0x74641022 chip=0x74641022 rev=0x0b hdr=0x00
    bar   [10] = type Memory, range 32, base 0xfd1fe000, size 4096, enabled
ohci1@pci0:3:0:1:       class=0x0c0310 card=0x74641022 chip=0x74641022 rev=0x0b hdr=0x00
    bar   [10] = type Memory, range 32, base 0xfd1fd000, size 4096, enabled
vgapci0@pci0:3:3:0:     class=0x030000 card=0x4531108e chip=0x47521002 rev=0x27 hdr=0x00
    bar   [10] = type Memory, range 32, base 0xfc000000, size 16777216, enabled
    bar   [14] = type I/O Port, range 32, base 0x9800, size 256, enabled
    bar   [18] = type Memory, range 32, base 0xfd1ff000, size 4096, enabled
    cap 01[5c] = powerspec 2  supports D0 D1 D2 D3  current D0
ohci2@pci0:3:4:0:       class=0x0c0310 card=0x00351033 chip=0x00351033 rev=0x43 hdr=0x00
    bar   [10] = type Memory, range 32, base 0xfd1fc000, size 4096, enabled
    cap 01[40] = powerspec 2  supports D0 D1 D2 D3  current D0
ohci3@pci0:3:4:1:       class=0x0c0310 card=0x00351033 chip=0x00351033 rev=0x43 hdr=0x00
    bar   [10] = type Memory, range 32, base 0xfd1fb000, size 4096, enabled
    cap 01[40] = powerspec 2  supports D0 D1 D2 D3  current D0
ehci0@pci0:3:4:2:       class=0x0c0320 card=0x00e01033 chip=0x00e01033 rev=0x04 hdr=0x00
    bar   [10] = type Memory, range 32, base 0xfd1fac00, size 256, enabled
    cap 01[40] = powerspec 2  supports D0 D1 D2 D3  current D0
pcib5@pci0:4:3:0:       class=0x060400 card=0x00000000 chip=0x74581022 rev=0x12 hdr=0x01
    cap 07[60] = PCI-X 64-bit bridge supports 133MHz
    cap 08[b8] = HT interrupt
    cap 08[c0] = HT slave
    cap 08[f4] = HT MSI address window disabled at 0xfee00000
ioapic2@pci0:4:3:1:     class=0x080010 card=0x74591022 chip=0x74591022 rev=0x12 hdr=0x00
    bar   [10] = type Memory, range 64, base 0xfdcff000, size 4096, enabled
pcib6@pci0:4:4:0:       class=0x060400 card=0x00000000 chip=0x74581022 rev=0x12 hdr=0x01
    cap 07[60] = PCI-X 64-bit bridge supports 133MHz
    cap 08[b8] = HT interrupt
    cap 08[c0] = HT revision ID
    cap 08[f4] = HT MSI address window disabled at 0xfee00000
ioapic3@pci0:4:4:1:     class=0x080010 card=0x74591022 chip=0x74591022 rev=0x12 hdr=0x00
    bar   [10] = type Memory, range 64, base 0xfdcfe000, size 4096, enabled
pcib7@pci0:4:5:0:       class=0x060400 card=0x00000000 chip=0x74581022 rev=0x12 hdr=0x01
    cap 07[60] = PCI-X 64-bit bridge supports 133MHz
    cap 08[b8] = HT interrupt
    cap 08[c0] = HT slave
    cap 08[f4] = HT MSI address window disabled at 0xfee00000
ioapic4@pci0:4:5:1:     class=0x080010 card=0x74591022 chip=0x74591022 rev=0x12 hdr=0x00
    bar   [10] = type Memory, range 64, base 0xfdcfd000, size 4096, enabled
pcib8@pci0:4:6:0:       class=0x060400 card=0x00000000 chip=0x74581022 rev=0x12 hdr=0x01
    cap 07[60] = PCI-X 64-bit bridge supports 133MHz
    cap 08[b8] = HT interrupt
    cap 08[c0] = HT revision ID
    cap 08[f4] = HT MSI address window disabled at 0xfee00000
ioapic5@pci0:4:6:1:     class=0x080010 card=0x74591022 chip=0x74591022 rev=0x12 hdr=0x00
    bar   [10] = type Memory, range 64, base 0xfdcfc000, size 4096, enabled
mvs2@pci0:5:1:0:        class=0x010000 card=0x11ab11ab chip=0x608111ab rev=0x09 hdr=0x00
    bar   [10] = type Memory, range 64, base 0xfd700000, size 1048576, enabled
    bar   [18] = type I/O Port, range 32, base 0xac00, size 256, enabled
    cap 01[40] = powerspec 2  supports D0 D3  current D0
    cap 05[50] = MSI supports 1 message, 64 bit
    cap 07[60] = PCI-X 64-bit supports 133MHz, 512 burst read, 4 split transactions
mvs3@pci0:6:1:0:        class=0x010000 card=0x11ab11ab chip=0x608111ab rev=0x09 hdr=0x00
    bar   [10] = type Memory, range 64, base 0xfd900000, size 1048576, enabled
    bar   [18] = type I/O Port, range 32, base 0xbc00, size 256, enabled
    cap 01[40] = powerspec 2  supports D0 D3  current D0
    cap 05[50] = MSI supports 1 message, 64 bit
    cap 07[60] = PCI-X 64-bit supports 133MHz, 512 burst read, 4 split transactions
em0@pci0:7:1:0: class=0x020000 card=0x10118086 chip=0x10108086 rev=0x03 hdr=0x00
    bar   [10] = type Memory, range 64, base 0xfdae0000, size 131072, enabled
    bar   [20] = type I/O Port, range 32, base 0xcc00, size 64, enabled
    cap 01[dc] = powerspec 2  supports D0 D3  current D0
    cap 07[e4] = PCI-X 64-bit supports 133MHz, 2048 burst read, 1 split transaction
    cap 05[f0] = MSI supports 1 message, 64 bit
em1@pci0:7:1:1: class=0x020000 card=0x10118086 chip=0x10108086 rev=0x03 hdr=0x00
    bar   [10] = type Memory, range 64, base 0xfdac0000, size 131072, enabled
    bar   [20] = type I/O Port, range 32, base 0xc800, size 64, enabled
    cap 01[dc] = powerspec 2  supports D0 D3  current D0
    cap 07[e4] = PCI-X 64-bit supports 133MHz, 2048 burst read, 1 split transaction
    cap 05[f0] = MSI supports 1 message, 64 bit
none2@pci0:8:1:0:       class=0x020000 card=0x10118086 chip=0x10108086 rev=0x03 hdr=0x00
    bar   [10] = type Memory, range 64, base 0xfdbe0000, size 131072, enabled
    bar   [20] = type I/O Port, range 32, base 0xdc00, size 64, disabled
    cap 01[dc] = powerspec 2  supports D0 D3  current D0
    cap 07[e4] = PCI-X 64-bit supports 133MHz, 2048 burst read, 1 split transaction
    cap 05[f0] = MSI supports 1 message, 64 bit
none3@pci0:8:1:1:       class=0x020000 card=0x10118086 chip=0x10108086 rev=0x03 hdr=0x00
    bar   [10] = type Memory, range 64, base 0xfdbc0000, size 131072, enabled
    bar   [20] = type I/O Port, range 32, base 0xd800, size 64, disabled
    cap 01[dc] = powerspec 2  supports D0 D3  current D0
    cap 07[e4] = PCI-X 64-bit supports 133MHz, 2048 burst read, 1 split transaction
    cap 05[f0] = MSI supports 1 message, 64 bit
pcib10@pci0:12:9:0:     class=0x060400 card=0x00000000 chip=0x74581022 rev=0x12 hdr=0x01
    cap 07[60] = PCI-X 64-bit bridge supports 133MHz
    cap 08[b8] = HT interrupt
    cap 08[c0] = HT slave
    cap 08[f4] = HT MSI address window disabled at 0xfee00000
ioapic6@pci0:12:9:1:    class=0x080010 card=0x74591022 chip=0x74591022 rev=0x12 hdr=0x00
    bar   [10] = type Memory, range 64, base 0xfeaff000, size 4096, enabled
pcib11@pci0:12:10:0:    class=0x060400 card=0x00000000 chip=0x74581022 rev=0x12 hdr=0x01
    cap 07[60] = PCI-X 64-bit bridge supports 133MHz
    cap 08[b8] = HT interrupt
    cap 08[c0] = HT revision ID
    cap 08[f4] = HT MSI address window disabled at 0xfee00000
ioapic7@pci0:12:10:1:   class=0x080010 card=0x74591022 chip=0x74591022 rev=0x12 hdr=0x00
    bar   [10] = type Memory, range 64, base 0xfeafe000, size 4096, enabled
pcib13@pci0:9:7:0:      class=0x060400 card=0x00000000 chip=0x74581022 rev=0x12 hdr=0x01
    cap 07[60] = PCI-X 64-bit bridge supports 133MHz
    cap 08[b8] = HT interrupt
    cap 08[c0] = HT slave
    cap 08[f4] = HT MSI address window disabled at 0xfee00000
ioapic8@pci0:9:7:1:     class=0x080010 card=0x74591022 chip=0x74591022 rev=0x12 hdr=0x00
    bar   [10] = type Memory, range 64, base 0xfe6ff000, size 4096, enabled
pcib14@pci0:9:8:0:      class=0x060400 card=0x00000000 chip=0x74581022 rev=0x12 hdr=0x01
    cap 07[60] = PCI-X 64-bit bridge supports 133MHz
    cap 08[b8] = HT interrupt
    cap 08[c0] = HT revision ID
    cap 08[f4] = HT MSI address window disabled at 0xfee00000
ioapic9@pci0:9:8:1:     class=0x080010 card=0x74591022 chip=0x74591022 rev=0x12 hdr=0x00
    bar   [10] = type Memory, range 64, base 0xfe6fe000, size 4096, enabled
mvs4@pci0:10:1:0:       class=0x010000 card=0x11ab11ab chip=0x608111ab rev=0x09 hdr=0x00
    bar   [10] = type Memory, range 64, base 0xfe300000, size 1048576, enabled
    bar   [18] = type I/O Port, range 32, base 0xec00, size 256, enabled
    cap 01[40] = powerspec 2  supports D0 D3  current D0
    cap 05[50] = MSI supports 1 message, 64 bit
    cap 07[60] = PCI-X 64-bit supports 133MHz, 512 burst read, 4 split transactions
mvs5@pci0:11:1:0:       class=0x010000 card=0x11ab11ab chip=0x608111ab rev=0x09 hdr=0x00
    bar   [10] = type Memory, range 64, base 0xfe500000, size 1048576, enabled
    bar   [18] = type I/O Port, range 32, base 0xfc00, size 256, disabled
    cap 01[40] = powerspec 2  supports D0 D3  current D0
    cap 05[50] = MSI supports 1 message, 64 bit
    cap 07[60] = PCI-X 64-bit supports 133MHz, 512 burst read, 4 split transactions
root@thumper1:~ #

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1366749342.11996850.1426875292282.JavaMail.zimbra>