[Bug 14452 - RESOLVED FIXED] Boot hang on flushing journal

This forum is dedicated to testing early releases and cauldron : Howtos, tips, tricks and user global feedback and thoughts...

Helpful tip :
For bugs tracking we use : https://bugs.mageia.org = The Mageia Bug Tracker
In this bug tracker you'll find already reported bugs and you'll be able to report those you have found....

[Bug 14452 - RESOLVED FIXED] Boot hang on flushing journal

Postby morgano » Nov 4th, '14, 09:51

This is weird.
I have tried booting several times different elder kernels, and safe boot, and during further reboots to author this forum topic it suddenly booted OK!
Anyhow here is at least one bug (boot getting stuck because no timeout) https://bugs.mageia.org/show_bug.cgi?id=14452

I ran updates on a thinkpad T43 yesterday, and then it could not boot.

For more than ten tries it got stuck waiting forever. Last lines of log on screen (I have it to write messages on display during boot, no startup picture)

Code: Select all
[  OK  ] Started Save boot dmesg content.
The default is the current profile.
                                                           [  OK  ]
Looking for new hardware                       [  OK  ]
[  OK  ] Started Reconfigure the system on administrator request.
[  **   ] A start job is running for Trigger Flushing of Journal to Persistent Storage (14 min 7s / no limit)


Can someone give an idea how to get past this if it happens again, to some prompt to possibly debug, and even better to get rid of it...?
I found no way to get to a prompt. Ctrl Alt Fx do not work at this stage.
Of the earlier lines scrolling through i did not catch a problem, and the only [FAILED] line was the normal Failed to load legacy modules ... something like that.
I get the same problem if i choose earlier kernels.
If I select safe boot it stops with a blinking cursor after two lines of systemd-fsck having checked the /boot and /home on top of a black screen.
If i select safe boot without splash and quiet i also see other lines but my eyes did not see any of interest except two "mounted filesystem with ordered data mode"

EDIT: Tried updates of today (kernel 3.17.2-3) , rebooted, and am stuck again... /EDIT
EDIT2: selecting safe boot option on latest kernel worked - at least this time /EDIT2
Last edited by morgano on Nov 6th, '14, 02:03, edited 2 times in total.
At home & work Mandriva since 2006, Mageia 2011. Thinkpad T40, T43, T60, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1493
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: Boot hang on flushing journal, ten times, since late upd

Postby unklar » Nov 4th, '14, 11:06

morgano wrote:I ran updates on a thinkpad T43 yesterday, and then it could not boot.
...
EDIT2: selecting safe boot option on latest kernel worked - at least this time /EDIT2

Try the following pattern
Code: Select all
journalctl -b -p err --since='2014-05-17 16:50' --until='2014-05-17 17:10'
with your date / time.
unklar
 
Posts: 40
Joined: Apr 10th, '12, 20:30

Re: Boot hang on flushing journal, ten times, since late upd

Postby doktor5000 » Nov 4th, '14, 22:27

Maybe you should have a look at the size of the journal files.
Code: Select all
du -sm /var/log/journal/

Maybe you should try to configure it to volatile storage, meaning you lose the journal on every reboot. Or at least set a size limit.

But without further log excerpts as shown by unklar nobody will know why it failed.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18061
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Boot hang on flushing journal, ten times, since late upd

Postby morgano » Nov 4th, '14, 22:35

Thanks for the hints.
Progressing at https://bugs.mageia.org/show_bug.cgi?id=14452
At home & work Mandriva since 2006, Mageia 2011. Thinkpad T40, T43, T60, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1493
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: Boot hang on flushing journal, since late update

Postby gohlip » Nov 5th, '14, 07:17

Changing swap entry in /etc/fstab from
Code: Select all
UUID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx swap swap defaults 0 0
to
Code: Select all
UUID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx none            swap    sw              0       0

will help.

ps: I'm back (as promised) in Mageia 5. Nice. grub2 is much improved though grub-legacy is also installed :roll:
and udevadm hwdb --update needs "--root="
Code: Select all
# udevadm hwdb --update --root=
Why do we live? To prove not everything in nature has a purpose.
gohlip
 
Posts: 573
Joined: Jul 9th, '12, 10:50

Re: Boot hang on flushing journal, since late update

Postby doktor5000 » Nov 5th, '14, 21:40

gohlip wrote:and udevadm hwdb --update needs "--root="
Code: Select all
# udevadm hwdb --update --root=


How does that fit with the topic of this thread, and in what context?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18061
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [Bug 14452 - RESOLVED FIXED] Boot hang on flushing journ

Postby morgano » Nov 6th, '14, 02:06

gohlip, are you talking about https://bugs.mageia.org/show_bug.cgi?id=14457 ?
At home & work Mandriva since 2006, Mageia 2011. Thinkpad T40, T43, T60, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1493
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: [Bug 14452 - RESOLVED FIXED] Boot hang on flushing journ

Postby gohlip » Nov 6th, '14, 03:48

@doktor5000, changing fstab for swap will solve the problem per topic.
As for udevadm, it is in "ps:", not main body text. It might help as a separate issue, yes.
But again, you don't have to be so pedantic, right lan? I did not miss you that much. :lol:

@morgano, I did not see this bug report before, but a similar one on redhat. Yes, it's related.

Cheers everybody.
Why do we live? To prove not everything in nature has a purpose.
gohlip
 
Posts: 573
Joined: Jul 9th, '12, 10:50

Re: [Bug 14452 - RESOLVED FIXED] Boot hang on flushing journ

Postby doktor5000 » Nov 6th, '14, 23:53

gohlip wrote:But again, you don't have to be so pedantic, right lan? I did not miss you that much. :lol:

That was just a simple question out of curiosity ... :|
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18061
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [Bug 14452 - RESOLVED FIXED] Boot hang on flushing journ

Postby gohlip » Nov 7th, '14, 04:24

doktor5000 wrote:
gohlip wrote:But again, you don't have to be so pedantic, right lan? I did not miss you that much. :lol:

That was just a simple question out of curiosity ... :|


It's good to be back and nice that some things don't change. :D
Grubbe.
Why do we live? To prove not everything in nature has a purpose.
gohlip
 
Posts: 573
Joined: Jul 9th, '12, 10:50


Return to Testing : Alpha, Beta, RC and Cauldron

Who is online

Users browsing this forum: No registered users and 1 guest