From owner-freebsd-bugs@FreeBSD.ORG Tue Aug 11 13:30:07 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63D871065670 for ; Tue, 11 Aug 2009 13:30:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7F8F58FC3E for ; Tue, 11 Aug 2009 13:30:04 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7BDU4h8098374 for ; Tue, 11 Aug 2009 13:30:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7BDU4xE098373; Tue, 11 Aug 2009 13:30:04 GMT (envelope-from gnats) Resent-Date: Tue, 11 Aug 2009 13:30:04 GMT Resent-Message-Id: <200908111330.n7BDU4xE098373@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Aurélien Méré Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13ED21065673 for ; Tue, 11 Aug 2009 13:20:47 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 02B0A8FC40 for ; Tue, 11 Aug 2009 13:20:47 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7BDKjUe033476 for ; Tue, 11 Aug 2009 13:20:45 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n7BDKj7j033475; Tue, 11 Aug 2009 13:20:45 GMT (envelope-from nobody) Message-Id: <200908111320.n7BDKj7j033475@www.freebsd.org> Date: Tue, 11 Aug 2009 13:20:45 GMT From: Aurélien Méré To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/137668: amdpm no longer works in RELENG_7 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Aug 2009 13:30:07 -0000 >Number: 137668 >Category: misc >Synopsis: amdpm no longer works in RELENG_7 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Aug 11 13:30:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Aurélien Méré >Release: 7.2-STABLE (RELENG_7) >Organization: >Environment: FreeBSD vodka.adriana.amc-os.com 7.2-STABLE FreeBSD 7.2-STABLE #1: Tue Aug 11 13:43:07 CEST 2009 kindman@vodka.adriana.amc-os.com:/mnt/usr/obj/mnt/usr/src/sys/VODKA-1.0.6 i386 >Description: I upgraded my system from 7.2-RELEASE to 7.2-STABLE and amdpm no longer works. I tried rebooting on previous kernel and it works again. I used the same kernel config. Here is the output with 7.2-RELEASE : Aug 4 10:25:06 vodka kernel: FreeBSD 7.2-RELEASE #0: Mon May 18 19:33:51 CEST 2009 Aug 4 10:25:06 vodka kernel: kindman@vodka.adriana.amc-os.com:/mnt/usr/obj/mnt/usr/src/sys/VODKA-1.0.6 Aug 4 10:25:06 vodka kernel: Timecounter "i8254" frequency 1193182 Hz quality 0 Aug 4 10:25:06 vodka kernel: CPU: AMD Athlon(TM) MP 2000+ (1666.73-MHz 686-class CPU) Aug 4 10:25:06 vodka kernel: Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 Aug 4 10:25:06 vodka kernel: Features=0x383fbff Aug 4 10:25:06 vodka kernel: AMD Features=0xc0480800 Aug 4 10:25:06 vodka kernel: real memory = 805306368 (768 MB) Aug 4 10:25:06 vodka kernel: avail memory = 778305536 (742 MB) Aug 4 10:25:06 vodka kernel: MPTable: Aug 4 10:25:06 vodka kernel: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs Aug 4 10:25:06 vodka kernel: cpu0 (BSP): APIC ID: 0 Aug 4 10:25:06 vodka kernel: cpu1 (AP): APIC ID: 1 Aug 4 10:25:06 vodka kernel: ioapic0: Assuming intbase of 0 Aug 4 10:25:06 vodka kernel: ioapic0 irqs 0-23 on motherboard Aug 4 10:25:06 vodka kernel: kbd1 at kbdmux0 Aug 4 10:25:06 vodka kernel: smbios0: at iomem 0xf3b60-0xf3b7e on motherboard Aug 4 10:25:06 vodka kernel: smbios0: Version: 2.3, BCD Revision: 2.3 Aug 4 10:25:06 vodka kernel: cryptosoft0: on motherboard Aug 4 10:25:06 vodka kernel: pcib0: pcibus 0 on motherboard Aug 4 10:25:06 vodka kernel: pci0: on pcib0 Aug 4 10:25:06 vodka kernel: agp0: on hostb0 Aug 4 10:25:06 vodka kernel: pcib1: at device 1.0 on pci0 Aug 4 10:25:06 vodka kernel: pci1: on pcib1 Aug 4 10:25:06 vodka kernel: vgapci0: port 0xd800-0xd8ff mem 0xf4000000-0xf5ffffff,0xf8000000-0xf9ffffff irq 16 at device 5.0 on pci1 Aug 4 10:25:06 vodka kernel: isab0: at device 7.0 on pci0 Aug 4 10:25:06 vodka kernel: isa0: on isab0 Aug 4 10:25:06 vodka kernel: atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xb800-0xb80f at device 7.1 on pci0 Aug 4 10:25:06 vodka kernel: ata0: on atapci0 Aug 4 10:25:06 vodka kernel: ata0: [ITHREAD] Aug 4 10:25:06 vodka kernel: ata1: on atapci0 Aug 4 10:25:06 vodka kernel: ata1: [ITHREAD] Aug 4 10:25:06 vodka kernel: amdpm0: port 0xe4e0-0xe4ff at device 7.3 on pci0 Aug 4 10:25:06 vodka kernel: smbus0: on amdpm0 Aug 4 10:25:06 vodka kernel: smb0: on smbus0 Aug 4 10:25:06 vodka kernel: atapci1: port 0xb400-0xb4ff mem 0xf3800000-0xf38fffff irq 16 at device 8.0 on pci0 And the output with 7.2-STABLE : Aug 5 00:37:23 vodka kernel: FreeBSD 7.2-STABLE #0: Tue Aug 4 23:21:23 CEST 2009 Aug 5 00:37:23 vodka kernel: kindman@vodka.adriana.amc-os.com:/mnt/usr/obj/mnt/usr/src/sys/VODKA-1.0.6 Aug 5 00:37:23 vodka kernel: Timecounter "i8254" frequency 1193182 Hz quality 0 Aug 5 00:37:23 vodka kernel: CPU: AMD Athlon(TM) MP 2000+ (1666.73-MHz 686-class CPU) Aug 5 00:37:23 vodka kernel: Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 Aug 5 00:37:23 vodka kernel: Features=0x383fbff Aug 5 00:37:23 vodka kernel: AMD Features=0xc0480800 Aug 5 00:37:23 vodka kernel: real memory = 805306368 (768 MB) Aug 5 00:37:23 vodka kernel: avail memory = 778305536 (742 MB) Aug 5 00:37:23 vodka kernel: MPTable: Aug 5 00:37:23 vodka kernel: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs Aug 5 00:37:23 vodka kernel: cpu0 (BSP): APIC ID: 0 Aug 5 00:37:23 vodka kernel: cpu1 (AP): APIC ID: 1 Aug 5 00:37:23 vodka kernel: ioapic0: Assuming intbase of 0 Aug 5 00:37:23 vodka kernel: ioapic0 irqs 0-23 on motherboard Aug 5 00:37:23 vodka kernel: kbd1 at kbdmux0 Aug 5 00:37:23 vodka kernel: smbios0: at iomem 0xf3b60-0xf3b7e on motherboard Aug 5 00:37:23 vodka kernel: smbios0: Version: 2.3, BCD Revision: 2.3 Aug 5 00:37:23 vodka kernel: cryptosoft0: on motherboard Aug 5 00:37:23 vodka kernel: pcib0: pcibus 0 on motherboard Aug 5 00:37:23 vodka kernel: pci0: on pcib0 Aug 5 00:37:23 vodka kernel: agp0: on hostb0 Aug 5 00:37:23 vodka kernel: pcib1: at device 1.0 on pci0 Aug 5 00:37:23 vodka kernel: pci1: on pcib1 Aug 5 00:37:23 vodka kernel: vgapci0: port 0xd800-0xd8ff mem 0xf4000000-0xf5ffffff,0xf8000000-0xf9ffffff irq 16 at device 5.0 on pci1 Aug 5 00:37:23 vodka kernel: isab0: at device 7.0 on pci0 Aug 5 00:37:23 vodka kernel: isa0: on isab0 Aug 5 00:37:23 vodka kernel: atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xb800-0xb80f at device 7.1 on pci0 Aug 5 00:37:23 vodka kernel: ata0: on atapci0 Aug 5 00:37:23 vodka kernel: ata0: [ITHREAD] Aug 5 00:37:23 vodka kernel: ata1: on atapci0 Aug 5 00:37:23 vodka kernel: ata1: [ITHREAD] Aug 5 00:37:23 vodka kernel: amdpm0: port 0xe4e0-0xe4ff at device 7.3 on pci0 Aug 5 00:37:23 vodka kernel: amdpm0: failed to enable port mapping! Aug 5 00:37:23 vodka kernel: amdpm0: could not map i/o space Aug 5 00:37:23 vodka kernel: device_attach: amdpm0 attach returned 6 Aug 5 00:37:23 vodka kernel: atapci1: port 0xb400-0xb4ff mem 0xf3800000-0xf38fffff irq 16 at device 8.0 on pci0 I noticed it because mbmon is no longer able to get any monitoring value from smbus : >How-To-Repeat: cvsup RELENG_7 instead of RELENG_7_2 make buildkernel >Fix: >Release-Note: >Audit-Trail: >Unformatted: >>> Testing Reg's at SMBus <<< ioctl(smb0:open): No such file or directory SMBus[AMD756/766/768/8111] found, but No HWM available on it!!