R: R: [cpia] USB CAM crash

Piero Campanelli piero.campanelli@galactica.it
Wed, 3 May 2000 20:53:56 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0003_01BFB541.B2E1AFE0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Here it is the log :)
After I have received your mail, CAM crashed ....:)))

Byeee


: -----Messaggio originale-----
: Da: Johannes Erdfelt [mailto:jerdfelt@sventech.com]
: Inviato: mercoledi 3 maggio 2000 20.48
: A: Piero Campanelli
: Cc: nikom@merl.com; cpia@risc.uni-linz.ac.at
: Oggetto: Re: R: [cpia] USB CAM crash
:
:
: Could you giv us some more information? Such as some logs? Run dmesg
: after you have some problems and there should be some messages which may
: give us some information.
:
: JE
:
: On Wed, May 03, 2000, Piero Campanelli
: <piero.campanelli@galactica.it> wrote:
: > Hi
: >
: > The patch is present in the kernel pre6 (i have seen this code in soruce
: > kernel)...so I think the problem is more serious :-)
: >
: > This is the report for today:
: >
: > Started at 9.00 am
: > Crash at 9.43 (reboot)
: > Crash at 15.30 (reboot)
: >
: > At the moment is live....
: >
: > I do every 56 second a
: >
: > vidcat -f jpeg -d /dev/video1 ...
: >
: > Byeee
: >
: >
: >
: > : /usr/src/linux/drivers/char
: > :
: > : Look at the file cpia.c. Starting from the line 1579
: > : you should see the code from the patch:
: > :         retval = cam->ops->transferCmd(cam->lowlevel_data, cmd, data);
: > : -       if (retval)
: > : +       if (retval) {
: > :                 DBG("%x - failed, retval=%d\n", command, retval);
: > : -       else {
: > : +               if (command == CPIA_COMMAND_GetColourParams ||
: > : +                   command == CPIA_COMMAND_GetColourBalance ||
: > : +                   command == CPIA_COMMAND_GetExposure)
: > : +                       up(&cam->param_lock);
: > : +       } else {
: > :                 switch(command) {
: > :                 case CPIA_COMMAND_GetCPIAVersion:
: > :                         cam->params.version.firmwareVersion = data[0];
: > :
: > : I did not recompiled my kernel yet to verify the fix.
: > :
: > : Regards,
: > :
: > : Jacob Nikom
: > :
: > :
: > : Piero Campanelli wrote:
: > : >
: > : > Hi.
: > : >
: > : > I am loading kernel 2.3.99pre6 (so I think with the latest
: > : patchs of cpia
: > : > driver). However after 30 minutes drivers crash !
: > : > When i do a new videocapture I receive:
: > : >
: > : > Can't open device /dev/video
: > : >
: > : > So the only thing I can do is to reboot the machine. Could
: you help me ?
: > : > Evetnually how can i refix it without rebooting ?
: > : >
: > : > Tnx
: > : >
: > : > _______________________________________________
: > : > cpia mailing list  -  cpia@risc.uni-linz.ac.at
: > : > http://mailman.risc.uni-linz.ac.at/mailman/cgi-bin/listinfo/cpia
: >
: >
: > _______________________________________________
: > cpia mailing list  -  cpia@risc.uni-linz.ac.at
: > http://mailman.risc.uni-linz.ac.at/mailman/cgi-bin/listinfo/cpia
: >

------=_NextPart_000_0003_01BFB541.B2E1AFE0
Content-Type: application/octet-stream;
	name="boot.message"
Content-Disposition: attachment;
	filename="boot.message"
Content-Transfer-Encoding: quoted-printable

Linux version 2.3.99-pre6 (root@pclabsrv) (gcc version egcs-2.91.66 =
19990314/Linux (egcs-1.1.2 release)) #4 Mon May 1 21:33:49 CEST 2000=0A=
e820: 0009fc00 @ 00000000 (usable)=0A=
e820: 00000400 @ 0009fc00 (reserved)=0A=
e820: 00010000 @ 000f0000 (reserved)=0A=
e820: 07efd000 @ 00100000 (usable)=0A=
e820: 00002000 @ 07ffd000 (ACPI data)=0A=
e820: 00001000 @ 07fff000 (ACPI NVS)=0A=
e820: 00010000 @ ffff0000 (reserved)=0A=
On node 0 totalpages: 32765=0A=
zone(0): 4096 pages.=0A=
zone(1): 28669 pages.=0A=
zone(2): 0 pages.=0A=
Initializing CPU#0=0A=
Detected 350798462 Hz processor.=0A=
Console: colour VGA+ 80x25=0A=
Calibrating delay loop... 699.60 BogoMIPS=0A=
Memory: 126676k/131060k available (1213k kernel code, 3996k reserved, =
90k data, 188k init, 0k highmem)=0A=
VFS: DCACHE hash table configured to 16384 entries=0A=
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)=0A=
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)=0A=
VFS: INODE hash table configured to 8192 entries=0A=
CPU: Intel Pentium II (Deschutes) stepping 02=0A=
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.=0A=
Checking 'hlt' instruction... OK.=0A=
POSIX conformance testing by UNIFIX=0A=
mtrr: v1.36 (20000221) Richard Gooch (rgooch@atnf.csiro.au)=0A=
PCI: PCI BIOS revision 2.10 entry at 0xf0720, last bus=3D1=0A=
PCI: Using configuration type 1=0A=
PCI: Probing PCI hardware=0A=
PCI: Using IRQ router PIIX [8086/122e] at 00:04.0=0A=
Limiting direct PCI/PCI transfers.=0A=
Linux NET4.0 for Linux 2.3=0A=
Based upon Swansea University Computer Society NET3.039=0A=
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.=0A=
NET4: Linux TCP/IP 1.0 for NET4.0=0A=
IP Protocols: ICMP, UDP, TCP, IGMP=0A=
IP: routing cache hash table of 512 buckets, 4Kbytes=0A=
TCP: Hash tables configured (established 8192 bind 8192)=0A=
Initializing RT netlink socket=0A=
Starting kswapd v1.6=0A=
pty: 256 Unix98 ptys configured=0A=
Uniform Multi-Platform E-IDE driver Revision: 6.30=0A=
ide: Assuming 33MHz system bus speed for PIO modes; override with =
idebus=3Dxx=0A=
PIIX4: IDE controller on PCI bus 00 dev 21=0A=
PIIX4: not 100% native mode: will probe irqs later=0A=
    ide0: BM-DMA at 0xb800-0xb807, BIOS settings: hda:DMA, hdb:DMA=0A=
    ide1: BM-DMA at 0xb808-0xb80f, BIOS settings: hdc:DMA, hdd:pio=0A=
hda: QUANTUM FIREBALL CR4.3A, ATA DISK drive=0A=
hdb: FUJITSU MPD3108AT, ATA DISK drive=0A=
hdc: ASUS CD-S400/A, ATAPI CDROM drive=0A=
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14=0A=
ide1 at 0x170-0x177,0x376 on irq 15=0A=
hda: 8418816 sectors (4310 MB) w/418KiB Cache, CHS=3D524/255/63, UDMA(33)=0A=
hdb: 21095424 sectors (10801 MB) w/512KiB Cache, CHS=3D1313/255/63, =
UDMA(33)=0A=
hdc: ATAPI 40X CD-ROM drive, 128kB Cache, UDMA(33)=0A=
Uniform CD-ROM driver Revision: 3.07=0A=
Partition check:=0A=
 hda: hda1 hda2 < hda5 >=0A=
 hdb: hdb1=0A=
md driver 0.90.0 MAX_MD_DEVS=3D256, MAX_REAL=3D12=0A=
md.c: sizeof(mdp_super_t) =3D 4096=0A=
scsi : 0 hosts.=0A=
scsi : detected total.=0A=
Serial driver version 4.93 (2000-03-20) with MANY_PORTS SHARE_IRQ =
SERIAL_PCI enabled=0A=
ttyS00 at 0x03f8 (irq =3D 4) is a 16550A=0A=
ttyS01 at 0x02f8 (irq =3D 3) is a 16550A=0A=
VFS: Mounted root (ext2 filesystem) readonly.=0A=
Freeing unused kernel memory: 188k freed=0A=
Adding Swap: 265032k swap-space (priority -1)=0A=
8139too Fast Ethernet driver 0.9.4 loaded=0A=
eth0: RealTek RTL8139 Fast Ethernet at 0xe0800000, IRQ 10, =
00:00:b4:aa:fb:d1.=0A=
PPP generic driver version 2.4.1=0A=
i2c-core.o: i2c core module=0A=
Linux video capture interface: v1.00=0A=
saa7146_init_one()=0A=
i2c-core.o: adapter saa7146(1) registered as adapter 0.=0A=
saa7146_core.o: saa7146(1): bus:0, rev:1, mem:0xc8847000.=0A=
i2c-core.o: driver VES1893 DVB DECODER registered.=0A=
VES1893: attaching VES1893 at 0x10=0A=
i2c-core.o: client [VES1893] registered to adapter [saa7146(1)](pos. 0).=0A=
VES1893: init chip=0A=
VES1893: attached to adapter saa7146(1)=0A=
VES1893: init_module=0A=
i2c-core.o: driver VES1820 DVB DECODER registered.=0A=
VES1820: init_module=0A=
i2c-core.o: driver dvbi2c registered.=0A=
dvb: ARM firmware successfully loaded.=0A=
dvb: firmware =3D f0240009=0A=
dvb: MAC =3D 00 d0 5c 2d ca 88 =0A=
dvb: attach_adapter=0A=
dvb: attached/detached client VES1893 in dvb(0)=0A=
dvb: 1 dvb(s) found!=0A=
i2c-core.o: driver i2c TV tuner driver registered.=0A=
tuner: chip found @ 0x61=0A=
dvb: attached/detached client i2c tv tuner chip in dvb(0)=0A=
VES1893: init chip=0A=
i2c-core.o: client [SP5659] registered to adapter [saa7146(1)](pos. 1).=0A=
i2c-core.o: driver i2c msp3400 driver registered.=0A=
V4L-Driver for Vision CPiA based cameras v0.7.4=0A=
usb.c: registered new driver usbdevfs=0A=
usb.c: registered new driver hub=0A=
usb.c: registered new driver cpia=0A=
uhci.c: USB UHCI at I/O 0xb400, IRQ 5=0A=
uhci.c: detected 2 ports=0A=
usb.c: new USB bus registered, assigned bus number 1=0A=
usb.c: USB new device connect, assigned device number 1=0A=
usb.c: kmalloc IF c61999a0, numif 1=0A=
usb.c: new device strings: Mfr=3D0, Product=3D2, SerialNumber=3D1=0A=
usb.c: USB device number 1 default language ID 0x0=0A=
Product: USB UHCI Root Hub=0A=
SerialNumber: b400=0A=
hub.c: USB hub found=0A=
hub.c: 2 ports detected=0A=
hub.c: ganged power switching=0A=
hub.c: standalone hub=0A=
hub.c: global over-current protection=0A=
hub.c: power on to power good time: 2ms=0A=
hub.c: hub controller current requirement: 0mA=0A=
hub.c: port 1 is removable=0A=
hub.c: port 2 is removable=0A=
hub.c: local power source is good=0A=
hub.c: no over-current condition exists=0A=
hub.c: enabling power on all ports=0A=
usb.c: hub driver claimed interface c61999a0=0A=
uhci.c: root-hub INT complete: port1: 93 port2: 80 data: 2=0A=
hub.c: port 1 connection change=0A=
hub.c: portstatus 101, change 1, High Speed=0A=
hub.c: portstatus 103, change 0, High Speed=0A=
usb.c: USB new device connect, assigned device number 2=0A=
usb.c: kmalloc IF c6199ca0, numif 1=0A=
usb.c: new device strings: Mfr=3D0, Product=3D0, SerialNumber=3D0=0A=
USB CPiA camera found=0A=
  CPiA Version: 1.20 (2.0)=0A=
  CPiA PnP-ID: 0553:0002:0100=0A=
  VP-Version: 1.0 0100=0A=
usb.c: cpia driver claimed interface c6199ca0=0A=
PPP BSD Compression module registered=0A=
PPP Deflate Compression module registered=0A=
ip_tables: (c)2000 Netfilter core team=0A=
ip_conntrack (1023 buckets, 8184 max)=0A=
cpia.c:parse_picture(1946):EOL not found giving up after 75/44020 bytes=0A=
cpia.c:parse_picture(1964):line length was not 1 but 0 after 70/43488 =
bytes=0A=
cpia.c:parse_picture(1964):line length was not 1 but 0 after 70/37268 =
bytes=0A=
usb_control/bulk_msg: timeout=0A=

------=_NextPart_000_0003_01BFB541.B2E1AFE0--