ubuntu-omap4-extras: Error! Bad return status for module build on kernel: 3.2.0-35-omap (armv7l)

Bug #1091933 reported by QNB
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-omap4-extras-multimedia
Won't Fix
Medium
Olivier Naudan

Bug Description

I tried to install ubuntu-omap4-extras in system ubuntu12.04(desktop) on borad omap4430.according to

#sudo apt-get install ubuntu-omap4-extras

and then some new packages will be installed, including:
linux-headers-3.2.0-35 linux-headers-3.2.0-35-omap linux-headers-3.4.0-1489 linux-headers-3.4.0-1489-omap4
linux-headers-ti-omap4 linux-image-3.4.0-1489-omap4 linux-image-ti-omap4 linux-ti-omap4 pvr-omap4

at the end of the installation, I got an error :

...
Setting up gstreamer0.10-plugins-ugly (0.10.18.3-1ubuntu1+ti1.6.6.1+1) ...
Setting up libfaac0 (1.28-0ubuntu2) ...
Setting up libgnomevfs2-extra (1:2.24.4-1ubuntu2.1) ...
Setting up linux-headers-3.2.0-35 (3.2.0-35.55) ...
Setting up linux-headers-3.2.0-35-omap (3.2.0-35.55) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.2.0-35-omap /boot/vmlinuz-3.2.0-35-omap
Error! Bad return status for module build on kernel: 3.2.0-35-omap (armv7l)
Consult /var/lib/dkms/pvr-omap4/1.9.0.7.1.1/build/make.log for more information.
Setting up linux-image-ti-omap4 (3.4.0.1489) ...
Setting up linux-ti-omap4 (3.4.0.1489) ...
Setting up ubuntu-omap4-extras-config (1:1.6+4) ...
ubuntu-omap4-extras-config stop/waiting
Setting up libgles1-sgx-omap4 (1.9.0.7.1.5-2) ...
Setting up pvr-omap4-utils (1.9.0.7.1.5-2) ...
Setting up pvr-omap4 (1.9.0.7.1.5-2) ...
Setting up pvr-omap4-xf86 (1.9.0.7.1.5-2) ...
Setting up xserver-xorg-video-omap (0.4.2-1+ti2) ...
Setting up ubuntu-omap4-extras-graphics (1:1.6+4) ...
Setting up gstreamer0.10-sdl (0.10.23-1+ti1.6.7.12+1) ...
Setting up gstreamer0.10-faac (0.10.23-1+ti1.6.7.12+1) ...
Setting up ubuntu-omap4-extras-multimedia (1:1.6+4) ...
Setting up libtiopenmax-domx1 (2.2.1-1) ...
Setting up ubuntu-omap4-extras (1:1.6+4) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
root@xxx#

************************
at the same time, the system popup a window: "System program problem detected"

so I checked file make.log
************************

DKMS make.log for pvr-omap4-1.9.0.7.1.1 for kernel 3.2.0-35-omap (armv7l)
Wed Dec 19 14:54:20 CST 2012
make[1]: Entering directory `/var/lib/dkms/pvr-omap4/1.9.0.7.1.1/build/eurasiacon/build/linux2/omap4430_linux'
../config/core.mk:292: Setting SGX_DISABLE_VISTEST_SUPPORT=1 because PVRSRV_USSE_EDM_STATUS_DEBUG=1
../config/core.mk:339: CROSS_COMPILE is not set. Target components will be built with the host compiler
../config/core.mk:419: $(KERNELDIR)/vmlinux does not exist. Kbuild may fail.
  LD /var/lib/dkms/pvr-omap4/1.9.0.7.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/built-in.o
  CC [M] /var/lib/dkms/pvr-omap4/1.9.0.7.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.o
  CC [M] /var/lib/dkms/pvr-omap4/1.9.0.7.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/mutils.o
  CC [M] /var/lib/dkms/pvr-omap4/1.9.0.7.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.o
  CC [M] /var/lib/dkms/pvr-omap4/1.9.0.7.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/module.o
  CC [M] /var/lib/dkms/pvr-omap4/1.9.0.7.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/pdump.o
  CC [M] /var/lib/dkms/pvr-omap4/1.9.0.7.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/proc.o
/var/lib/dkms/pvr-omap4/1.9.0.7.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.c:116:2: error: #error "A preemptible Linux kernel is required when using workqueues"
make[4]: *** [/var/lib/dkms/pvr-omap4/1.9.0.7.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.o] Error 1
make[4]: *** Waiting for unfinished jobs....
/var/lib/dkms/pvr-omap4/1.9.0.7.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.c:368:28: fatal error: linux/omap_drv.h: No such file or directory
compilation terminated.
In file included from /var/lib/dkms/pvr-omap4/1.9.0.7.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/module.c:132:0:
/var/lib/dkms/pvr-omap4/1.9.0.7.1.1/build/services4/srvkm/env/linux/private_data.h:95:28: fatal error: linux/omap_drv.h: No such file or directory
compilation terminated.
make[4]: *** [/var/lib/dkms/pvr-omap4/1.9.0.7.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/module.o] Error 1
make[4]: *** [/var/lib/dkms/pvr-omap4/1.9.0.7.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.o] Error 1
make[3]: *** [_module_/var/lib/dkms/pvr-omap4/1.9.0.7.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild] Error 2
make[2]: *** [kbuild] Error 2
make[1]: *** [build] Error 2
make[1]: Leaving directory `/var/lib/dkms/pvr-omap4/1.9.0.7.1.1/build/eurasiacon/build/linux2/omap4430_linux'
make: *** [all] Error 2

*******************************
After that, the system can't restart.

Regards,
QNB

QNB (15829397779-9)
description: updated
Revision history for this message
QNB (15829397779-9) wrote :

After the error appears, if I execute command $ sudo apt-get install --reinstall pvr-omap4-dkms
thn system can reboot,
but !!
screen flicker when I move the mouse !!

system popup a Crash report:
"sorry, a problem occurred while installing software."
"package:pvr-omap4-dkms"

Revision history for this message
Olivier Naudan (o-naudan) wrote :

compiz is functional, though there are numerous display artifacts. We recommend to switch to metacity ("Ubuntu 2D" session) and to disable HW cursor, as described in the "Ubuntu Precise 12.04 - TI OMAP Release PPA Update December 2012" thread (https://groups.google.com/d/topic/pandaboard/vKunvhMNV8k/discussion).
The problems described here are known issues, and workarounds are documented on pandaboard group.

Changed in ubuntu-omap4-extras-multimedia:
status: New → Won't Fix
importance: Undecided → Medium
assignee: nobody → Olivier Naudan (o-naudan)
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.