Bug 12367 - Short 20~30 second freezes after 4RC install
Summary: Short 20~30 second freezes after 4RC install
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-20 15:19 CET by André DESMOTTES
Modified: 2015-05-19 14:17 CEST (History)
4 users (show)

See Also:
Source RPM: drakx-installer-stage2
CVE:
Status comment:


Attachments
report.bug.xz (152.98 KB, application/x-xz)
2014-01-21 16:09 CET, André DESMOTTES
Details
asked file (59.26 KB, text/plain)
2014-01-24 15:20 CET, André DESMOTTES
Details
asked file (69.32 KB, text/plain)
2014-01-24 15:22 CET, André DESMOTTES
Details
asked file (29.62 KB, text/plain)
2014-01-24 15:33 CET, André DESMOTTES
Details

Description André DESMOTTES 2014-01-20 15:19:20 CET
Description of problem:
Installation by boot on a USB stick. Image Mageia-4-RC-x86_64-DVD.iso
Md5sum OK
Language: British English 
Keyboard: Swiss French layout (Qwertz)
Partitionning: Use existing partitions. / on sda5 and /home on sda6. 
format only sda5
The system says formating sda5, then says very shortly formating sda7 (it is the swap) and an error message appears:
An error occured
swapon (sda7) failed: input/output error
(I never asked to format this one)
Click on OK, back to the partition screen and a new try gave the same behaviour. 
A third try with Custom disk partitionning gave the same behaviour. 
I tried switching / on sda6 and /home on sda5, same results! 
Installation impossible.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.


Reproducible: 

Steps to Reproduce:
Comment 1 Marja Van Waes 2014-01-20 17:06:04 CET
Hi André,

Do you mind re-doing the attempted install, and if you hit this problem again:


insert a second USB key

switch to tty2 with ctrl+alt+F2 

I know you know, but writing it for others who read this ;-) 

type: "bug" 
(without the "")

and attach report.bug that is written to the USB-key to this report.

if needed, compress the file first.

Thanks!

Keywords: (none) => NEEDINFO
CC: (none) => marja11, thierry.vignaud
Source RPM: (none) => drakx-installer-stage2

Comment 2 André DESMOTTES 2014-01-21 10:41:12 CET
Hi Marja,
It was my first try with RC. I formatted swap and the installation went on. I (as asked) re-did the installation, but the bug didn't show again. 
BUT, RC doesn't work on my laptop. The first install took more than 2 hours, and after reboot it was very, very slow. For example, 1 mn to get the menu, and another 1 mn to get the submenu. Impossible to open Writer, it starts and collapse after 2 mn and half. Switching from a console to another one takes several mn, and after enter the login, the password is never asked or needs several mn.
I did a second install with the same result.
I did a third install on another partition (same laptop). It lasts only an hour. After the first reboot, RC was very slow again. After a second reboot, RC seems to work fine, but there was freezes and the HD always running at the max level. The freezes last about 30 sec and everything seems to work again, until the next freeze. I have also many error messages during the first update after the repos are configurated, for example (for many rpm):
"There was a problem during the installation
Can't move file /var/cache/urpmi/partial/lib64xvidcore4-1.3.2-5.mga4.tainted.x86_64.rpm to var/cache/urpmi/rpms/lib64xvidcore4-1.3.2-5.mga4.tainted.x86_64.rpm"
or
"A fatal error occured: unable to write config file [/etc/urpmi/urpmi.cfg]"
So, the update is impossible.
Either RC has big problems or my 6 years old laptop is dying, I will install Mageia 3 to make it clear.
Comment 3 André DESMOTTES 2014-01-21 14:49:18 CET
Bad news for Mageia 4 RC.
I did an install of Mageia 3 x86_64 DVD in the same partitions of the same computer using the same method with the same USB stick.
Installation lasted less than 30 mn. No slowness, no freeze and no error message.
Comment 4 Marja Van Waes 2014-01-21 15:06:41 CET
(In reply to André DESMOTTES from comment #3)
> Bad news for Mageia 4 RC.
> I did an install of Mageia 3 x86_64 DVD in the same partitions of the same
> computer using the same method with the same USB stick.
> Installation lasted less than 30 mn. No slowness, no freeze and no error
> message.

I should have replied to comment 2 before you started installing Mageia 3 :'-(

You probably didn't make a copy of /root/drakx/report.bug.xz before you installed Mga 3 again, did you?

If you do have the report.bug.xz of the Mageia4RC install, then please attach it.
If you don't have it, then I hope you won't mind redoing the install... /o\
Comment 5 André DESMOTTES 2014-01-21 16:09:42 CET
Created attachment 4835 [details]
report.bug.xz
Comment 6 André DESMOTTES 2014-01-21 16:11:01 CET
Comment on attachment 4835 [details]
report.bug.xz

I understood you asked me to save this file if the bug shew again whereas it didn't.
But I did a third install on another partition I still have, here it is:
Marja Van Waes 2014-01-21 16:19:06 CET

Keywords: NEEDINFO => (none)

Comment 7 Manuel Hiebel 2014-01-22 23:43:04 CET
I see no errors in both or you log file (and btw the summary looks to not match with what you say)
Comment 8 Marja Van Waes 2014-01-23 09:39:08 CET
There is something odd in the log:

ERROR: Filesystem check failed!
ERROR: 1285 clusters are referenced multiple times.
NTFS is inconsistent. Run chkdsk /f on Windows then reboot it TWICE!
The usage of the /f parameter is very IMPORTANT! No modification was
and will be made to NTFS by this software until it gets repaired

The two or three things that took most time were:

* Install took: 0:49:58
* step "installPackages" took: 0:50:05
* step "setRootPassword_addUser" took: 0:20:22
Marja Van Waes 2014-01-23 09:43:50 CET

Summary: Impossible installation, the installer wants to format swap => Installing 4RC takes 4 times as long as installing Mageia 3 on the same partitions

Comment 9 Marja Van Waes 2014-01-23 13:00:51 CET
Ouch!!

Now I see I misread:

"I did a third install on another partition (same laptop). It lasts only an hour. "

I suppose that is the install of which you attached the bug.report.xz?

I had mistakenly assumed that that one had taken over 2 hours, too, sorry about that..... if that is the install the bug.report.xz refers to, then it was wrong of me to pick the long install time as issue for this bug report.

Bug reports should preferably be about only one issue. There are no logs for the original issue ("swapon (sda7) failed: input/output error"), so it is impossible to look into that.

IIUC, there are no logs about the long install time issue, either, if so: impossible to look into that, too.

So what is left? The little freezes after reboot, the update errors and the HD always at max. speed, correct?

I could ask you to attach the related part(s) of journalctl -a .... but if you'd like to help testing pre-final isos, it is maybe better to try again with a (just released) 2nd round final iso

WDYT?

CC: (none) => eeeemail

Comment 10 André DESMOTTES 2014-01-23 19:27:03 CET
I think it's better to forgot what I have done so far, here are new tests on a cleaner basis.
As I had suspicions about my hardware, I totally erased all the disk partitions and created 7 new ones, all formatted ext4. I also used memtest86+ during 2 hours, all seems fine.
On sda1 (/) and sda2 (/home) I installed mga3 DVD 64b KDE. It lasted 25 min.
On sda5 (/) and sda6 (/hoée) I installed mga4RC DVD 64b KDE. It lasted 45 min.
sda 7 for swap
sda 8 and sda 9 unused (for tests).

For each installation, I did the same actions:
Sources configuration including tainted (MCC)
System update (MCC)
Installation of flash player and a chess game
Dolphin configuration
NFS setting
sda 8 and sda 9 mounting  in /mnt
Modification of partitions and formatting on 2 USB sticks using a console (They weren't detected in MCC either with mga3 or 4)
I watched web videos and read news with firefox
I played chess (and lost)

With mga everything went fine and smoothly. With mga4, there was slowness's and three freezes, two in the MCC (downloading) and one in Firefox. Each freeze lasts about 20 to 30 seconds and during this time mouse and keyboard are unusable. No console, no alt ctrl Fn. The disk is fully working and suddenly, everything is OK again. All the clicks during the freeze are executed.

Some times in sec mga3 / mga4
Boot from power on to the end of the welcome music (mgaWelcome disabled): 56 / 65 (same time for the connection, about 4 sec)
Opening Writer: 11/ 5
Shutdown: 15 / 10

I go on with observation.
Comment 11 Marja Van Waes 2014-01-23 20:18:01 CET
can you run 
journalctl -f 2>&1 | tee journalctl-f.txt
as *root* in a terminal next to the window(s) in which you are working, and look whether funny things happen during or right  before those little freezes?

And then please attach journalctl-f.txt after you've seen those freezes, (preferably both for FF and for MCC) and tell which times correspond with them?

I hope the output gives a clue about what is going on :-)

Summary: Installing 4RC takes 4 times as long as installing Mageia 3 on the same partitions => Short 20~30 second freezes after 4RC install

Comment 12 André DESMOTTES 2014-01-24 15:20:40 CET
Created attachment 4864 [details]
asked file

Freeze at 20:14:31
Comment 13 André DESMOTTES 2014-01-24 15:22:12 CET
Created attachment 4865 [details]
asked file

freeze at 13:29:55 installing package at-spi2-atk, it lasted 2 min
Comment 14 André DESMOTTES 2014-01-24 15:33:19 CET
Created attachment 4866 [details]
asked file

freeze at 14:06 uninstalling cinnamon, the progressing bar stayed about 3 min without any move. It wasn't  really a freeze because I could access to the menu and open writer for example, even if it was very long.
Comment 15 Marja Van Waes 2014-01-24 16:45:19 CET
and when you have top running in a 2nd screen, which program/process is "at the top" during those little freezes?
Comment 16 Marja Van Waes 2014-01-24 16:46:06 CET
s/screen/window/
Comment 17 André DESMOTTES 2014-01-24 17:39:57 CET
It is MCC
Comment 18 skulls skulls 2014-02-15 16:22:49 CET
Hello, i have the same problem. 

After a new complete intallation of Mageia 4 (Delete Mageia 3 and install Mageia 4 ) . I installed my software and after few hours,  one freeze , i couldn't switch with command and must restart the computer. 

And second times etc.. For a total of 8 times. No special actions before the freeze (surfing net, read pdf , open Dolphin ..) 

I have Mageia 4 KDE . 

I switch again with Mageia 3. 

Thanks for your attention, and sorry for my bad english. 

FaithFully 

skulls

CC: (none) => l_italiano_del_sud

Comment 19 André DESMOTTES 2014-04-08 17:24:16 CEST
hello,

After many tests I am sure now I am having problems with the HDD. New bad blocks found every week by e2fsck. I swapped Mageia 3 and Mageia 4 and now it is Mageia 3 that is having problems. Mageia 4 is fine.

What is strange is that smartctl never found a reallocated sector.
Comment 20 Thierry Vignaud 2015-05-19 14:17:23 CEST
Closing as a HW bug then

Status: NEW => RESOLVED
Resolution: (none) => INVALID


Note You need to log in before you can comment on or make changes to this bug.