Sorry about the length, but I'll try to make this clear and descriptive.

This is from boot...I don't have modules.conf set up yet for auto-load:
Linux video capture interface: v1.00
Linux video codec intermediate layer: v0.2
Zoran MJPEG board driver version 0.9.5
PCI: Found IRQ 10 for device 0000:00:12.0
PCI: Sharing IRQ 10 with 0000:01:01.0
MJPEG[0]: Zoran ZR36057 (rev 1) irq: 10, memory: 0xf3fff000.
MJPEG[0]: find_zr36057() - no card specified, please use the card=X insmod option
No known MJPEG cards found.

This is when I do:
modprobe zr36067 card=0 #(this is the closest matching for my card chip set)
Zoran MJPEG board driver version 0.9.5
PCI: Found IRQ 10 for device 0000:00:12.0
PCI: Sharing IRQ 10 with 0000:01:01.0
MJPEG[0]: Zoran ZR36057 (rev 1) irq: 10, memory: 0xf3fff000.
ZORAN: 1 card(s) found
DC10(old)[0]: ZR36057/Natoma bug, max. buffer size is 128K
DC10(old)[0]: zr36057_init() - initializing card[0], zr=cc9b6f40

lspci shows:
0000:00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
0000:00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
0000:00:02.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
0000:00:02.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
0000:00:02.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
0000:00:02.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
0000:00:10.0 Multimedia audio controller: ESS Technology ES1969 Solo-1 Audiodrive (rev 
01)
0000:00:12.0 Multimedia video controller: Zoran Corporation ZR36057PQC Video cutting 
chipset (rev 01)
0000:00:14.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 74)
0000:01:01.0 VGA compatible controller: S3 Inc. Trio 64 3D (rev 01)

Apparently the "shared" IRQ that doesn't show up in /proc/interrupts is the on board 
video card.  I'm in straight low-res console mode when I try these tests, so I don't 
think it would cause much of a problem...at least it shouldn't cause the bombing out 
without recording anything...hopefully.

Running the lavrec command...
This one should be really easy on the system, right?
# lavrec --mjpeg-buffer-size=512 --format=a --input=n --quality=30 --audio-bitsize=0 
--decimation=4 -v2 ztest4.mjpeg.avi
INFO: [lavrec] Recording parameters:
INFO: [lavrec] Output format:      AVI
INFO: [lavrec] Input Source:       Composite NTSC

INFO: [lavrec] Decimation:         4
INFO: [lavrec] Quality:            30
INFO: [lavrec] Recording time:     -1 sec
INFO: [lavrec]
INFO: [lavrec] MJPEG buffer size:  512 KB
INFO: [lavrec] # of MJPEG buffers: 64
INFO: [lavrec] Audio disabled
--DEBUG: [lavrec] Maximum size per file will be 1739 MB
INFO: [lavrec] Auto detecting input and norm ...
INFO: [lavrec] Image size will be 160x120, 1 field(s) per buffer
INFO: [lavrec] Got 32 buffers of size 128 KB
--DEBUG: [lavrec] Queueing frame 0
--DEBUG: [lavrec] Queueing frame 1
--DEBUG: [lavrec] Queueing frame 2
--DEBUG: [lavrec] Queueing frame 3
--DEBUG: [lavrec] Queueing frame 4
--DEBUG: [lavrec] Queueing frame 5
--DEBUG: [lavrec] Queueing frame 6
--DEBUG: [lavrec] Queueing frame 7
--DEBUG: [lavrec] Queueing frame 8
--DEBUG: [lavrec] Queueing frame 9
--DEBUG: [lavrec] Queueing frame 10
--DEBUG: [lavrec] Queueing frame 11
--DEBUG: [lavrec] Queueing frame 12
--DEBUG: [lavrec] Queueing frame 13
--DEBUG: [lavrec] Queueing frame 14
--DEBUG: [lavrec] Queueing frame 15
--DEBUG: [lavrec] Queueing frame 16
--DEBUG: [lavrec] Queueing frame 17
--DEBUG: [lavrec] Queueing frame 18
--DEBUG: [lavrec] Queueing frame 19
--DEBUG: [lavrec] Queueing frame 20
--DEBUG: [lavrec] Queueing frame 21
--DEBUG: [lavrec] Queueing frame 22
--DEBUG: [lavrec] Queueing frame 23
--DEBUG: [lavrec] Queueing frame 24
--DEBUG: [lavrec] Queueing frame 25
--DEBUG: [lavrec] Queueing frame 26
--DEBUG: [lavrec] Queueing frame 27
--DEBUG: [lavrec] Queueing frame 28
--DEBUG: [lavrec] Queueing frame 29
--DEBUG: [lavrec] Queueing frame 30
--DEBUG: [lavrec] Queueing frame 31
++ WARN: [lavrec] Closing file(s) and exiting - output file(s) my not be readable due 
to error
**ERROR: [lavrec] Error syncing on a buffer: Timer expired
INFO: [lavrec] Opening output file ztest4.mjpeg.avi
--DEBUG: [lavrec] Queueing frame 4294967295
0.00.00:01 int:998 lst:  0 ins:  0 del:  0 ae:  0 td1=0.000 td2=0.000
**ERROR: [lavrec] Error resetting buffer-queue: Invalid argument

Recording time  :  0.00.00:01
Lost frames     : 000
A/V sync ins/del: 000/000
Audio errors    : 000

The file ztest4.mjpeg.avi is 2080 bytes long.

dmesg from that lavrec test shows:
DC10(old)[0]: ZR36057/Natoma bug, max. buffer size is 128K
DC10(old)[0]: zr36057_init() - initializing card[0], zr=cc9b6f40
DC10(old)[0]: zoran_open(lavrec, pid=[1811]), users(-)=0
DC10(old)[0]: jpg_sync() - timeout: codec isr=0x18
DC10(old)[0]: jpg_qbuf() - stop streaming but not in streaming mode
DC10(old)[0]: zoran_close(lavrec, pid=[1812]), users(+)=1

Out of curiosity, what is the "Natoma bug"?  Am I experiencing a more vicious version 
of it?

lsmod shows:
Module                  Size  Used by
8250                   19648  1 8250_pnp
8250_pnp                8576  0
aec62xx                10268  0 [permanent]
af_packet              22152  2
alim15x3               10252  0 [permanent]
amd74xx                12572  0 [permanent]
atiixp                  8600  0 [permanent]
cmd64x                 12060  0 [permanent]
cs5530                  6024  0 [permanent]
cy82c693                4608  0 [permanent]
esssolo1               33536  0
evdev                   9088  0
gameport                4864  2 snd_es1938,esssolo1
hpt34x                  5632  0 [permanent]
hpt366                 21060  0 [permanent]
i2c_algo_bit            9736  1 zr36067
i2c_core               23568  2 vpx3220,i2c_algo_bit
intel_agp              21408  1
ns87415                 4296  0 [permanent]
pcspkr                  3944  0
rz1000                  2688  0 [permanent]
sc1200                  8328  0 [permanent]
serial_core            22528  1 8250
snd                    55012  8 
snd_es1938,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device
snd_es1938             22056  0
snd_hwdep               9348  1 snd_opl3_lib
snd_mpu401_uart         7808  1 snd_es1938
snd_opl3_lib           10368  1 snd_es1938
snd_page_alloc         11528  1 snd_pcm
snd_pcm                93064  1 snd_es1938
snd_rawmidi            24868  1 snd_mpu401_uart
snd_seq_device          8328  2 snd_opl3_lib,snd_rawmidi
snd_timer              25092  2 snd_pcm,snd_opl3_lib
soundcore               9824  2 snd,esssolo1
triflex                 5124  0 [permanent]
uhci_hcd               32140  0
usbcore               122468  3 uhci_hcd
videocodec              8724  3 zr36016,zr36050,zr36067
videodev                9856  1 zr36067
vpx3220                 8584  0
zr36016                 6152  1
zr36050                 9096  1
zr36067               134220  0

Let me know what else to run or try.

Thanks,
B++




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to