Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
weird errors in dmesg after switching to an ATI card
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
lucid
n00b
n00b


Joined: 02 Jan 2003
Posts: 12
Location: Norway

PostPosted: Thu Oct 14, 2004 6:37 pm    Post subject: weird errors in dmesg after switching to an ATI card Reply with quote

So i switched to an ATI 9800SE graphics card yesterday, and emerged the ati-drivers and followed some guides i found on the web.
Still i only get about 1800FPS in glxgears and about 350 FPS in fgl_glxgears, which i think is low.
After checking dmesg i found the following errors:
Code:

Debug: sleeping function called from invalid context at include/asm/semaphore.h:     119
in_atomic():1, irqs_disabled():0
 [<c011f810>] __might_sleep+0xb0/0xe0
 [<f99d430d>] __ke_down_struct_sem+0x2d/0x50 [fglrx]
 [<f99e7824>] drm_getmagic+0x124/0x1c0 [fglrx]
 [<f99e7700>] drm_getmagic+0x0/0x1c0 [fglrx]
 [<f99d741d>] firegl_ioctl+0x15d/0x1e0 [fglrx]
 [<c0174ccd>] sys_ioctl+0x10d/0x2c0
 [<c0106239>] sysenter_past_esp+0x52/0x71


Code:

Debug: sleeping function called from invalid context at mm/slab.c:1989
in_atomic():1, irqs_disabled():0
 [<c011f810>] __might_sleep+0xb0/0xe0
 [<c0148967>] kmem_cache_alloc+0x77/0x80
 [<f99d3dc8>] __ke_alloc_wait_queue_head_struct+0x18/0x40 [fglrx]
 [<f99d7a76>] firegl_setup_dev+0x126/0x1d0 [fglrx]
 [<f99d7064>] firegl_open+0x194/0x260 [fglrx]
 [<c016a71f>] exact_lock+0xf/0x20
 [<f99d3b26>] firegl_stub_open+0x116/0x1e0 [fglrx]
 [<c016a46c>] chrdev_open+0x11c/0x290
 [<c015f1fa>] dentry_open+0x14a/0x240
 [<c015f0a2>] filp_open+0x62/0x70
 [<c015f339>] get_unused_fd+0x49/0x100
 [<c015f55b>] sys_open+0x5b/0x90
 [<c0106239>] sysenter_past_esp+0x52/0x71
mtrr: 0xe0000000,0x8000000 overlaps existing 0xe0000000,0x1000000
[fglrx:firegl_addmap] *ERROR* mtrr allocation failed (-22)

The system seems to be quite stable, but i havent tried any games yet.
Back to top
View user's profile Send private message
Gentii
Guru
Guru


Joined: 01 Feb 2004
Posts: 306

PostPosted: Thu Oct 14, 2004 7:38 pm    Post subject: Reply with quote

Damn, why are linux users still buying ati card ? Why the hell did you buy an ati card for gaming ? And what was your previous card ?
Back to top
View user's profile Send private message
lucid
n00b
n00b


Joined: 02 Jan 2003
Posts: 12
Location: Norway

PostPosted: Thu Oct 14, 2004 8:57 pm    Post subject: Reply with quote

Used to have an Nvidia FX5200 card which diden't work under xfree/xorg so i got pissed at nvidia and took the ATI card from one of my other computers.
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Thu Oct 14, 2004 9:12 pm    Post subject: Reply with quote

You should be able to get rid of the stack traces by disabling the "Sleep inside spinlock checking" option in the "Kernel hacking" section of the kernel config. There is a fix for the MTRR errors here
_________________
Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ
Back to top
View user's profile Send private message
lucid
n00b
n00b


Joined: 02 Jan 2003
Posts: 12
Location: Norway

PostPosted: Thu Oct 14, 2004 11:15 pm    Post subject: Reply with quote

Thanx, that seemed to remove the messages i got in 'dmesg'.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum