LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-27-2012, 08:26 AM   #1
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Updated F16 hangs during start of X?


After the initial installation of F16 everything ran smoothly from the POST messages to login. Then the fedora team published some updates and since then progress stops when the central "f" is nearly finished. I then have to hit repeatedly <Ctrl><Alt><Backspace> to come to the login screen. What might cause that and how to find a remedy?
 
Old 03-27-2012, 02:46 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hit escape when the Fedora logo first appears to see the text console progress and any errors that may be occurring.
 
Old 03-29-2012, 04:28 AM   #3
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Did that and it runs through . So I restarted without hitting <Esc> and waited until the "roadblock" shows up. Anter a long wait I hit <Esc>, the screen changes and the boot-messages whisk along till the presumtive road block appears. That reads

Code:
Starting Sendmail Mail Transport Client
After some more waiting comes

Code:
Started Sendmail Mail Transport Client
Failed to start LSB
{some more (about 5 lines) very fast messages}
And then the login screen.

Okay, I could simply always hit <Esc> or edit the GRUB commands (will have to look that up, I'm new to GRUB2), but what could cause sendmail to block the boot sequence? And why can <Ctrl><Alt><Backspace> break the lock?

Last edited by JZL240I-U; 03-29-2012 at 08:27 AM. Reason: corrected the sequence of events
 
Old 03-29-2012, 10:33 AM   #4
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Try running as root:

Code:
systemd-analyze blame | less
It will tell you what's taking so long in the boot. Hitting ctrl-alt-backspace before X starts does nothing but waste time until the boot continues.
 
Old 03-29-2012, 10:42 AM   #5
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by macemoneta View Post
...Hitting ctrl-alt-backspace before X starts does nothing but waste time until the boot continues.
I'm quite sure it is not. First time I left the room for some time to do something else and looked back in to see whether the login screen had appeared. No chance. So far only ctrl-alt-backspace re-animates the boot sequence -- or escape and the flow of the messages.

I tried ctrl-alt-backspace on a hunch: the little diagonally growing central pear with the Fedora "f" is all black and white and shows no "f" on a blue background as it did earlier. That`s why I thought it is a graphics problem.

Be that as it may, I'll try your suggestions and report later.

<edit> Wrong. It's not X at all. See post #8. </edit>

Last edited by JZL240I-U; 04-02-2012 at 02:18 AM.
 
Old 03-30-2012, 11:41 AM   #6
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Okay, this is the output of "systemd-analyze blame | less" of the services needing more than 0.5 seconds to start:

Code:
  8022ms udev-settle.service
  2469ms fedora-loadmodules.service
  1658ms media.mount
  1604ms remount-rootfs.service
  1589ms dev-mqueue.mount
  1572ms dev-hugepages.mount
  1560ms sys-kernel-security.mount
  1553ms sys-kernel-debug.mount
  1422ms mdmonitor-takeover.service
  1401ms udev-trigger.service
  1353ms udev.service
  1267ms systemd-remount-api-vfs.service
  1267ms systemd-vconsole-setup.service
  1141ms sm-client.service
  1093ms sys-kernel-config.mount
  1004ms fedora-storage-init-late.service
   871ms fedora-readonly.service
   799ms NetworkManager.service
   687ms systemd-tmpfiles-setup.service
   632ms avahi-daemon.service
   598ms rsyslog.service
   581ms fedora-wait-storage.service
...
   102ms sendmail.service
...
I have no idea what to look for, does this look normal? At least sendmail doesn't seem to be the culprit.

Oh, btw. I updated the system yesterday (~480 MB of updates). The system starts now after about 90 seconds. Darn sluggish, but if this is the way it is...

<edit> Found the bastard: I issued a "systemd-analyze plot > bootchart.svg" command and looked at the resulting plot and lo and behold "plymouth-quit-wait.service" starts from seconds <24 to >89. What can I do about that?

Last edited by JZL240I-U; 03-31-2012 at 05:37 AM.
 
Old 03-30-2012, 02:08 PM   #7
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Your 'systemd-analyze blame' shows nothing delaying the start. The plymouth-quit-wait.service is normal; it's just waiting to remove the graphic. At this point, you can use:
Code:
systemctl --full --type=service list-units
This will give you a list of the started system services. If there are any that you don't use, you can disable them. For example:
Code:
systemctl disable sendmail.service
 
1 members found this post helpful.
Old 04-02-2012, 02:15 AM   #8
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Bullseye.

After the latest update I get during boot something like

Code:
...
Starting LSB: Starts and Stops login and scanning of iSCSI devices
Starting Sendmail Mail Transport Client
Started Sendmail Mail Transport Client
Failed to start LSB
...
{about five more lines}
{...and the login screen}
I tried to verify that with dmesg -- no luck. So I used both commands you provided and found out that there are two services connected to this, namely "iscsi.service" and "iscsid.service". I disabled both and erverything is back to normal.

To sum it up: You were right on all accounts and you provided all the information I needed to solve this. Thanks and kudos macemoneta, you were right on the mark up to the point of my erroneously suspecting X for all the hassle .

Last edited by JZL240I-U; 04-03-2012 at 05:37 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] eth0 won't start without NM in F16 Basher52 Fedora 11 01-25-2012 02:43 PM
UDPcast hangs at isolinux version - only when using updated UPDcast Raymondit Linux - Hardware 1 05-21-2009 07:27 AM
UDPcast hangs at isolinux version - only when using updated UPDcast Raymondit Linux - Software 1 05-21-2009 03:10 AM
updated kde now can't start x h00ligan Linux - Software 6 03-09-2004 08:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration