Date: Fri, 25 Jul 2003 22:30:12 -0700 (PDT) From: none <jimd_NOSPAM@siu.edu> To: freebsd-i386@FreeBSD.org Subject: Re: i386/53200: 5.1-RC1 SMP kernel boot gags at "APIC_IO: Testing 8254 interrupt delivery" Message-ID: <200307260530.h6Q5UCMD067209@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR i386/53200; it has been noted by GNATS. From: none <jimd_NOSPAM@siu.edu> To: freebsd-gnats-submit@FreeBSD.org, jimd@siu.edu Cc: Subject: Re: i386/53200: 5.1-RC1 SMP kernel boot gags at "APIC_IO: Testing 8254 interrupt delivery" Date: Sat, 26 Jul 2003 00:26:36 -0500 Adding some PRINTF's, as in the patch below, to /usr/src/sys/i386/isa/clock.c, enabling KERNEL SMP and APIC (HT already enabled in BIOS), rebuilding and installing kernel, and then rebooting results in a persistent output of: "read_intr_count(8):0". *** clock.c.orig Fri Jul 25 23:45:48 2003 --- clock.c Sat Jul 26 00:12:40 2003 *************** *** 999,1006 **** if (apic_8254_trial) { printf("APIC_IO: Testing 8254 interrupt delivery\n"); ! while (read_intr_count(8) < 6) ; /* nothing */ if (read_intr_count(apic_8254_intr) < 3) { /* * The MP table is broken. --- 999,1012 ---- if (apic_8254_trial) { printf("APIC_IO: Testing 8254 interrupt delivery\n"); ! while (read_intr_count(8) < 6) { ; /* nothing */ + printf("--- read_intr_count(8):%lu\n",read_intr_count(8)); + } + printf("___ Out of 'while(read_intr_count(8) < 6'\n"); + printf("___ read_intr_count(8):%lu\n",read_intr_count(8)); + printf("___ read_intr_count(apic_8254_intr):%lu\n", + read_intr_count(apic_8254_intr)); if (read_intr_count(apic_8254_intr) < 3) { /* * The MP table is broken.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307260530.h6Q5UCMD067209>