Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
166 Views

current procedure for building i915 module?

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-help/top/installation/set-up-system-for-gpu-analysis/rebuild-and-install-i915-module-ubuntu.html 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?

0 Kudos
4 Replies
Highlighted
Moderator
166 Views

Hi Craig,

Thanks for reaching out to us.

The issue that you observed while running the first command for "Adding source package repositories for your Ubuntu* version", seems to be an intermittent. Could you please try re-running the command and let us know whether the issue persists.

We are unable to reproduce the issue while running the second step(Install build dependencies). So, we are forwarding your case to engineering team and they will get back to you on this soon.

0 Kudos
Highlighted
Employee
166 Views

Hi Craig,

Could you please try the following command:

sudo add-apt-repository -s "deb http://us.archive.ubuntu/ bionic main restricted"

 

0 Kudos
Highlighted
Beginner
166 Views

I tried the following thrice.  This is the result of the last try.

user@t570:~/OneAPI$ sudo add-apt-repository -s "deb http://us.archive.ubuntu/ bionic main restricted"
Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease                                                      
Hit:3 http://dl.google.com/linux/chrome/deb stable InRelease                                                            
Hit:4 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease                                                    
Ign:5 http://us.archive.ubuntu.com bionic InRelease                                                                     
Err:6 http://us.archive.ubuntu.com bionic Release                                                                       
  404  Not Found [IP: 91.189.91.38 80]
Get:7 http://us.archive.ubuntu bionic InRelease                                                                      
Err:7 http://us.archive.ubuntu bionic InRelease                                                
  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Hit:8 http://security.ubuntu.com/ubuntu bionic-security InRelease                            
Ign:9 https://repositories.intel.com/graphics/ubuntu bionic-devel InRelease
Hit:10 https://repositories.intel.com/graphics/ubuntu bionic-devel Release
Ign:11 https://repositories.intel.com/graphics/ubuntu bionic-devel Release.gpg
Reading package lists... Done
E: The repository 'http://us.archive.ubuntu.com bionic Release' does not have a Release file.
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.
E: Failed to fetch http://us.archive.ubuntu/dists/bionic/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: The repository 'http://us.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.

Edit 1:

I think some of the errors above are due to artifacts of some of my attempts to add other repositories.  I _think_ I've got the repository stuff back to an original state, and here is the result of attempting what you asked:

user@t570:~/OneAPI/Bionic$ sudo add-apt-repository -s "deb http://us.archive.ubuntu/ bionic main restricted"
Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu bionic InRelease                                                              
Hit:3 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease                                                      
Hit:4 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease                                                    
Get:5 http://us.archive.ubuntu bionic InRelease                                                                         
Err:5 http://us.archive.ubuntu bionic InRelease                                                                         
  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Hit:6 http://security.ubuntu.com/ubuntu bionic-security InRelease                            
Ign:7 https://repositories.intel.com/graphics/ubuntu bionic-devel InRelease
Hit:8 https://repositories.intel.com/graphics/ubuntu bionic-devel Release
Ign:9 https://repositories.intel.com/graphics/ubuntu bionic-devel Release.gpg
Reading package lists... Done
E: Failed to fetch http://us.archive.ubuntu/dists/bionic/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: The repository 'http://us.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.

user@t570:~/OneAPI/Bionic$ sudo add-apt-repository -s "deb http://us.archive.ubuntu/ bionic main restricted"
Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease                                                      
Hit:3 http://security.ubuntu.com/ubuntu bionic-security InRelease                                                       
Hit:4 http://dl.google.com/linux/chrome/deb stable InRelease                                                            
Hit:5 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease                                                    
Get:6 http://us.archive.ubuntu bionic InRelease                                                                         
Err:6 http://us.archive.ubuntu bionic InRelease                          
  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Ign:7 https://repositories.intel.com/graphics/ubuntu bionic-devel InRelease
Hit:8 https://repositories.intel.com/graphics/ubuntu bionic-devel Release
Ign:9 https://repositories.intel.com/graphics/ubuntu bionic-devel Release.gpg
Reading package lists... Done
E: Failed to fetch http://us.archive.ubuntu/dists/bionic/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: The repository 'http://us.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.

user@t570:~/OneAPI/Bionic$ sudo add-apt-repository -s "deb http://us.archive.ubuntu/ bionic main restricted"
Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu bionic InRelease                                                              
Get:3 http://us.archive.ubuntu bionic InRelease                                                                         
Err:3 http://us.archive.ubuntu bionic InRelease                                                                         
  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Hit:4 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease                                                      
Hit:5 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease                                                    
Hit:6 http://security.ubuntu.com/ubuntu bionic-security InRelease                                                       
Ign:7 https://repositories.intel.com/graphics/ubuntu bionic-devel InRelease
Hit:8 https://repositories.intel.com/graphics/ubuntu bionic-devel Release
Ign:9 https://repositories.intel.com/graphics/ubuntu bionic-devel Release.gpg
Reading package lists... Done
E: Failed to fetch http://us.archive.ubuntu/dists/bionic/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: The repository 'http://us.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.
0 Kudos
Highlighted
Employee
138 Views

Sorry, it is a typo in my previous answer. Could you please try the following command if the problem still exists:

sudo add-apt-repository -s "deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted"

Thanks. 

0 Kudos