Talk:Ov51xJpegHackedInstall
From Ov51x JPEG hacked Wiki
This installation doesn't seem to work for fedora core 5 test 3. Everything up until modprobe works perfectly - but then things starts to act weird. Here is a peek at my shell:
#> modprobe ov51x FATAL: Module ov51x not found. #> #>insmod ov51x.ko insmod: error inserting 'ov51x.ko': -1 Unknown symbol in module
I should mention that the update-module method seems to be missing from fedora... Also I'm running kernel "2.6.16-1.2080_FC5smp"
Please try to provide a dmesg output. Also, using insmod you should first do a modprobe videodev as stated in the page.. Then if it still doesn't work, post your dmesg output here..
Toots 12:43, 4 April 2006 (CEST)
Having a bit of trouble keeping it running, installs fine but after a few seconds i get this from desg:
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
hub 2-0:1.0: port 1 disabled by hub (EMI?), re-enabling...
usb 2-1: USB disconnect, address 2
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-108: Unknown
/ov51x-jpeg-0.5.1/ov51x.c: usb_submit_urb() ret -19
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-108: Unknown
/ov51x-jpeg-0.5.1/ov51x.c: usb_submit_urb() ret -19
usb 2-1: new full speed USB device using uhci_hcd and address 3
usb 2-1: configuration #1 chosen from 1 choice
/ov51x-jpeg-0.5.1/ov51x.c: USB OV519 video device found
/ov51x-jpeg-0.5.1/ov51x.c: Sensor is an OV7648
/ov51x-jpeg-0.5.1/ov51x.c: Device at usb-0000:00:07.3-1 registered to minor 0
Unable to handle kernel NULL pointer dereference at virtual address 0000009c
printing eip:
e82e958d
*pde = 00000000
Oops: 0002 [#1]
Modules linked in: loop snd_pcm_oss snd_mixer_oss ipv6 ohci_hcd ehci_hcd via_agp agpgart parport_pc parport uhci_hcd snd_via82xx snd_ac97_codec snd_ac97_bus snd_pcm snd_timer snd_page_alloc snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore 8250_pci 8250 serial_core ov519_decomp ov51x usbcore via686a lm80 i2c_isa i2c_viapro i2c_core ide_scsi natsemi
CPU: 0
EIP: 0060:[<e82e958d>] Not tainted VLI
EFLAGS: 00210293 (2.6.16.2CBA #1)
EIP is at ov51x_v4l1_close+0x31/0xcc [ov51x]
eax: e74a2a00 ebx: 00000000 ecx: db73ec00 edx: e67d251c
esi: db73ec00 edi: e67d240c ebp: e6753b60 esp: d18e7f24
ds: 007b es: 007b ss: 0068
Process esd (pid: 3567, threadinfo=d18e6000 task=d18e3ab0)
Stack: <0>00000008 db73ec00 c013dd01 e67d240c db73ec00 c15d4d20 db73ec00 d18e4e40
00000000 00000001 c013ca43 db73ec00 d18e4e40 db73ec00 d18e4e40 00000007
00000038 d18e4e48 c0110f4f db73ec00 d18e4e40 d18e4e40 d18e3ab0 00000000
Call Trace:
[<c013dd01>] __fput+0x83/0x110
[<c013ca43>] filp_close+0x4c/0x55
[<c0110f4f>] close_files+0x4b/0x5b
[<c0110f83>] put_files_struct+0x13/0x3b
[<c01117ea>] do_exit+0x18d/0x2e2
[<c01119c7>] sys_exit_group+0x0/0x11
[<c0102399>] syscall_call+0x7/0xb
Code: e8 03 53 8b 74 24 10 8b 46 74 8b 58 40 7e 1c 68 10 17 00 00 68 4b ce 2e e8 68 37 d3 2e e8 68 59 e9 2e e8 e8 32 6a e2 d7 83 c4 10 <ff> 8b 9c 00 00 00 0f 88 63 30 00 00 ff 8b ac 00 00 00 53 e8 10
<1>Fixing recursive fault but reboot is needed!
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-63: Buffer error (overrun)
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-63: Buffer error (overrun)
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-63: Buffer error (overrun)
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-63: Buffer error (overrun)
/ov51x-jpeg-0.5.1/ov51x.c: Data length in header and number of received bytes differ
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-84: CRC/Timeout
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-84: CRC/Timeout
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-84: CRC/Timeout
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-84: CRC/Timeout
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-84: CRC/Timeout
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-84: CRC/Timeout
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-84: CRC/Timeout
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-84: CRC/Timeout
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-84: CRC/Timeout
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-84: CRC/Timeout
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-84: CRC/Timeout
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-84: CRC/Timeout
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-84: CRC/Timeout
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-84: CRC/Timeout
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-84: CRC/Timeout
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-84: CRC/Timeout
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-84: CRC/Timeout
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-84: CRC/Timeout
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-84: CRC/Timeout
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-84: CRC/Timeout
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-84: CRC/Timeout
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-84: CRC/Timeout
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-84: CRC/Timeout
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-84: CRC/Timeout
hub 2-0:1.0: port 1 disabled by hub (EMI?), re-enabling...
usb 2-1: USB disconnect, address 3
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-108: Unknown
/ov51x-jpeg-0.5.1/ov51x.c: usb_submit_urb() ret -19
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-108: Unknown
/ov51x-jpeg-0.5.1/ov51x.c: usb_submit_urb() ret -19
usb 2-1: new full speed USB device using uhci_hcd and address 4
usb 2-1: configuration #1 chosen from 1 choice
/ov51x-jpeg-0.5.1/ov51x.c: USB OV519 video device found
/ov51x-jpeg-0.5.1/ov51x.c: Sensor is an OV7648
/ov51x-jpeg-0.5.1/ov51x.c: Device at usb-0000:00:07.3-1 registered to minor 0
Unable to handle kernel NULL pointer dereference at virtual address 0000009c
printing eip:
e82e958d
*pde = 00000000
Oops: 0002 [#2]
Modules linked in: loop snd_pcm_oss snd_mixer_oss ipv6 ohci_hcd ehci_hcd via_agp agpgart parport_pc parport uhci_hcd snd_via82xx snd_ac97_codec snd_ac97_bus snd_pcm snd_timer snd_page_alloc snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore 8250_pci 8250 serial_core ov519_decomp ov51x usbcore via686a lm80 i2c_isa i2c_viapro i2c_core ide_scsi natsemi
CPU: 0
EIP: 0060:[<e82e958d>] Not tainted VLI
EFLAGS: 00210293 (2.6.16.2CBA #1)
EIP is at ov51x_v4l1_close+0x31/0xcc [ov51x]
eax: d41a4400 ebx: 00000000 ecx: dddf5760 edx: e602ab5c
esi: dddf5760 edi: e602aa4c ebp: d1481cf4 esp: c8ec3f24
ds: 007b es: 007b ss: 0068
Process camorama (pid: 11923, threadinfo=c8ec2000 task=e1bc5ab0)
Stack: <0>00000008 dddf5760 c013dd01 e602aa4c dddf5760 c15d4d20 dddf5760 d1f98580
00000000 00000001 c013ca43 dddf5760 d1f98580 dddf5760 d1f98580 00000003
00000038 d1f98588 c0110f4f dddf5760 d1f98580 d1f98580 e1bc5ab0 0000ff00
Call Trace:
[<c013dd01>] __fput+0x83/0x110
[<c013ca43>] filp_close+0x4c/0x55
[<c0110f4f>] close_files+0x4b/0x5b
[<c0110f83>] put_files_struct+0x13/0x3b
[<c01117ea>] do_exit+0x18d/0x2e2
[<c01119c7>] sys_exit_group+0x0/0x11
[<c0102399>] syscall_call+0x7/0xb
Code: e8 03 53 8b 74 24 10 8b 46 74 8b 58 40 7e 1c 68 10 17 00 00 68 4b ce 2e e8 68 37 d3 2e e8 68 59 e9 2e e8 e8 32 6a e2 d7 83 c4 10 <ff> 8b 9c 00 00 00 0f 88 63 30 00 00 ff 8b ac 00 00 00 53 e8 10
<1>Fixing recursive fault but reboot is needed!
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-63: Buffer error (overrun)
/ov51x-jpeg-0.5.1/ov51x.c: Data length in header and number of received bytes differ
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-84: CRC/Timeout
hub 2-0:1.0: port 1 disabled by hub (EMI?), re-enabling...
usb 2-1: USB disconnect, address 4
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-108: Unknown
/ov51x-jpeg-0.5.1/ov51x.c: usb_submit_urb() ret -19
/ov51x-jpeg-0.5.1/ov51x.c: ERROR: urb->status=-108: Unknown
/ov51x-jpeg-0.5.1/ov51x.c: usb_submit_urb() ret -19
usb 2-1: new full speed USB device using uhci_hcd and address 5
usb 2-1: configuration #1 chosen from 1 choice
/ov51x-jpeg-0.5.1/ov51x.c: USB OV519 video device found
/ov51x-jpeg-0.5.1/ov51x.c: Sensor is an OV7648
/ov51x-jpeg-0.5.1/ov51x.c: Device at usb-0000:00:07.3-1 registered to minor 0
Unable to handle kernel NULL pointer dereference at virtual address 0000009c
printing eip:
e82e958d
*pde = 00000000
Oops: 0002 [#3]
Modules linked in: loop snd_pcm_oss snd_mixer_oss ipv6 ohci_hcd ehci_hcd via_agp agpgart parport_pc parport uhci_hcd snd_via82xx snd_ac97_codec snd_ac97_bus snd_pcm snd_timer snd_page_alloc snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore 8250_pci 8250 serial_core ov519_decomp ov51x usbcore via686a lm80 i2c_isa i2c_viapro i2c_core ide_scsi natsemi
CPU: 0
EIP: 0060:[<e82e958d>] Not tainted VLI
EFLAGS: 00210293 (2.6.16.2CBA #1)
EIP is at ov51x_v4l1_close+0x31/0xcc [ov51x]
eax: d41a4600 ebx: 00000000 ecx: d3ffd440 edx: e687ddfc
esi: d3ffd440 edi: e687dcec ebp: ddadfdcc esp: dc659f24
ds: 007b es: 007b ss: 0068
Process camorama (pid: 12155, threadinfo=dc658000 task=c51a1ab0)
Stack: <0>00000008 d3ffd440 c013dd01 e687dcec d3ffd440 c15d4d20 d3ffd440 d48e4900
00000000 00000001 c013ca43 d3ffd440 d48e4900 d3ffd440 d48e4900 00000003
00000038 d48e4908 c0110f4f d3ffd440 d48e4900 d48e4900 c51a1ab0 0000ff00
Call Trace:
[<c013dd01>] __fput+0x83/0x110
[<c013ca43>] filp_close+0x4c/0x55
[<c0110f4f>] close_files+0x4b/0x5b
[<c0110f83>] put_files_struct+0x13/0x3b
[<c01117ea>] do_exit+0x18d/0x2e2
[<c01119c7>] sys_exit_group+0x0/0x11
[<c0102399>] syscall_call+0x7/0xb
Code: e8 03 53 8b 74 24 10 8b 46 74 8b 58 40 7e 1c 68 10 17 00 00 68 4b ce 2e e8 68 37 d3 2e e8 68 59 e9 2e e8 e8 32 6a e2 d7 83 c4 10 <ff> 8b 9c 00 00 00 0f 88 63 30 00 00 ff 8b ac 00 00 00 53 e8 10
<1>Fixing recursive fault but reboot is needed!
<pre>
Running Slackware 10.2 kernel 2.6.16 also tried 2.6.16.2 and 2.4.32 with same results.
Another one same error
DMESG:
[ 118.944169] hub 1-0:1.0: port 2 disabled by hub (EMI?), re-enabling... [ 118.945299] usb 1-2: USB disconnect, address 2 [ 118.947267] ov51x_jpeg: ERROR: urb->status=-108: Unknown [ 118.948037] ov51x_jpeg: usb_submit_urb() ret -19 [ 118.948037] ov51x_jpeg: ERROR: urb->status=-108: Unknown [ 118.948037] ov51x_jpeg: usb_submit_urb() ret -19 [ 119.064099] usb 1-2: new full speed USB device using uhci_hcd and address 3 [ 119.207931] BUG: unable to handle kernel NULL pointer dereference at 0000009c [ 119.207931] IP: [<c02b971b>] _spin_lock_irqsave+0x1e/0x2f [ 119.207931] *pde = 00000000 [ 119.207931] Oops: 0002 [#1] SMP [ 119.207931] Modules linked in: ipv6 loop snd_ens1371 gameport snd_usb_audio snd_usb_lib button snd_ac97_codec parport_pc parport snd_rawmidi snd_seq_device ac97_bus snd_pcm snd_timer snd_hwdep snd soundcore snd_page_alloc serio_raw i2c_piix4 psmouse i2c_core ov51x_jpeg videodev v4l1_compat shpchp pci_hotplug intel_agp agpgart pcspkr evdev ext3 jbd mbcache ide_disk ata_generic libata scsi_mod dock ide_pci_generic uhci_hcd piix tulip usbcore ide_core thermal processor fan thermal_sys [ 119.207931] [ 119.207931] Pid: 2112, comm: motion Not tainted (2.6.26-2-686 #1) [ 119.207931] EIP: 0060:[<c02b971b>] EFLAGS: 00210006 CPU: 0 [ 119.207931] EIP is at _spin_lock_irqsave+0x1e/0x2f [ 119.207931] EAX: 00000100 EBX: 0000009c ECX: 00200206 EDX: 0000009c [ 119.207931] ESI: c789d680 EDI: fffffffc EBP: 40107613 ESP: c697df3c [ 119.207931] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 [ 119.207931] Process motion (pid: 2112, ti=c697c000 task=c6ce8a40 task.ti=c697c000) [ 119.207931] Stack: c0134e64 0000009c c789d680 fffffffc c8d6a36f c6b8c790 c8d811a0 c789d680 [ 119.207931] b688ac2c 40107613 c017e4e7 b688ac2c c789d680 c789d680 b688ac2c 00000003 [ 119.207931] c017e747 00000000 c012a26e c012a330 c789d680 00000000 b688ac2c c697c000 [ 119.207931] Call Trace: [ 119.207931] [<c0134e64>] down_interruptible+0xa/0x33 [ 119.207931] [<c8d6a36f>] ov51x_v4l1_ioctl+0x29/0x56 [ov51x_jpeg] [ 119.207931] [<c017e4e7>] vfs_ioctl+0x47/0x5d [ 119.207931] [<c017e747>] do_vfs_ioctl+0x24a/0x261 [ 119.207931] [<c012a26e>] recalc_sigpending+0xb/0x2c [ 119.207931] [<c012a330>] sigprocmask+0xa1/0xc5 [ 119.207931] [<c017e79f>] sys_ioctl+0x41/0x5a [ 119.207931] [<c0103853>] sysenter_past_esp+0x78/0xb1 [ 119.207931] ======================= [ 119.207931] Code: e6 ff 90 fe 00 8b 04 24 e9 d0 d1 e6 ff 89 c2 9c 58 0f 1f 84 00 00 00 00 00 89 c1 fa 0f 1f 84 00 00 00 00 00 90 b8 00 01 00 00 90 <66> 0f c1 02 38 e0 74 06 f3 90 8a 02 eb f6 89 c8 c3 89 c2 fa 0f [ 119.207931] EIP: [<c02b971b>] _spin_lock_irqsave+0x1e/0x2f SS:ESP 0068:c697df3c [ 119.207931] ---[ end trace 99af3bb46068a68e ]--- [ 120.363227] usb 1-2: configuration #1 chosen from 1 choice [ 120.408058] ov51x_jpeg: USB OV519 video device found [ 120.817042] ov51x_jpeg: Sensor is an OV7648 [ 120.966275] ov51x_jpeg: Device at usb-0000:00:07.2-2 registered to minor 0 [ 121.051903] usb 1-2: New USB device found, idVendor=054c, idProduct=0154 [ 121.100750] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 121.140737] usb 1-2: Product: Logitech EyeToy USB Camera [ 121.180775] usb 1-2: Manufacturer: Sony Corporation [ 1597.288167] usb 1-2: USB disconnect, address 3 [ 1603.740107] usb 1-2: new full speed USB device using uhci_hcd and address 4 [ 1604.516307] usb 1-2: configuration #1 chosen from 1 choice [ 1604.563461] ov51x_jpeg: USB OV519 video device found [ 1604.994007] ov51x_jpeg: Sensor is an OV7648 [ 1605.148243] ov51x_jpeg: Device at usb-0000:00:07.2-2 registered to minor 0 [ 1605.242888] usb 1-2: New USB device found, idVendor=054c, idProduct=0154 [ 1605.293004] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 1605.333812] usb 1-2: Product: Logitech EyeToy USB Camera [ 1605.374131] usb 1-2: Manufacturer: Sony Corporation
Debian Lenny Linux/EyeToy USB Camera/500Mhz CPU/128RAM/motion+ftpserver

