[Bug 1847806] Re: eoan: ppc64el install on pseries-eoan VM fails to install

Christian Ehrhardt  1847806 at bugs.launchpad.net
Mon Oct 14 19:30:02 UTC 2019


All fails I had were on sysdeps/powerpc/fpu/get-rounding-mode.h:30 which
is:

 27 static inline int                                                                
 28 get_rounding_mode (void)                                                         
 29 {                                                                                
 30   return _FPU_GET_RC ();                                                         
 31 }

And that in turn is defined as:
 83 # ifdef _ARCH_PWR9                                                               
 84 #  define _FPU_GET_RC() _FPU_GET_RC_ISA300()                                     
 85 # elif defined __BUILTIN_CPU_SUPPORTS__                                          
 86 #  define _FPU_GET_RC()»»···»···»···»···»···»···\                                
 87   ({fpu_control_t __rc;»»···»···»···»···»···»···\                                
 88     __rc = __glibc_likely (__builtin_cpu_supports ("arch_3_00"))»···\            
 89       ? _FPU_GET_RC_ISA300 ()»··»···»···»···»···»···\                            
 90       : _FPU_GETCW (__rc) & _FPU_MASK_RC;»··»···»···»···\                        
 91     __rc;»··»···»···»···»···»···»···»···\                                        
 92   })                                                                             
 93 # else                                                                           
 94 #  define _FPU_GET_RC()»»···»···»···»···»···\                                    
 95   ({fpu_control_t __rc = _FPU_GETCW (__rc) & _FPU_MASK_RC;»·\                    
 96     __rc;»··»···»···»···»···»···»···\                                            
 97   })                                                                             
 98 # endif 


In assembly layout that is on

  beq 0x...
> mffsl 0
  mfvsrd r8,vs0

That seems like this code:
 75 # define _FPU_GET_RC_ISA300()»··»···»···»···»···»···\                            
 76   ({union { double __d; unsigned long long __ll; } __u;»»···»···\                
 77     __asm__ __volatile__(»··»···»···»···»···»···\                                
 78       ".machine push; .machine \"power9\"; mffsl %0; .machine pop" »\            
 79       : "=f" (__u.__d));»···»···»···»···»···»···\                                
 80     (fpu_control_t) (__u.__ll & _FPU_MASK_RC);»·»···»···»···\                    
 81   })

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1847806

Title:
  eoan: ppc64el install on pseries-eoan VM fails to install

Status in The Ubuntu-power-systems project:
  Incomplete
Status in debian-installer package in Ubuntu:
  Invalid
Status in glibc package in Ubuntu:
  New
Status in qemu package in Ubuntu:
  Confirmed

Bug description:
  Using today's ppc64el server iso, I tried to install this on a
  pseries-eoan VM hosted on a large x86 desktop server and it failed to
  install.

  VM: 2GB memory, 20GB virtio qcow, CPUs: 2

  Installer options:
  Language: English
  Location: United Kingdom
  Detect keyboard layout? No
  Keyboard: English (UK)
  Keyboard Layout: English (UK)
  Hostname: ubuntu
  Full name for the new user: cking
  Username for your account: cking
  Choose a password for the new user: ************
  Re-enter password to verify: ************
  Partitioning method: Guided - use entire disk
  Select disk to partition: Virtual disk 1 (vda) - 21.5 GB Virtio Block Device
  Write the changes to discs? Yes

  Then installer stopped and I cannot progress. See the attached photo
  of the failure.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1847806/+subscriptions



More information about the foundations-bugs mailing list