Surelock:GA2:Capiredfsp:HID_module file not compiling
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Undecided
|
Canonical Kernel Team |
Bug Description
Problem Description
=======
HID_module file not compiling
The HID_module is a suite of files that will allow us to access the HID registers of a CPU.
htx@capiredp01] [1m/usr/
cat: /proc/device-
ver 1.5.4.3 - OS, HTX, Firmware and Machine details
Machine Serial No: 211AEFA
Machine Type/Model: 8247-22L
root@capiredp01
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Wily Werewolf (development branch)
Release: 15.10
Codename: wily
GSA Location: /gsa/ausgsa/
Additional Information:
=======
Steps Taken
1) Installed HID_module.tgz file to get access to HID registers
2) Unpacked file
3) Changed directory to get access to compile.sh file
4) Ran compile.sh and compilation failed
# wget http://
--2015-10-09 16:36:12-- http://
Resolving ausgsa.ibm.com (ausgsa.ibm.com)... 9.41.254.82, 9.41.254.37, 9.41.254.24, ...
Connecting to ausgsa.ibm.com (ausgsa.
HTTP request sent, awaiting response... 200 OK
Length: 1314 (1.3K) [application/x-tar]
Saving to: ?HID_module.tgz?
HID_module.tgz 100%[==
2015-10-09 16:36:12 (36.9 MB/s) - ?HID_module.tgz? saved [1314/1314]
#tar -xvzf HID_module.tgz
HID_module/
HID_module/Makefile
HID_module/
HID_module/
# cd HID_module
# ls
compile.sh Makefile mod_hid.c
# ./compile.sh
Please make sure you have installed kernel-devel package.
Otherwise kernel module compilation will fail.
make: Entering directory '/usr/src/
CC [M] /root/HID_
Building modules, stage 2.
MODPOST 1 modules
CC /root/HID_
LD [M] /root/HID_
ld: cannot find arch/powerpc/
scripts/
make[1]: *** [/root/
Makefile:1389: recipe for target 'modules' failed
make: *** [modules] Error 2
make: Leaving directory '/usr/src/
# ls
compile.sh mod_hid.c mod_hid.mod.o modules.order
Makefile mod_hid.mod.c mod_hid.o Module.symvers
Here is the expected output:
./compile.sh
Please make sure you have installed kernel-devel package.
Otherwise kernel module compilation will fail.
make: Entering directory `/usr/src/
CC [M] /root/HID_
Building modules, stage 2.
MODPOST 1 modules
CC /root/HID_
LD [M] /root/HID_
make: Leaving directory `/usr/src/
....
....
....
== Comment: #3 - ==
To me it looks like packaging issue with linux-image/
Out of all the installed linux-header, generic did have the crtsavres.o file, while it was missing in other case.
root@capiredp01
total 32
drwxr-xr-x 8 root root 4096 Oct 4 18:50 ./
drwxr-xr-x 11 313396 928803 4096 Jun 25 03:56 ../
drwxr-xr-x 23 root root 4096 Sep 6 02:33 linux-headers-
drwxr-xr-x 23 root root 4096 Sep 20 02:36 linux-headers-
drwxr-xr-x 23 root root 4096 Sep 27 12:32 linux-headers-
drwxr-xr-x 23 root root 4096 Oct 4 18:52 linux-headers-
drwxr-xr-x 24 root root 4096 Sep 6 00:56 linux-headers-
drwxr-xr-x 7 root root 4096 Sep 6 00:56 linux-headers-
root@capiredp01
root@capiredp01:~# find /usr/src/ -iname crtsavres.o
/usr/src/
root@capiredp01:~#
---------------
Recreating the issue:
Again with ' linux-headers-
>> 'ld: cannot find arch/powerpc/
root@ubuntu:
Please make sure you have installed kernel-devel package.
Otherwise kernel module compilation will fail.
make: Entering directory '/usr/src/
CC [M] /root/Workspace
Building modules, stage 2.
MODPOST 1 modules
CC /root/Workspace
LD [M] /root/Workspace
make: Leaving directory '/usr/src/
root@ubuntu:
root@ubuntu:
mod_hid 4761 0
root@ubuntu:
4.2.0-16-generic
root@ubuntu:
root@ubuntu:
NAME="Ubuntu"
VERSION="15.10 (Wily Werewolf)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu Wily Werewolf (development branch)"
VERSION_ID="15.10"
HOME_URL="http://
SUPPORT_URL="http://
BUG_REPORT_URL="http://
root@ubuntu:
total 8
drwxr-xr-x 24 root root 4096 Oct 20 04:28 linux-headers-
drwxr-xr-x 7 root root 4096 Oct 20 04:28 linux-headers-
root@ubuntu:
/usr/src/
tags: | added: architecture-ppc64le bugnameltc-131967 severity-high targetmilestone-inin1510 |
Changed in ubuntu: | |
assignee: | nobody → Taco Screen team (taco-screen-team) |
affects: | ubuntu → linux (Ubuntu) |
Changed in linux (Ubuntu): | |
assignee: | Taco Screen team (taco-screen-team) → Canonical Kernel Team (canonical-kernel-team) |
Changed in linux (Ubuntu): | |
status: | New → Invalid |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1509193/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]