Re: another 'bad scheduling while atomic' thing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 06 October 2004 16:57, michel Xhaard wrote:
>Le Mercredi 6 Octobre 2004 17:49, Gene Heskett a écrit :
>> Greetings;
>>
>> kernel 2.6.9-rc3, trying to install the spca50x drivers
>> for a logitech camera.  VIDEO_DEV is builtin and before
>> installing this, tvtime worked well.
>>
>> Now, an lsmod shows all the bttv related modules are
>> missing, where they previously autoloaded at startx
>> time, and launching tvtime from a shell gets me this:
>> ----------------
>> [root@coyote root]# tvtime
>> Running tvtime 0.9.12.
>> Reading configuration from /etc/tvtime/tvtime.xml
>> Reading configuration from /root/.tvtime/tvtime.xml
>>
>>     Your capture card driver: Logitech ClickSmart 310
>>
>>     does not support studio-quality colour images required by
>> tvtime. This is a hardware limitation of some cards including many
>> low-quality webcams.  Please select a different video device to
>> use with the command line option --device.
>>
>>     Message from the card was: Invalid argument
>>
>> Thank you for using tvtime.
>> -------------
>> Also, when it or camstream is running, my logs are
>> being rapidly filled with this report:
>> ------------
>> Oct  6 11:37:11 coyote kernel: bad: scheduling while atomic!
>> Oct  6 11:37:11 coyote kernel:  [<c031abc6>] schedule+0x4c6/0x4d0
>> Oct  6 11:37:11 coyote kernel:  [<c031ac98>]
>> wait_for_completion+0x78/0xd0 Oct  6 11:37:11 coyote kernel: 
>> [<c0113be0>] default_wake_function+0x0/0x20 Oct  6 11:37:11 coyote
>> kernel:  [<c0113be0>] default_wake_function+0x0/0x20 Oct  6
>> 11:37:11 coyote kernel:  [<c02948ed>] usb_start_wait_urb+0x8d/0xe0
>> Oct  6 11:37:11 coyote kernel:  [<c02947d0>] timeout_kill+0x0/0x90
>> Oct  6 11:37:11 coyote kernel:  [<c02947d0>] timeout_kill+0x0/0x90
>> Oct  6 11:37:11 coyote kernel:  [<c02949ab>]
>> usb_internal_control_msg+0x6b/0x80 Oct  6 11:37:11 coyote kernel:
>> [<c0294a4d>] usb_control_msg+0x8d/0xb0 Oct  6 11:37:11 coyote
>> kernel: [<f98e28a8>] spca_set_interface+0x78/0xc0 [spca50x] Oct  6
>> 11:37:11 coyote kernel:  [<f98ed164>] spca500_synch310+0x94/0x130
>> [spca50x] Oct  6 11:37:11 coyote kernel:  [<f98edfa7>]
>> spca500_initialise+0x8b7/0x2620 [spca50x] Oct 6 11:37:11 coyote
>> kernel:  [<f98e66f9>] spca50x_init_isoc+0x289/0x350 [spca50x] Oct 
>> 6 11:37:11 coyote kernel:  [<f98e9f7d>]
>> spca50x_open+0x1ad/0x450 [spca50x] Oct  6 11:37:11 coyote kernel:
>> [<c01416e4>] handle_mm_fault+0xd4/0x180 Oct  6 11:37:11 coyote
>> kernel: [<c0265f2f>] video_open+0x11f/0x230 Oct  6 11:37:11 coyote
>> kernel: [<c0265e10>] video_open+0x0/0x230
>> Oct  6 11:37:11 coyote kernel:  [<c0157f06>]
>> chrdev_open+0xe6/0x210 Oct  6 11:37:11 coyote kernel: 
>> [<c014df26>] dentry_open+0x146/0x230 Oct  6 11:37:11 coyote
>> kernel:  [<c014ddd8>] filp_open+0x68/0x70 Oct  6 11:37:11 coyote
>> kernel:  [<c014e049>] get_unused_fd+0x39/0xe0 Oct  6 11:37:11
>> coyote kernel:  [<c014e1b9>] sys_open+0x49/0x90 Oct  6 11:37:11
>> coyote kernel:  [<c01041c9>] sysenter_past_esp+0x52/0x71
>> ----------------
>> At several copies per second.
>>
>> camstream displays a patterned but otherwise blank window
>> when running.
>>
>> I've attached my modprobe.conf.  Please advise howto make
>> these bits co-exist peacefully, and why the scheduler is
>> squawking.
>
>Gene,
>Logitech Clicksmart 310 is an jpeg camera so the stream is in
> rawjpeg and only spcaview or spcagui are able to decode that.
>Why the camera appears at the first videodevice ? did you boot with
> the camera plugged on the usb bus ?

Yes.

>Try :
>Boot without the camera then plug the cam. Video device 1
> /dev/video0 should be your tv cards and /dev/video1 the
> clicksmart310.
>Best regards

It is now after some fiddling around, rmmod'ing spca50x, running 
tvtime, then modprobing spca50x again.  But the error messages in the 
logs continue, and spcagui -d /dev/video1 sets up the pipes and 
window, but then goes away and whats left must be killed by hand.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.27% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux