Quantcast
Channel: Intel® VTune™ Profiler (Intel® VTune™ Amplifier)
Viewing all articles
Browse latest Browse all 1347

current procedure for building i915 module?

$
0
0

Lenovo T570, Ubuntu 18.04.4, 5.3.0-53-generic, OneAPI/Vtune 2021.1.0 beta06

I've been looking into building an i915 module so I can try CONFIG_DRM_I915_LOW_LEVEL_TRACEPOINTS=y to get at the low level information using VTune.  I tried the instructions in https://software.intel.com/content/www/us/en/develop/documentation/vtune... and get the following:

 

root@t570:~/OneAPI# sudo add-apt-repository -s "deb http://ru.archive.ubuntu/ bionic main restricted"
Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]                  
Get:3 http://dl.google.com/linux/chrome/deb stable InRelease [1,811 B]                                           
Get:4 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]                                      
Get:5 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]                                   
Get:6 http://ru.archive.ubuntu bionic InRelease                                                                  
Err:6 http://ru.archive.ubuntu bionic InRelease                                                                  
  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Get:7 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,123 B]                                 
Get:8 http://us.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [685 kB]                  
Get:9 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [951 kB]               
Get:10 http://us.archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [324 kB]                           
Get:11 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [306 kB]                    
Get:12 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [727 kB]                            
Get:13 http://us.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [81.9 kB]                      
Get:14 http://us.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [157 kB]                       
Get:15 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [1,018 kB]                      
Get:16 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1,077 kB]                     
Get:17 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [335 kB]                       
Get:18 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [279 kB]                
Get:19 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 48x48 Icons [213 kB]                   
Get:20 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64 Icons [462 kB]                   
Get:21 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages [474 kB]                             
Get:22 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2,464 B]             
Get:23 http://us.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [7,968 B]             
Get:24 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [230 kB]                            
Ign:25 https://repositories.intel.com/graphics/ubuntu bionic-devel InRelease        
Get:26 https://repositories.intel.com/graphics/ubuntu bionic-devel Release [2,702 B]
Get:27 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [43.8 kB]
Get:28 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 48x48 Icons [25.7 kB]
Get:29 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 64x64 Icons [58.0 kB]
Get:30 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages [623 kB]
Get:31 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [669 kB]
Get:32 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [222 kB]
Get:33 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [49.2 kB]
Get:34 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 48x48 Icons [18.6 kB]
Get:35 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 64x64 Icons [107 kB]
Get:36 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2,464 B]
Ign:37 https://repositories.intel.com/graphics/ubuntu bionic-devel Release.gpg                   
Get:38 https://repositories.intel.com/graphics/ubuntu bionic-devel/main amd64 Packages [4,164 B]
Reading package lists... Done                           
E: Failed to fetch http://ru.archive.ubuntu/dists/bionic/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: The repository 'http://ru.archive.ubuntu bionic InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

I'm already worried I'm gonna brick my laptop doing this, so I stopped.   I then thought it might make sense to point to another source repository so I enabled "deb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted" in /etc/apt/sources.list.  (maybe this is doomed, but it seemed like a reasonable try.)  It didn't help.  The result was:

root@t570:~/OneAPI# apt build-dep linux linux-image-$(uname -r)
Reading package lists... Done
Picking 'linux-signed-hwe' as source package instead of 'linux-image-5.3.0-53-generic'
E: Unable to find a source package for linux-image-5.3.0-53-generic

So, I'm kinda stuck.  Anyone got some advice for me?  Is building a new i915 module really worth it?


Viewing all articles
Browse latest Browse all 1347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>