Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@kali:~# dmesg | tail -n 100
- [ 15.783439] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
- [ 15.783443] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
- [ 15.783446] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
- [ 15.783449] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
- [ 15.783453] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
- [ 15.783456] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
- [ 15.783459] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
- [ 15.783462] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
- [ 15.783465] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
- [ 15.926299] Linux video capture interface: v2.00
- [ 16.821646] uvcvideo: Found UVC 1.00 device Lenovo EasyCamera (04f2:b50e)
- [ 16.826950] input: Lenovo EasyCamera as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/input/input14
- [ 16.827716] usbcore: registered new interface driver uvcvideo
- [ 16.827719] USB Video Class driver (1.1.1)
- [ 17.129523] Adding 2124796k swap on /dev/sda10. Priority:-1 extents:1 across:2124796k FS
- [ 20.304353] Netfilter messages via NETLINK v0.30.
- [ 25.977928] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
- [ 26.237531] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
- [ 26.245890] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
- [ 26.357728] r8169 0000:03:00.0: firmware: direct-loading firmware rtl_nic/rtl8168h-2.fw
- [ 26.375138] r8169 0000:03:00.0 eth0: link down
- [ 26.375237] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
- [ 26.676559] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
- [ 29.847660] wlan0: authenticate with ac:22:0b:ba:35:60
- [ 30.008277] wlan0: send auth to ac:22:0b:ba:35:60 (try 1/3)
- [ 30.012657] wlan0: authenticated
- [ 30.017791] wlan0: associate with ac:22:0b:ba:35:60 (try 1/3)
- [ 30.021945] wlan0: RX AssocResp from ac:22:0b:ba:35:60 (capab=0x411 status=0 aid=1)
- [ 30.022190] wlan0: associated
- [ 30.022251] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
- [ 35.440031] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
- [ 35.440038] Bluetooth: BNEP filters: protocol multicast
- [ 35.440049] Bluetooth: BNEP socket layer initialized
- [ 35.573332] Bluetooth: RFCOMM TTY layer initialized
- [ 35.573353] Bluetooth: RFCOMM socket layer initialized
- [ 35.573377] Bluetooth: RFCOMM ver 1.11
- [ 74.407577] fuse init (API version 7.23)
- [ 218.079710] usb 1-2: new low-speed USB device number 4 using xhci_hcd
- [ 218.270103] usb 1-2: New USB device found, idVendor=1bcf, idProduct=0005
- [ 218.270118] usb 1-2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
- [ 218.270127] usb 1-2: Product: USB Optical Mouse
- [ 218.271088] usb 1-2: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
- [ 218.654019] hidraw: raw HID events driver (C) Jiri Kosina
- [ 218.660356] usbcore: registered new interface driver usbhid
- [ 218.660363] usbhid: USB HID core driver
- [ 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
- [ 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
- [ 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
- [ 886.528987] perf interrupt took too long (2502 > 2500), lowering kernel.perf_event_max_sample_rate to 50000
- [ 1886.538935] perf interrupt took too long (5004 > 5000), lowering kernel.perf_event_max_sample_rate to 25000
- [ 3294.201041] usb 1-2: USB disconnect, device number 4
- [ 3294.474921] usb 1-2: new low-speed USB device number 5 using xhci_hcd
- [ 3294.608173] usb 1-2: New USB device found, idVendor=1bcf, idProduct=0005
- [ 3294.608182] usb 1-2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
- [ 3294.608186] usb 1-2: Product: USB Optical Mouse
- [ 3294.608526] usb 1-2: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
- [ 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
- [ 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
- [ 4053.482725] CPU0: Core temperature above threshold, cpu clock throttled (total events = 1)
- [ 4053.482761] mce: [Hardware Error]: Machine check events logged
- [ 4245.596548] CPU0: Core temperature/speed normal
- [ 4245.596584] mce: [Hardware Error]: Machine check events logged
- [ 5545.133155] bbswitch: version 0.8
- [ 5545.133170] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
- [ 5545.133178] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.RP01.PXSX
- [ 5545.133198] ACPI Warning: \_SB_.PCI0.RP01.PXSX._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95)
- [ 5545.133398] bbswitch: detected an Optimus _DSM function
- [ 5545.133424] pci 0000:01:00.0: enabling device (0006 -> 0007)
- [ 5545.133435] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
- [ 5545.139473] bbswitch: disabling discrete graphics
- [ 5545.139496] ACPI Warning: \_SB_.PCI0.RP01.PXSX._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95)
- [ 5550.411068] bbswitch: enabling discrete graphics
- [ 5550.958069] nvidia: module license 'NVIDIA' taints kernel.
- [ 5550.958076] Disabling lock debugging due to kernel taint
- [ 5550.980600] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 1
- [ 5550.980615] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 352.79 Wed Jan 13 16:17:53 PST 2016
- [ 6083.529791] wlan0: deauthenticating from ac:22:0b:ba:35:60 by local choice (Reason: 3=DEAUTH_LEAVING)
- [ 6096.330740] cfg80211: World regulatory domain updated:
- [ 6096.330748] cfg80211: DFS Master region: unset
- [ 6096.330751] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
- [ 6096.330755] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
- [ 6096.330758] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
- [ 6096.330760] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
- [ 6096.330764] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
- [ 6096.330767] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
- [ 6096.330770] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
- [ 6096.330773] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
- [ 6096.330776] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
- [ 6102.703517] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
- [ 6102.759239] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
- [ 6111.070900] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
- [ 6111.125243] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
- [ 6114.309552] wlan0: authenticate with ac:22:0b:ba:35:60
- [ 6114.469230] wlan0: send auth to ac:22:0b:ba:35:60 (try 1/3)
- [ 6114.470747] wlan0: authenticated
- [ 6114.477024] wlan0: associate with ac:22:0b:ba:35:60 (try 1/3)
- [ 6114.480957] wlan0: RX AssocResp from ac:22:0b:ba:35:60 (capab=0x411 status=0 aid=1)
- [ 6114.481247] wlan0: associated
- [ 6114.481385] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
- [ 6965.099482] nvidia_uvm: Loaded the UVM driver, major device number 248
- root@kali:~# echo $PATH
- /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/VirtualGL/bin:/usr/local/cuda-7.5/bin
- root@kali:~# cat /etc/bumblebee/bumblebee.conf
- # Configuration file for Bumblebee. Values should **not** be put between quotes
- ## Server options. Any change made in this section will need a server restart
- # to take effect.
- [bumblebeed]
- # The secondary Xorg server DISPLAY number
- VirtualDisplay=:8
- # Should the unused Xorg server be kept running? Set this to true if waiting
- # for X to be ready is too long and don't need power management at all.
- KeepUnusedXServer=false
- # The name of the Bumbleblee server group name (GID name)
- ServerGroup=bumblebee
- # Card power state at exit. Set to false if the card shoud be ON when Bumblebee
- # server exits.
- TurnCardOffAtExit=false
- # The default behavior of '-f' option on optirun. If set to "true", '-f' will
- # be ignored.
- NoEcoModeOverride=false
- # The Driver used by Bumblebee server. If this value is not set (or empty),
- # auto-detection is performed. The available drivers are nvidia and nouveau
- # (See also the driver-specific sections below)
- Driver=nvidia
- # Directory with a dummy config file to pass as a -configdir to secondary X
- XorgConfDir=/etc/bumblebee/xorg.conf.d
- ## Client options. Will take effect on the next optirun executed.
- [optirun]
- # Acceleration/ rendering bridge, possible values are auto, virtualgl and
- # primus.
- Bridge=auto
- # The method used for VirtualGL to transport frames between X servers.
- # Possible values are proxy, jpeg, rgb, xv and yuv.
- VGLTransport=proxy
- # List of paths which are searched for the primus libGL.so.1 when using
- # the primus bridge
- PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
- # Should the program run under optirun even if Bumblebee server or nvidia card
- # is not available?
- AllowFallbackToIGC=false
- # Driver-specific settings are grouped under [driver-NAME]. The sections are
- # parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
- # detection resolves to NAME).
- # PMMethod: method to use for saving power by disabling the nvidia card, valid
- # values are: auto - automatically detect which PM method to use
- # bbswitch - new in BB 3, recommended if available
- # switcheroo - vga_switcheroo method, use at your own risk
- # none - disable PM completely
- # https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods
- ## Section with nvidia driver specific options, only parsed if Driver=nvidia
- [driver-nvidia]
- # Module name to load, defaults to Driver if empty or unset
- KernelDriver=nvidia-current
- PMMethod=auto
- # colon-separated path to the nvidia libraries
- LibraryPath=/usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
- # comma-separated path of the directory containing nvidia_drv.so and the
- # default Xorg modules path
- XorgModulePath=/usr/lib/nvidia,/usr/lib/xorg/modules
- XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
- ## Section with nouveau driver specific options, only parsed if Driver=nouveau
- [driver-nouveau]
- KernelDriver=nouveau
- PMMethod=auto
- XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
- root@kali:~# cat /etc/bumblebee/xorg.conf.nvidia
- Section "ServerLayout"
- Identifier "Layout0"
- Option "AutoAddDevices" "false"
- Option "AutoAddGPU" "false"
- EndSection
- Section "Device"
- Identifier "DiscreteNvidia"
- Driver "nvidia"
- VendorName "NVIDIA Corporation"
- # If the X server does not automatically detect your VGA device,
- # you can manually set it here.
- # To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
- # as you see in the commented example.
- # This Setting may be needed in some platforms with more than one
- # nvidia card, which may confuse the proprietary driver (e.g.,
- # trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
- BusID "PCI:01:00:0"
- # Setting ProbeAllGpus to false prevents the new proprietary driver
- # instance spawned to try to control the integrated graphics card,
- # which is already being managed outside bumblebee.
- # This option doesn't hurt and it is required on platforms running
- # more than one nvidia graphics card with the proprietary driver.
- # (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
- # If this option is not set, the new Xorg may blacken the screen and
- # render it unusable (unless you have some way to run killall Xorg).
- Option "ProbeAllGpus" "false"
- Option "NoLogo" "true"
- Option "UseEDID" "false"
- Option "UseDisplayDevice" "none"
- EndSection
- root@kali:~# service bumblebeed restart
- root@kali:~# modinfo nvidia
- modinfo: ERROR: Module nvidia not found.
- root@kali:~# find 2> /dev/null / -name nvidia*.ko
- /var/lib/dkms/nvidia-current/352.79/4.4.0-kali1-amd64/x86_64/module/nvidia-current-uvm.ko
- /var/lib/dkms/nvidia-current/352.79/4.4.0-kali1-amd64/x86_64/module/nvidia-current.ko
- /var/lib/dkms/nvidia-current/352.79/4.5.0-kali1-amd64/x86_64/module/nvidia-current-uvm.ko
- /var/lib/dkms/nvidia-current/352.79/4.5.0-kali1-amd64/x86_64/module/nvidia-current.ko
- /lib/modules/4.4.0-kali1-amd64/updates/dkms/nvidia-current-uvm.ko
- /lib/modules/4.4.0-kali1-amd64/updates/dkms/nvidia-current.ko
- /lib/modules/4.5.0-kali1-amd64/updates/dkms/nvidia-current-uvm.ko
- /lib/modules/4.5.0-kali1-amd64/updates/dkms/nvidia-current.ko
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement