Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Oct 2003 21:57:29 +0200 (CEST)
From:      "Tamas R." <freddy@webcom.hu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   misc/57973: KDE freezes on startup with ATI RADEON 9000 (PRO)
Message-ID:  <200310131957.h9DJvTCf001361@tornado.hokinet.net>
Resent-Message-ID: <200310132000.h9DK0Woo059378@freefall.freebsd.org>

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

>Number:         57973
>Category:       misc
>Synopsis:       KDE freezes on startup with ATI RADEON 9000 (PRO)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 13 13:00:32 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Tamas R.
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD 5.1-CURRENT i386

	VGA card   : ATI (HIGHTECH EXCALIBUR) RADEON 9000 PRO

	
>Description:
        KDE freezes after X server started and before the 'KDE init logo'
	displayed. In this state the keyboard become useless (mouse cursor can
	be moved roughly) and the screen also freezes (it does not refresh).
	The system can be rebooted through ACPI power button but it behaves
	interesting: this process is much slower than in normal case and it once
	control the monitor 'out of frequency' range then reboots (during this
	shutdown process the screen remains frozen). Using a trick, switching
	back to console immediately after issuing the 'startx' command, the
	system does not hang until switching back to X again. Then KDE seems to
	be started properly but some seconds later the same freezing takes
	place. (Testing X server with 'XFree86 -xf86config ...' itself works
	good and it does not cause any freezing.)
	
	Lastest kernel, which work good was cvsup-ed and compiled on 25th of
	September. I used another vga card for temporary some days ago and I
	compiled a new base system/kernel, which had no such problems until I
	put back the ATI to the AGP slot.

	I guess it may be a bug around radeondrm kernel driver. In the last days
	I cvsup-ed my source tree and I compiled the base system/kernel more
	times but it did not help.

	My kernel config based on the lastest GENERIC config shipped with the
	source. I noticed (about one or two months ago but I think this problem
	did not solved since then) if I comment out hardwares (like SCSI, RAID),
	which I does not have, although the kernel boots properly but exactly
	the same freezing takes place with KDE as described above. So I have to
	compile in really everything into my custom kernel to avoid KDE crash.
	
	Log file comparision (diff's output) between a 'normal' (>) and a
	'frozen' (<) startup:
	
	13c13
	< (==) Log file: "/var/log/XFree86.0.log", Time: Mon Oct 13 13:01:50 2003
	---
	> (==) Log file: "/var/log/XFree86.0.log", Time: Mon Oct 13 11:43:59 2003
	681,682c681,682
	< (II) RADEON(0): [drm] added 8192 byte SAREA at 0xc4d23000
	< (II) RADEON(0): [drm] mapped SAREA 0xc4d23000 to 0x282ca000
	---
	> (II) RADEON(0): [drm] added 8192 byte SAREA at 0xc5ad7000
	> (II) RADEON(0): [drm] mapped SAREA 0xc5ad7000 to 0x282ca000
	686c686
	< (II) RADEON(0): [agp] 65536 kB allocated with handle 0xc49a24c0
	---
	> (II) RADEON(0): [agp] 65536 kB allocated with handle 0xc503ca00
	758a759,770
	> (==) RADEON(0): Removed Write-combining range (0xa0000,0x10000)
	> (**) Option "BaudRate" "1200"
	> (**) Option "StopBits" "2"
	> (**) Option "DataBits" "8"
	> (**) Option "Parity" "None"
	> (**) Option "Vmin" "1"
	> (**) Option "Vtime" "0"
	> (**) Option "FlowControl" "None"
	> (==) RADEON(0): Removed Write-combining range (0xa0000,0x10000)
	> (II) RADEON(0): [drm] removed 1 reserved context for kernel
	> (II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xc5ad7000 at 0x282ca000
	> (==) RADEON(0): Removed Write-combining range (0xa0000,0x10000)
	
	
	NOTE: XFree86 and KDE were compiled from ports and these are up-to-date.

	
>How-To-Repeat:
	Compile a recent FreeBSD-CURRENT i386 kernel and try to start KDE with
	ATI RADEON 9000 (PRO).
	
>Fix:
	Sorry, but I have no idea how to fix it.
	


>Release-Note:
>Audit-Trail:
>Unformatted:



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