Date: Mon, 2 May 2011 18:20:12 GMT From: John Baldwin <jhb@freebsd.org> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/147583: [puc] [patch] sys/dev/puc/pucdata.c: incorrect clock value for Oxford OX16PCI954 Message-ID: <201105021820.p42IKCTp059905@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/147583; it has been noted by GNATS. From: John Baldwin <jhb@freebsd.org> To: Craig Leres <leres@ee.lbl.gov> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105021820.p42IKCTp059905>