crystalhd kernel module fails to build on 3.5.x kernel [fatal error: asm/system.h: No such file or directory]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
crystalhd (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
After updating 12.04.1 LTS to 'quantal' kernel, module "crystalhd" fails to build due to missing headers such as asm/system.h -- similar to https:/
=======
npm@meegotab:~$ sudo apt-get install crystalhd-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
linux-headers
The following NEW packages will be installed:
crystalhd-dkms
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/736 kB of archives.
After this operation, 7,765 kB of additional disk space will be used.
Selecting previously unselected package crystalhd-dkms.
(Reading database ... 265224 files and directories currently installed.)
Unpacking crystalhd-dkms (from .../crystalhd-
Setting up crystalhd-dkms (1:0.0~
Loading new crystalhd-
First Installation: checking all kernels...
Building only for 3.5.0-37-generic
Building initial module for 3.5.0-37-generic
Error! Bad return status for module build on kernel: 3.5.0-37-generic (i686)
Consult /var/lib/
=======
To fix, I did the following as root (which needs to be redone on each quantal kernel upgrade until this bug is fixed):
=======
cd /usr/src/
cp arm/include/
cp arm/include/
cp arm/include/
cp arm/include/
apt-get purge crystalhd-dkms
=======
Now the package builds successfully:
=======
apt-get install crystalhd-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
linux-headers
The following NEW packages will be installed:
crystalhd-dkms
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/736 kB of archives.
After this operation, 7,765 kB of additional disk space will be used.
Selecting previously unselected package crystalhd-dkms.
(Reading database ... 265224 files and directories currently installed.)
Unpacking crystalhd-dkms (from .../crystalhd-
Setting up crystalhd-dkms (1:0.0~
Loading new crystalhd-
First Installation: checking all kernels...
Building only for 3.5.0-37-generic
Building initial module for 3.5.0-37-generic
Done.
crystalhd:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/
depmod....
DKMS: install completed.
=======
And works (after starting youtube in browser with /etc/adobe/mms.cfg containing lines
EnableLinuxHWVi
OverrideGPUVali
=======
npm@meegotab:~$ lsmod | grep crystal
crystalhd 80471 2
=======
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-
ProcVersionSign
Uname: Linux 3.5.0-37-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.25.
ApportVersion: 2.0.1-0ubuntu17.3
Architecture: i386
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC269VB Analog [ALC269VB Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/pcmC0D0p: npm 1950 F...m pulseaudio
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xfe400000 irq 44'
Mixer name : 'Realtek ALC269VB'
Components : 'HDA:10ec0269,
Controls : 23
Simple ctrls : 11
Date: Tue Jul 30 10:32:46 2013
HibernationDevice: RESUME=
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release i386 (20120817.1)
MachineType: EXOPC EXOPG06411
MarkForUpload: True
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.79.6
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/22/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: Lucid-CE-133
dmi.board.
dmi.board.name: EXOPG06411
dmi.board.vendor: EXOPC
dmi.board.version: R2.0/R1.1
dmi.chassis.
dmi.chassis.type: 1
dmi.chassis.vendor: EXOPC
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: EXOPG06411
dmi.product.
dmi.sys.vendor: EXOPC
affects: | linux (Ubuntu) → crystalhd (Ubuntu) |
This change was made by a bot.