[Bug 233579] ppc64 r341455 will panic on boot with usefdt=1
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Dec 6 13:24:22 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233579
--- Comment #9 from Dennis Clarke <dclarke at blastwave.org> ---
An extensive amount of debugging ensured for the day of 5th Dec 2018
with many debug tests for the sake of trying to track down this
elusive interrupt issue. This included and attempt to insert a 20ms
delay in the printf() function merely to see debug output on the
console. That delay proved to be ineffective.
However the item of interest was seen to be in sys/powerpc/powermac/macgpio.c
around line 200 where OF_getencprop(child, "interrupts", &irq, sizeof(irq))
will return a ssize_t value that is compared to sizeof(irq) :
*** sys/powerpc/powermac/macgpio.c_orig Thu Dec 6 09:27:11 2018
--- sys/powerpc/powermac/macgpio.c Thu Dec 6 10:07:07 2018
***************
*** 162,169 ****
--- 162,173 ----
device_t cdev;
uint32_t irq[2];
+ printf("\nDEBUG : in %s at %d\n",__FILE__, __LINE__);
+
sc = device_get_softc(dev);
root = sc->sc_node = ofw_bus_get_node(dev);
+
+ printf("\nDEBUG : in %s at %d\n : root = sc->sc_node = %x\n",
__FILE__, __LINE__, root);
sc->sc_gpios = bus_alloc_resource_any(dev, SYS_RES_MEMORY,
&sc->sc_gpios_rid, RF_ACTIVE);
***************
*** 172,186 ****
--- 176,195 ----
* Iterate through the sub-devices
*/
for (child = OF_child(root); child != 0; child = OF_peer(child)) {
+ printf("\nDEBUG : in %s at %d\n : top of for loop in
macgpio_attach()\n",__FILE__, __LINE__);
dinfo = malloc(sizeof(*dinfo), M_MACGPIO, M_WAITOK | M_ZERO);
+ device_printf(dev, "DEBUG : in %s at %d\n : Trying child
%x\n", __FILE__, __LINE__, child);
if (ofw_bus_gen_setup_devinfo(&dinfo->mdi_obdinfo, child) !=
0) {
+ printf("\nDEBUG : in %s at %d within
macgpio_attach()\n",__FILE__, __LINE__);
free(dinfo, M_MACGPIO);
continue;
}
+ printf("\nDEBUG : in %s at %d within
macgpio_attach()\n",__FILE__, __LINE__);
if (OF_getencprop(child, "reg", &dinfo->gpio_num,
sizeof(dinfo->gpio_num)) != sizeof(dinfo->gpio_num)) {
+ printf("\nDEBUG : in %s at %d within
macgpio_attach()\n",__FILE__, __LINE__);
/*
* Some early GPIO controllers don't provide GPIO
* numbers for GPIOs designed only to provide
***************
*** 193,200 ****
resource_list_init(&dinfo->mdi_resources);
! if (OF_getencprop(child, "interrupts", irq, sizeof(irq)) ==
sizeof(irq)) {
OF_searchencprop(child, "interrupt-parent", &iparent,
sizeof(iparent));
resource_list_add(&dinfo->mdi_resources, SYS_RES_IRQ,
--- 202,212 ----
resource_list_init(&dinfo->mdi_resources);
! /* bugid 233579 Dennis Clarke and Justin Hibbits *
! * change '==' to '>=' */
! if (OF_getencprop(child, "interrupts", irq, sizeof(irq)) >=
sizeof(irq)) {
+ printf("\nDEBUG : in %s at %d within macgpio_attach()
with sizeof(irq) = %lx\n",__FILE__, __LINE__, sizeof(irq));
OF_searchencprop(child, "interrupt-parent", &iparent,
sizeof(iparent));
resource_list_add(&dinfo->mdi_resources, SYS_RES_IRQ,
***************
*** 203,210 ****
}
/* Fix messed-up offsets */
! if (dinfo->gpio_num > 0x50)
dinfo->gpio_num -= 0x50;
cdev = device_add_child(dev, NULL, -1);
if (cdev == NULL) {
--- 215,224 ----
}
/* Fix messed-up offsets */
! if (dinfo->gpio_num > 0x50) {
dinfo->gpio_num -= 0x50;
+ printf("\nDEBUG : in %s at %d within macgpio_attach()\n
: dinfo->gpio_num tweaked back 0x50\n", __FILE__, __LINE__);
+ }
cdev = device_add_child(dev, NULL, -1);
if (cdev == NULL) {
***************
*** 216,222 ****
}
device_set_ivars(cdev, dinfo);
}
!
return (bus_generic_attach(dev));
}
--- 230,236 ----
}
device_set_ivars(cdev, dinfo);
}
! printf("\nDEBUG : in %s at %d within macgpio_attach()\n : end of
for loop\n",__FILE__, __LINE__);
return (bus_generic_attach(dev));
}
*** sys/powerpc/powermac/smu.c_orig Thu Dec 6 09:27:10 2018
--- sys/powerpc/powermac/smu.c Thu Dec 6 10:19:14 2018
***************
*** 285,290 ****
--- 285,292 ----
phandle_t node, child;
uint8_t data[12];
+ printf("\nDEBUG : in %s at %d within smu_attach()\n",__FILE__,
__LINE__);
+
sc = device_get_softc(dev);
mtx_init(&sc->sc_mtx, "smu", NULL, MTX_DEF);
***************
*** 383,388 ****
--- 385,396 ----
* Set up doorbell interrupt.
*/
sc->sc_doorbellirqid = 0;
+ printf("\nDEBUG : in %s at %d within smu_attach() checking
smu_doorbell\n",__FILE__, __LINE__);
+ if(smu_doorbell==NULL){
+ printf("\nDEBUG : in %s at %d within smu_attach() bork bork
bork smu_doorbell is NULL!\n",__FILE__,__LINE__);
+ }else{
+ printf("\nDEBUG : in %s at %d within smu_attach() where
smu_doorbell is okay\n",__FILE__,__LINE__);
+ }
sc->sc_doorbellirq = bus_alloc_resource_any(smu_doorbell, SYS_RES_IRQ,
&sc->sc_doorbellirqid, RF_ACTIVE);
bus_setup_intr(smu_doorbell, sc->sc_doorbellirq,
***************
*** 638,643 ****
--- 646,653 ----
{
const char *name = ofw_bus_get_name(dev);
+ printf("\nDEBUG : in %s at %d within doorbell_probe()\n",__FILE__,
__LINE__);
+
if (strcmp(name, "smu-doorbell") != 0)
return (ENXIO);
***************
*** 650,655 ****
--- 660,666 ----
doorbell_attach(device_t dev)
{
smu_doorbell = dev;
+ printf("\nDEBUG : in %s at %d within doorbell_attach()\n",__FILE__,
__LINE__);
return (0);
}
***************
*** 999,1004 ****
--- 1010,1016 ----
int i, j;
sc = device_get_softc(dev);
+ printf("\nDEBUG : in %s at %d within smu_attach_fans()\n",__FILE__,
__LINE__);
/* Get the number of fans. */
sc->sc_nfans = smu_count_fans(dev);
***************
*** 1181,1186 ****
--- 1193,1200 ----
phandle_t child;
char type[32];
int i;
+
+ printf("\nDEBUG : in %s at %d within smu_attach_sensors()\n",__FILE__,
__LINE__);
sc = device_get_softc(dev);
sc->sc_nsensors = 0;
Multiple debug boots with :
debug.rman_debug=1
debug.verbose_sysinit=1
usefdt=1
kern.smp.disabled=1
>From dmesg we see :
considering [0x80000000, 0x8007ffff]
truncated region: [0x80000000, 0x8007ffff]; size 0x80000 (requested 0x80000)
candidate region: [0x80000000, 0x8007ffff], size 0x80000
candidate region is entire chunk
pcib2: allocated memory range (0x80000000-0x8007ffff) for rid 10 of pci0:1:7:0
macio0: <Shasta I/O Controller> mem 0x80000000-0x8007ffff at device 7.0 on pci2
ofw_pci mapdev: start 80000000, len 524288
rman_manage_region: <MacIO Device Memory> request: start 0, end 0x7ffff
macgpio0: <MacIO GPIO Controller> mem 0x50-0x8a on macio0
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 165
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 170
: root = sc->sc_node = 63e8
rman_reserve_resource_bound: <MacIO Device Memory> request: [0x50, 0x8b],
length 0x3b, flags 0, device macgpio0
rman_reserve_resource_bound: trying 0x7ffff <0x50,0x3a>
considering [0, 0x7ffff]
truncated region: [0x50, 0x8b]; size 0x3c (requested 0x3b)
candidate region: [0x50, 0x8b], size 0x3c
splitting region in three parts: [0, 0x4f]; [0x50, 0x8a]; [0x8b, 0x7ffff]
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 179
: top of for loop in macgpio_attach()
macgpio0: DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 181
: Trying child 6488
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 188 within
macgpio_attach()
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 209 within
macgpio_attach() with sizeof(irq) = 8
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 179
: top of for loop in macgpio_attach()
macgpio0: DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 181
: Trying child 6544
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 188 within
macgpio_attach()
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 209 within
macgpio_attach() with sizeof(irq) = 8
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 179
: top of for loop in macgpio_attach()
macgpio0: DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 181
: Trying child 662c
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 188 within
macgpio_attach()
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 209 within
macgpio_attach() with sizeof(irq) = 8
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 179
: top of for loop in macgpio_attach()
macgpio0: DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 181
: Trying child 6714
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 188 within
macgpio_attach()
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 209 within
macgpio_attach() with sizeof(irq) = 8
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 179
: top of for loop in macgpio_attach()
macgpio0: DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 181
: Trying child 67c4
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 188 within
macgpio_attach()
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 209 within
macgpio_attach() with sizeof(irq) = 8
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 179
: top of for loop in macgpio_attach()
macgpio0: DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 181
: Trying child 6884
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 188 within
macgpio_attach()
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 209 within
macgpio_attach() with sizeof(irq) = 8
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 179
: top of for loop in macgpio_attach()
macgpio0: DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 181
: Trying child 6974
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 188 within
macgpio_attach()
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 209 within
macgpio_attach() with sizeof(irq) = 8
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 179
: top of for loop in macgpio_attach()
macgpio0: DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 181
: Trying child 6a38
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 188 within
macgpio_attach()
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 209 within
macgpio_attach() with sizeof(irq) = 8
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 179
: top of for loop in macgpio_attach()
macgpio0: DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 181
: Trying child 6b24
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 188 within
macgpio_attach()
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 209 within
macgpio_attach() with sizeof(irq) = 8
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 179
: top of for loop in macgpio_attach()
macgpio0: DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 181
: Trying child 6be4
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 188 within
macgpio_attach()
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 209 within
macgpio_attach() with sizeof(irq) = 8
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 179
: top of for loop in macgpio_attach()
macgpio0: DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 181
: Trying child 6c94
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 188 within
macgpio_attach()
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 209 within
macgpio_attach() with sizeof(irq) = 8
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 179
: top of for loop in macgpio_attach()
macgpio0: DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 181
: Trying child 6d7c
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 188 within
macgpio_attach()
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 209 within
macgpio_attach() with sizeof(irq) = 8
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 179
: top of for loop in macgpio_attach()
macgpio0: DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 181
: Trying child 6e48
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 188 within
macgpio_attach()
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 209 within
macgpio_attach() with sizeof(irq) = 8
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 179
: top of for loop in macgpio_attach()
macgpio0: DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 181
: Trying child 6ed8
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 188 within
macgpio_attach()
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 209 within
macgpio_attach() with sizeof(irq) = 8
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 179
: top of for loop in macgpio_attach()
macgpio0: DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 181
: Trying child 6fbc
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 188 within
macgpio_attach()
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 209 within
macgpio_attach() with sizeof(irq) = 8
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 179
: top of for loop in macgpio_attach()
macgpio0: DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 181
: Trying child 7098
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 188 within
macgpio_attach()
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 209 within
macgpio_attach() with sizeof(irq) = 8
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 179
: top of for loop in macgpio_attach()
macgpio0: DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 181
: Trying child 7184
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 188 within
macgpio_attach()
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 209 within
macgpio_attach() with sizeof(irq) = 8
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 179
: top of for loop in macgpio_attach()
macgpio0: DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 181
: Trying child 7268
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 188 within
macgpio_attach()
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 209 within
macgpio_attach() with sizeof(irq) = 8
DEBUG : in /usr/src/head/sys/powerpc/powermac/macgpio.c at 233 within
macgpio_attach()
: end of for loop
pcib3: <OFW PCI-PCI bridge> at device 7.0 on pci0
rman_reserve_resource_bound: <PCI Non Prefetchable Memory> request:
[0xfa000000, 0xfa3fffff], length 0x400000, flags 0, device pcib3
rman_reserve_resource_bound: trying 0x800fffff <0xfa000000,0x3fffff>
rman_reserve_resource_bound: tried 0x800fffff <0xfa000000,0x3fffff>
considering [0xfa000000, 0xfa3fffff]
truncated region: [0xfa000000, 0xfa3fffff]; size 0x400000 (requested 0x400000)
candidate region: [0xfa000000, 0xfa3fffff], size 0x400000
candidate region is entire chunk
rman_manage_region: <pcib3 memory window> request: start 0xfa000000, end
0xfa3fffff
pcib3: domain 0
pcib3: secondary bus 2
pcib3: subordinate bus 2
pcib3: memory decode 0xfa000000-0xfa3fffff
pci3: <OFW PCI bus> on pcib3
pci3: domain=0, physical bus=2
found-> vendor=0x106b, dev=0x0051, revid=0x00
domain=0, bus=2, slot=15, func=0
class=02-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0004, statreg=0x84a0, cachelnsz=16 (dwords)
lattimer=0x10 (480 ns), mingnt=0x40 (16000 ns), maxlat=0x40 (16000 ns)
intpin=a, irq=255
map[10]: type Memory, range 32, base 0xfa200000, size 21, memory
disabled
rman_reserve_resource_bound: <pcib3 memory window> request: [0xfa200000,
0xfa3fffff], length 0x200000, flags 5400, device (null)
rman_reserve_resource_bound: trying 0xfa3fffff <0xfa200000,0x1fffff>
considering [0xfa000000, 0xfa3fffff]
truncated region: [0xfa200000, 0xfa3fffff]; size 0x200000 (requested 0x200000)
candidate region: [0xfa200000, 0xfa3fffff], size 0x200000
allocating at the end
pcib3: allocated memory range (0xfa200000-0xfa3fffff) for rid 10 of pci0:2:15:0
pcib4: <OFW PCI-PCI bridge> at device 6.0 on pci0
pcib4: domain 0
pcib4: secondary bus 9
pcib4: subordinate bus 9
pci4: <OFW PCI bus> on pcib4
pci4: domain=0, physical bus=9
pcib5: <OFW PCI-PCI bridge> at device 5.0 on pci0
pcib5: domain 0
pcib5: secondary bus 8
pcib5: subordinate bus 8
pci5: <OFW PCI bus> on pcib5
pci5: domain=0, physical bus=8
pcib6: <OFW PCI-PCI bridge> at device 4.0 on pci0
pcib6: domain 0
pcib6: secondary bus 7
pcib6: subordinate bus 7
pci6: <OFW PCI bus> on pcib6
pci6: domain=0, physical bus=7
pcib7: <OFW PCI-PCI bridge> at device 3.0 on pci0
pcib7: domain 0
pcib7: secondary bus 6
pcib7: subordinate bus 6
pci7: <OFW PCI bus> on pcib7
pci7: domain=0, physical bus=6
pcib8: <OFW PCI-PCI bridge> at device 2.0 on pci0
rman_reserve_resource_bound: <PCI Non Prefetchable Memory> request:
[0xfa500000, 0xfa5fffff], length 0x100000, flags 0, device pcib8
rman_reserve_resource_bound: trying 0x800fffff <0xfa500000,0xfffff>
rman_reserve_resource_bound: tried 0x800fffff <0xfa500000,0xfffff>
rman_reserve_resource_bound: tried 0xfa3fffff <0xfa500000,0xfffff>
rman_reserve_resource_bound: tried 0xfa4fffff <0xfa500000,0xfffff>
considering [0xfa500000, 0xfa5fffff]
truncated region: [0xfa500000, 0xfa5fffff]; size 0x100000 (requested 0x100000)
candidate region: [0xfa500000, 0xfa5fffff], size 0x100000
candidate region is entire chunk
rman_manage_region: <pcib8 memory window> request: start 0xfa500000, end
0xfa5fffff
pcib8: domain 0
pcib8: secondary bus 5
pcib8: subordinate bus 5
pcib8: memory decode 0xfa500000-0xfa5fffff
pci8: <OFW PCI bus> on pcib8
pci8: domain=0, physical bus=5
found-> vendor=0x14e4, dev=0x166a, revid=0x03
domain=0, bus=5, slot=4, func=1
class=02-00-00, hdrtype=0x00, mfdev=1
cmdreg=0x0006, statreg=0x02b0, cachelnsz=16 (dwords)
lattimer=0x10 (480 ns), mingnt=0x40 (16000 ns), maxlat=0x00 (0 ns)
intpin=b, irq=0
powerspec 2 supports D0 D3 current D0
MSI supports 8 messages, 64 bit
map[10]: type Memory, range 64, base 0xfa510000, size 16, enabled
rman_reserve_resource_bound: <pcib8 memory window> request: [0xfa510000,
0xfa51ffff], length 0x10000, flags 4000, device (null)
rman_reserve_resource_bound: trying 0xfa5fffff <0xfa510000,0xffff>
considering [0xfa500000, 0xfa5fffff]
truncated region: [0xfa510000, 0xfa51ffff]; size 0x10000 (requested 0x10000)
candidate region: [0xfa510000, 0xfa51ffff], size 0x10000
splitting region in three parts: [0xfa500000, 0xfa50ffff]; [0xfa510000,
0xfa51ffff]; [0xfa520000, 0xfa5fffff]
pcib8: allocated memory range (0xfa510000-0xfa51ffff) for rid 10 of pci0:5:4:1
map[18]: type Memory, range 64, base 0xfa500000, size 16, enabled
rman_reserve_resource_bound: <pcib8 memory window> request: [0xfa500000,
0xfa50ffff], length 0x10000, flags 4000, device (null)
rman_reserve_resource_bound: trying 0xfa50ffff <0xfa500000,0xffff>
considering [0xfa500000, 0xfa50ffff]
truncated region: [0xfa500000, 0xfa50ffff]; size 0x10000 (requested 0x10000)
candidate region: [0xfa500000, 0xfa50ffff], size 0x10000
candidate region is entire chunk
pcib8: allocated memory range (0xfa500000-0xfa50ffff) for rid 18 of pci0:5:4:1
found-> vendor=0x14e4, dev=0x166a, revid=0x03
domain=0, bus=5, slot=4, func=0
class=02-00-00, hdrtype=0x00, mfdev=1
cmdreg=0x0006, statreg=0x02b0, cachelnsz=16 (dwords)
lattimer=0x10 (480 ns), mingnt=0x40 (16000 ns), maxlat=0x00 (0 ns)
intpin=a, irq=0
powerspec 2 supports D0 D3 current D0
MSI supports 8 messages, 64 bit
map[10]: type Memory, range 64, base 0xfa530000, size 16, enabled
rman_reserve_resource_bound: <pcib8 memory window> request: [0xfa530000,
0xfa53ffff], length 0x10000, flags 4000, device (null)
rman_reserve_resource_bound: trying 0xfa50ffff <0xfa530000,0xffff>
rman_reserve_resource_bound: tried 0xfa50ffff <0xfa530000,0xffff>
rman_reserve_resource_bound: tried 0xfa51ffff <0xfa530000,0xffff>
considering [0xfa520000, 0xfa5fffff]
truncated region: [0xfa530000, 0xfa53ffff]; size 0x10000 (requested 0x10000)
candidate region: [0xfa530000, 0xfa53ffff], size 0x10000
splitting region in three parts: [0xfa520000, 0xfa52ffff]; [0xfa530000,
0xfa53ffff]; [0xfa540000, 0xfa5fffff]
pcib8: allocated memory range (0xfa530000-0xfa53ffff) for rid 10 of pci0:5:4:0
map[18]: type Memory, range 64, base 0xfa520000, size 16, enabled
rman_reserve_resource_bound: <pcib8 memory window> request: [0xfa520000,
0xfa52ffff], length 0x10000, flags 4000, device (null)
rman_reserve_resource_bound: trying 0xfa50ffff <0xfa520000,0xffff>
rman_reserve_resource_bound: tried 0xfa50ffff <0xfa520000,0xffff>
rman_reserve_resource_bound: tried 0xfa51ffff <0xfa520000,0xffff>
considering [0xfa520000, 0xfa52ffff]
truncated region: [0xfa520000, 0xfa52ffff]; size 0x10000 (requested 0x10000)
candidate region: [0xfa520000, 0xfa52ffff], size 0x10000
candidate region is entire chunk
pcib8: allocated memory range (0xfa520000-0xfa52ffff) for rid 18 of pci0:5:4:0
pcib9: <OFW PCI-PCI bridge> at device 1.0 on pci0
pcib9: domain 0
pcib9: secondary bus 4
pcib9: subordinate bus 4
pci9: <OFW PCI bus> on pcib9
pci9: domain=0, physical bus=4
pcib10: <IBM CPC945 PCI Express Root> mem 0xf0000000-0xf1ffffff on ofwbus0
rman_manage_region: <PCI Non Prefetchable Memory> request: start 0xf1000000,
end 0xf1ffffff
rman_manage_region: <PCI I/O Ports> request: start 0, end 0x7fffff
rman_manage_region: <PCI Non Prefetchable Memory> request: start 0x90000000,
end 0x9fffffff
rman_manage_region: <PCI Non Prefetchable Memory> request: start 0xa0000000,
end 0xafffffff
pci10: <OFW PCI bus> on pcib10
pci10: domain=10, physical bus=10
found-> vendor=0x10de, dev=0x0141, revid=0xa2
domain=10, bus=10, slot=0, func=0
class=03-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0006, statreg=0x0010, cachelnsz=16 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=0
powerspec 2 supports D0 D3 current D0
MSI supports 1 message, 64 bit
map[10]: type Memory, range 32, base 0xa1000000, size 24, enabled
rman_reserve_resource_bound: <PCI Non Prefetchable Memory> request:
[0xa1000000, 0xa1ffffff], length 0x1000000, flags 6000, device (null)
rman_reserve_resource_bound: trying 0xafffffff <0xa1000000,0xffffff>
considering [0x90000000, 0xafffffff]
truncated region: [0xa1000000, 0xa1ffffff]; size 0x1000000 (requested
0x1000000)
candidate region: [0xa1000000, 0xa1ffffff], size 0x1000000
splitting region in three parts: [0x90000000, 0xa0ffffff]; [0xa1000000,
0xa1ffffff]; [0xa2000000, 0xafffffff]
map[14]: type Prefetchable Memory, range 64, base 0x90000000, size 28,
enabled
rman_reserve_resource_bound: <PCI Non Prefetchable Memory> request:
[0x90000000, 0x9fffffff], length 0x10000000, flags 7040, device (null)
rman_reserve_resource_bound: trying 0xa0ffffff <0x90000000,0xfffffff>
considering [0x90000000, 0xa0ffffff]
truncated region: [0x90000000, 0x9fffffff]; size 0x10000000 (requested
0x10000000)
candidate region: [0x90000000, 0x9fffffff], size 0x10000000
allocating from the beginning
map[1c]: type Memory, range 64, base 0xa0000000, size 24, enabled
rman_reserve_resource_bound: <PCI Non Prefetchable Memory> request:
[0xa0000000, 0xa0ffffff], length 0x1000000, flags 6000, device (null)
rman_reserve_resource_bound: trying 0x9fffffff <0xa0000000,0xffffff>
rman_reserve_resource_bound: tried 0x9fffffff <0xa0000000,0xffffff>
considering [0xa0000000, 0xa0ffffff]
truncated region: [0xa0000000, 0xa0ffffff]; size 0x1000000 (requested
0x1000000)
candidate region: [0xa0000000, 0xa0ffffff], size 0x1000000
candidate region is entire chunk
unin0: <Apple UniNorth System Controller> mem 0xf8000000-0xf8ffffff on ofwbus0
rman_manage_region: <UniNorth Device Memory> request: start 0xf8000000, end
0xf8ffffff
unin0: Version 66
htpic0: <OpenPIC Interrupt Controller> mem 0xf8040000-0xf807ffff on unin0
rman_reserve_resource_bound: <UniNorth Device Memory> request: [0xf8040000,
0xf807ffff], length 0x3ffff, flags 0, device htpic0
rman_reserve_resource_bound: trying 0xf8ffffff <0xf8040000,0x3fffe>
considering [0xf8000000, 0xf8ffffff]
truncated region: [0xf8040000, 0xf807ffff]; size 0x40000 (requested 0x3ffff)
candidate region: [0xf8040000, 0xf807ffff], size 0x40000
splitting region in three parts: [0xf8000000, 0xf803ffff]; [0xf8040000,
0xf807fffe]; [0xf807ffff, 0xf8ffffff]
unin mapdev: start f8040000, len 262143
htpic0: Version 1.2, supports 4 CPUs and 124 irqs
DEBUG : in /usr/src/head/sys/powerpc/powermac/smu.c at 649 within
doorbell_probe()
DEBUG : in /usr/src/head/sys/powerpc/powermac/smu.c at 649 within
doorbell_probe()
DEBUG : in /usr/src/head/sys/powerpc/powermac/smu.c at 649 within
doorbell_probe()
DEBUG : in /usr/src/head/sys/powerpc/powermac/smu.c at 649 within
doorbell_probe()
DEBUG : in /usr/src/head/sys/powerpc/powermac/smu.c at 649 within
doorbell_probe()
DEBUG : in /usr/src/head/sys/powerpc/powermac/smu.c at 649 within
doorbell_probe()
DEBUG : in /usr/src/head/sys/powerpc/powermac/smu.c at 649 within
doorbell_probe()
DEBUG : in /usr/src/head/sys/powerpc/powermac/smu.c at 649 within
doorbell_probe()
DEBUG : in /usr/src/head/sys/powerpc/powermac/smu.c at 649 within
doorbell_probe()
DEBUG : in /usr/src/head/sys/powerpc/powermac/smu.c at 649 within
doorbell_probe()
DEBUG : in /usr/src/head/sys/powerpc/powermac/smu.c at 649 within
doorbell_probe()
DEBUG : in /usr/src/head/sys/powerpc/powermac/smu.c at 649 within
doorbell_probe()
DEBUG : in /usr/src/head/sys/powerpc/powermac/smu.c at 649 within
doorbell_probe()
DEBUG : in /usr/src/head/sys/powerpc/powermac/smu.c at 649 within
doorbell_probe()
DEBUG : in /usr/src/head/sys/powerpc/powermac/smu.c at 649 within
doorbell_probe()
DEBUG : in /usr/src/head/sys/powerpc/powermac/smu.c at 649 within
doorbell_probe()
DEBUG : in /usr/src/head/sys/powerpc/powermac/smu.c at 649 within
doorbell_probe()
DEBUG : in /usr/src/head/sys/powerpc/powermac/smu.c at 649 within
doorbell_probe()
DEBUG : in /usr/src/head/sys/powerpc/powermac/smu.c at 663 within
doorbell_attach()
smu0: <Apple System Management Unit> on ofwbus0
DEBUG : in /usr/src/head/sys/powerpc/powermac/smu.c at 288 within smu_attach()
DEBUG : in /usr/src/head/sys/powerpc/powermac/smu.c at 1013 within
smu_attach_fans()
smu0: Fan: EXPANSION SLOTS INTAKE type: 0
smu0: Fan: CPU A PUMP type: 0
smu0: Fan: CPU B EXHAUST type: 0
smu0: Fan: CPU A EXHAUST type: 0
smu0: Fan: CPU B INTAKE type: 0
smu0: Fan: CPU A INTAKE type: 0
smu0: Fan: BACKSIDE type: 0
smu0: Fan: DRIVE BAY A INTAKE type: 0
DEBUG : in /usr/src/head/sys/powerpc/powermac/smu.c at 1197 within
smu_attach_sensors()
DEBUG : in /usr/src/head/sys/powerpc/powermac/smu.c at 388 within smu_attach()
checking smu_doorbell
DEBUG : in /usr/src/head/sys/powerpc/powermac/smu.c at 392 within smu_attach()
where smu_doorbell is okay
see attached file dmesg_r341623.boot
System boots normally but with no functional network.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ppc
mailing list