Hi to all,

On DM6446 EVM I have succesfully load modules for davinci_vpfe with the
below command
"modprobe davinci_capture device_type=0"
and then run ./prev_vga_example which captures data from my MT9V113 sensor
and displays on my 4.3" LCD.

While I am trying to add resizer function to the prev_vga_example
application I got a "Segmentation Fault". After that I can not load modules
again with "modprobe davinci_capture device_type=0". There is no change on
the modules, kernel and filesys ;only application changes but I can not load
modules which gives the below error:

[email protected]:/opt/dvsdk/Leopard_imaging# ./load_modules.sh

kobject_register failed for vpfe (-17)
Unable to handle kernel NULL pointer dereference at virtual address 00000070

pgd = c5300000
[00000070] *pgd=852da031, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1]
Modules linked in: davinci_capture mt9t001 tvp5146
CPU: 0
PC is at vpfe_init+0x228/0x674 [davinci_capture]
LR is at bus_add_driver+0x6c/0x12c
pc : [<bf00c650>]    lr : [<c0169f44>]    Not tainted
sp : c6c49f40  ip : c6c49f18  fp : c6c49f74
r10: 003f4800  r9 : bf00fc04  r8 : 00000000
r7 : bf00fc14  r6 : bf00fc08  r5 : 003f47ff  r4 : 00000003
r3 : 00000000  r2 : bf00fc00  r1 : c6c48000  r0 : ffffffef
Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  Segment user
Control: 5317F  Table: 85300000  DAC: 00000015
Process modprobe (pid: 1066, stack limit = 0xc6c481a0)
Stack: (0xc6c49f40 to 0xc6c4a000)
9f40: c003c55c c6c48000 c6c48000 bf00fb00 c02d3ff0 c6c48000 c02d3fe0
00000000
9f60: c6c48000 00000002 c6c49fa4 c6c49f78 c00681ec bf00c438 4b1fb5ea
00009190
9f80: 00000000 00000000 00000080 c0036154 c6c48000 00900080 00000000
c6c49fa8
9fa0: c00359c0 c006802c 00009190 00000000 4012d000 00007cf4 00015490
00015490
9fc0: 00009190 00000000 00000000 00015210 00015270 00000000 4012d000
0001527c
9fe0: 000148b4 befff98c 0000a070 400d074c 60000010 4012d000 00000010
00000000
Backtrace:
[<bf00c428>] (vpfe_init+0x0/0x674 [davinci_capture]) from [<c00681ec>]
(sys_init_module+0x1d0/0x3e0)
[<c006801c>] (sys_init_module+0x0/0x3e0) from [<c00359c0>]
(ret_fast_syscall+0x0/0x2c)
Code: e3500000 0a00000b e59f2408 e5923000 (e5931070)
./load_modules.sh: line 1:  1066 Segmentation fault      modprobe
davinci_capture device_type=0




What may be the reason for the Segmentation fault during modprobe?

Ferhat
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to