From owner-freebsd-stable@FreeBSD.ORG Mon Sep 13 18:30:01 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58F381065670 for ; Mon, 13 Sep 2010 18:30:01 +0000 (UTC) (envelope-from eivinde@terraplane.org) Received: from mail46.e.nsc.no (mail46.e.nsc.no [193.213.115.46]) by mx1.freebsd.org (Postfix) with ESMTP id A0DC08FC16 for ; Mon, 13 Sep 2010 18:29:57 +0000 (UTC) Received: from rumrunner.mine.nu (ti0027a380-0792.bb.online.no [80.212.66.26]) by mail46.nsc.no (8.14.3/8.14.3) with ESMTP id o8DHSWaf008140 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 13 Sep 2010 19:28:34 +0200 (MEST) Received: from rumrunner.mine.nu (localhost [127.0.0.1]) by rumrunner.mine.nu (8.14.4/8.14.2) with ESMTP id o8DHSWl7095042 for ; Mon, 13 Sep 2010 19:28:32 +0200 (CEST) (envelope-from eivinde@terraplane.org) Received: from localhost (rumrunner@localhost) by rumrunner.mine.nu (8.14.4/8.13.8/Submit) with ESMTP id o8DHSWM4095039 for ; Mon, 13 Sep 2010 19:28:32 +0200 (CEST) (envelope-from eivinde@terraplane.org) X-Authentication-Warning: rumrunner.mine.nu: rumrunner owned process doing -bs Date: Mon, 13 Sep 2010 19:28:32 +0200 (CEST) From: Eivind E X-X-Sender: rumrunner@rumrunner.mine.nu To: freebsd-stable@freebsd.org Message-ID: <20100913191158.M94911@rumrunner.mine.nu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Freebsd 8.1 + xorg + radeonhd hang X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: eivinde@terraplane.org List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Sep 2010 18:30:01 -0000 Hello, I'm hoping somebody can shed some light on this. One of my machines has a Radeon X1550 graphics card. When first installed (then as either 7.1 or 7.1 prerelease), the radeonhd driver hung the machine hard, screen went blank, numlock and capslock didn't work, no network (so no ssh) and I couldn't do much but hard reset the machine. I had to use vesa for a while, then, after upgrading, the radeonhd driver worked up until fairly recent upgrades. Sadly I didn't try the driver very often so I don't know if upgrading src or xorg+drivers helped the problem. The machine is now running FreeBSD 8.1, but after rebuilding all packages via ports, the problem with the radeonhd driver is back, showing exactly the same behaviour as before. This time, also the vesa driver gives problems, it seemingly works good, until it messes up colours, usually after using mplayer. Any pointers as to how to solve this? Details below. I'm running FreeBSD 8.1 : FreeBSD elg.hjerdalen.lan 8.1-STABLE FreeBSD 8.1-STABLE #0: Mon Sep 13 17:48:23 CEST 2010 root@elg.hjerdalen.lan:/usr/obj/usr/src/sys/GENERIC amd64 Graphics card : vgapci0@pci0:3:0:0: class=0x030000 card=0x204e17af chip=0x71431002 rev=0x00$ vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'ATI RADEON X1550 Series (RV515)' class = display subclass = VGA vgapci1@pci0:3:0:1: class=0x038000 card=0x204f17af chip=0x71631002 rev=0x00$ vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'ATI RADEON X1550 Series Secondary (RV515)' class = display Dmesg : Copyright (c) 1992-2010 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.1-STABLE #0: Mon Sep 13 17:48:23 CEST 2010 root@elg.hjerdalen.lan:/usr/obj/usr/src/sys/GENERIC amd64 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz (3005.68-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x6fb Family = 6 Model = f Stepping = 11 Features=0xbfebfbff Features2=0xe3fd AMD Features=0x20000800 AMD Features2=0x1 TSC: P-state invariant real memory = 4294967296 (4096 MB) avail memory = 4106117120 (3915 MB) ACPI APIC Table: <090407 APIC1631> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: <090407 RSDT1631> on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, cff00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 ACPI Warning: Incorrect checksum in table [OEMB] - 0x84, should be 0x7B (20100331/tbutils-354) cpu1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 uhci0: port 0xac00-0xac1f irq 16 at device 26.0 on pci0 uhci0: [ITHREAD] uhci0: LegSup = 0x2f00 usbus0: on uhci0 uhci1: port 0xa880-0xa89f irq 21 at device 26.1 on pci0 uhci1: [ITHREAD] uhci1: LegSup = 0x2f00 usbus1: on uhci1 ehci0: mem 0xfe7ffc00-0xfe7fffff irq 18 at device 26.7 on pci0 ehci0: [ITHREAD] usbus2: EHCI version 1.0 usbus2: on ehci0 hdac0: mem 0xfe7f8000-0xfe7fbfff irq 22 at device 27.0 on pci0 hdac0: HDA Driver Revision: 20100226_0142 hdac0: [ITHREAD] pcib2: irq 17 at device 28.0 on pci0 pci2: on pcib2 pcib3: irq 18 at device 28.2 on pci0 pci3: on pcib3 vgapci0: port 0xb000-0xb0ff mem 0xd0000000-0xdfffffff,0xfe8f0000-0xfe8fffff irq 18 at device 0.0 on pci3 vgapci1: mem 0xfe8e0000-0xfe8effff at device 0.1 on pci3 pcib4: irq 17 at device 28.4 on pci0 pci4: on pcib4 atapci0: port 0xcc00-0xcc07,0xc880-0xc883,0xc800-0xc807,0xc480-0xc483,0xc400-0xc40f mem 0xfe9ffc00-0xfe9fffff irq 16 at device 0.0 on pci4 atapci0: [ITHREAD] atapci1: on atapci0 atapci1: [ITHREAD] atapci1: AHCI v1.00 controller with 3 3Gbps ports, PM supported ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: [ITHREAD] ata4: on atapci0 ata4: [ITHREAD] pcib5: irq 16 at device 28.5 on pci0 pci5: on pcib5 re0: port 0xd800-0xd8ff mem 0xfeaff000-0xfeafffff irq 17 at device 0.0 on pci5 re0: Using 1 MSI messages re0: Chip rev. 0x38000000 re0: MAC rev. 0x00000000 miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto re0: Ethernet address: 00:19:db:f3:30:3c re0: [FILTER] uhci2: port 0xa800-0xa81f irq 23 at device 29.0 on pci0 uhci2: [ITHREAD] uhci2: LegSup = 0x2f00 usbus3: on uhci2 uhci3: port 0xa480-0xa49f irq 19 at device 29.1 on pci0 uhci3: [ITHREAD] uhci3: LegSup = 0x2f00 usbus4: on uhci3 uhci4: port 0xa400-0xa41f irq 18 at device 29.2 on pci0 uhci4: [ITHREAD] uhci4: LegSup = 0x2f00 usbus5: on uhci4 uhci5: port 0xa080-0xa09f irq 16 at device 29.3 on pci0 uhci5: [ITHREAD] uhci5: LegSup = 0x2f00 usbus6: on uhci5 ehci1: mem 0xfe7ff800-0xfe7ffbff irq 23 at device 29.7 on pci0 ehci1: [ITHREAD] usbus7: EHCI version 1.0 usbus7: on ehci1 pcib6: at device 30.0 on pci0 pci6: on pcib6 pci6: at device 0.0 (no driver attached) fwohci0: port 0xe000-0xe07f mem 0xfebff800-0xfebfffff irq 18 at device 2.0 on pci6 fwohci0: [ITHREAD] fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:10:dc:00:01:28:aa:5b fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 dcons_crom0: on firewire0 dcons_crom0: bus_addr 0x154c000 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:10:dc:28:aa:5b fwe0: Ethernet address: 02:10:dc:28:aa:5b fwip0: on firewire0 fwip0: Firewire address: 00:10:dc:00:01:28:aa:5b @ 0xfffe00000000, S400, maxrec 2048 fwohci0: Initiate bus reset fwohci0: fwohci_intr_core: BUS reset fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1, CYCLEMASTER mode isab0: at device 31.0 on pci0 isa0: on isab0 atapci2: port 0xa000-0xa007,0x9c00-0x9c03,0x9880-0x9887,0x9800-0x9803,0x9480-0x949f mem 0xfe7ff000-0xfe7ff7ff irq 19 at device 31.2 on pci0 atapci2: [ITHREAD] atapci2: AHCI called from vendor specific driver atapci2: AHCI v1.20 controller with 6 3Gbps ports, PM not supported ata5: on atapci2 ata5: [ITHREAD] ata6: on atapci2 ata6: [ITHREAD] ata7: on atapci2 ata7: [ITHREAD] ata8: on atapci2 ata8: [ITHREAD] ata9: on atapci2 ata9: [ITHREAD] ata10: on atapci2 ata10: [ITHREAD] pci0: at device 31.3 (no driver attached) acpi_button0: on acpi0 atrtc0: port 0x70-0x71 irq 8 on acpi0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: [FILTER] fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model MouseMan+, device ID 0 orm0: at iomem 0xc0000-0xcf7ff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ppc0: cannot reserve I/O port range est0: on cpu0 p4tcc0: on cpu0 est1: on cpu1 p4tcc1: on cpu1 Timecounters tick every 1.000 msec firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me) firewire0: bus manager 0 usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 480Mbps High Speed USB v2.0 usbus3: 12Mbps Full Speed USB v1.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 ad10: 476940MB at ata5-master UDMA100 SATA 3Gb/s 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 acd0: DVDR at ata10-master UDMA100 SATA 1.5Gb/s hdac0: HDA Codec #0: Realtek ALC888 pcm0: at cad 0 nid 1 on hdac0 pcm1: at cad 0 nid 1 on hdac0 pcm2: at cad 0 nid 1 on hdac0 uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub3: 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 uhub2: 4 ports with 4 removable, self powered uhub7: 8 ports with 8 removable, self powered acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 (probe0:ata10:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:ata10:0:0:0): CAM status: SCSI Status Error (probe0:ata10:0:0:0): SCSI status: Check Condition (probe0:ata10:0:0:0): SCSI sense: NOT READY asc:3a,1 (Medium not present - tray closed) cd0 at ata10 bus 0 scbus1 target 0 lun 0SMP: AP CPU #1 Launched! cd0: Removable CD-ROM SCSI-0 device cd0: 100.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed Trying to mount root from ufs:/dev/ufs/rot xorg.conf Section "ServerLayout" Identifier "Layout0" Screen 0 "Screen0" 0 0 InputDevice "Tastatur" "CoreKeyboard" InputDevice "Mus" "CorePointer" Option "AllowEmptyInput" "off" EndSection Section "Files" EndSection Section "Module" # Load "freetype" # Load "xtt" Load "extmod" Load "glx" Load "dri" Load "dbe" Load "record" Load "xtrap" Load "type1" Load "speedo" EndSection Section "InputDevice" Identifier "Mus" Driver "mouse" Option "Protocol" "Auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" Identifier "Tastatur" Driver "keyboard" Option "XkbModel" "pc101" # Option "XkbModel" "pc105" Option "XkbLayout" "no" Option "XkbOptions" "ctrl:swapcaps" EndSection Section "Monitor" Identifier "Skjerm" HorizSync 31.5 - 48.5 VertRefresh 50.0 - 70.0 EndSection Section "Device" Identifier "Grafikkort" Driver "radeonhd" Option "HPD" "off" EndSection Section "Screen" Identifier "Screen0" Device "Grafikkort" Monitor "Skjerm" DefaultDepth 16 SubSection "Display" Depth 16 Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480" EndSubSection EndSection Section "DRI" Mode 0666 EndSection -- _ _ // \\// Eivind Evensen \/