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

It seems that micctrl --resetconfig does not work

Hi
  I want to become root on phi.I try the recommendations from this post https://software.intel.com/en-us/forums/intel-many-integrated-core/topic/610105 .But it does not work,

  root@mcc21:~/.ssh# service mpss stop
 * Shutting down Intel(R) MPSS...
   ...done.

root@mcc21:~/.ssh# ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
83:10:8e:bf:62:25:8e:ef:9d:e8:10:1d:10:20:21:8d root@mcc21
The key's randomart image is:
+--[ RSA 2048]----+
|O=  .            |
|E..o .           |
|  o o            |
| . o . .         |
|. o o . S        |
| + o .   .       |
|o + .            |
| + + .           |
| o= o            |
+-----------------+
root@mcc21:~/.ssh# cat *.pub >> authorized_keys
root@mcc21:~/.ssh# ls -l
total 16
-rw-r--r-- 1 root root  392 Dec 21 21:58 authorized_keys
-rw------- 1 root root 1675 Dec 21 21:57 id_rsa
-rw-r--r-- 1 root root  392 Dec 21 21:57 id_rsa.pub
-rw-r--r-- 1 root root 1554 May 26  2016 known_hosts
root@mcc21:~/.ssh# micctrl --resetconfig -v
   [Info] mic0: Using existing /etc/mpss/default.conf
   [Info] mic0: Using existing /etc/mpss/mic0.conf
   [Info] mic0: File System Base /usr/share/mpss/boot/initramfs-knightscorner.cpio.gz
   [Info] mic0: Common files at /var/mpss/common
   [Info] mic0: Unique files at /var/mpss/mic0
   [Info] mic0: Hostname mcc21-mic0
[Warning] mic0: Generating compatibility network config file /opt/intel/mic/filesystem/mic0/etc/sysconfig/network/ifcfg-mic0 for IDB.
[Warning]       This may be problematic at best and will be removed in a future release, Check with the IDB release.
   [Info] mic0: Updated /etc/hosts with 172.31.1.1 mcc21-mic0
   [Info] mic0: Verbose mode Disabled
   [Info] mic0: Linux OS image /usr/share/mpss/boot/bzImage-knightscorner
                System Map /usr/share/mpss/boot/bzImage-knightscorner
   [Info] mic0: Boot On Start Enabled
   [Info] mic0: Shutdown Timeout 300
   [Info] mic0: MIC Crash Dump at /var/crash/mic size 16
   [Info] mic0: Restored /var/mpss/mic0/etc/ssh/ssh_host_key.pub from /var/mpss/mic0/etc/ssh/ssh_host_key.pub.save
   [Info] mic0: Restored /var/mpss/mic0/etc/ssh/ssh_host_rsa_key.pub from /var/mpss/mic0/etc/ssh/ssh_host_rsa_key.pub.save
   [Info] mic0: Restored /var/mpss/mic0/etc/ssh/ssh_host_dsa_key.pub from /var/mpss/mic0/etc/ssh/ssh_host_dsa_key.pub.save
   [Info] mic0: Restored /var/mpss/mic0/etc/ssh/ssh_host_ecdsa_key.pub from /var/mpss/mic0/etc/ssh/ssh_host_ecdsa_key.pub.save
   [Info] mic0: ExtraCommandLine 'highres=off'
   [Info] mic0: RootDevice RamFS /var/mpss/mic0.image.gz
   [Info] mic0: Console hvc0
   [Info] mic0: PowerManagement cpufreq_on;corec6_on;pc3_on;pc6_on
   [Info] mic0: Cgroup memory=disabled
   [Info] mic0: [Parse] /etc/mpss/mic0.conf
   [Info] mic0: [Parse] Configuration version 1.1
   [Info] mic0: [Parse] /etc/mpss/default.conf
   [Info] mic0: [Parse] /etc/mpss/conf.d/amplxe.conf
   [Info] mic0: [Parse] /etc/mpss/conf.d/sep.conf
   [Info] mic0: [Parse] /etc/mpss/conf.d/_amplxe_vtune_amplifier_xe_2016.2.0.444464_itt.conf
   [Info] mic0: [Parse] /etc/mpss/conf.d/_amplxe_vtune_amplifier_xe_2016.2.0.444464.conf
   [Info] mic0: [Parse] /etc/mpss/conf.d/_vtsspp.conf
root@mcc21:~/.ssh# service mpss start
 * Starting Intel(R) MPSS...

   ...done.
mic0: online (mode: linux image: /usr/share/mpss/boot/bzImage-knightscorner)
root@mcc21:~/.ssh# ssh mic0
Password:
Password:


     I have already change root password on host by 'sudo passwd root' before above operation.Because I forget original root password.It seems that --resetconfig does not work for password-less.But when I ssh mic0 by new root password,it also does not work.It seems that --resetconfig does not change root password on phi.
 
     What should I do next ? 

0 Kudos
0 Replies