#11128 NORM 1.75-so: 1.75 oops: camera-related paging-request

Zarro Boogs per Child bugtracker at laptop.org
Wed Aug 10 11:28:09 EDT 2011


#11128: 1.75 oops: camera-related paging-request
--------------------+-------------------------------------------------------
 Reporter:  pgf     |                 Owner:  corbet       
     Type:  defect  |                Status:  new          
 Priority:  normal  |             Milestone:  1.75-software
Component:  kernel  |               Version:  1.75-B1      
 Keywords:          |           Next_action:  never set    
 Verified:  0       |   Deployment_affected:               
Blockedby:          |              Blocking:               
--------------------+-------------------------------------------------------
 was trying Record ("Grabar") for the first time on my 1.75.  after the
 oddly-required "modprobe mmp-camera" (why doesn't it load by itself, i
 wonder?), i recorded some video, halted it, then started doing other
 things.  much later i found this on my serial console.

 installation was os36, with kernel and modules replaced.  these were
 3.0.0-00082-gb251dbb (built on arm-3.0 branch of olpc-kernel)


 {{{
 bash-4.1# [21575.792475] dcon_freeze_store: 0
 [21575.921051] ieee80211 phy0: assoc: bss   (null) not in scan results
 [21575.936053] cfg80211: Calling CRDA to update world regulatory domain
 [21576.046386] cfg80211: World regulatory domain updated:
 [21576.051503] cfg80211:     (start_freq - end_freq @ bandwidth),
 (max_antenna_gain, max_eirp)
 [21576.106126] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300
 mBi, 2000 mBm)
 [21576.106158] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300
 mBi, 2000 mBm)
 [21576.146323] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300
 mBi, 2000 mBm)
 [21576.177205] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300
 mBi, 2000 mBm)
 [21576.185078] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300
 mBi, 2000 mBm)
 [21692.996000] ov7670 7-0021: chip found @ 0x42 (i2c-gpio7)
 [21693.126115] mmp-camera mmp-camera.0: Release, 0 frames, 0 singles, 0
 delivered
 [21705.297668] mmp-camera mmp-camera.0: Release, 0 frames, 0 singles, 0
 delivered
 [21705.452453] vb2_dma_sg_alloc: Allocated buffer of 150 pages
 [21705.458234] vb2_dma_sg_alloc: Allocated buffer of 150 pages
 [21705.458865] vb2_common_vm_open: dcdb7c80, refcount: 1, vma:
 42f06000-42f9c000
 [21705.477186] vb2_common_vm_open: dc370840, refcount: 1, vma:
 43014000-430aa000
 [21705.686258] vb2_common_vm_close: dcdb7c80, refcount: 2, vma:
 42f06000-42f9c000
 [21705.693580] vb2_common_vm_close: dc370840, refcount: 2, vma:
 43014000-430aa000
 [21705.700997] mmp-camera mmp-camera.0: Release, 0 frames, 0 singles, 0
 delivered
 [21705.709157] vb2_dma_sg_put: Freeing buffer of 150 pages
 [21705.709187] vb2_dma_sg_put: Freeing buffer of 150 pages
 [21708.946381] vb2_dma_sg_alloc: Allocated buffer of 150 pages
 [21708.946381] vb2_dma_sg_alloc: Allocated buffer of 150 pages
 [21708.958342] vb2_common_vm_open: dc3f1500, refcount: 1, vma:
 44492000-44528000
 [21708.966621] vb2_common_vm_open: dcd92340, refcount: 1, vma:
 445c9000-4465f000
 [21715.256242] vb2_common_vm_close: dc3f1500, refcount: 2, vma:
 44492000-44528000
 [21715.256242] vb2_common_vm_close: dcd92340, refcount: 2, vma:
 445c9000-4465f000
 [21715.297954] mmp-camera mmp-camera.0: Release, 91 frames, 2 singles, 90
 delivered
 [21715.297954] vb2_dma_sg_put: Freeing buffer of 150 pages
 [21715.311277] vb2_dma_sg_put: Freeing buffer of 150 pages
 [21715.765472] vb2_dma_sg_alloc: Allocated buffer of 38 pages
 [21715.771323] vb2_dma_sg_alloc: Allocated buffer of 38 pages
 [21715.777103] vb2_common_vm_open: dcdb8a00, refcount: 1, vma:
 4448e000-444b4000
 [21715.784690] vb2_common_vm_open: dc234380, refcount: 1, vma:
 445c6000-445ec000
 [21723.546174] vb2_common_vm_close: dcdb8a00, refcount: 2, vma:
 4448e000-444b4000
 [21723.566639] vb2_common_vm_close: dc234380, refcount: 2, vma:
 445c6000-445ec000
 [21723.616776] mmp-camera mmp-camera.0: Release, 113 frames, 3 singles,
 113 delivered
 [21723.625546] vb2_dma_sg_put: Freeing buffer of 38 pages
 [21723.646019] vb2_dma_sg_put: Freeing buffer of 38 pages
 [21723.806638] vb2_dma_sg_alloc: Allocated buffer of 150 pages
 [21723.813323] vb2_dma_sg_alloc: Allocated buffer of 150 pages
 [21723.819109] vb2_common_vm_open: dc234380, refcount: 1, vma:
 4448e000-44524000
 [21723.828643] vb2_common_vm_open: dcd92340, refcount: 1, vma:
 44ec7000-44f5d000
 [21731.846206] vb2_common_vm_close: dc234380, refcount: 2, vma:
 4448e000-44524000
 [21731.846206] vb2_common_vm_close: dcd92340, refcount: 2, vma:
 44ec7000-44f5d000
 [21731.884217] mmp-camera mmp-camera.0: Release, 120 frames, 1 singles,
 119 delivered
 [21731.892316] vb2_dma_sg_put: Freeing buffer of 150 pages
 [21731.897890] vb2_dma_sg_put: Freeing buffer of 150 pages
 [21732.092176] vb2_dma_sg_alloc: Allocated buffer of 38 pages
 [21732.098368] vb2_dma_sg_alloc: Allocated buffer of 38 pages
 [21732.104447] vb2_common_vm_open: dcd92340, refcount: 1, vma:
 4448e000-444b4000
 [21732.111721] vb2_common_vm_open: dc234c00, refcount: 1, vma:
 44627000-4464d000
 [21735.406124] vb2_common_vm_close: dcd92340, refcount: 2, vma:
 4448e000-444b4000
 [21735.413370] vb2_common_vm_close: dc234c00, refcount: 2, vma:
 44627000-4464d000
 [21735.444053] mmp-camera mmp-camera.0: Release, 43 frames, 2 singles, 42
 delivered
 [21735.451750] vb2_dma_sg_put: Freeing buffer of 38 pages
 [21735.457041] Unable to handle kernel paging request at virtual address
 3f1472ec
 [21735.457041] pgd = dc20c000
 [21735.467082] [3f1472ec] *pgd=00000000
 [21735.470642] Internal error: Oops: 15 [#1] PREEMPT
 [21735.470642] Modules linked in: ov7670 mmp_camera videobuf2_core
 videobuf2_dma_sg videobuf2_memops libertas_sdio libertas i2c_gpio
 i2c_algo_bit [last unloaded: scsi_wait_scan]
 [21735.490811] CPU: 0    Not tainted  (3.0.0-00082-gb251dbb #2)
 [21735.490811] PC is at vunmap_page_range+0x74/0xe4
 [21735.496437] LR is at free_unmap_vmap_area+0x2c/0x40
 [21735.501020] pc : [<c00a8f04>]    lr : [<c00a8fa0>]    psr: 60000013
 [21735.505862] sp : dccb3eb8  ip : 00000000  fp : 00001258
 [21735.505871] r10: dce4e248  r9 : dc018260  r8 : dfee1000
 [21735.517258] r7 : 3f1472ec  r6 : dfee1000  r5 : c00077f8  r4 : dfebb000
 [21735.528924] r3 : 000000bb  r2 : dfee0fff  r1 : dfee1000  r0 : dfebb000
 [21735.528924] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM
 Segment user
 [21735.535403] Control: 10c5387d  Table: 1c20c019  DAC: 00000015
 [21735.542485] Process Grabar <54d0765 (pid: 3823, stack limit =
 0xdccb22f8)
 [21735.554925] Stack: (0xdccb3eb8 to 0xdccb4000)
 [21735.554925] 3ea0:
 00000012 dce43de0
 [21735.559250] 3ec0: 00000026 dc4a9800 dce4e248 00000000 dce4e248 c00a8fa0
 dcd92320 bf03f408
 [21735.567372] 3ee0: 00000000 dc4a9800 dc4a9800 bf0430e0 00000001 dce4e248
 dc4a9800 dce4e248
 [21735.575496] 3f00: 00000008 bf0436d8 00000000 dce4e008 dc3da140 dce4e390
 00000008 dc3da148
 [21735.583620] 3f20: dc018260 00000000 00001258 bf04c488 0000002a dc3da140
 dce4e098 dc3da140
 [21735.591745] 3f40: da600dd8 c0295544 c0295500 dc3da140 da626df0 c00b53a8
 00000000 00000000
 [21735.599869] 3f60: 00000000 dc3da140 00000000 dcc9e460 00000006 c002d268
 dccb2000 00020000
 [21735.616118] 3f80: 00001258 c00b239c dccb2000 dcc9e460 dc3da140 c00b2444
 00917878 ffff6bbc
 [21735.616118] 3fa0: 009020d0 c002d0c0 00917878 ffff6bbc 0000001b 00000000
 ffffffff 42e2ea7c
 [21735.624242] 3fc0: 00917878 ffff6bbc 009020d0 00000006 000000b0 42e50104
 42e4ff60 00001258
 [21735.640492] 3fe0: beede798 beede788 42e446fc 404b7a30 60000010 0000001b
 0000ad31 00001a02
 [21735.640492] [<c00a8f04>] (vunmap_page_range+0x74/0xe4) from
 [<c00a8fa0>] (free_unmap_vmap_area+0x2c/0x40)
 [21735.658146] [<c00a8fa0>] (free_unmap_vmap_area+0x2c/0x40) from
 [<bf03f408>] (vb2_dma_sg_put+0x50/0x9c [videobuf2_dma_sg])
 [21735.669048] [<bf03f408>] (vb2_dma_sg_put+0x50/0x9c [videobuf2_dma_sg])
 from [<bf0430e0>] (__vb2_buf_mem_free+0x30/0x78 [videobuf2_core])
 [21735.681232] [<bf0430e0>] (__vb2_buf_mem_free+0x30/0x78
 [videobuf2_core]) from [<bf0436d8>] (__vb2_queue_free+0x8c/0x11c
 [videobuf2_core])
 [21735.681232] [<bf0436d8>] (__vb2_queue_free+0x8c/0x11c [videobuf2_core])
 from [<bf04c488>] (mcam_v4l_release+0x74/0x94 [mmp_camera])
 [21735.693510] [<bf04c488>] (mcam_v4l_release+0x74/0x94 [mmp_camera]) from
 [<c0295544>] (v4l2_release+0x44/0x64)
 [21735.705263] [<c0295544>] (v4l2_release+0x44/0x64) from [<c00b53a8>]
 (fput+0x104/0x1f8)
 [21735.722985] [<c00b53a8>] (fput+0x104/0x1f8) from [<c00b239c>]
 (filp_close+0x6c/0x78)
 [21735.722985] [<c00b239c>] (filp_close+0x6c/0x78) from [<c00b2444>]
 (sys_close+0x9c/0xfc)
 [21735.730677] [<c00b2444>] (sys_close+0x9c/0xfc) from [<c002d0c0>]
 (ret_fast_syscall+0x0/0x30)
 [21735.738632] Code: e1a00005 ebffdbc6 ea00000f e2877004 (e597a000)
 [21735.760828] ---[ end trace aa3f23296e8c6a74 ]---

 }}}

-- 
Ticket URL: <http://dev.laptop.org/ticket/11128>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list