Ubuntu 16.04: RAS tools like "snap" and "rtas_dump" gives error message on Habanero PKVM guest.

Bug #1572014 reported by bugproxy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
powerpc-utils (Ubuntu)
Triaged
Undecided
Adam Conrad

Bug Description

---Problem Description---

RAS tools like "snap" and "rtas_dump" gives error message on Habanero PKVM guest after default installation. issue got resolved after installing "perl" [apt-get install perl].

--Steps to reproduce--

1. Install Ubuntu 16.04 PKVM guest on Habanero.
2. Run "snap" or "rtas_dump" commands.

Logs
-------
root@ubuntu:~# snap
Can't locate Getopt/Std.pm in @INC (you may need to install the Getopt::Std module) (@INC contains: /etc/perl /usr/local/lib/powerpc64le-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/powerpc64le-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/powerpc64le-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/powerpc64le-linux-gnu/perl-base .) at /usr/sbin/snap line 25.
BEGIN failed--compilation aborted at /usr/sbin/snap line 25.

root@ubuntu:~# rtas_dump
Can't locate Data/Dumper.pm in @INC (you may need to install the Data::Dumper module) (@INC contains: /etc/perl /usr/local/lib/powerpc64le-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/powerpc64le-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/powerpc64le-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/powerpc64le-linux-gnu/perl-base .).
BEGIN failed--compilation aborted.
rtas_dump: is not supported on the platform

Thanks,
Pavithra

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2016-04-19 03:51 EDT-------
Perl is already installed after default installation. Below is the information about version.

root@ubuntu:~# which perl
/usr/bin/perl
root@ubuntu:~# perl --version

This is perl 5, version 22, subversion 1 (v5.22.1) built for powerpc64le-linux-gnu-thread-multi
(with 58 registered patches, see perl -V for more detail)

Copyright 1987-2015, Larry Wall

Issue is observed in other systems also after fresh installation.

tags: added: architecture-ppc64 bugnameltc-139911 severity-medium targetmilestone-inin1604
Changed in ubuntu:
assignee: nobody → Taco Screen team (taco-screen-team)
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1572014/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Steve Langasek (vorlon)
affects: ubuntu → powerpc-utils (Ubuntu)
Changed in powerpc-utils (Ubuntu):
assignee: Taco Screen team (taco-screen-team) → Adam Conrad (adconrad)
status: New → Triaged
Revision history for this message
Adam Conrad (adconrad) wrote :

Which version of powerpc-utils was this? 'snap' isn't even shipped in Ubuntu.

As for rtas_dump, I'll get that sorted out.

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2016-07-11 03:01 EDT-------
(In reply to comment #11)
> Which version of powerpc-utils was this? 'snap' isn't even shipped in

I think bug submitter is referring to powerpc-ibm-utils package here.

And I agree. snap is not supported any more.. We should adopt to sosreport/apport-collect.

>
> As for rtas_dump, I'll get that sorted out.

May be some perl dependency is missing here.

-Vasant

Revision history for this message
Adam Conrad (adconrad) wrote :

Nah, the submitter was correct in targeting powerpc-utils. I renamed powerpc-ibm-utils to powerpc-utils and powerpc-utils to pmac-utils to avoid the constant confusion. Of course, this'll be differently confusing for a while, but eventually we'll forget the old names. ;)

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2016-07-28 00:59 EDT-------
Reply from Pavithra about the testing on 16.10 :

Hi,

Issue is observed in 16.10 build also.

Logs
====
root@ltciofvtr-hab1:~# rtas_dump
Can't locate Data/Dumper.pm in @INC (you may need to install the Data::Dumper module) (@INC contains: /etc/perl /usr/local/lib/powerpc64le-linux-gnu/perl/5.22.2 /usr/local/share/perl/5.22.2 /usr/lib/powerpc64le-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/powerpc64le-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/powerpc64le-linux-gnu/perl-base .).
BEGIN failed--compilation aborted.
rtas_dump: is not supported on the platform
root@ltciofvtr-hab1:~# perl --version

This is perl 5, version 22, subversion 2 (v5.22.2) built for powerpc64le-linux-gnu-thread-multi
(with 58 registered patches, see perl -V for more detail)

Copyright 1987-2015, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

root@ltciofvtr-hab1:~# uname -a
Linux ltciofvtr-hab1 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:05:18 UTC 2016 ppc64le ppc64le ppc64le GNU/Linux
root@ltciofvtr-hab1:~# cat /etc/is
iscsi/ issue issue.net
root@ltciofvtr-hab1:~# cat /etc/issue
Ubuntu Yakkety Yak (development branch) \n \l

root@ltciofvtr-hab1:~#

Thanks,
Pavithra

tags: removed: bot-comment bugnameltc-139911 severity-medium
bugproxy (bugproxy)
tags: added: bugnameltc-139911 severity-medium
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2016-09-13 09:53 EDT-------
Please find the version information below.

root@ubuntu:~# uname -a
Linux ubuntu 4.4.0-9136-generic #55-Ubuntu SMP Fri Aug 26 05:56:24 UTC 2016 ppc64le ppc64le ppc64le GNU/Linux
root@ubuntu:~# dpkg -l | grep powerpc-utils
ii powerpc-utils 1.3.2-1 ppc64el utilities for maintenance of PowerPC platforms (metapackage)

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2016-10-06 00:24 EDT-------
Hello Adam,

Do you require any more details from us? Can you please let us know about progress on this one?

Thanks!

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2016-12-16 05:56 EDT-------
(In reply to comment #13)
> (In reply to comment #11)
> > Which version of powerpc-utils was this? 'snap' isn't even shipped in
>
> I think bug submitter is referring to powerpc-ibm-utils package here.
>
> And I agree. snap is not supported any more.. We should adopt to
> sosreport/apport-collect.
>
>
> >
> > As for rtas_dump, I'll get that sorted out.
>
>
> May be some perl dependency is missing here.

Yes, perl-modules-5.22 package is missing here, after installing perl-modules-5.22 package rtas_dump works fine.

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2017-03-05 23:26 EDT-------
comment from Pavithra after latest testing :

Tested with 4.10.0-8-generic. Issue is not observed.

root@ubuntu:/home/ubuntu# dpkg -l | grep perl-modules
ii perl-modules-5.24 5.24.1-1 all Core Perl modules
root@ubuntu:/home/ubuntu# uname -a
Linux ubuntu 4.10.0-8-generic #10-Ubuntu SMP Mon Feb 13 14:00:06 UTC 2017 ppc64le ppc64le ppc64le GNU/Linux
root@ubuntu:/home/ubuntu# rtas_dump

Thanks,
Pavithra

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2017-03-23 00:58 EDT-------
This bug seems to be resolved now.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.