From owner-freebsd-current@FreeBSD.ORG Fri Jun 10 15:00:16 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DC52106566C; Fri, 10 Jun 2011 15:00:16 +0000 (UTC) (envelope-from jwd@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 143BC8FC13; Fri, 10 Jun 2011 15:00:16 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p5AF0FNA078241; Fri, 10 Jun 2011 15:00:15 GMT (envelope-from jwd@freefall.freebsd.org) Received: (from jwd@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p5AF0FfM078240; Fri, 10 Jun 2011 15:00:15 GMT (envelope-from jwd) Date: Fri, 10 Jun 2011 15:00:15 +0000 From: John To: John Baldwin Message-ID: <20110610150015.GA78095@FreeBSD.org> References: <20110606002353.GA2518@slowblink.com> <20110608223037.GA83941@FreeBSD.org> <4DF06404.8090909@FreeBSD.org> <201106090857.33479.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201106090857.33479.jhb@freebsd.org> User-Agent: Mutt/1.4.2.3i X-Mailman-Approved-At: Fri, 10 Jun 2011 15:25:54 +0000 Cc: freebsd-current@freebsd.org Subject: Re: NEW_PCIB? pcib1: failed to allocate initial I/O port window: 0x4000-0x4fff X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2011 15:00:16 -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: at device 0.0 (no driver attached) pci1: at device 0.1 (no driver attached) pci1: at device 2.0 (no driver attached) pci1: at device 2.2 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no output after this.