Advertisement
Guest User

Untitled

a guest
May 9th, 2016
404
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.08 KB | None | 0 0
  1. root@kali:~# dmesg | tail -n 100
  2. [ 15.783439] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
  3. [ 15.783443] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
  4. [ 15.783446] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
  5. [ 15.783449] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
  6. [ 15.783453] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
  7. [ 15.783456] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
  8. [ 15.783459] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
  9. [ 15.783462] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
  10. [ 15.783465] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
  11. [ 15.926299] Linux video capture interface: v2.00
  12. [ 16.821646] uvcvideo: Found UVC 1.00 device Lenovo EasyCamera (04f2:b50e)
  13. [ 16.826950] input: Lenovo EasyCamera as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/input/input14
  14. [ 16.827716] usbcore: registered new interface driver uvcvideo
  15. [ 16.827719] USB Video Class driver (1.1.1)
  16. [ 17.129523] Adding 2124796k swap on /dev/sda10. Priority:-1 extents:1 across:2124796k FS
  17. [ 20.304353] Netfilter messages via NETLINK v0.30.
  18. [ 25.977928] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
  19. [ 26.237531] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
  20. [ 26.245890] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
  21. [ 26.357728] r8169 0000:03:00.0: firmware: direct-loading firmware rtl_nic/rtl8168h-2.fw
  22. [ 26.375138] r8169 0000:03:00.0 eth0: link down
  23. [ 26.375237] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
  24. [ 26.676559] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
  25. [ 29.847660] wlan0: authenticate with ac:22:0b:ba:35:60
  26. [ 30.008277] wlan0: send auth to ac:22:0b:ba:35:60 (try 1/3)
  27. [ 30.012657] wlan0: authenticated
  28. [ 30.017791] wlan0: associate with ac:22:0b:ba:35:60 (try 1/3)
  29. [ 30.021945] wlan0: RX AssocResp from ac:22:0b:ba:35:60 (capab=0x411 status=0 aid=1)
  30. [ 30.022190] wlan0: associated
  31. [ 30.022251] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
  32. [ 35.440031] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
  33. [ 35.440038] Bluetooth: BNEP filters: protocol multicast
  34. [ 35.440049] Bluetooth: BNEP socket layer initialized
  35. [ 35.573332] Bluetooth: RFCOMM TTY layer initialized
  36. [ 35.573353] Bluetooth: RFCOMM socket layer initialized
  37. [ 35.573377] Bluetooth: RFCOMM ver 1.11
  38. [ 74.407577] fuse init (API version 7.23)
  39. [ 218.079710] usb 1-2: new low-speed USB device number 4 using xhci_hcd
  40. [ 218.270103] usb 1-2: New USB device found, idVendor=1bcf, idProduct=0005
  41. [ 218.270118] usb 1-2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
  42. [ 218.270127] usb 1-2: Product: USB Optical Mouse
  43. [ 218.271088] usb 1-2: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
  44. [ 218.654019] hidraw: raw HID events driver (C) Jiri Kosina
  45. [ 218.660356] usbcore: registered new interface driver usbhid
  46. [ 218.660363] usbhid: USB HID core driver
  47. [ 218.682097] input: USB Optical Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:1BCF:0005.0001/input/input15
  48. [ 218.682637] hid-generic 0003:1BCF:0005.0001: input,hidraw0: USB HID v1.10 Mouse [USB Optical Mouse] on usb-0000:00:14.0-2/input0
  49. [ 241.314960] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=11768 end=11769) time 276 us, min 763, max 767, scanline start 759, end 772
  50. [ 886.528987] perf interrupt took too long (2502 > 2500), lowering kernel.perf_event_max_sample_rate to 50000
  51. [ 1886.538935] perf interrupt took too long (5004 > 5000), lowering kernel.perf_event_max_sample_rate to 25000
  52. [ 3294.201041] usb 1-2: USB disconnect, device number 4
  53. [ 3294.474921] usb 1-2: new low-speed USB device number 5 using xhci_hcd
  54. [ 3294.608173] usb 1-2: New USB device found, idVendor=1bcf, idProduct=0005
  55. [ 3294.608182] usb 1-2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
  56. [ 3294.608186] usb 1-2: Product: USB Optical Mouse
  57. [ 3294.608526] usb 1-2: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
  58. [ 3294.616385] input: USB Optical Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:1BCF:0005.0002/input/input16
  59. [ 3294.616701] hid-generic 0003:1BCF:0005.0002: input,hidraw0: USB HID v1.10 Mouse [USB Optical Mouse] on usb-0000:00:14.0-2/input0
  60. [ 4053.482725] CPU0: Core temperature above threshold, cpu clock throttled (total events = 1)
  61. [ 4053.482761] mce: [Hardware Error]: Machine check events logged
  62. [ 4245.596548] CPU0: Core temperature/speed normal
  63. [ 4245.596584] mce: [Hardware Error]: Machine check events logged
  64. [ 5545.133155] bbswitch: version 0.8
  65. [ 5545.133170] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
  66. [ 5545.133178] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.RP01.PXSX
  67. [ 5545.133198] ACPI Warning: \_SB_.PCI0.RP01.PXSX._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95)
  68. [ 5545.133398] bbswitch: detected an Optimus _DSM function
  69. [ 5545.133424] pci 0000:01:00.0: enabling device (0006 -> 0007)
  70. [ 5545.133435] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
  71. [ 5545.139473] bbswitch: disabling discrete graphics
  72. [ 5545.139496] ACPI Warning: \_SB_.PCI0.RP01.PXSX._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95)
  73. [ 5550.411068] bbswitch: enabling discrete graphics
  74. [ 5550.958069] nvidia: module license 'NVIDIA' taints kernel.
  75. [ 5550.958076] Disabling lock debugging due to kernel taint
  76. [ 5550.980600] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 1
  77. [ 5550.980615] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 352.79 Wed Jan 13 16:17:53 PST 2016
  78. [ 6083.529791] wlan0: deauthenticating from ac:22:0b:ba:35:60 by local choice (Reason: 3=DEAUTH_LEAVING)
  79. [ 6096.330740] cfg80211: World regulatory domain updated:
  80. [ 6096.330748] cfg80211: DFS Master region: unset
  81. [ 6096.330751] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
  82. [ 6096.330755] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
  83. [ 6096.330758] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
  84. [ 6096.330760] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
  85. [ 6096.330764] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
  86. [ 6096.330767] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
  87. [ 6096.330770] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
  88. [ 6096.330773] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
  89. [ 6096.330776] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
  90. [ 6102.703517] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
  91. [ 6102.759239] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
  92. [ 6111.070900] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
  93. [ 6111.125243] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
  94. [ 6114.309552] wlan0: authenticate with ac:22:0b:ba:35:60
  95. [ 6114.469230] wlan0: send auth to ac:22:0b:ba:35:60 (try 1/3)
  96. [ 6114.470747] wlan0: authenticated
  97. [ 6114.477024] wlan0: associate with ac:22:0b:ba:35:60 (try 1/3)
  98. [ 6114.480957] wlan0: RX AssocResp from ac:22:0b:ba:35:60 (capab=0x411 status=0 aid=1)
  99. [ 6114.481247] wlan0: associated
  100. [ 6114.481385] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
  101. [ 6965.099482] nvidia_uvm: Loaded the UVM driver, major device number 248
  102. root@kali:~# echo $PATH
  103. /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/VirtualGL/bin:/usr/local/cuda-7.5/bin
  104. root@kali:~# cat /etc/bumblebee/bumblebee.conf
  105. # Configuration file for Bumblebee. Values should **not** be put between quotes
  106.  
  107. ## Server options. Any change made in this section will need a server restart
  108. # to take effect.
  109. [bumblebeed]
  110. # The secondary Xorg server DISPLAY number
  111. VirtualDisplay=:8
  112. # Should the unused Xorg server be kept running? Set this to true if waiting
  113. # for X to be ready is too long and don't need power management at all.
  114. KeepUnusedXServer=false
  115. # The name of the Bumbleblee server group name (GID name)
  116. ServerGroup=bumblebee
  117. # Card power state at exit. Set to false if the card shoud be ON when Bumblebee
  118. # server exits.
  119. TurnCardOffAtExit=false
  120. # The default behavior of '-f' option on optirun. If set to "true", '-f' will
  121. # be ignored.
  122. NoEcoModeOverride=false
  123. # The Driver used by Bumblebee server. If this value is not set (or empty),
  124. # auto-detection is performed. The available drivers are nvidia and nouveau
  125. # (See also the driver-specific sections below)
  126. Driver=nvidia
  127. # Directory with a dummy config file to pass as a -configdir to secondary X
  128. XorgConfDir=/etc/bumblebee/xorg.conf.d
  129.  
  130. ## Client options. Will take effect on the next optirun executed.
  131. [optirun]
  132. # Acceleration/ rendering bridge, possible values are auto, virtualgl and
  133. # primus.
  134. Bridge=auto
  135. # The method used for VirtualGL to transport frames between X servers.
  136. # Possible values are proxy, jpeg, rgb, xv and yuv.
  137. VGLTransport=proxy
  138. # List of paths which are searched for the primus libGL.so.1 when using
  139. # the primus bridge
  140. PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
  141. # Should the program run under optirun even if Bumblebee server or nvidia card
  142. # is not available?
  143. AllowFallbackToIGC=false
  144.  
  145.  
  146. # Driver-specific settings are grouped under [driver-NAME]. The sections are
  147. # parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
  148. # detection resolves to NAME).
  149. # PMMethod: method to use for saving power by disabling the nvidia card, valid
  150. # values are: auto - automatically detect which PM method to use
  151. # bbswitch - new in BB 3, recommended if available
  152. # switcheroo - vga_switcheroo method, use at your own risk
  153. # none - disable PM completely
  154. # https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods
  155.  
  156. ## Section with nvidia driver specific options, only parsed if Driver=nvidia
  157. [driver-nvidia]
  158. # Module name to load, defaults to Driver if empty or unset
  159. KernelDriver=nvidia-current
  160. PMMethod=auto
  161. # colon-separated path to the nvidia libraries
  162. LibraryPath=/usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
  163. # comma-separated path of the directory containing nvidia_drv.so and the
  164. # default Xorg modules path
  165. XorgModulePath=/usr/lib/nvidia,/usr/lib/xorg/modules
  166. XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
  167.  
  168. ## Section with nouveau driver specific options, only parsed if Driver=nouveau
  169. [driver-nouveau]
  170. KernelDriver=nouveau
  171. PMMethod=auto
  172. XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
  173.  
  174. root@kali:~# cat /etc/bumblebee/xorg.conf.nvidia
  175. Section "ServerLayout"
  176. Identifier "Layout0"
  177. Option "AutoAddDevices" "false"
  178. Option "AutoAddGPU" "false"
  179. EndSection
  180.  
  181. Section "Device"
  182. Identifier "DiscreteNvidia"
  183. Driver "nvidia"
  184. VendorName "NVIDIA Corporation"
  185.  
  186. # If the X server does not automatically detect your VGA device,
  187. # you can manually set it here.
  188. # To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
  189. # as you see in the commented example.
  190. # This Setting may be needed in some platforms with more than one
  191. # nvidia card, which may confuse the proprietary driver (e.g.,
  192. # trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
  193. BusID "PCI:01:00:0"
  194.  
  195. # Setting ProbeAllGpus to false prevents the new proprietary driver
  196. # instance spawned to try to control the integrated graphics card,
  197. # which is already being managed outside bumblebee.
  198. # This option doesn't hurt and it is required on platforms running
  199. # more than one nvidia graphics card with the proprietary driver.
  200. # (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
  201. # If this option is not set, the new Xorg may blacken the screen and
  202. # render it unusable (unless you have some way to run killall Xorg).
  203. Option "ProbeAllGpus" "false"
  204.  
  205. Option "NoLogo" "true"
  206. Option "UseEDID" "false"
  207. Option "UseDisplayDevice" "none"
  208. EndSection
  209. root@kali:~# service bumblebeed restart
  210. root@kali:~# modinfo nvidia
  211. modinfo: ERROR: Module nvidia not found.
  212. root@kali:~# find 2> /dev/null / -name nvidia*.ko
  213. /var/lib/dkms/nvidia-current/352.79/4.4.0-kali1-amd64/x86_64/module/nvidia-current-uvm.ko
  214. /var/lib/dkms/nvidia-current/352.79/4.4.0-kali1-amd64/x86_64/module/nvidia-current.ko
  215. /var/lib/dkms/nvidia-current/352.79/4.5.0-kali1-amd64/x86_64/module/nvidia-current-uvm.ko
  216. /var/lib/dkms/nvidia-current/352.79/4.5.0-kali1-amd64/x86_64/module/nvidia-current.ko
  217. /lib/modules/4.4.0-kali1-amd64/updates/dkms/nvidia-current-uvm.ko
  218. /lib/modules/4.4.0-kali1-amd64/updates/dkms/nvidia-current.ko
  219. /lib/modules/4.5.0-kali1-amd64/updates/dkms/nvidia-current-uvm.ko
  220. /lib/modules/4.5.0-kali1-amd64/updates/dkms/nvidia-current.ko
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement