kern/147583: [puc] [patch] sys/dev/puc/pucdata.c: incorrect clock value for Oxford OX16PCI954

John Baldwin jhb at freebsd.org
Tue May 3 12:30:16 UTC 2011


The following reply was made to PR kern/147583; it has been noted by GNATS.

From: John Baldwin <jhb at freebsd.org>
To: Craig Leres <leres at ee.lbl.gov>
Cc: bug-followup at freebsd.org
Subject: Re: kern/147583: [puc] [patch] sys/dev/puc/pucdata.c: incorrect clock value for Oxford OX16PCI954
Date: Tue, 3 May 2011 08:17:35 -0400

 On Monday, May 02, 2011 7:51:58 pm Craig Leres wrote:
 > 
 > > Hmmmm.  Can you download my gdb scripts from www.freebsd.org/~jhb/gdb/ 
 into a 
 > > directory, and then do this:
 > 
 > I had to tweak the scrips a bit (machine_arch doesn't exist) but I've
 > attached the output.
 
 Hmm, ok.  I suspect that this code is what is failing in puc_bfe_attach():
 
 	/* Probe and attach our children. */
 	for (idx = 0; idx < sc->sc_nports; idx++) {
 		port = &sc->sc_port[idx];
 		if (port->p_dev == NULL)
 			continue;
 		error = device_probe_and_attach(port->p_dev);
 		if (error) {
 			device_delete_child(dev, port->p_dev);
 			port->p_dev = NULL;
 		}
 	}
 
 Can you add some printfs to that to verify that that is failing and what error 
 it is returning?  Might need to add some more printfs to figure out why uart 
 is failing to probe as well in the uart driver.
 
 -- 
 John Baldwin


More information about the freebsd-bugs mailing list