Hallo,
tritt fast der gleiche Fehler auf:
Code:
Loading module ov7620
Unable to handle kernel NULL pointer dereference at virtual address 000000e0
ptbr = 91eb1000 pgd = 91d40000
Oops: Kernel access of bad area, sig: 11 [#1]
FRAME_POINTER chip: 0x01f:0x1e82 rev 2
Modules linked in: ov7620(+) v4l2_int_device v4l2_common i2c_core compat_ioctl32
atmel_isi videodev v4l1_compat xt_state iptable_filter ipt_MASQUERADE iptable_n
at nf_nat nf_conntrack_ipv4 nf_conntrack ip_tables vfat fat nls_base
PC is at ov7620_init+0xa/0xac [ov7620]
LR is at sys_init_module+0xf8c/0x105c
pc : [<c08ac00a>] lr : [<90036638>] Not tainted
sp : 91ff3ee4 r12: 00000000 r11: c08aa278
r10: c08aa3c0 r9 : ffffffff r8 : c08ac000
r7 : 91ff3ee4 r6 : 91de0fa0 r5 : 901ed8c0 r4 : 7fc0be2c
r3 : 901ed8b8 r2 : 00000016 r1 : c08aa3c0 r0 : c0851e9c
Flags: qvNzC
Mode bits: hjmde....g
CPU Mode: Supervisor
Process: insmod [518] (task: 91c6a600 thread: 91ff2000)
Stack: (0x91ff3ee4 to 0x91ff4000)
3ee0: 90036638 91ff3f94 91de0fa0 901ed8c0 7fc0be2c 91ff3ef4 0007f008
3f00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3f20: 00000000 00000000 00000000 00000000 00000009 c0852ed8 91e4e480 c08521bc
3f40: c08520a4 c0851000 00000000 00000072 00000072 c08a9548 c08a4f88 00000016
3f60: c0851de4 c0851e9c c085220c c08521e4 00000016 00000014 00000000 0000256d
3f80: 900514fe 91ff3fa4 91d61cc0 c08a7da0 00000000 90013132 00000000 00072f70
3fa0: 0000504c 7fc0be2c 00072a60 7fc0bed5 80000000 91ff2000 00000001 2aaf3bac
3fc0: 7fc0bd00 7fc0bcf4 0007f018 0000246d 0007f008 0000246d 00000073 0007f008
3fe0: 00072f70 0000504c 7fc0be2c 00072a60 7fc0bed5 00000002 0005a980 0007f018
Call trace:
[<90036638>] sys_init_module+0xf8c/0x105c
[<90013132>] syscall_return+0x0/0x12
aber trotzdem wurde das Modul geladen
Code:
Module Size Used by Tainted: G
i2c_gpio 2336 0
i2c_algo_bit 4676 1 i2c_gpio
i2c_dev 4740 0
ov7620 5632 1
v4l2_int_device 2080 0
v4l2_common 8800 0
i2c_core 16176 5 i2c_gpio,i2c_algo_bit,i2c_dev,ov7620,v4l2_common
compat_ioctl32 992 0
atmel_isi 12200 1 ov7620
videodev 25824 1 atmel_isi
v4l1_compat 10212 1 videodev
xt_state 1888 1
iptable_filter 2432 1
ipt_MASQUERADE 2368 1
iptable_nat 4936 1
nf_nat 12758 2 ipt_MASQUERADE,iptable_nat
nf_conntrack_ipv4 11304 4 iptable_nat,nf_nat
nf_conntrack 42320 5 xt_state,ipt_MASQUERADE,iptable_nat,nf_nat,nf_co
nntrack_ipv4
ip_tables 8208 2 iptable_filter,iptable_nat
vfat 8480 0
fat 35868 1 vfat
nls_base 5696 2 vfat,fat
Ich kann die Fehler noch nicht finden.
Eine Frage noch, ist es richtig so, in /drivers/media/video/Kconfig zu schreiben:
Code:
menuconfig VIDEO_CAPTURE_DRIVERS
bool "Video capture adapters"
depends on VIDEO_V4L2
default y
---help---
Say Y here to enable selecting the video adapters for
webcams, analog TV, and hybrid analog/digital TV.
Some of those devices also supports FM radio.
if VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2
config VIDEO_AVR32_ISI
tristate "AVR32 video support"
depends on VIDEO_V4L2
---help---
This module makes the AVR32 Image Sensor Interface available
as a v4l2 device.
config VIDEO_OV7620
tristate "OV7620 camera"
default n
depends on VIDEO_AVR32_ISI && I2C
---help---
This will add support for the OV7620 camera.
Mach es einen Unterschied zwischen VIDEO_V4L2 und VIDEO_DEV?
In ov7620.c
static struct ov7620_reg ov7620_registers[65]{}
welche Adresse soll ich hier eingeben? Ich glaube, ich habe falsch gemacht (2. Variable is t nur name
)
Danke für das Support.
MfG,
Ciek
Lesezeichen