The following reply was made to PR kern/147583; it has been noted by GNATS.
From: Craig Leres <le...@ee.lbl.gov> To: John Baldwin <j...@freebsd.org> Cc: bug-follo...@freebsd.org Subject: Re: kern/147583: [puc] [patch] sys/dev/puc/pucdata.c: incorrect clock value for Oxford OX16PCI954 Date: Mon, 02 May 2011 16:51:58 -0700 This is a multi-part message in MIME format. --------------070004090208010800000709 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit > 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. Craig --------------070004090208010800000709 Content-Type: text/plain; name="kgdb.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="kgdb.txt" hot 1 % kgdb [...] at ../../../kern/sched_ule.c:1865 1865 cpuid = PCPU_GET(cpuid); (kgdb) source gdb6 (kgdb) set pagination off (kgdb) devinfo [...] pcib2 0xffffff0002c5e600 (0xffffff0003001680) pci5 0xffffff0002c63100 (0x0) pcib3 0xffffff0002c63300 (0xffffff0003001700) pci6 0xffffff0002c46a00 (0x0) puc0 0xffffff0002c46100 (0xffffff0002c6a200) [...] (kgdb) set $sc = (struct puc_softc *)0xffffff0002c6a200 (kgdb) set print pretty on (kgdb) print *$sc $2 = { sc_dev = 0xffffff0002c46100, sc_cfg = 0xffffffff80fed0a0, sc_cfg_data = 0, sc_bar = {{ b_res = 0xffffff0003206a80, b_rid = 16, b_type = 4 }, { b_res = 0x0, b_rid = -1, b_type = 0 }, { b_res = 0x0, b_rid = -1, b_type = 0 }, { b_res = 0x0, b_rid = -1, b_type = 0 }, { b_res = 0x0, b_rid = -1, b_type = 0 }, { b_res = 0x0, b_rid = -1, b_type = 0 }}, sc_ioport = { rm_list = { tqh_first = 0xffffff0003205d80, tqh_last = 0xffffff0003205e18 }, rm_mtx = 0xffffff0002c681c0, rm_link = { tqe_next = 0xffffff0002c6a2c0, tqe_prev = 0xffffffff80cbba98 }, rm_start = 0, rm_end = 0, rm_type = RMAN_ARRAY, rm_descr = 0xffffff00030001e0 "puc0 I/O port mapping" }, sc_iomem = { rm_list = { tqh_first = 0x0, tqh_last = 0xffffff0002c6a2c0 }, rm_mtx = 0xffffff00030001a0, rm_link = { tqe_next = 0xffffff0002c6a308, tqe_prev = 0xffffff0002c6a290 }, rm_start = 0, rm_end = 0, rm_type = RMAN_ARRAY, rm_descr = 0xffffff00030001c0 "puc0 I/O memory mapping" }, sc_irq = { rm_list = { tqh_first = 0xffffff0003205d00, tqh_last = 0xffffff0003206018 }, rm_mtx = 0xffffff0003000180, rm_link = { tqe_next = 0x0, tqe_prev = 0xffffff0002c6a2d8 }, rm_start = 0, rm_end = 0, rm_type = RMAN_ARRAY, rm_descr = 0xffffff0002c7ba00 "puc0 port numbers" }, sc_ires = 0xffffff0003205a80, sc_icookie = 0xffffff0003205980, sc_irid = 0, sc_nports = 4, sc_port = 0xffffff0002c6a400, sc_fastintr = -1, sc_leaving = 0, sc_polled = 0, sc_ilr = 0, sc_serdevs = 0 } --------------070004090208010800000709-- _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"