Re: NEW_PCIB? pcib1: failed to allocate initial I/O port window: 0x4000-0x4fff

From: John <jwd_at_slowblink.com>
Date: Fri, 10 Jun 2011 15:00:15 +0000
----- John Baldwin's Original Message -----
> On Thursday, June 09, 2011 2:11:16 am Andriy Gapon wrote:
> > on 09/06/2011 01:30 John said the following:
> > > Sorry John, here's the verbose dmesg output with your patch applied.
> > > 
> > > This is at the tail of the console:
> > > 
> > > pcib1: allocated memory range (0xf6000000-0xf6ffffff) for rid 10 of pci0:1:3:0
> > >         map[14]: type I/O Port, range 32, base 0x4400, size  8, enabled
> > > pcib1: failed to allocate initial I/O port window (0x4000-0x4fff,0x1000)
> > >         map[18]: type Memory, range 32, base 0xf5ff0000, size 12, enabled
> > > 
> > > 
> > > Output ends with a single 'M', not MCA as earlier.
> > 
> > 
> > Just a wild guess - what happens if you revert r222537 (you might need to revert
> > r222804 first)?
> 
> I think he's getting a MCA due to writing to a bad address and getting a
> PCI-e target abort equivalent and that the screen output is broken
> because the VGA device is what is probably getting hosed by the pcib driver.
> 
> Given that, I doubt the printf changes are related.

Just for grins, I decided to completely remove usb from the kernel
to see if it might help. Nolonger prints the MCA and/or M, just
hangs while printing out the no driver attached messages. Still
prints out the failed to allocate messages... 

found->	vendor=0x0e11, dev=0xb203, revid=0x01
	domain=0, bus=1, slot=2, func=0
	class=08-80-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0103, statreg=0x0290, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=7
	powerspec 2  supports D0 D3  current D0
	map[10]: type I/O Port, range 32, base 0x4800, size  8, enabled
pcib1: failed to allocate initial I/O port window (0x4000-0x4fff,0x1000)
	map[14]: type Memory, range 32, base 0xf7cb0000, size  9, enabled
pcib1: allocated memory range (0xf7cb0000-0xf7cb01ff) for rid 14 of pci0:1:2:0
pcib1: matched entry for 1.2.INTA
pcib1: slot 2 INTA hardwired to IRQ 16
found->	vendor=0x0e11, dev=0xb204, revid=0x01
	domain=0, bus=1, slot=2, func=2
	class=08-80-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0197, statreg=0x0290, cachelnsz=16 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=b, irq=10
	powerspec 2  supports D0 D3  current D0
	map[10]: type I/O Port, range 32, base 0x4000, size  8, enabled
pcib1: failed to allocate initial I/O port window (0x4000-0x4fff,0x1000)
	map[14]: type Memory, range 32, base 0xf7ca0000, size 11, enabled
pcib1: allocated memory range (0xf7ca0000-0xf7ca07ff) for rid 14 of pci0:1:2:2
	map[18]: type Memory, range 32, base 0xf7c90000, size 13, enabled
pcib1: allocated memory range (0xf7c90000-0xf7c91fff) for rid 18 of pci0:1:2:2
	map[1c]: type Memory, range 32, base 0xf7c00000, size 19, enabled
pcib1: allocated memory range (0xf7c00000-0xf7c7ffff) for rid 1c of pci0:1:2:2
pcib1: matched entry for 1.2.INTB
pcib1: slot 2 INTB hardwired to IRQ 17
found->	vendor=0x1002, dev=0x4752, revid=0x27
	domain=0, bus=1, slot=3, func=0
	class=03-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0087, statreg=0x0290, cachelnsz=16 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x08 (2000 ns), maxlat=0x00 (0 ns)
	powerspec 2  supports D0 D1 D2 D3  current D0
	map[10]: type Memory, range 32, base 0xf6000000, size 24, enabled
pcib1: allocated memory range (0xf6000000-0xf6ffffff) for rid 10 of pci0:1:3:0
	map[14]: type I/O Port, range 32, base 0x4400, size  8, enabled
pcib1: failed to allocate initial I/O port window (0x4000-0x4fff,0x1000)
	map[18]: type Memory, range 32, base 0xf5ff0000, size 12, enabled
pcib1: allocated memory range (0xf5ff0000-0xf5ff0fff) for rid 18 of pci0:1:3:0
pci1: <serial bus, USB> at device 0.0 (no driver attached)
pci1: <serial bus, USB> at device 0.1 (no driver attached)
pci1: <base peripheral> at device 2.0 (no driver attached)
pci1: <base peripheral> at device 2.2 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no output after this.
Received on Fri Jun 10 2011 - 13:00:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:14 UTC