Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Apr 2009 12:42:48 -0500
From:      Robert Noland <rnoland@FreeBSD.org>
To:        xorquewasp@googlemail.com
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: diagnosing freezes (DRI?)
Message-ID:  <1239385368.1922.74.camel@balrog.2hip.net>
In-Reply-To: <20090410154251.GA49384@logik.internal.network>
References:  <20090410132354.GA20721@logik.internal.network> <20090410154251.GA49384@logik.internal.network>

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

--=-S0GZoc1Opm5UtrSyxjZk
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 2009-04-10 at 16:42 +0100, xorquewasp@googlemail.com wrote:
> Hello.
>=20
> Recently bought a new system and am experiencing problems with system fre=
ezes.
> I think the most likely culprit is DRI. The freezes occur apparently at r=
andom.
> I've disabled drm.ko and radeon.ko and the system doesn't appear to have =
frozen
> yet.
>=20
> I'm running 7.2-PRERELEASE (STABLE as of yesterday).
>=20
> Machine's dmesg:
>=20
> Copyright (c) 1992-2009 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 7.2-PRERELEASE #0: Fri Apr 10 00:09:48 BST 2009
>     root@viper.internal.network:/usr/obj/usr/src/sys/GENERIC
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz (2665.04-MHz K8-clas=
s CPU)
>   Origin =3D "GenuineIntel"  Id =3D 0x106a4  Stepping =3D 4
>   Features=3D0xbfebfbff<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=3D0x98e3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,=
PDCM,<b19>,<b20>,<b23>>
>   AMD Features=3D0x28100800<SYSCALL,NX,RDTSCP,LM>
>   AMD Features2=3D0x1<LAHF>
>   Cores per package: 8
>   Logical CPUs per core: 2
> usable memory =3D 12862480384 (12266 MB)
> avail memory  =3D 12424323072 (11848 MB)
> ACPI APIC Table: <121008 APIC1726>
> FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
>  cpu0 (BSP): APIC ID:  0
>  cpu1 (AP): APIC ID:  1
>  cpu2 (AP): APIC ID:  2
>  cpu3 (AP): APIC ID:  3
>  cpu4 (AP): APIC ID:  4
>  cpu5 (AP): APIC ID:  5
>  cpu6 (AP): APIC ID:  6
>  cpu7 (AP): APIC ID:  7
> ioapic0: Changing APIC ID to 8
> ioapic0 <Version 2.0> irqs 0-23 on motherboard
> kbd1 at kbdmux0
> acpi0: <121008 RSDT1726> on motherboard
> acpi0: [ITHREAD]
> acpi0: Power Button (fixed)
> acpi0: reservation of 0, a0000 (3) failed
> acpi0: reservation of 100000, bff00000 (3) failed
> Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
> pci0: <ACPI PCI bus> on pcib0
> pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
> pci7: <ACPI PCI bus> on pcib1
> pcib2: <ACPI PCI-PCI bridge> at device 3.0 on pci0
> pci6: <ACPI PCI bus> on pcib2
> vgapci0: <VGA-compatible display> port 0xe000-0xe0ff mem 0xd0000000-0xdff=
fffff,0xfbee0000-0xfbeeffff irq 16 at device 0.0 on pci6
> drm0: <ATI Radeon X1950> on vgapci0
> vgapci0: child drm0 requested pci_enable_busmaster
> info: [drm] Initialized radeon 1.29.0 20080528
> vgapci1: <VGA-compatible display> mem 0xfbef0000-0xfbefffff at device 0.1=
 on pci6
> pcib3: <ACPI PCI-PCI bridge> at device 7.0 on pci0
> pci5: <ACPI PCI bus> on pcib3
> pci0: <base peripheral, interrupt controller> at device 16.0 (no driver a=
ttached)
> pci0: <base peripheral, interrupt controller> at device 16.1 (no driver a=
ttached)
> pci0: <base peripheral, interrupt controller> at device 20.0 (no driver a=
ttached)
> pci0: <base peripheral, interrupt controller> at device 20.1 (no driver a=
ttached)
> pci0: <base peripheral, interrupt controller> at device 20.2 (no driver a=
ttached)
> pci0: <base peripheral, interrupt controller> at device 20.3 (no driver a=
ttached)
> uhci0: <UHCI (generic) USB controller> port 0x9080-0x909f irq 16 at devic=
e 26.0 on pci0
> uhci0: [GIANT-LOCKED]
> uhci0: [ITHREAD]
> usb0: <UHCI (generic) USB controller> on uhci0
> usb0: USB revision 1.0
> uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
> uhub0: 2 ports with 2 removable, self powered
> uhci1: <UHCI (generic) USB controller> port 0x9400-0x941f irq 21 at devic=
e 26.1 on pci0
> uhci1: [GIANT-LOCKED]
> uhci1: [ITHREAD]
> usb1: <UHCI (generic) USB controller> on uhci1
> usb1: USB revision 1.0
> uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
> uhub1: 2 ports with 2 removable, self powered
> uhci2: <UHCI (generic) USB controller> port 0x9480-0x949f irq 19 at devic=
e 26.2 on pci0
> uhci2: [GIANT-LOCKED]
> uhci2: [ITHREAD]
> usb2: <UHCI (generic) USB controller> on uhci2
> usb2: USB revision 1.0
> uhub2: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
> uhub2: 2 ports with 2 removable, self powered
> ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfb9f6000-0xfb9f63ff irq =
18 at device 26.7 on pci0
> ehci0: [GIANT-LOCKED]
> ehci0: [ITHREAD]
> usb3: EHCI version 1.0
> usb3: companion controllers, 2 ports each: usb0 usb1 usb2
> usb3: <EHCI (generic) USB 2.0 controller> on ehci0
> usb3: USB revision 2.0
> uhub3: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb3
> uhub3: 6 ports with 6 removable, self powered
> uhub4: <NEC Corporation USB2.0 Hub Controller, class 9/0, rev 2.00/1.00, =
addr 2> on uhub3
> uhub4: single transaction translator
> uhub4: 4 ports with 4 removable, self powered
> ukbd0: <Griffin Technology, Inc. iMate, USB To ADB Adaptor, class 0/0, re=
v 1.00/3.70, addr 3> on uhub4
> kbd2 at ukbd0
> ums0: <Griffin Technology, Inc. iMate, USB To ADB Adaptor, class 0/0, rev=
 1.00/3.70, addr 3> on uhub4
> ums0: 3 buttons.
> ums1: <Microsoft Basic Optical Mouse, class 0/0, rev 1.10/0.00, addr 4> o=
n uhub4
> ums1: 3 buttons and Z dir.
> uhub5: <Mitsumi Electric Hub in Apple Extended USB Keyboard, class 9/0, r=
ev 1.10/4.10, addr 5> on uhub4
> uhub5: 3 ports with 2 removable, bus powered
> ugen0: <WIBU-SYSTEMS AG, www.wibu.com WIBU-BOX/RU, class 255/0, rev 1.10/=
1.04, addr 6> on uhub5
> ukbd1: <Mitsumi Electric Apple Extended USB Keyboard, class 0/0, rev 1.10=
/4.10, addr 7> on uhub5
> kbd3 at ukbd1
> uhid0: <Mitsumi Electric Apple Extended USB Keyboard, class 0/0, rev 1.10=
/4.10, addr 7> on uhub5
> pci0: <multimedia, HDA> at device 27.0 (no driver attached)
> pcib4: <ACPI PCI-PCI bridge> irq 17 at device 28.0 on pci0
> pci4: <ACPI PCI bus> on pcib4
> atapci0: <JMicron JMB363 SATA300 controller> port 0xdc00-0xdc07,0xd880-0x=
d883,0xd800-0xd807,0xd480-0xd483,0xd400-0xd40f mem 0xfbdfe000-0xfbdfffff ir=
q 16 at device 0.0 on pci4
> atapci0: [ITHREAD]
> atapci0: AHCI called from vendor specific driver
> atapci0: AHCI Version 01.00 controller with 2 ports detected
> ata2: <ATA channel 0> on atapci0
> ata2: [ITHREAD]
> ata3: <ATA channel 1> on atapci0
> ata3: [ITHREAD]
> ata4: <ATA channel 2> on atapci0
> ata4: [ITHREAD]
> pcib5: <ACPI PCI-PCI bridge> irq 16 at device 28.1 on pci0
> pci3: <ACPI PCI bus> on pcib5
> re0: <RealTek 8168/8168B/8168C/8168CP/8168D/8111B/8111C/8111CP PCIe Gigab=
it Ethernet> port 0xc800-0xc8ff mem 0xfbcff000-0xfbcfffff,0xcfff0000-0xcfff=
ffff irq 17 at device 0.0 on pci3
> re0: Using 1 MSI messages
> re0: Chip rev. 0x3c000000
> re0: MAC rev. 0x00400000
> miibus0: <MII bus> on re0
> rgephy0: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus0
> rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000=
baseT-FDX, auto
> re0: Ethernet address: 00:e0:4d:b3:5b:bd
> re0: [FILTER]
> pcib6: <ACPI PCI-PCI bridge> irq 18 at device 28.2 on pci0
> pci2: <ACPI PCI bus> on pcib6
> re1: <RealTek 8168/8168B/8168C/8168CP/8168D/8111B/8111C/8111CP PCIe Gigab=
it Ethernet> port 0xb800-0xb8ff mem 0xfbbff000-0xfbbfffff,0xcfef0000-0xcfef=
ffff irq 18 at device 0.0 on pci2
> re1: Using 1 MSI messages
> re1: Chip rev. 0x3c000000
> re1: MAC rev. 0x00400000
> miibus1: <MII bus> on re1
> rgephy1: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus1
> rgephy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000=
baseT-FDX, auto
> re1: Ethernet address: 00:e0:4d:b3:5b:be
> re1: [FILTER]
> uhci3: <UHCI (generic) USB controller> port 0x9800-0x981f irq 23 at devic=
e 29.0 on pci0
> uhci3: [GIANT-LOCKED]
> uhci3: [ITHREAD]
> usb4: <UHCI (generic) USB controller> on uhci3
> usb4: USB revision 1.0
> uhub6: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb4
> uhub6: 2 ports with 2 removable, self powered
> uhci4: <UHCI (generic) USB controller> port 0x9880-0x989f irq 19 at devic=
e 29.1 on pci0
> uhci4: [GIANT-LOCKED]
> uhci4: [ITHREAD]
> usb5: <UHCI (generic) USB controller> on uhci4
> usb5: USB revision 1.0
> uhub7: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb5
> uhub7: 2 ports with 2 removable, self powered
> uhci5: <UHCI (generic) USB controller> port 0x9c00-0x9c1f irq 18 at devic=
e 29.2 on pci0
> uhci5: [GIANT-LOCKED]
> uhci5: [ITHREAD]
> usb6: <UHCI (generic) USB controller> on uhci5
> usb6: USB revision 1.0
> uhub8: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb6
> uhub8: 2 ports with 2 removable, self powered
> ehci1: <EHCI (generic) USB 2.0 controller> mem 0xfb9fc000-0xfb9fc3ff irq =
23 at device 29.7 on pci0
> ehci1: [GIANT-LOCKED]
> ehci1: [ITHREAD]
> usb7: EHCI version 1.0
> usb7: companion controllers, 2 ports each: usb4 usb5 usb6
> usb7: <EHCI (generic) USB 2.0 controller> on ehci1
> usb7: USB revision 2.0
> uhub9: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb7
> uhub9: 6 ports with 6 removable, self powered
> pcib7: <ACPI PCI-PCI bridge> at device 30.0 on pci0
> pci1: <ACPI PCI bus> on pcib7
> fwohci0: <Texas Instruments TSB43AB22/A> mem 0xfbaff800-0xfbafffff,0xfbaf=
8000-0xfbafbfff irq 19 at device 7.0 on pci1
> fwohci0: [FILTER]
> fwohci0: OHCI version 1.10 (ROM=3D1)
> fwohci0: No. of Isochronous channels is 4.
> fwohci0: EUI64 00:00:00:00:00:07:7b:3d
> fwohci0: Phy 1394a available S400, 2 ports.
> fwohci0: Link S400, max_rec 2048 bytes.
> firewire0: <IEEE1394(FireWire) bus> on fwohci0
> dcons_crom0: <dcons configuration ROM> on firewire0
> dcons_crom0: bus_addr 0x199c000
> fwe0: <Ethernet over FireWire> on firewire0
> if_fwe0: Fake Ethernet address: 02:00:00:07:7b:3d
> fwe0: Ethernet address: 02:00:00:07:7b:3d
> fwip0: <IP over FireWire> on firewire0
> fwip0: Firewire address: 00:00:00:00:00:07:7b:3d @ 0xfffe00000000, S400, =
maxrec 2048
> sbp0: <SBP-2/SCSI over FireWire> on firewire0
> fwohci0: Initiate bus reset
> fwohci0: BUS reset
> fwohci0: node_id=3D0xc800ffc0, gen=3D1, CYCLEMASTER mode
> isab0: <PCI-ISA bridge> at device 31.0 on pci0
> isa0: <ISA bus> on isab0
> atapci1: <Intel ICH10 SATA300 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x=
177,0x376,0xff90-0xff9f,0xffa0-0xffaf at device 31.2 on pci0
> ata0: <ATA channel 0> on atapci1
> ata0: [ITHREAD]
> ata1: <ATA channel 1> on atapci1
> ata1: [ITHREAD]
> pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
> atapci2: <Intel ICH10 SATA300 controller> port 0xac00-0xac07,0xa880-0xa88=
3,0xa800-0xa807,0xa480-0xa483,0xa400-0xa40f,0xa080-0xa08f irq 19 at device =
31.5 on pci0
> atapci2: [ITHREAD]
> ata5: <ATA channel 0> on atapci2
> ata5: [ITHREAD]
> ata6: <ATA channel 1> on atapci2
> ata6: [ITHREAD]
> acpi_button0: <Power Button> on acpi0
> acpi_tz0: <Thermal Zone> on acpi0
> fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 =
on acpi0
> fdc0: [FILTER]
> cpu0: <ACPI CPU> on acpi0
> ACPI Warning (tbutils-0243): Incorrect checksum in table [OEMB] -   6, sh=
ould be FE [20070320]
> est0: <Enhanced SpeedStep Frequency Control> on cpu0
> p4tcc0: <CPU Frequency Thermal Control> on cpu0
> cpu1: <ACPI CPU> on acpi0
> est1: <Enhanced SpeedStep Frequency Control> on cpu1
> est: CPU supports Enhanced Speedstep, but is not recognized.
> est: cpu_vendor GenuineIntel, msr 14
> device_attach: est1 attach returned 6
> p4tcc1: <CPU Frequency Thermal Control> on cpu1
> cpu2: <ACPI CPU> on acpi0
> est2: <Enhanced SpeedStep Frequency Control> on cpu2
> p4tcc2: <CPU Frequency Thermal Control> on cpu2
> cpu3: <ACPI CPU> on acpi0
> est3: <Enhanced SpeedStep Frequency Control> on cpu3
> est: CPU supports Enhanced Speedstep, but is not recognized.
> est: cpu_vendor GenuineIntel, msr 14
> device_attach: est3 attach returned 6
> p4tcc3: <CPU Frequency Thermal Control> on cpu3
> cpu4: <ACPI CPU> on acpi0
> est4: <Enhanced SpeedStep Frequency Control> on cpu4
> p4tcc4: <CPU Frequency Thermal Control> on cpu4
> cpu5: <ACPI CPU> on acpi0
> est5: <Enhanced SpeedStep Frequency Control> on cpu5
> est: CPU supports Enhanced Speedstep, but is not recognized.
> est: cpu_vendor GenuineIntel, msr 14
> device_attach: est5 attach returned 6
> p4tcc5: <CPU Frequency Thermal Control> on cpu5
> cpu6: <ACPI CPU> on acpi0
> est6: <Enhanced SpeedStep Frequency Control> on cpu6
> p4tcc6: <CPU Frequency Thermal Control> on cpu6
> cpu7: <ACPI CPU> on acpi0
> est7: <Enhanced SpeedStep Frequency Control> on cpu7
> est: CPU supports Enhanced Speedstep, but is not recognized.
> est: cpu_vendor GenuineIntel, msr 14
> device_attach: est7 attach returned 6
> p4tcc7: <CPU Frequency Thermal Control> on cpu7
> atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
> atkbd0: <AT Keyboard> irq 1 on atkbdc0
> kbd0 at atkbd0
> atkbd0: [GIANT-LOCKED]
> atkbd0: [ITHREAD]
> ppc0: cannot reserve I/O port range
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=3D0x300>
> sio0: configured irq 4 not in bitmap of probed irqs 0
> sio0: port may not be enabled
> sio0: configured irq 4 not in bitmap of probed irqs 0
> sio0: port may not be enabled
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 8250 or not responding
> sio0: [FILTER]
> sio1: configured irq 3 not in bitmap of probed irqs 0
> sio1: port may not be enabled
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> Timecounters tick every 1.000 msec
> firewire0: 1 nodes, maxhop <=3D 0, cable IRM =3D 0 (me)
> firewire0: bus manager 0 (me)
> ad0: 76319MB <WDC WD800AAJS-00WAA0 58.01D58> at ata0-master SATA300
> ad2: 953869MB <WDC WD10EADS-00L5B1 01.01A01> at ata1-master SATA300
> GEOM_LABEL: Label for provider ad0s1a is ufsid/49dd1626d599346c.
> GEOM_LABEL: Label for provider ad0s1d is ufsid/49dd1626c888923e.
> GEOM_LABEL: Label for provider ad0s1e is ufsid/49dd16280e8a20d0.
> GEOM_LABEL: Label for provider ad0s1f is ufsid/49dd1626ed87573c.
> acd0: DVDR <TSSTcorp CDDVDW SH-S222A/SB01> at ata4-master UDMA66
> SMP: AP CPU #1 Launched!
> SMP: AP CPU #4 Launched!
> SMP: AP CPU #6 Launched!
> SMP: AP CPU #3 Launched!
> SMP: AP CPU #5 Launched!
> SMP: AP CPU #2 Launched!
> SMP: AP CPU #7 Launched!
> Trying to mount root from ufs:/dev/ad0s1a
> cryptosoft0: <software crypto> on motherboard
> GEOM_ELI: Device ad0s1b.eli created.
> GEOM_ELI: Encryption: AES-CBC 256
> GEOM_ELI:     Crypto: software
> GEOM_LABEL: Label ufsid/49dd1626d599346c removed.
> GEOM_LABEL: Label for provider ad0s1a is ufsid/49dd1626d599346c.
> GEOM_LABEL: Label ufsid/49dd1626c888923e removed.
> GEOM_LABEL: Label for provider ad0s1d is ufsid/49dd1626c888923e.
> GEOM_LABEL: Label ufsid/49dd1626ed87573c removed.
> GEOM_LABEL: Label for provider ad0s1f is ufsid/49dd1626ed87573c.
> GEOM_LABEL: Label ufsid/49dd16280e8a20d0 removed.
> GEOM_LABEL: Label for provider ad0s1e is ufsid/49dd16280e8a20d0.
> GEOM_LABEL: Label ufsid/49dd1626d599346c removed.
> GEOM_LABEL: Label ufsid/49dd1626c888923e removed.
> GEOM_LABEL: Label ufsid/49dd1626ed87573c removed.
> GEOM_LABEL: Label ufsid/49dd16280e8a20d0 removed.
> re0: link state changed to UP
>=20
> I've not been able to obtain anything in the way of crash logs. The syste=
m
> just freezes and doesn't respond to keyboard, mouse, network activity,
> shouting and/or threats.
>=20
> I've run memtest86+ for hours with no errors, tested the CPU with various
> utilities and run WD's hard disk diagnostic tools. As I said, DRI seems
> the likely culprit. Unfortunately I can't do without DRI as this machine'=
s
> intended for OpenGL development and video editing.
>=20
> Any advice would be much appreciated. I'm under slight time pressure to
> get this system up and running.

Are you running powerd by chance?  I was seeing an issue that seemed to
be related to powerd.  Since I've disabled it on that box, it hasn't
hung up any more.

As far as drm is concerned, I've been running on an x1650 for probably a
week now while working mostly on port stuff and I haven't seen any
issues.  This is with full 3d and compiz running, etc...  So, if it is
drm related... we are going to have to dig up some debugging info
somehow...

robert.

> thanks,
> xw
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org=
"
--=20
Robert Noland <rnoland@FreeBSD.org>
FreeBSD

--=-S0GZoc1Opm5UtrSyxjZk
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iEYEABECAAYFAknfhRgACgkQM4TrQ4qfRON1qgCdFFF8fPbFScFCItHWF/WsFTUv
4rcAnAk6gmI/LH1kUvAUHZn55GM1FvRz
=D0uN
-----END PGP SIGNATURE-----

--=-S0GZoc1Opm5UtrSyxjZk--




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