I'm using Sony VAIO VPCZ135GW. I realized that bbswitch failed to be manipulated on my machine, and it also blocked the way to suspend, hibernate root@tye-VPCZ135GW:~# cat /proc/acpi/bbswitch Segmentation fault root@tye-VPCZ135GW:~# rmmod bbswitch (rmmod hung) root@tye-VPCZ135GW:~# echo -n "mem" > /sys/power/state -su: echo: write error: Device or resource busy I am on Ubuntu-14.04 x86_64 Linux tye-VPCZ135GW 3.13.0-35-generic #62-Ubuntu SMP Fri Aug 15 01:58:42 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux dmesg as the following. [ 9.072222] vboxpci: IOMMU not found (not registered) [ 9.078379] bbswitch: version 0.8 [ 9.078389] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0 [ 9.078400] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.P0P2.DGPU [ 9.078419] ACPI Warning: \_SB_.PCI0.P0P2.DGPU._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95) [ 9.079775] ACPI Warning: \_SB_.PCI0.P0P2.DGPU._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95) [ 9.080028] bbswitch: detected a nVidia _DSM function [ 9.080057] pci 0000:01:00.0: enabling device (0000 -> 0003) [ 9.080134] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on [ 9.083519] bbswitch: disabling discrete graphics [ 9.099036] ACPI Warning: \_SB_.PCI0.P0P2.DGPU._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95) [ 9.103054] e1000e 0000:00:19.0: irq 42 for MSI/MSI-X [ 9.103199] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 9.103656] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 9.106494] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 9.108132] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 9.436631] Bridge firewalling registered [ 9.654912] nf_conntrack version 0.5.0 (16384 buckets, 65536 max) [ 9.736742] IPv6: ADDRCONF(NETDEV_UP): virbr0: link is not ready [ 9.835036] hda-codec: out of range cmd 0:5:707:ffffffff -- [ 15.593150] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. [ 19.088768] init: Failed to spawn nvidia-persistenced main process: unable to execute: No such file or directory [ 30.431493] audit_printk_skb: 174 callbacks suppressed [ 30.431500] type=1400 audit(1409537961.348:70): apparmor="DENIED" operation="open" profile="/usr/lib/telepathy/mission-control-5" name="/home/tye/.config.1404/libaccounts-glib/accounts.db" pid=3588 comm="mission-control" requested_mask="rw" denied_mask="rw" fsuid=1000 ouid=1000 [ 30.431610] type=1400 audit(1409537961.348:71): apparmor="DENIED" operation="open" profile="/usr/lib/telepathy/mission-control-5" name="/home/tye/.config.1404/libaccounts-glib/accounts.db" pid=3588 comm="mission-control" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000 [ 30.434391] type=1400 audit(1409537961.352:72): apparmor="DENIED" operation="open" profile="/usr/lib/telepathy/mission-control-5" name="/home/tye/.config.1404/dconf/user" pid=3588 comm="mission-control" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000 [ 37.330637] type=1400 audit(1409537968.251:73): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=3661 comm="apparmor_parser" [ 37.330651] type=1400 audit(1409537968.251:74): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=3661 comm="apparmor_parser" [ 37.331407] type=1400 audit(1409537968.251:75): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=3661 comm="apparmor_parser" [ 39.690409] general protection fault: 0000 [#1] SMP [ 39.690462] Modules linked in: dm_crypt nls_iso8859_1 ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables bbswitch(OF) pci_stub vboxpci(OF) vboxnetadp(OF) vboxnetflt(OF) iptable_filter ip_tables ebtable_nat ebtables x_tables vboxdrv(OF) arc4 snd_hda_codec_hdmi iwldvm mac80211 mxm_wmi pl2303 usbserial uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev dm_multipath scsi_dh bnep rfcomm bluetooth intel_powerclamp coretemp kvm_intel kvm snd_hda_codec_realtek joydev snd_hda_intel iwlwifi serio_raw snd_hda_codec intel_ips snd_hwdep cfg80211 snd_pcm snd_seq_midi snd_seq_midi_event lpc_ich snd_rawmidi snd_seq snd_page_alloc snd_seq_device sony_laptop mac_hid snd_timer wmi snd mei_me mei soundcore parport_pc tpm_infineon ppdev lp parport binfmt_misc btrfs libcrc32c raid10 raid456 async_memcpy async_raid6_recov async_pq async_xor async_tx xor raid6_pq raid1 raid0 multipath linear dm_mirror dm_region_hash dm_log mmc_block crct10dif_pclmul crc32_pclmul ghash_clmulni_intel i915 psmouse e1000e aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper i2c_algo_bit cryptd drm_kms_helper drm ahci sdhci_pci ptp libahci sdhci pps_core video [ 39.691518] CPU: 1 PID: 3680 Comm: cat Tainted: GF W O 3.13.0-35-generic #62-Ubuntu [ 39.691582] Hardware name: Sony Corporation VPCZ135GW/VAIO, BIOS R3031C3 10/04/2011 [ 39.691640] task: ffff88007e709800 ti: ffff88024a790000 task.ti: ffff88024a790000 [ 39.691697] RIP: 0010:[] [] dis_dev_get+0x15/0x40 [bbswitch] [ 39.691771] RSP: 0018:ffff88024a791e68 EFLAGS: 00010206 [ 39.691812] RAX: 6573614c5f504828 RBX: ffff88024f4ec9c0 RCX: 000000000002b3f0 [ 39.691866] RDX: fffffffffffffff4 RSI: 0000000000000001 RDI: ffff88024f4ec9c0 [ 39.691920] RBP: ffff88024a791e78 R08: 00000000000172e0 R09: ffffffff811e02c7 [ 39.691974] R10: ffff880253403300 R11: 0000000000000246 R12: ffff880071490600 [ 39.692027] R13: 0000000000000001 R14: ffff88024a791f50 R15: ffff88024f4ec9c0 [ 39.692081] FS: 00007f805b03f740(0000) GS:ffff88025bc40000(0000) knlGS:0000000000000000 [ 39.692142] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 39.692185] CR2: 0000000000404e20 CR3: 000000024b000000 CR4: 00000000000007e0 [ 39.692238] Stack: [ 39.692255] ffffffffa08770f2 0000000000000000 ffff88024a791ee0 ffffffff811e06ea [ 39.692316] 0000000000020000 000000000144b000 ffff88024f4eca00 0000000000010000 [ 39.692376] 0000000000000000 ffffffff812d4594 ffff88024e7ee900 000000000144b000 [ 39.692437] Call Trace: [ 39.692462] [] ? bbswitch_proc_show+0x12/0x70 [bbswitch] [ 39.692520] [] seq_read+0xea/0x370 [ 39.692564] [] ? security_file_permission+0x84/0xa0 [ 39.692618] [] proc_reg_read+0x3d/0x80 [ 39.692663] [] vfs_read+0x95/0x160 [ 39.692704] [] SyS_read+0x49/0xa0 [ 39.692746] [] system_call_fastpath+0x1a/0x1f [ 39.692791] Code: d2 48 c7 c6 e0 70 87 a0 48 89 e5 e8 86 99 96 e0 5d c3 0f 1f 40 00 66 66 66 66 90 48 8b 05 e4 23 00 00 48 8b 40 10 48 85 c0 74 1f <48> 8b 78 38 48 85 ff 74 16 55 48 81 c7 98 00 00 00 be 04 00 00 [ 39.693030] RIP [] dis_dev_get+0x15/0x40 [bbswitch] [ 39.693084] RSP [ 39.707073] ---[ end trace b0ae3585957910d7 ]--- [ 84.676823] general protection fault: 0000 [#2] SMP [ 84.676876] Modules linked in: dm_crypt nls_iso8859_1 ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables bbswitch(OF) pci_stub vboxpci(OF) vboxnetadp(OF) vboxnetflt(OF) iptable_filter ip_tables ebtable_nat ebtables x_tables vboxdrv(OF) arc4 snd_hda_codec_hdmi iwldvm mac80211 mxm_wmi pl2303 usbserial uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev dm_multipath scsi_dh bnep rfcomm bluetooth intel_powerclamp coretemp kvm_intel kvm snd_hda_codec_realtek joydev snd_hda_intel iwlwifi serio_raw snd_hda_codec intel_ips snd_hwdep cfg80211 snd_pcm snd_seq_midi snd_seq_midi_event lpc_ich snd_rawmidi snd_seq snd_page_alloc snd_seq_device sony_laptop mac_hid snd_timer wmi snd mei_me mei soundcore parport_pc tpm_infineon ppdev lp parport binfmt_misc btrfs libcrc32c raid10 raid456 async_memcpy async_raid6_recov async_pq async_xor async_tx xor raid6_pq raid1 raid0 multipath linear dm_mirror dm_region_hash dm_log mmc_block crct10dif_pclmul crc32_pclmul ghash_clmulni_intel i915 psmouse e1000e aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper i2c_algo_bit cryptd drm_kms_helper drm ahci sdhci_pci ptp libahci sdhci pps_core video [ 84.677937] CPU: 1 PID: 3852 Comm: cat Tainted: GF D W O 3.13.0-35-generic #62-Ubuntu [ 84.678001] Hardware name: Sony Corporation VPCZ135GW/VAIO, BIOS R3031C3 10/04/2011 [ 84.678060] task: ffff88024dbc0000 ti: ffff88024eb0a000 task.ti: ffff88024eb0a000 [ 84.678117] RIP: 0010:[] [] dis_dev_get+0x15/0x40 [bbswitch] [ 84.678195] RSP: 0018:ffff88024eb0be68 EFLAGS: 00010206 [ 84.678252] RAX: 7400000400000021 RBX: ffff8800802e1a80 RCX: 0000000000031925 [ 84.678307] RDX: fffffffffffffff4 RSI: 0000000000000001 RDI: ffff8800802e1a80 [ 84.678361] RBP: ffff88024eb0be78 R08: 00000000000172e0 R09: ffffffff811e02c7 [ 84.678415] R10: ffff880253403300 R11: 0000000000000246 R12: ffff88024cf01f00 [ 84.678469] R13: 0000000000000001 R14: ffff88024eb0bf50 R15: ffff8800802e1a80 [ 84.678523] FS: 00007f54b37fe740(0000) GS:ffff88025bc40000(0000) knlGS:0000000000000000 [ 84.682599] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 84.686581] CR2: 0000000000404e20 CR3: 00000001fa872000 CR4: 00000000000007e0 [ 84.690511] Stack: [ 84.694322] ffffffffa08770f2 0000000000000000 ffff88024eb0bee0 ffffffff811e06ea [ 84.698103] 0000000000020000 0000000000e66000 ffff8800802e1ac0 0000000000010000 [ 84.701802] 0000000000000000 ffffffff812d4594 ffff88024e7ee900 0000000000e66000 [ 84.705421] Call Trace: [ 84.708923] [] ? bbswitch_proc_show+0x12/0x70 [bbswitch] [ 84.712535] [] seq_read+0xea/0x370 [ 84.716030] [] ? security_file_permission+0x84/0xa0 [ 84.719515] [] proc_reg_read+0x3d/0x80 [ 84.722959] [] vfs_read+0x95/0x160 [ 84.726372] [] SyS_read+0x49/0xa0 [ 84.729746] [] system_call_fastpath+0x1a/0x1f [ 84.733122] Code: d2 48 c7 c6 e0 70 87 a0 48 89 e5 e8 86 99 96 e0 5d c3 0f 1f 40 00 66 66 66 66 90 48 8b 05 e4 23 00 00 48 8b 40 10 48 85 c0 74 1f <48> 8b 78 38 48 85 ff 74 16 55 48 81 c7 98 00 00 00 be 04 00 00 [ 84.740491] RIP [] dis_dev_get+0x15/0x40 [bbswitch] [ 84.744200] RSP [ 84.747989] ---[ end trace b0ae3585957910d8 ]---