From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 15 04:20:30 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E85A2106564A for ; Wed, 15 Jun 2011 04:20:30 +0000 (UTC) (envelope-from ansarm@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id C00F98FC08 for ; Wed, 15 Jun 2011 04:20:30 +0000 (UTC) Received: by pzk27 with SMTP id 27so3840766pzk.13 for ; Tue, 14 Jun 2011 21:20:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=GNoDlKHidZEbJ/7sjyFu6jnE9DrxHNaH03P2VSwYUCE=; b=mTTr4FS3UdW47HCRvByZTk65SqChngAw7TCvDXEmVia2coCH8pG5KZ9GxyKYOBQpCt 30GtURSWeSVy7RokxKqK6I+WaJKRQmtcq2xQ+BfvSzq6zWqyWdHV1NlICAXo4jb5sFQP VqtiNo7EZM0R9EYk5Ch70Z4vRDhouQ7gzIEJ4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=aOIlqjgiwD568DgN4mtqpi9+A5aOtuuJMl+cHfnPFn15GzBBKL8d+WKaLQ5ZvnuzSe o5yTEnWijV/6pZGR3MIMQbDoed/yGeqgQPksNxfYiyBdJ7pPlZzl2U/6G8zzcdhD7zZS tWyoN+VYR4n7IIuvfK9k3ZRSURREGrbiR92MQ= MIME-Version: 1.0 Received: by 10.68.39.133 with SMTP id p5mr4036pbk.243.1308109936422; Tue, 14 Jun 2011 20:52:16 -0700 (PDT) Received: by 10.68.44.72 with HTTP; Tue, 14 Jun 2011 20:52:16 -0700 (PDT) Date: Tue, 14 Jun 2011 23:52:16 -0400 Message-ID: From: Ansar Mohammed To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Shooting trouble on a PCI bus hang X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jun 2011 04:20:31 -0000 Hello All, I have a system that is intermitently hanging during the initial PCI bus scan during boot. I have turned on verbose logging and I cannot break to debugger as its a hang. Can someone guide me to the relevant code section where PCI bus enumeration occurs so that I may modify the kernel source to output even more debug info. My hang occurs at the end of this partial dmesg output. Thank you! pci0: on pcib0 pci0: domain=0, physical bus=0 found-> vendor=0x100b, dev=0x0028, revid=0x21 domain=0, bus=0, slot=1, func=0 class=06-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0005, statreg=0x0220, cachelnsz=8 (dwords) lattimer=0xf8 (7440 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[10]: type I/O Port, range 32, base 0xac1c, size 2, enabled found-> vendor=0x100b, dev=0x0030, revid=0x00 domain=0, bus=0, slot=1, func=1 class=03-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0003, statreg=0x0220, cachelnsz=8 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[10]: type Memory, range 32, base 0x41000000, size 24, enabled map[14]: type Memory, range 32, base 0x40ffc000, size 14, enabled map[18]: type Memory, range 32, base 0x40ff8000, size 14, enabled map[1c]: type Memory, range 32, base 0x40ff4000, size 14, enabled found-> vendor=0x10ec, dev=0x8139, revid=0x10 domain=0, bus=0, slot=14, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x40 (1920 ns), mingnt=0x20 (8000 ns), maxlat=0x40 (16000 ns) intpin=a, irq=11 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type I/O Port, range 32, base 0xef00, size 8, enabled map[14]: type Memory, range 32, base 0xeff00000, size 8, enabled $PIR: 0:14 INTA routed to irq 11 found-> vendor=0x1022, dev=0x2090, revid=0x03 domain=0, bus=0, slot=15, func=0 class=06-01-00, hdrtype=0x00, mfdev=1 cmdreg=0x0009, statreg=0x02a0, cachelnsz=8 (dwords) lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[10]: type I/O Port, range 32, base 0x6000, size 3, enabled map[14]: type I/O Port, range 32, base 0x6100, size 8, enabled map[18]: type I/O Port, range 32, base 0x6200, size 6, enabled map[1c]: type I/O Port, range 32, base 0, size 5, enabled map[20]: type I/O Port, range 32, base 0x9d00, size 7, enabled map[24]: type I/O Port, range 32, base 0x9c00, size 6, enabled