The following reply was made to PR kern/147583; it has been noted by GNATS.
From: John Baldwin <[email protected]> To: Craig Leres <[email protected]> Cc: [email protected] 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 _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
