From owner-freebsd-bugs@FreeBSD.ORG Mon May 2 18:20:12 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 892691065677 for ; Mon, 2 May 2011 18:20:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 77E478FC0A for ; Mon, 2 May 2011 18:20:12 +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 p42IKCIs059908 for ; Mon, 2 May 2011 18:20:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p42IKCTp059905; Mon, 2 May 2011 18:20:12 GMT (envelope-from gnats) Date: Mon, 2 May 2011 18:20:12 GMT Message-Id: <201105021820.p42IKCTp059905@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: John Baldwin Cc: Subject: Re: kern/147583: [puc] [patch] sys/dev/puc/pucdata.c: incorrect clock value for Oxford OX16PCI954 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John Baldwin List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 May 2011 18:20:12 -0000 The following reply was made to PR kern/147583; it has been noted by GNATS. From: John Baldwin To: Craig Leres Cc: bug-followup@freebsd.org Subject: Re: kern/147583: [puc] [patch] sys/dev/puc/pucdata.c: incorrect clock value for Oxford OX16PCI954 Date: Mon, 2 May 2011 14:16:48 -0400 On Monday, May 02, 2011 1:43:30 pm Craig Leres wrote: > > > Hmm, what does 'devinfo -rv' show? > > Attached. > > After booting I can see cuau0 and cuau1 (motherboard serials) and one > ttyU0 (FTDI serial) but no puc ports. Hmmmm. Can you download my gdb scripts from www.freebsd.org/~jhb/gdb/ into a directory, and then do this: # cd /path/to/gdb/scripts # kgdb (as root) ... (kgdb) source gdb6 (kgdb) devinfo .. (will list all devices in system, look for puc0, I will use mfi0 in my example here) pcib2 0xffffff00034e5d00 (0xffffff0003517080) pci2 0xffffff0003502300 (0x0) mfi0 0xffffff00034e7600 (0xffffff00034f9c00) mfip0 0xffffff00034e5400 (0x0) mfid0 0xffffff0003354e00 (0xffffff0003adf140) ... (the value after the parens is the 'softc' pointer) (kgdb) set $sc = (struct puc_softc *)0xffffff00034f9c00 (kgdb) p *$sc I mostly care about the output from the last command if you could provide that. It's odd that puc isn't adding any child devices. -- John Baldwin