Possible dri kernel issue

John Davis john.r.davis.jr at gmail.com
Mon Feb 28 21:01:30 UTC 2011


To whom it may concern:
I am an avid Linux user and recent BSD convert. I have a Lenovo
Thinkpad L412 with an Intel i3 370M & ATI HD 5145(rebadged HD4570)
graphics. I recently tried Fedora 14 and had the same problem that I
have had with PC-BSD, the underside of the laptop got HOT!  When I was
running on the radeon driver it was ridiculously hot, then when i
switched to the catalyst it was managable.

I found out that the following link worked in Fedora 14:
http://forums.fedoraforum.org/showthread.php?t=155503. In PC-BSD I was
using the radeon driver with DynamicPM, Clockgating, and
ForceLowPowerMode all on and it was still hot.

After careful consideration and diagnosis, with thanks to Dru and
Martin, we believe that this might be a dri problem on the kernel
side, possibly linked to the Intel Core i3. I am willing to do testing
for you on PC-BSD 8.2 if you would like to help everyone. Let me know
what I can do to help!

Thought I would list the repo link:
http://download1.rpmfusion.org/nonfree/fedora/updates/testing/14/i386/repoview/index.html

BEFORE SENDING FINISH THIS!

pciconf -lv:
hostb0 at pci0:0:0:0:      class=0x060000 card=0x218317aa chip=0x00448086
rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = bridge
    subclass   = HOST-PCI
pcib1 at pci0:0:1:0:       class=0x060400 card=0x218417aa chip=0x00458086
rev=0x02 hdr=0x01
    vendor     = 'Intel Corporation'
    class      = bridge
    subclass   = PCI-PCI
none0 at pci0:0:22:0:      class=0x078000 card=0x215f17aa chip=0x3b648086
rev=0x06 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = simple comms
ehci0 at pci0:0:26:0:      class=0x0c0320 card=0x216317aa chip=0x3b3c8086
rev=0x06 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = serial bus
    subclass   = USB
hdac0 at pci0:0:27:0:      class=0x040300 card=0x215e17aa chip=0x3b568086
rev=0x06 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = multimedia
    subclass   = HDA
pcib2 at pci0:0:28:0:      class=0x060400 card=0x216417aa chip=0x3b428086
rev=0x06 hdr=0x01
    vendor     = 'Intel Corporation'
    class      = bridge
    subclass   = PCI-PCI
pcib3 at pci0:0:28:1:      class=0x060400 card=0x216417aa chip=0x3b448086
rev=0x06 hdr=0x01
    vendor     = 'Intel Corporation'
    class      = bridge
    subclass   = PCI-PCI
pcib4 at pci0:0:28:2:      class=0x060400 card=0x216417aa chip=0x3b468086
rev=0x06 hdr=0x01
    vendor     = 'Intel Corporation'
    class      = bridge
    subclass   = PCI-PCI
pcib5 at pci0:0:28:3:      class=0x060400 card=0x216417aa chip=0x3b488086
rev=0x06 hdr=0x01
    vendor     = 'Intel Corporation'
    class      = bridge
    subclass   = PCI-PCI
pcib6 at pci0:0:28:4:      class=0x060400 card=0x216417aa chip=0x3b4a8086
rev=0x06 hdr=0x01
    vendor     = 'Intel Corporation'
    class      = bridge
    subclass   = PCI-PCI
pcib7 at pci0:0:28:5:      class=0x060400 card=0x216417aa chip=0x3b4c8086
rev=0x06 hdr=0x01
    vendor     = 'Intel Corporation'
    class      = bridge
    subclass   = PCI-PCI
ehci1 at pci0:0:29:0:      class=0x0c0320 card=0x216317aa chip=0x3b348086
rev=0x06 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = serial bus
    subclass   = USB
pcib8 at pci0:0:30:0:      class=0x060401 card=0x216517aa chip=0x24488086
rev=0xa6 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801 Family (ICH2/3/4/5/6/7/8/9-M) Hub Interface to
PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
isab0 at pci0:0:31:0:      class=0x060100 card=0x216617aa chip=0x3b098086
rev=0x06 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = bridge
    subclass   = PCI-ISA
ahci0 at pci0:0:31:2:      class=0x010601 card=0x216817aa chip=0x3b298086
rev=0x06 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'IBEX AHCI Controller(4Port)'
    class      = mass storage
    subclass   = SATA
none1 at pci0:0:31:3:      class=0x0c0500 card=0x216717aa chip=0x3b308086
rev=0x06 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = serial bus
    subclass   = SMBus
vgapci0 at pci0:1:0:0:     class=0x030000 card=0x21bb17aa chip=0x95531002
rev=0x00 hdr=0x00
    vendor     = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
    device     = 'ATI Mobility Radeon HD 4570 Series (M92)'
    class      = display
    subclass   = VGA
hdac1 at pci0:1:0:1:       class=0x040300 card=0x21bb17aa chip=0xaa381002
rev=0x00 hdr=0x00
    vendor     = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
    class      = multimedia
    subclass   = HDA
none2 at pci0:2:0:0:       class=0x088000 card=0x212e17aa chip=0x2382197b
rev=0x00 hdr=0x00
    vendor     = 'JMicron Technology Corp.'
    device     = 'JMB38X SD/MMC Host Controller  (JMB38X)'
    class      = base peripheral
sdhci0 at pci0:2:0:2:      class=0x080501 card=0x212d17aa chip=0x2381197b
rev=0x00 hdr=0x00
    vendor     = 'JMicron Technology Corp.'
    class      = base peripheral
    subclass   = SD host controller
none3 at pci0:2:0:3:       class=0x088000 card=0x212f17aa chip=0x2383197b
rev=0x00 hdr=0x00
    vendor     = 'JMicron Technology Corp.'
    device     = 'JMB38X MS Host Controller (JMB38X)'
    class      = base peripheral
none4 at pci0:2:0:4:       class=0x088000 card=0x213017aa chip=0x2384197b
rev=0x00 hdr=0x00
    vendor     = 'JMicron Technology Corp.'
    device     = 'JMB38X xD Host Controller (JMB38X)'
    class      = base peripheral
none5 at pci0:3:0:0:       class=0x028000 card=0xe02010ec chip=0x817210ec
rev=0x10 hdr=0x00
    vendor     = 'Realtek Semiconductor'
    device     = 'Realtek RTL8191SE wireless LAN 802.11N PCI-E NIC
(RTL8191SE ?)'
    class      = network
re0 at pci0:4:0:0: class=0x020000 card=0x213117aa chip=0x816810ec rev=0x03 hdr=0x00
    vendor     = 'Realtek Semiconductor'
    device     = 'Gigabit Ethernet NIC(NDIS 6.0) (RTL8168/8111/8111c)'
    class      = network
    subclass   = ethernet
hostb1 at pci0:255:0:0:    class=0x060000 card=0x219617aa chip=0x2c628086
rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = bridge
    subclass   = HOST-PCI
hostb2 at pci0:255:0:1:    class=0x060000 card=0x219617aa chip=0x2d018086
rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = bridge
    subclass   = HOST-PCI
hostb3 at pci0:255:2:0:    class=0x060000 card=0x219617aa chip=0x2d108086
rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = bridge
    subclass   = HOST-PCI
hostb4 at pci0:255:2:1:    class=0x060000 card=0x219617aa chip=0x2d118086
rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = bridge
    subclass   = HOST-PCI
hostb5 at pci0:255:2:2:    class=0x060000 card=0x219617aa chip=0x2d128086
rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = bridge
    subclass   = HOST-PCI
hostb6 at pci0:255:2:3:    class=0x060000 card=0x219617aa chip=0x2d138086
rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = bridge
    subclass   = HOST-PCI

dmesg:
Copyright (c) 1992-2011 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.2-RELEASE #7: Wed Feb 16 12:19:08 PST 2011
    root at build8x32.pcbsd.org:/usr/obj/usr/local_storage/pcbsd-build82/fbsd-source/8.2/sys/PCBSD
i386
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM) i3 CPU       M 370  @ 2.40GHz (2394.01-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x20655  Family = 6  Model = 25  Stepping = 5
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x9ae3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT>
  AMD Features=0x28100000<NX,RDTSCP,LM>
  AMD Features2=0x1<LAHF>
  TSC: P-state invariant
real memory  = 4294967296 (4096 MB)
avail memory = 3129618432 (2984 MB)
ACPI APIC Table: <LENOVO TP-81   >
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  4
 cpu3 (AP): APIC ID:  5
ioapic0 <Version 2.0> irqs 0-23 on motherboard
Cuse4BSD v0.1.13 @ /dev/cuse
kbd1 at kbdmux0
cryptosoft0: <software crypto> on motherboard
acpi0: <LENOVO TP-81> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
acpi_ec0: <Embedded Controller: GPE 0x16> port 0x62,0x66 on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0x2000-0x20ff mem
0xd0000000-0xdfffffff,0xcfef0000-0xcfefffff irq 16 at device 0.0 on
pci1
pci1: <multimedia, HDA> at device 0.1 (no driver attached)
pci0: <simple comms> at device 22.0 (no driver attached)
ehci0: <Intel PCH USB 2.0 controller USB-B> mem 0xf0806000-0xf08063ff
irq 16 at device 26.0 on pci0
ehci0: [ITHREAD]
usbus0: EHCI version 1.0
usbus0: <Intel PCH USB 2.0 controller USB-B> on ehci0
pci0: <multimedia, HDA> at device 27.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pci2: <base peripheral> at device 0.0 (no driver attached)
sdhci0: <JMicron JMB38X SD> mem 0xf0301000-0xf03010ff irq 16 at device
0.2 on pci2
sdhci0: 1 slot(s) allocated
sdhci0: [ITHREAD]
pci2: <base peripheral> at device 0.3 (no driver attached)
pci2: <base peripheral> at device 0.4 (no driver attached)
pcib3: <ACPI PCI-PCI bridge> irq 17 at device 28.1 on pci0
pci3: <ACPI PCI bus> on pcib3
pci3: <network> at device 0.0 (no driver attached)
pcib4: <ACPI PCI-PCI bridge> irq 18 at device 28.2 on pci0
pci4: <ACPI PCI bus> on pcib4
re0: <RealTek 8168/8111 B/C/CP/D/DP/E PCIe Gigabit Ethernet> port
0x4000-0x40ff mem 0xf0204000-0xf0204fff,0xf0200000-0xf0203fff irq 18
at device 0.0 on pci4
re0: Using 1 MSI messages
re0: Chip rev. 0x28000000
re0: MAC rev. 0x00000000
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus0
rgephy0:  10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX,
100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master,
1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow,
1000baseT-FDX-flow-master, auto, auto-flow
re0: Ethernet address: c8:0a:a9:a5:e4:48
re0: [FILTER]
pcib5: <ACPI PCI-PCI bridge> irq 19 at device 28.3 on pci0
pci5: <ACPI PCI bus> on pcib5
pcib6: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0
pci8: <ACPI PCI bus> on pcib6
pcib7: <ACPI PCI-PCI bridge> irq 17 at device 28.5 on pci0
pci9: <ACPI PCI bus> on pcib7
ehci1: <Intel PCH USB 2.0 controller USB-A> mem 0xf0807000-0xf08073ff
irq 23 at device 29.0 on pci0
ehci1: [ITHREAD]
usbus1: EHCI version 1.0
usbus1: <Intel PCH USB 2.0 controller USB-A> on ehci1
pcib8: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci12: <ACPI PCI bus> on pcib8
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
ahci0: <Intel 5 Series/3400 Series AHCI SATA controller> port
0x1830-0x1837,0x1824-0x1827,0x1828-0x182f,0x1820-0x1823,0x1800-0x181f
mem 0xf0808000-0xf08087ff irq 19 at device 31.2 on pci0
ahci0: [ITHREAD]
ahci0: AHCI v1.30 with 4 3Gbps ports, Port Multiplier not supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich0: [ITHREAD]
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich1: [ITHREAD]
ahcich2: <AHCI channel> at channel 4 on ahci0
ahcich2: [ITHREAD]
ahcich3: <AHCI channel> at channel 5 on ahci0
ahcich3: [ITHREAD]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pcib9: <ACPI Host-PCI bridge> on acpi0
pci255: <ACPI PCI bus> on pcib9
acpi_acad0: <AC Adapter> on acpi0
battery0: <ACPI Control Method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff
irq 0,8 on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 900
atrtc0: <AT realtime clock> port 0x70-0x77 on acpi0
atrtc0: Warning: Couldn't map I/O.
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> flags 0x1000 irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model Generic PS/2 mouse, device ID 0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xcf7ff,0xcf800-0xd07ff pnpid
ORM0000 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata0: [ITHREAD]
ata1 at port 0x170-0x177,0x376 irq 15 on isa0
ata1: [ITHREAD]
ppc0: parallel port not found.
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
p4tcc1: <CPU Frequency Thermal Control> on cpu1
est2: <Enhanced SpeedStep Frequency Control> on cpu2
p4tcc2: <CPU Frequency Thermal Control> on cpu2
est3: <Enhanced SpeedStep Frequency Control> on cpu3
p4tcc3: <CPU Frequency Thermal Control> on cpu3
ZFS NOTICE: Prefetch is disabled by default on i386 -- to enable,
            add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf.
ZFS WARNING: Recommended minimum kmem_size is 512MB; expect unstable behavior.
             Consider tuning vm.kmem_size and vm.kmem_size_max
             in /boot/loader.conf.
ZFS filesystem version 4
ZFS storage pool version 15
Timecounters tick every 1.000 msec
usbus0: 480Mbps High Speed USB v2.0
usbus1: 480Mbps High Speed USB v2.0
ugen0.1: <Intel> at usbus0
uhub0: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <Hitachi HTS723232L9A360 FC4OC30F> ATA-8 SATA 2.x device
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 305245MB (625142448 512 byte sectors: 16H 63S/T 16383C)
cd0 at ahcich1 bus 0 scbus1 target 0 lun 0
cd0: <MATSHITA DVD-RAM UJ890 SB31> Removable CD-ROM SCSI-0 device
cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not
present - tray closed
SMP: AP CPU #1 Launched!
SMP: AP CPU #3 Launched!
SMP: AP CPU #2 Launched!
Root mount waiting for: usbus1 usbus0
uhub0: 3 ports with 3 removable, self powered
uhub1: 3 ports with 3 removable, self powered
Root mount waiting for: usbus1 usbus0
ugen0.2: <vendor 0x8087> at usbus0
uhub2: <vendor 0x8087 product 0x0020, class 9/0, rev 2.00/0.00, addr
2> on usbus0
ugen1.2: <vendor 0x8087> at usbus1
uhub3: <vendor 0x8087 product 0x0020, class 9/0, rev 2.00/0.00, addr
2> on usbus1
uhub2: 6 ports with 6 removable, self powered
Root mount waiting for: usbus1
uhub3: 8 ports with 8 removable, self powered
Trying to mount root from ufs:/dev/label/rootfs0
hdac0: <Intel PCH High Definition Audio Controller> mem
0xf0800000-0xf0803fff irq 22 at device 27.0 on pci0
hdac0: HDA Driver Revision: 20100226_0142
hdac0: [ITHREAD]
hdac0: HDA Codec #0: Realtek ALC269
hdac1: <ATI RV730 High Definition Audio Controller> mem
0xcfeec000-0xcfeeffff irq 17 at device 0.1 on pci1
hdac1: HDA Driver Revision: 20100226_0142
hdac1: [ITHREAD]
hdac1: HDA Codec #0: ATI R6xx HDMI
pcm0: <HDA Realtek ALC269 PCM #0 Analog> at cad 0 nid 1 on hdac0
pcm1: <HDA Realtek ALC269 PCM #1 Analog> at cad 0 nid 1 on hdac0
pcm2: <HDA ATI R6xx HDMI PCM #0 HDMI> at cad 0 nid 1 on hdac1
drm0: <ATI Mobility Radeon 4500 Series> on vgapci0
info: [drm] MSI enabled 1 message(s)
vgapci0: child drm0 requested pci_enable_busmaster
info: [drm] Initialized radeon 1.31.0 20080613
info: [drm] Setting GART location based on new memory map
info: [drm] Loading RV710 Microcode
info: [drm] Resetting GPU
info: [drm] writeback test succeeded in 1 usecs
drm0: [ITHREAD]

uname -a:

FreeBSD spartan 8.2-RELEASE FreeBSD 8.2-RELEASE #7: Wed Feb 16
12:19:08 PST 2011
root at build8x32.pcbsd.org:/usr/obj/usr/local_storage/pcbsd-build82/fbsd-source/8.2/sys/PCBSD
 i386

--

John R Davis Jr


More information about the freebsd-stable mailing list