ERROR: could not insert 'bcm2835_v4l2': Exec format error

Bug #1735028 reported by stinger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-raspi2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

If i modprobe bcm2835-v4l2, Ubuntu Core does a reboot.

Doing it by hand, i get Unknown symbols

dev-t@pi3:~$ sudo insmod /lib/modules/4.4.0-1078-raspi2/kernel/drivers/media/media.ko
dev-t@pi3:~$ sudo insmod /lib/modules/4.4.0-1078-raspi2/kernel/drivers/media/v4l2-core/videodev.ko
dev-t@pi3:~$ sudo insmod /lib/modules/4.4.0-1078-raspi2/kernel/drivers/media/v4l2-core/v4l2-common.ko
dev-t@pi3:~$ sudo insmod /lib/modules/4.4.0-1078-raspi2/kernel/drivers/media/v4l2-core/videobuf-core.ko
dev-t@pi3:~$ sudo insmod /lib/modules/4.4.0-1078-raspi2/kernel/drivers/media/v4l2-core/videobuf2-v4l2.ko
insmod: ERROR: could not insert module /lib/modules/4.4.0-1078-raspi2/kernel/drivers/media/v4l2-core/videobuf2-v4l2.ko: Unknown symbol in module
dev-t@pi3:~$ sudo insmod /lib/modules/4.4.0-1078-raspi2/kernel/drivers/media/v4l2-core/videobuf2-memops.ko
dev-t@pi3:~$ sudo insmod /lib/modules/4.4.0-1078-raspi2/kernel/drivers/media/v4l2-core/videobuf2-vmalloc.ko
dev-t@pi3:~$ sudo insmod /lib/modules/4.4.0-1078-raspi2/kernel/drivers/media/platform/bcm2835/bcm2835-v4l2.ko
insmod: ERROR: could not insert module /lib/modules/4.4.0-1078-raspi2/kernel/drivers/media/platform/bcm2835/bcm2835-v4l2.ko: Unknown symbol in module

dev-t@pi3:~$ snap info pi2-kernel
name: pi2-kernel
summary: The canonical raspi2 armhf kernel
publisher: canonical
contact: <email address hidden>
description: |
  The Ubuntu linux-raspi2 kernel package as a snap
type: kernel
snap-id: m0rvvnmRdDgexonz1XSP9a9U4K7vUbiy
tracking: edge
installed: 4.4.0-1078.86 (46) 116MB kernel
refreshed: 2017-11-28 11:53:35 +0100 CET
channels:
  stable: 4.4.0-1030-3 (22) 89MB -
  candidate: 4.4.0.1077.77 (45) 116MB -
  beta: 4.4.0-1078.86 (46) 116MB -
  edge: 4.4.0-1078.86 (46) 116MB -

dev-t@pi3:~$ modinfo bcm2835-v4l2
filename: /lib/modules/4.4.0-1078-raspi2/kernel/drivers/media/platform/bcm2835/bcm2835-v4l2.ko
version: 0.0.2
license: GPL
author: Vincent Sanders
description: Broadcom 2835 MMAL video capture
srcversion: A7D6DBEB2D67BE83A6FC776
depends: videobuf2-v4l2,videodev,videobuf2-vmalloc,videobuf2-core,v4l2-common
intree: Y
vermagic: 4.4.0-1078-raspi2 SMP mod_unload modversions ARMv7 p2v8
parm: debug:int
parm: bcm2835_v4l2_debug:Debug level 0-2
parm: video_nr:videoX start numbers, -1 is autodetect (array of int)
parm: max_video_width:Threshold for video mode (int)
parm: max_video_height:Threshold for video mode (int)
parm: gst_v4l2src_is_broken:If non-zero, enable workaround for Gstreamer (int)
d

Revision history for this message
stinger (dev-t) wrote :

oh, yes all kernels affected. (22) up to (46)

Revision history for this message
stinger (dev-t) wrote :

trying to force modprobe, I get

dev-t@pi3:~$ sudo modprobe -f bcm2835-v4l2
modprobe: ERROR: could not insert 'bcm2835_v4l2': Exec format error

summary: - Unkown Symbol in module bcm2835-v4l2
+ ERROR: could not insert 'bcm2835_v4l2': Exec format error
Revision history for this message
ajmal (ajmalhinas-gmail) wrote :

Any updates on this bug ? I recompiled the module but same problem exists. Updating the kernel will help?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.