element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Software Application Development microzed running pulsar linux stalls on boot up, UTMP
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 3 replies
  • Subscribers 329 subscribers
  • Views 475 views
  • Users 0 members are here
Related

microzed running pulsar linux stalls on boot up, UTMP

Former Member
Former Member over 9 years ago

We are running pulsar linux on our microzed processor and having very long boot up times.  The boot process stalls on 

"started Update UTMP about System Runlevel Changes"

Has anyone else run into this?  Does anyone know a solution to this?

 

Here is what we see on boot up:

          Starting Network Service...

         Starting Login Service...
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Change the tty3 to be the active vt.
[  OK  ] Started Ethernet Bridge Filtering Tables.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Login Service.
[     *] (2 of 2) A start job is running for Network Service (34s / 1min 53s)gre▒ GRE over IPv4 demultiplexor driver
[  OK  ] Started Open vSwitch Internal Unit.
[  OK  ] Started Network Service.
device eth0 entered promiscuous mode
IPv6: ADDRCONF(NETDEV_UP): br0: link is not ready
         Starting Network Name Resolution...
br0: port 1(eth0) entered forwarding state
br0: port 1(eth0) entered forwarding state
[  OK  ] Reached target Network.r0: link becomes ready
         Starting Open vSwitch...
         Starting Xinetd A Powerful Replacement For Inetd...
         Starting Setup dnsmasq...
[  OK  ] Started Setup dnsmasq.
         Starting LXC Container Initialization and Autoboot Code...
         Starting /etc/rc.local Compatibility...
[  OK  ] Started Network Name Resolution.
[  OK  ] Started Open vSwitch.
[  OK  ] Started Xinetd A Powerful Replacement For Inetd.
[  OK  ] Started /etc/rc.local Compatibility.
         Starting Getty on tty1...
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started LXC Container Initialization and Autoboot Code.
[  OK  ] Reached target Multi-User System.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.
 
Pulsar Linux 7.0.0.11 cube-21-03-16-cube-server ttyPS0
 
 
 
  • Sign in to reply
  • Cancel
Parents
  • narrucmot
    0 narrucmot over 9 years ago

    Hi Matt,

    Just because the Pulsar-7 boot stalls at "Started Update UTMP about System Runlevel Changes" doesn't necessarily indicate that is the issue.  That is just the last line of status message that is printed before the kernel continues with other boot tasks.  I spoke to an engineer at Wind River and their suggestion is to install and run the systemd-analyze application to get an idea of where the system is spending its time during boot.  Here are some instructions for downloading, installing, and running the application to generate graphs that can be used analyze the time spent at each boot step:

    # Log in as root and run the following commands
    cube-console dom0
    cube-console essential
    smart update > /dev/null
    smart download systemd-analyze
    mv systemd*.rpm  /var/lib/lxc/cube-server/rootfs/root
    rpm -ihv /var/lib/lxc/cube-server/rootfs/root/systemd-analyze*.rpm
    lxc-attach -n dom0 -- rpm -ihv /var/lib/lxc/cube-server/rootfs/root/systemd-analyze*.rpm
    lxc-attach -n cube-server -- rpm -ihv /root/systemd-analyze*.rpm
    
    
    systemd-analyze plot > /var/lib/lxc/cube-server/rootfs/root/1.svg
    lxc-attach -n dom0 -- systemd-analyze plot > /var/lib/lxc/cube-server/rootfs/root/2.svg
    lxc-attach -n cube-server -- systemd-analyze plot > /var/lib/lxc/cube-server/rootfs/root/3.svg
    cat<<EOF>/var/lib/lxc/cube-server/rootfs/root/0.html
    <img src=1.svg>
    <br>
    <img src=2.svg>
    <br>
    <img src=3.svg>
    EOF
    exit
    exit
    
    
    # Now copy off the data how every you choose.
    scp *.html *.svg YOUR_SERVER:/YOUR_DIR
    
    # Now that you have the files on a different machine use Chrome on the 0.html file
    
    google-chrome 0.html
    
    # You will see a full graph of where all the time was spent in the boot process
    
    
    
    

    For example, here are a couple of example graphs created for Pulsar-7 and Pulsar-8 running on a MicroZed-7010.

    Pulsar-7: http://htmlpreview.github.io/?https://github.com/jwessel/scratch/blob/master/MZ/pulsar-7-7010-boot/0.html

    Pulsar-8: http://htmlpreview.github.io/?https://github.com/jwessel/scratch/blob/master/MZ/pulsar-8-7010-boot/0.html

    It is recommended, if you can, to use Pulsar-8 instead.  Wind River has made some significant improvements to system start in Pulsar-8, and it also prints out much more information about what is going on.

    I hope this helps.

    --Tom

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • narrucmot
    0 narrucmot over 9 years ago

    Hi Matt,

    Just because the Pulsar-7 boot stalls at "Started Update UTMP about System Runlevel Changes" doesn't necessarily indicate that is the issue.  That is just the last line of status message that is printed before the kernel continues with other boot tasks.  I spoke to an engineer at Wind River and their suggestion is to install and run the systemd-analyze application to get an idea of where the system is spending its time during boot.  Here are some instructions for downloading, installing, and running the application to generate graphs that can be used analyze the time spent at each boot step:

    # Log in as root and run the following commands
    cube-console dom0
    cube-console essential
    smart update > /dev/null
    smart download systemd-analyze
    mv systemd*.rpm  /var/lib/lxc/cube-server/rootfs/root
    rpm -ihv /var/lib/lxc/cube-server/rootfs/root/systemd-analyze*.rpm
    lxc-attach -n dom0 -- rpm -ihv /var/lib/lxc/cube-server/rootfs/root/systemd-analyze*.rpm
    lxc-attach -n cube-server -- rpm -ihv /root/systemd-analyze*.rpm
    
    
    systemd-analyze plot > /var/lib/lxc/cube-server/rootfs/root/1.svg
    lxc-attach -n dom0 -- systemd-analyze plot > /var/lib/lxc/cube-server/rootfs/root/2.svg
    lxc-attach -n cube-server -- systemd-analyze plot > /var/lib/lxc/cube-server/rootfs/root/3.svg
    cat<<EOF>/var/lib/lxc/cube-server/rootfs/root/0.html
    <img src=1.svg>
    <br>
    <img src=2.svg>
    <br>
    <img src=3.svg>
    EOF
    exit
    exit
    
    
    # Now copy off the data how every you choose.
    scp *.html *.svg YOUR_SERVER:/YOUR_DIR
    
    # Now that you have the files on a different machine use Chrome on the 0.html file
    
    google-chrome 0.html
    
    # You will see a full graph of where all the time was spent in the boot process
    
    
    
    

    For example, here are a couple of example graphs created for Pulsar-7 and Pulsar-8 running on a MicroZed-7010.

    Pulsar-7: http://htmlpreview.github.io/?https://github.com/jwessel/scratch/blob/master/MZ/pulsar-7-7010-boot/0.html

    Pulsar-8: http://htmlpreview.github.io/?https://github.com/jwessel/scratch/blob/master/MZ/pulsar-8-7010-boot/0.html

    It is recommended, if you can, to use Pulsar-8 instead.  Wind River has made some significant improvements to system start in Pulsar-8, and it also prints out much more information about what is going on.

    I hope this helps.

    --Tom

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube