Xawtv or cpia-0.4.4 problem?

Peter Pregler Peter.Pregler@risc.uni-linz.ac.at
Wed, 08 Dec 1999 11:17:48 +0100 (CET)


Hi,

Definitly a driver-problem. Applications must not cause oopses. Maybe some
unguarded division in the compution of proc-stats. I review that code. Stay
tuned and thanx for the report.

-Peter

On 08-Dec-99 Hannu Martikka wrote:
> Hi!
> 
> I've been running xawtv-3.0.2 and cpia-0.4.4 for a while (~1-2days).
> Then the xawtv disappeard. See dmsg output below. 
> 
> Any ideas whether this is a problem in cpia driver or xawtv?
> The cpia_pp and cpia modules are still loaded, but I cannot start new
> xawtv (/dev/webcam is link to /dev/video1):
> 
> This is xawtv-3.02, running on Linux/i686 (2.2.12-20)
> visual: id=0x20 class=4 (TrueColor), depth=16
> x11: 1280x1024, 16 bit/pixel, 2560 byte/scanline, DGA, VidMode
> can't open /dev/webcam: Device or resource busy
> waitpid: No child processes
> v4l-conf had some trouble, trying to continue anyway
> open /dev/webcam: Device or resource busy
> can't open /dev/webcam: Device or resource busy
> waitpid: No child processes
> v4l-conf had some trouble, trying to continue anyway
> open /dev/webcam: Device or resource busy
> no video grabber device available
> 
> And as expected I cannot unload cpia_pp nor cpia modules.
> But I can still use /proc/cpia/video1...
> 
> Dmesg output:
> ...
> cpia_pp.c(4145509):cpia_pp_open(1200):Found camera[0]
> cpia.c(4145510):goto_low_power(2291):camera now in LOW power state
>   CPIA Version: 1.20 (2.0)
>   CPIA PnP-ID: 0553:0002:0100
> cpia.c(4145518):goto_high_power(2279):camera now in HIGH power state
>   VP-Version: 1.0 0100
> cpia.c(4145531):dispatch_commands(2058):1 1 0 0 1 1 1 1 
> cpia.c(4145531):dispatch_commands(2059):0 1 1 1 1 1 0 1 
> cpia.c(4145533):save_camera_state(2311):0/1/35/0/212/207/207/219
> cpia.c(4145533):save_camera_state(2315):189/3/23
> cpia.c(4145533):cpia_ioctl(2673):VIDIOCGCAP
> cpia.c:cpia_close(2525):cpia_close
> ...
> cpia.c(4145561):cpia_ioctl(2719):VIDIOCSCHAN
> cpia.c(4145561):cpia_ioctl(2731):VIDIOCGPICT
> cpia.c(4145561):cpia_ioctl(2843):VIDIOCGMBUF
> cpia.c(4145561):cpia_mmap(3008):cpia_mmap: 811008
> cpia.c(4145562):cpia_mmap(3040):cpia_mmap: 0
> cpia.c(4145583):cpia_ioctl(2731):VIDIOCGPICT
> ...
> cpia.c(4145584):cpia_ioctl(2740):VIDIOCSPICT
> cpia.c(4145584):cpia_ioctl(2748):palette: 4
> cpia.c(4145584):cpia_ioctl(2749):depth: 24
> cpia.c(4145584):cpia_ioctl(2775):VIDIOCSPICT: 24 / 4 // 32768 / 32768 /
> 32768 / 32768
> cpia.c(4145584):cpia_ioctl(2719):VIDIOCSCHAN
> cpia.c(4145584):cpia_ioctl(2719):VIDIOCSCHAN
> cpia.c(4145587):cpia_ioctl(2673):VIDIOCGCAP
> cpia.c(4145587):dispatch_commands(2058):0 0 0 0 1 1 0 0 
> cpia.c(4145587):dispatch_commands(2059):0 0 0 0 0 0 0 0 
> cpia.c(4145587):fetch_frame(2175):
> cpia.c(4145598):dispatch_commands(2058):0 0 0 0 1 0 0 1 
> cpia.c(4145598):dispatch_commands(2059):0 0 0 0 0 0 1 0 
> divide error: 0000
> CPU:    0
> EIP:    0010:[<c80b2929>]
> EFLAGS: 00010246
> eax: 000000af   ebx: c2bd2800   ecx: 000000af   edx: 00000000
> esi: c5fee000   edi: 00000704   ebp: 0092f352   esp: c5fefde4
> ds: 0018   es: 0018   ss: 0018
> Process xawtv (pid: 3105, process nr: 62, stackpage=c5fef000)
> Stack: c2bd2800 00000001 00000000 c80b2a8a c2bd2800 c5fefe50 c2bd2800
> 00000003 
>        c80b3ef6 c2bd2800 c5fefe50 c47d07e0 ffffffe7 08068b04 40107613
> 00000001 
>        c010ad32 00000014 c808f6c0 c5fefe78 c0236160 c5fee000 c2bd2804
> 00000000 
> Call Trace: [<c80b2a8a>] [<c80b3ef6>] [<c010ad32>] [<c808f6c0>]
>        [<c010ab15>] [<c010ae54>] [<c014d379>] [<c0110b36>] [<c014d416>]
>        [<c014d4c5>] [<c0177023>] [<c014b002>] [<c0176dac>] [<c014b10f>]
>        [<c01771c1>] [<c014b25d>] [<c807e1f7>] [<c012e5f9>] [<c0109d08>]
>        [<c010002b>]
> Code: f7 74 24 10 89 c5 8b 43 3c 01 c0 01 e8 89 44 24 10 b8 ab aa 
> 
> 
> - Goodi
> "The linuX Files -- The Source is Out There."
> ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°
> 
> -----------------------------------------------------------------------------
> To unsubscribe from this mailinglist, send the line "unsubscribe
> vision-webcam" in the
> body of a message to "majordomo@errors.no".
> 

-------------------------------
Even the thought that a ship was waiting to take him back to Earth
did not wipe out the sense of loss he felt at that moment.
-------------------------------
Email: Peter.Pregler@risc.uni-linz.ac.at
Peter Pregler / RISC, University of Linz, Austria
-----------------------------------------------------------------------------
To unsubscribe from this mailinglist, send the line "unsubscribe vision-webcam" in the
body of a message to "majordomo@errors.no".