From owner-freebsd-hardware@FreeBSD.ORG Mon Mar 29 16:16:44 2010 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B719C106564A for ; Mon, 29 Mar 2010 16:16:44 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 766CB8FC0A for ; Mon, 29 Mar 2010 16:16:44 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id E718A46BA7; Mon, 29 Mar 2010 12:16:43 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id AACAC8A01F; Mon, 29 Mar 2010 12:16:42 -0400 (EDT) From: John Baldwin To: agh@coolrhaug.com Date: Mon, 29 Mar 2010 12:02:16 -0400 User-Agent: KMail/1.12.1 (FreeBSD/7.3-CBSD-20100217; KDE/4.3.1; amd64; ; ) References: <201002212231.12018.agh@coolrhaug.com> <201003171123.03817.jhb@freebsd.org> <201003280826.19914.agh@coolrhaug.com> In-Reply-To: <201003280826.19914.agh@coolrhaug.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201003291202.16104.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Mon, 29 Mar 2010 12:16:42 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-1.7 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: kochetkov.andrew@gmail.com, Randy Chou , freebsd-hardware@freebsd.org Subject: Re: Intel DP45SG motherboard problem (amd64) X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2010 16:16:44 -0000 On Saturday 27 March 2010 8:26:19 pm Alastair Hogge wrote: > On Wed March 17 2010 23:23:03 John Baldwin wrote: > > On Tuesday 16 March 2010 9:22:28 am Alastair Hogge wrote: > > > On Tue March 2 2010 00:54:00 John Baldwin wrote: > > > > This would not change acpidump output, just the kernel. Are you able > > > > to capture the boot messages with this kernel? > > > > > > Full log: > > > http://codepad.org/96PT5OO8 > > > > Oh! ACPI is working, but the MADT is not so it's trying to mix and match > > mptable (for SMP) with ACPI. Odd that you didn't get a warning message > > about the checksum failing from boot -v. Try this patch: > > > > Index: amd64/acpica/acpi_machdep.c > > =================================================================== > > --- amd64/acpica/acpi_machdep.c (revision 205249) > > +++ amd64/acpica/acpi_machdep.c (working copy) > > @@ -627,8 +627,10 @@ > > if (ACPI_FAILURE(AcpiTbChecksum(table, length))) { > > if (bootverbose) > > printf("ACPI: Failed checksum for table %s\n", sig); > > +#if (ACPI_CHECKSUM_ABORT) > > table_unmap(table, length); > > return (NULL); > > +#endif > > } > > return (table); > > } > > Index: i386/acpica/acpi_machdep.c > > =================================================================== > > --- i386/acpica/acpi_machdep.c (revision 205249) > > +++ i386/acpica/acpi_machdep.c (working copy) > > @@ -641,8 +641,10 @@ > > if (ACPI_FAILURE(AcpiTbChecksum(table, length))) { > > if (bootverbose) > > printf("ACPI: Failed checksum for table %s\n", sig); > > +#if (ACPI_CHECKSUM_ABORT) > > table_unmap(table, length); > > return (NULL); > > +#endif > > } > > return (table); > > } > > > OK, I've applied the patch to my i386 system & there doesn't appear to be > problems so far. > > I also created an amd64 bootonly CD with the patch & was able to boot into > sysinstall :-) > > [dcons connected] > lapic: Divisor 2, Frequency 166664803 Hz > ioapic0: routing intpin 8 (ISA IRQ 8) to lapic 0 vector 59 > Timecounter "TSC" frequency 2833301532 Hz quality -100 > Timecounters tick every 1.000 msec > vlan: initialized, using hash tables with chaining > lo0: bpf attached > hptrr: no controller detected. > ata2: Identifying devices: 00000001 > ata2: New devices: 00000001 > firewire0: 2 nodes, maxhop <= 1 cable IRM irm(1) (me) > firewire0: bus manager 1 > md0: Preloaded image 4194304 bytes at 0xffffffff8104f9f8 > usbus0: 12Mbps Full Speed USB v1.0 > usbus1: 12Mbps Full Speed USB v1.0 > usbus2: 12Mbps Full Speed USB v1.0 > usbus3: 480Mbps High Speed USB v2.0 > usbus4: 12Mbps Full Speed USB v1.0 > usbus5: 12Mbps Full Speed USB v1.0 > usbus6: 12Mbps Full Speed USB v1.0 > usbus7: 480Mbps High Speed USB v2.0 > ata2-master: pio=PIO4 wdma=WDMA2 udma=UDMA133 cable=40 wire > ad4: setting UDMA100 > ad4: 286188MB at ata2-master UDMA100 SATA 3Gb/s > ad4: 586114704 sectors [581463C/16H/63S] 16 sectors/interrupt 1 depth queue > GEOM: new disk ad4 > ugen0.1: at usbus0 > uhub0: on usbus0 > ugen1.1: at usbus1 > uhub1: on usbus1 > ugen2.1: at usbus2 > uhub2: on usbus2 > ugen3.1: at usbus3 > uhub3: on usbus3 > ugen4.1: at usbus4 > uhub4: on usbus4 > ugen5.1: at usbus5 > uhub5: on usbus5 > ugen6.1: at usbus6 > uhub6: on usbus6 > ugen7.1: at usbus7 > uhub7: on usbus7 > ad4: Intel check1 failed > ad4: Adaptec check1 failed > ad4: LSI (v3) check1 failed > ad4: LSI (v2) check1 failed > ad4: FreeBSD check1 failed > ata3: Identifying devices: 00000001 > ata3: New devices: 00000001 > ata3-master: pio=PIO4 wdma=WDMA2 udma=UDMA133 cable=40 wire > ad6: setting UDMA100 > ad6: 476940MB at ata3-master UDMA100 SATA 3Gb/s > ad6: 976773168 sectors [969021C/16H/63S] 16 sectors/interrupt 1 depth queue > ad6: Intel check1 failed > ad6: Adaptec check1 failed > ad6: LSI (v3) check1 failed > ad6: LSI (v2) check1 failed > ad6: FreeBSD check1 failed > ata4: Identifying devices: 00000001 > ata4: New devices: 00000001 > ata4-master: pio=PIO4 wdma=WDMA2 udma=UDMA133 cable=40 wire > ad8: setting UDMA100 > ad8: 114473MB at ata4-master UDMA100 SATA 1.5Gb/s > ad8: 234441648 sectors [232581C/16H/63S] 16 sectors/interrupt 1 depth queue > ad8: Intel check1 failed > ad8: Adaptec check1 failed > ad8: LSI (v3) check1 failed > ad8: LSI (v2) check1 failed > ad8: FreeBSD check1 failed > ata5: Identifying devices: 00000000 > ata5: New devices: 00000000 > ata6: Identifying devices: 00000001 > ata6: New devices: 00000001 > ata6-master: pio=PIO4 wdma=WDMA2 udma=UDMA133 cable=40 wire > ad12: setting UDMA100 > ad12: 476940MB at ata6-master UDMA100 SATA 3Gb/s > ad12: 976773168 sectors [969021C/16H/63S] 16 sectors/interrupt 1 depth queue > ad12: Intel check1 failed > ad12: Adaptec check1 failed > ad12: LSI (v3) check1 failed > ad12: LSI (v2) check1 failed > ad12: FreeBSD check1 failed > ata7: Identifying devices: 00010000 > ata7: New devices: 00010000 > ata7-master: pio=PIO4 wdma=WDMA2 udma=UDMA100 cable=40 wire > acd0: setting UDMA100 > ata7: device_reset timeout=230us > acd0: DVDR drive at ata7 as master > acd0: read 8269KB/s (8269KB/s) write 8269KB/s (8269KB/s), 2048KB buffer, > UDMA100 SATA 1.5Gb/s > acd0: Reads: CDR, CDRW, CDDA stream, DVDROM, DVDR, DVDRAM, packet > acd0: Writes: CDR, CDRW, DVDR, DVDRAM, test write, burnproof > acd0: Audio: play, 256 volume levels > acd0: Mechanism: ejectable tray, unlocked > acd0: Medium: CD-ROM 120mm data disc > GEOM: new disk ad6 > GEOM: new disk ad8 > GEOM: new disk ad12 > firewire0: New S400 device ID:00902700022b34b9 > uhub0: 2 ports with 2 removable, self powered > uhub1: 2 ports with 2 removable, self powered > uhub2: 2 ports with 2 removable, self powered > uhub4: 2 ports with 2 removable, self powered > uhub5: 2 ports with 2 removable, self powered > uhub6: 2 ports with 2 removable, self powered > uhub3: 6 ports with 6 removable, self powered > uhub7: 6 ports with 6 removable, self powered > ugen0.2: at usbus0 > uhub8: on usbus0 > (probe1:sbp0:0:1:0): Error 22, Unretryable error > (probe2:sbp0:0:2:0): Error 22, Unretryable error > (probe3:sbp0:0:3:0): Error 22, Unretryable error > (probe0:sbp0:0:0:0): Error 22, Unretryable error > (probe4:sbp0:0:4:0): Error 22, Unretryable error > (probe5:sbp0:0:5:0): Error 22, Unretryable error > (probe6:sbp0:0:6:0): Error 22, Unretryable error > ATA PseudoRAID loaded > SMP: AP CPU #1 Launched! > cpu1 AP: > ID: 0x01000000 VER: 0x00050014 LDR: 0x00000000 DFR: 0xffffffff > lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff > timer: 0x000200ef therm: 0x00010000 err: 0x00010000 pcm: 0x00010400 > SMP: AP CPU #3 Launched! > cpu3 AP: > ID: 0x03000000 VER: 0x00050014 LDR: 0x00000000 DFR: 0xffffffff > lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff > timer: 0x000200ef therm: 0x00010000 err: 0x00010000 pcm: 0x00010400 > SMP: AP CPU #2 Launched! > cpu2 AP: > ID: 0x02000000 VER: 0x00050014 LDR: 0x00000000 DFR: 0xffffffff > lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff > timer: 0x000200ef therm: 0x00010000 err: 0x00010000 pcm: 0x00010400 > ioapic0: routing intpin 3 (ISA fIlRoQw t3a)b lteo cllaepaince r1 > svteacrttoerd 4 > 8 > ioapic0: routing intpin 4 (ISA IRQ 4) to lapic 2 vector 48 > ioapic0: routing intpin 8 (ISA IRQ 8) to lapic 3 vector 48 > ioapic0: routing intpin 16 (PCI IRQ 16) to lapic 1 vector 49 > ioapic0: routing intpin 18 (PCI IRQ 18) to lapic 2 vector 49 > ioapic0: routing intpin 19 (PCI IRQ 19) to lapic 3 vector 49 > ioapic0: routing intpin 21 (PCI IRQ 21) to lapic 1 vector 50 > ioapic0: routing intpin 23 (PCI IRQ 23) to lapic 2 vector 50 > msi: Assigning MSI IRQ 256 to local APIC 3 vector 50 > WARNING: WITNESS option enabled, expect reduced performance. > ugen1.2: at usbus1 > ukbd0: on usbus1 > kbd2 at ukbd0 > kbd2: ukbd0, generic (0), config:0x0, flags:0x3d0000 > ums0: on usbus1 > uhub8: 4 ports with 4 removable, self powered > ugen0.3: at usbus0 > ums1: on > usbus0 > ums1: 7 buttons and [XYZ] coordinates ID=2 > acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x05 > acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x05 > Trying to mount root from ufs:/dev/md0 > ct_to_ts([2010-03-28 08:05:57]) = 1269763557.000000000 > start_init: trying /sbin/init > start_init: trying /sbin/oinit > start_init: trying /sbin/init.bak > start_init: trying /rescue/init > start_init: trying /stand/sysinstall > > Thanks for the help John & *, any chance this will get committed? It is already in the tree and merged to 7 and 8. It should be present in 7.4 and 8.1. -- John Baldwin