Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dmesg - sleeping function called from invalid context
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
dustfinger
Guru
Guru


Joined: 15 Aug 2004
Posts: 449

PostPosted: Sun Sep 26, 2004 3:55 am    Post subject: dmesg - sleeping function called from invalid context Reply with quote

The following is a snippet from dmesg.

Quote:

atkbd.c: Spurious ACK on isa0060/serio0. Some program, like XFree86, might be tr
ying access hardware directly.
atkbd.c: Spurious ACK on isa0060/serio0. Some program, like XFree86, might be tr
ying access hardware directly.
Debug: sleeping function called from invalid context at include/asm/semaphore.h:
119
in_atomic():1, irqs_disabled():0
[<c0112c04>] __might_sleep+0xb2/0xd3
[<e0926a7c>] __ke_down_struct_sem+0x2a/0x44 [fglrx]
[<e0936964>] drm_getmagic+0x124/0x1c0 [fglrx]
[<e0936840>] drm_getmagic+0x0/0x1c0 [fglrx]
[<e092928d>] firegl_ioctl+0x15d/0x1e0 [fglrx]
[<c015e962>] sys_ioctl+0xf7/0x24d
[<c0103eaf>] syscall_call+0x7/0xb


I have kernel-gentoo-2.6.8-r3
How can I fix this? What exactally is wrong? It seems to be related to my ati-drivers?

dustfinger.
_________________
Unanswered Post Initiative:
https://forums.gentoo.org/viewtopic.php?t=119906
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Sun Sep 26, 2004 4:01 am    Post subject: Reply with quote

IMHO nothing, you just enabled a kernel debugging function called "spinlock sleeping" IIRR. I just disabled it and had no problems so far.
Back to top
View user's profile Send private message
dustfinger
Guru
Guru


Joined: 15 Aug 2004
Posts: 449

PostPosted: Sun Sep 26, 2004 4:15 am    Post subject: Reply with quote

Your right. I checked my linux/src/.config file and found that under kernel hacking I had Sleep-inside-spinlock checking included.

So you don't think that the fact I have a function being called from an invalid context is anything to worry about?

What about the Spurious ACK lines...

Quote:


atkbd.c: Spurious ACK on isa0060/serio0. Some program, like XFree86, might be tr


Is that anything to be concerned about?

dustfinger.
_________________
Unanswered Post Initiative:
https://forums.gentoo.org/viewtopic.php?t=119906
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Sun Sep 26, 2004 12:26 pm    Post subject: Reply with quote

Quote:
Is that anything to be concerned about?

I use the binary ati driver and had no issues with the newer ones (>=3.11) in combination with xorg-x11 6.7, and even if I had it's binary distributed only, no chance to change the source and recompile.

The atk.c issue is reported to vanish when using xorg-x11 IIRR.
Back to top
View user's profile Send private message
hjnenc
Veteran
Veteran


Joined: 15 Aug 2004
Posts: 1599
Location: Vienna, Austria

PostPosted: Sun Sep 26, 2004 3:46 pm    Post subject: Reply with quote

inode77 wrote:
The atk.c issue is reported to vanish when using xorg-x11 IIRR.


I can confirm this.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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