Bug 24878

Summary: Installer / rescue issues
Product: Mageia Reporter: Marc Krämer <mageia>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: Normal CC: isobuild, mageia, mageiatools, marja11, thierry.vignaud, tmb
Version: 7Keywords: NEEDINFO, PATCH
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: drakx-installer-rescue-1.61-2.mga7.x86_64.rpm CVE:
Status comment:
Attachments: start udev
included udevd wants files
Patch to rescue system to start udevd

Description Marc Krämer 2019-05-28 22:59:20 CEST
On my laptop HP 625 (Athlon II P320) x64 installer fails to load (Booting kernel failed: Invalid argument). With mga6.1 it works fine. Do we have some different parameters?
Using i586 image works with this laptop.


After booting the resuce image, I wanted to mount the partions. The laptop has a lvm volume group. It stays searching volume groups. And never reaches an end.

Using mga6.1 (x64) installer, it takes 2 seconds and the devices were mounted.
Comment 1 Marja Van Waes 2019-05-29 07:43:51 CEST
In the SRPM field is a mga6 version. Please tell which mga7 version you used

CC: (none) => isobuild, mageiatools, marja11
Keywords: (none) => NEEDINFO

Comment 2 Marc Krämer 2019-05-29 08:53:50 CEST
the ones you can download on current mirrors
http://ftp.acc.umu.se/mirror/mageia/distrib/7/x86_64/install/
and use one of the mirrors for the rescue image.
Comment 3 Martin Whitaker 2019-05-29 09:40:36 CEST
Please, one bug per bug report.

The problem with lvm is most likely that udev is not running in the rescue system. lvm2 uses udev. I saw the same hang when building the Live ISOs (which runs the installer in a chroot), and had to bypass the disk probe step in that case to avoid it.

CC: (none) => mageia

Comment 4 Marc Krämer 2019-05-29 10:54:49 CEST
I'll check your comment on udev. If so, this needs to be changed. The installer and the rescue system need to work as expected.
Comment 5 Thomas Backlund 2019-05-29 19:53:53 CEST
Hm, it has worked before without udev...

I wonder if we have synced in something from another distro that does not belong there..

Source RPM: drakx-installer-rescue-1.55-10.mga6.src.rpm => drakx-installer-rescue-1.61-2.mga7.x86_64.rpm
CC: (none) => tmb

Comment 6 Thomas Backlund 2019-05-29 19:57:27 CEST
Nope, does not look like that, so I guess its an upstream lvm2 change that bites us now
Comment 7 Marc Krämer 2019-05-29 20:32:08 CEST
does it hurt enabling udev during installer/rescue stage?
Comment 8 Thomas Backlund 2019-05-29 21:25:22 CEST
We already use udev in installer.

As for rescue it simply means "someone" needs to adapt/rewrite bits so it works...
Comment 9 Marc Krämer 2019-05-29 21:59:19 CEST
@Thomas: do you know why the kernel of 64 bit does not work for an older amd64? Did we drop support for a specific arch?
Comment 10 Thomas Backlund 2019-05-29 22:22:13 CEST
Nope, it should work...

remove splash silent from kernel command line to hopefully see what crashes... maybe even remove any "vga=..."
Comment 11 Martin Whitaker 2019-05-30 09:46:47 CEST
I believe Marc is using one of the netinstall images, although he hasn't said which one. Marc, try booting using 'text' instead of the default to hopefully see more error messages. Also, a common cause of the error message you are seeing is a bad download/copy. Can you try the same media on another machine to rule that out.

I assume you are using the i586 image to boot the rescue system.
Comment 12 Marc Krämer 2019-05-30 12:07:46 CEST
sorry. Thought it was clear by the package name. To give you a full overview:
Hardware: HP 625 (Athlon II P320)
Software: MGA6 x86_64

1. Crashed on update to mga7 (x86_64) during python installation, not booting anymore, rpm gives Seg-Faults

2. tried to recover using http://ftp.acc.umu.se/mirror/mageia/distrib/7/x86_64/install/images/Mageia-7-netinstall-nonfree-x86_64.iso

3. image does not boot - on text-prompt shows the message "Booting kernel failed: Invalid argument"

4. Image http://ftp.acc.umu.se/mirror/mageia/distrib/7/i586/install/images/Mageia-7-netinstall-nonfree-i586.iso boots, but fails to mount partitions on a lvm volume (takes forever)

5. tried to run http://ftp.acc.umu.se/mirror/mageia/distrib/6/x86_64/install/images/Mageia-6.1-netinstall-nonfree-x86_64.iso which boots just fine and is able to mount my partions (takes just 2 seconds)

now I try to figure out why rpm produces a segfault.
Comment 13 Marja Van Waes 2019-05-30 12:55:01 CEST
(In reply to Marc Krämer from comment #12)

> 1. Crashed on update to mga7 (x86_64) during python installation, not
> booting anymore, rpm gives Seg-Faults
> 

> now I try to figure out why rpm produces a segfault.

bug #24767 ?
Comment 14 Thomas Backlund 2019-05-30 13:34:31 CEST
(In reply to Marja Van Waes from comment #13)
> (In reply to Marc Krämer from comment #12)
> 
> > 1. Crashed on update to mga7 (x86_64) during python installation, not
> > booting anymore, rpm gives Seg-Faults
> > 
> 
> > now I try to figure out why rpm produces a segfault.
> 
> bug #24767 ?

Probably, so wait for rpm-4.14.2.1-12.mga7 to land on the mirrors to see if it helps
Comment 15 Thomas Backlund 2019-05-30 18:47:44 CEST
(In reply to Marc Krämer from comment #12)
> 
> 2. tried to recover using
> http://ftp.acc.umu.se/mirror/mageia/distrib/7/x86_64/install/images/Mageia-7-
> netinstall-nonfree-x86_64.iso
> 
> 3. image does not boot - on text-prompt shows the message "Booting kernel
> failed: Invalid argument"


This is usually a broken image download or breakage when dumping it to an usb...

Have you checked md5 / sha512 ?
Comment 16 Marc Krämer 2019-05-30 21:43:19 CEST
@Thomas: redownloaded the file, now it works - not sure what went wrong the first time... since I've overwritten the device and deleted the original files I can't reproduce it for now.... strange.

So only lvm2 stays as a problem. Now I try to revive it using the latest rpm package.
Comment 17 Thierry Vignaud 2019-06-03 08:14:11 CEST
Created attachment 11052 [details]
start udev

You can try this patch

CC: (none) => thierry.vignaud

Comment 18 Thierry Vignaud 2019-06-03 08:14:37 CEST
Created attachment 11053 [details]
included udevd wants files

Or this one
Thierry Vignaud 2019-06-03 08:14:49 CEST

Keywords: (none) => PATCH

Comment 19 Thierry Vignaud 2019-06-07 09:50:46 CEST
No one tested?
Comment 20 Martin Whitaker 2019-06-15 00:23:01 CEST
Created attachment 11094 [details]
Patch to rescue system to start udevd

This one works. I'm not certain we need the udev/hwdb.d files, but better to have something we don't need than miss something we do need.

Attachment 11052 is obsolete: 0 => 1
Attachment 11053 is obsolete: 0 => 1

Comment 21 Thierry Vignaud 2019-06-20 16:20:59 CEST
Released

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