Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Aug 2009 13:20:45 GMT
From:      Aurélien Méré <freebsd@amc-os.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/137668: amdpm no longer works in RELENG_7
Message-ID:  <200908111320.n7BDKj7j033475@www.freebsd.org>
Resent-Message-ID: <200908111330.n7BDU4xE098373@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
Aug  4 10:25:06 vodka kernel: AMD Features=0xc0480800<SYSCALL,MP,MMX+,3DNow!+,3DNow!>
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: <ASUS     PROD00000000>
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 <Version 1.1> irqs 0-23 on motherboard
Aug  4 10:25:06 vodka kernel: kbd1 at kbdmux0
Aug  4 10:25:06 vodka kernel: smbios0: <System Management BIOS> 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: <software crypto> on motherboard
Aug  4 10:25:06 vodka kernel: pcib0: <MPTable Host-PCI bridge> pcibus 0 on motherboard
Aug  4 10:25:06 vodka kernel: pci0: <PCI bus> on pcib0
Aug  4 10:25:06 vodka kernel: agp0: <AMD 762 host to AGP bridge> on hostb0
Aug  4 10:25:06 vodka kernel: pcib1: <MPTable PCI-PCI bridge> at device 1.0 on pci0
Aug  4 10:25:06 vodka kernel: pci1: <PCI bus> on pcib1
Aug  4 10:25:06 vodka kernel: vgapci0: <VGA-compatible display> port 0xd800-0xd8ff mem 0xf4000000-0xf5ffffff,0xf8000000-0xf9ffffff irq 16 at device 5.0 on pci1
Aug  4 10:25:06 vodka kernel: isab0: <PCI-ISA bridge> at device 7.0 on pci0
Aug  4 10:25:06 vodka kernel: isa0: <ISA bus> on isab0
Aug  4 10:25:06 vodka kernel: atapci0: <AMD 768 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xb800-0xb80f at device 7.1 on pci0
Aug  4 10:25:06 vodka kernel: ata0: <ATA channel 0> on atapci0
Aug  4 10:25:06 vodka kernel: ata0: [ITHREAD]
Aug  4 10:25:06 vodka kernel: ata1: <ATA channel 1> on atapci0
Aug  4 10:25:06 vodka kernel: ata1: [ITHREAD]
Aug  4 10:25:06 vodka kernel: amdpm0: <AMD 756/766/768/8111 Power Management Controller> port 0xe4e0-0xe4ff at device 7.3 on pci0
Aug  4 10:25:06 vodka kernel: smbus0: <System Management Bus> on amdpm0
Aug  4 10:25:06 vodka kernel: smb0: <SMBus generic I/O> on smbus0
Aug  4 10:25:06 vodka kernel: atapci1: <Marvell 88SX6081 SATA300 controller> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
Aug  5 00:37:23 vodka kernel: AMD Features=0xc0480800<SYSCALL,MP,MMX+,3DNow!+,3DNow!>
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: <ASUS     PROD00000000>
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 <Version 1.1> irqs 0-23 on motherboard
Aug  5 00:37:23 vodka kernel: kbd1 at kbdmux0
Aug  5 00:37:23 vodka kernel: smbios0: <System Management BIOS> 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: <software crypto> on motherboard
Aug  5 00:37:23 vodka kernel: pcib0: <MPTable Host-PCI bridge> pcibus 0 on motherboard
Aug  5 00:37:23 vodka kernel: pci0: <PCI bus> on pcib0
Aug  5 00:37:23 vodka kernel: agp0: <AMD 762 host to AGP bridge> on hostb0
Aug  5 00:37:23 vodka kernel: pcib1: <MPTable PCI-PCI bridge> at device 1.0 on pci0
Aug  5 00:37:23 vodka kernel: pci1: <PCI bus> on pcib1
Aug  5 00:37:23 vodka kernel: vgapci0: <VGA-compatible display> port 0xd800-0xd8ff mem 0xf4000000-0xf5ffffff,0xf8000000-0xf9ffffff irq 16 at device 5.0 on pci1
Aug  5 00:37:23 vodka kernel: isab0: <PCI-ISA bridge> at device 7.0 on pci0
Aug  5 00:37:23 vodka kernel: isa0: <ISA bus> on isab0
Aug  5 00:37:23 vodka kernel: atapci0: <AMD 768 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xb800-0xb80f at device 7.1 on pci0
Aug  5 00:37:23 vodka kernel: ata0: <ATA channel 0> on atapci0
Aug  5 00:37:23 vodka kernel: ata0: [ITHREAD]
Aug  5 00:37:23 vodka kernel: ata1: <ATA channel 1> on atapci0
Aug  5 00:37:23 vodka kernel: ata1: [ITHREAD]
Aug  5 00:37:23 vodka kernel: amdpm0: <AMD 756/766/768/8111 Power Management Controller> 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: <Marvell 88SX6081 SATA300 controller> 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!!
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908111320.n7BDKj7j033475>