[lm-sensors] "Debug: sleeping function called from invalid context" message from i2c_clients_command()

Jean Delvare khali at linux-fr.org
Wed Aug 24 23:08:07 CEST 2005

Hi Robert,

> I'm running a kernel built directly from kernel.org
> sources.  After invoking xawtv on my frame grabber card, any
> time I change the video input the following messages show up
> in the system log:

Before anything else, I'd suggest that you try and 2.6.13-rc7,
in case the problem has already been fixed. The saa7134 driver has many
many fixes in 2.6.13-rc7.

> 	Debug: sleeping function called from invalid context at
> include/asm/semaphore.h:102
> 	in_atomic():0, irqs_disabled():1
> 	  [<cf843cc2>] i2c_clients_command+0x22/0xf0 [i2c_core]
> 	  [<cf97e824>] video_do_ioctl+0xd94/0x1210 [saa7134]
> 	  [<c031b914>] sock_def_readable+0x34/0x70
> 	  [<c038eeea>] unix_stream_sendmsg+0x2ca/0x3b0
> 	  [<c03970d2>] schedule_timeout+0x92/0x100
> 	  [<cf88732b>] video_usercopy+0x6b/0x180 [videodev]
> 	  [<c0199f6a>] do_select+0x3da/0x4b0
> 	  [<c017f992>] do_sync_write+0xb2/0x100
> 	  [<cf97ecb9>] video_ioctl+0x19/0x20 [saa7134]
> 	  [<cf97da90>] video_do_ioctl+0x0/0x1210 [saa7134]
> 	  [<cf97eca0>] video_ioctl+0x0/0x20 [saa7134]
> 	  [<c0199069>] do_ioctl+0x69/0x70
> 	  [<c01991ac>] vfs_ioctl+0x5c/0x1f0
> 	  [<c01993b2>] sys_ioctl+0x72/0x90
> 	  [<c0103b95>] syscall_call+0x7/0xb
> Any help would be greatly appreciated.  If additional info
> is needed, please do not hesitate to ask.

Not related to the i2c subsystem per se as far as I can see, so there's
not much we can do for you I fear.

> This is also being posted to the video4linux mailing list.

I'd believe they are more likely to have an idea about what's going on.

Jean Delvare

More information about the lm-sensors mailing list