desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #158763
[Bug 1532538] Re: Build error when installing bbswitch-dkms on Ubuntu 14.04.3
Still having problem and do not think it's a disk error problem. Would
be grateful for analysis of smartctl output, to confirm if it is a disk
problem.
** Changed in: bbswitch (Ubuntu)
Status: Invalid => Incomplete
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to bbswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1532538
Title:
Build error when installing bbswitch-dkms on Ubuntu 14.04.3
Status in bbswitch package in Ubuntu:
Incomplete
Bug description:
I have an Nvidia Optimus graphic card installed and have the Nvidia
driver installed and working for my Intel card, but I cannot switch to
the Nvidia card. This is because bbswitch-dkms will not build during
install via apt-get or from source.
My system
* Ubuntu 14.04.3 LTS
* NVIDIA Corporation GF119M [GeForce GT 520M]
* linux-image-3.19.0-42-generic
* linux-headers-3.19.0-42-generic
* linux-image-extra-3.19.0-42-generic
* dkms: 2.2.0.3
* gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4
* bbswitch-dkms (0.7-2ubuntu1)
When trying to install bbswitch-dkms the following error occurs:
Unpacking bbswitch-dkms (0.7-2ubuntu1) over (0.7-2ubuntu1) ...
Setting up bbswitch-dkms (0.7-2ubuntu1) ...
Loading new bbswitch-0.7 DKMS files...
Building only for 3.19.0-42-generic
Building initial module for 3.19.0-42-generic
Error! Bad return status for module build on kernel: 3.19.0-42-generic (x86_64)
Consult /var/lib/dkms/bbswitch/0.7/build/make.log for more information.
The content of make.log is:
DKMS make.log for bbswitch-0.7 for kernel 3.19.0-42-generic (x86_64)
lör 9 jan 2016 15:37:02 CET
make -C /lib/modules/3.19.0-42-generic/build M="$(pwd)" modules
make[1]: Entering directory `/usr/src/linux-headers-3.19.0-42-generic'
arch/x86/Makefile:114: stack-protector enabled but compiler support broken
CC [M] /var/lib/dkms/bbswitch/0.7/build/bbswitch.o
/var/lib/dkms/bbswitch/0.7/build/bbswitch.c: In function ‘is_card_disabled’:
/var/lib/dkms/bbswitch/0.7/build/bbswitch.c:236:1: internal compiler error: Bus error
}
^
It seems this is the main problem:
make[1]: Entering directory `/usr/src/linux-headers-3.19.0-42-generic'
arch/x86/Makefile:114: stack-protector enabled but compiler support broken
The following log entries appear in syslog during installation and
building bbswitch-dkms:
kernel: [ 235.068506] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
kernel: [ 235.071273] ata1.00: irq_stat 0x40000001
kernel: [ 235.074011] ata1.00: failed command: READ DMA
kernel: [ 235.076740] ata1.00: cmd c8/00:08:a8:95:07/00:00:00:00:00/e0 tag 27 dma 4096 in
kernel: [ 235.076740] res 51/40:00:a8:95:07/00:00:00:00:00/00 Emask 0x9 (media error)
kernel: [ 235.082207] ata1.00: status: { DRDY ERR }
kernel: [ 235.084957] ata1.00: error: { UNC }
kernel: [ 235.119639] ata1.00: configured for UDMA/133
kernel: [ 235.119667] sd 0:0:0:0: [sda] FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
kernel: [ 235.119674] sd 0:0:0:0: [sda] Sense Key : Medium Error [current] [descriptor]
kernel: [ 235.119680] sd 0:0:0:0: [sda] Add. Sense: Unrecovered read error - auto reallocate failed
kernel: [ 235.119684] sd 0:0:0:0: [sda] CDB:
kernel: [ 235.119687] Read(10): 28 00 00 07 95 a8 00 00 08 00
kernel: [ 235.119704] blk_update_request: I/O error, dev sda, sector 497064
kernel: [ 235.122090] ata1: EH complete
I have installed kernel-headers so all building packages should be
installed.
Has anyone encountered this before or know of any solutions?
Thank you!
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bbswitch/+bug/1532538/+subscriptions
References