Date: Tue, 3 May 2011 12:30:16 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: <201105031230.p43CUGSf059577@freefall.freebsd.org>
index | next in thread | raw e-mail
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: 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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105031230.p43CUGSf059577>
