Page 1 of 1

[SOLVED] Unable to boot after upgrade from M4 to M5

PostPosted: Jun 20th, '15, 18:51
by Lucidor
I did a command line upgrade from Mageia 4 to 5 which seemingly went well, but after reboot I got stuck with the following message:

"Started Update UTMP about System Runlevel Changes."

And there is sits forever. Any hints and tips are most welcome.

Cheers,
L

Re: Unable to boot after upgrade from M4 to M5

PostPosted: Jun 20th, '15, 19:55
by doktor5000
What happens if you select failsafe mode from boot menu?

Re: Unable to boot after upgrade from M4 to M5

PostPosted: Jun 20th, '15, 20:11
by jkerr82508
I had the same experience. I switched to booting to runlevel 3 and executing startx. When I get time I'll try to investigate further.

Jim

Re: Unable to boot after upgrade from M4 to M5

PostPosted: Jun 20th, '15, 20:27
by doktor5000
I think the last line that appears is the last one that completed, it would block for the next one (which is sadly not shown).

Although on my installation I don't have that line in my boot log, so can't tell what the next item would be ...
Code: Select all
┌─[doktor5000@Mageia5]─[20:26:02]─[~]
└──╼ grep -A5 -i utmp /var/log/boot.log
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Save boot dmesg content.
[  OK  ] Started Tell Plymouth To Write Out Runtime Data.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Reached target System Initialization.
[  OK  ] Reached target Paths.
[  OK  ] Listening on Name Service Cache Daemon Socket.

Re: Unable to boot after upgrade from M4 to M5

PostPosted: Jun 20th, '15, 20:58
by Lucidor
In failsafe it stops at:

bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
ip_set: protocol 6
netfilter PSD loaded - (c) astaro AG
IFWLOG: register target

And then it halts.

Re: Unable to boot after upgrade from M4 to M5

PostPosted: Jun 20th, '15, 21:03
by Lucidor
I forgot to mention that in normal boot mode, a few lines above the "Started Update UTMP..." line, I get the following error:

Failed to start Shorewall IPv6 firewall.

Re: Unable to boot after upgrade from M4 to M5

PostPosted: Jun 20th, '15, 21:43
by jkerr82508
FWIW - I don't use shorewall and failsafe booted normally for me. I was able to login as root.

Jim

Re: Unable to boot after upgrade from M4 to M5

PostPosted: Jun 21st, '15, 15:36
by doktor5000
There are a few more things to try

- append init=/bin/sh to the kernel boot options to see if that gets you to a shell
- append systemd.unit=debug-shell.service to kernel boot options to enable an early debug shell
- enable sort of interactive boot via appending systemd.confirm_spawn=true to the kernel boot options
- if you know which unit causes the issue, you can supress loading that via appending systemd.mask=shorewall.service
- append
Code: Select all
systemd.log_level=debug systemd.log_target=kmsg log_buf_len=1M
to the kernel boot options to see if that gets more verbose output why it hangs
( for more systemd boot options and some explanations on those see the bottom half of https://fedoraproject.org/wiki/How_to_d ... d_problems and http://www.freedesktop.org/software/sys ... -line.html )

Re: Unable to boot after upgrade from M4 to M5

PostPosted: Jun 22nd, '15, 03:28
by Mike45667
I had the same problem. My solution is change video to Xorg/Vesa for the first boot. I use "mmc" from comand-line for it. After booting change video-driver to normal.

Re: Unable to boot after upgrade from M4 to M5

PostPosted: Jun 22nd, '15, 06:43
by Lucidor
Thanks doktor, my comments in blue below.

doktor5000 wrote:There are a few more things to try

- append init=/bin/sh to the kernel boot options to see if that gets you to a shell
sh: cannot set terminal group (-1): Inapporopriate ioctl for device
sh: no job control in this shell
sh-4.3#

- append systemd.unit=debug-shell.service to kernel boot options to enable an early debug shell
It locks showing the splash screen and I'm unable to exit to command line using Esc

- enable sort of interactive boot via appending systemd.confirm_spawn=true to the kernel boot options
Same as above

- if you know which unit causes the issue, you can supress loading that via appending systemd.mask=shorewall.service
No change from original error, including the shorewall warning message

- append
Code: Select all
systemd.log_level=debug systemd.log_target=kmsg log_buf_len=1M
to the kernel boot options to see if that gets more verbose output why it hangs
( for more systemd boot options and some explanations on those see the bottom half of https://fedoraproject.org/wiki/How_to_d ... d_problems and http://www.freedesktop.org/software/sys ... -line.html )


I did notice that when it hangs, I am able to switch to another console (Ctrl-F3) and log in as root. Not sure what to do next though, but I appreciate your help.

Re: Unable to boot after upgrade from M4 to M5

PostPosted: Jun 22nd, '15, 06:45
by Lucidor
Mike45667 wrote:I had the same problem. My solution is change video to Xorg/Vesa for the first boot. I use "mmc" from comand-line for it. After booting change video-driver to normal.


Mike, that is great news. Can I ask you for some more details so that I may be able to repeat what you did?

Re: Unable to boot after upgrade from M4 to M5

PostPosted: Jun 22nd, '15, 07:08
by doktor5000
To change the video driver, run drakx11 as root and select a different driver.

To see why the boot hangs, best run
Code: Select all
journalctl -ab > journal.log
systemctl --all > systemctl.log

and attach both files here.

Re: Unable to boot after upgrade from M4 to M5

PostPosted: Jun 22nd, '15, 12:45
by Mike45667
Lucidor wrote:
Mike45667 wrote:I had the same problem. My solution is change video to Xorg/Vesa for the first boot. I use "mmc" from comand-line for it. After booting change video-driver to normal.


Mike, that is great news. Can I ask you for some more details so that I may be able to repeat what you did?


Of couse. Switch to console and login as root. Type "mcc" to run "Mageia Control Center" in text-mode. Find video settings and change video to Xorg/Vesa(it's easy). Reboot.
My system is loading well after this. I run Mageia Control Center again (in graphic-mode) select my videocard and reinstall drivers. Reboot and enjoy))

P.S. Mageia 5 is very good for me.

Re: Unable to boot after upgrade from M4 to M5

PostPosted: Jun 22nd, '15, 17:12
by Lucidor
The problem is solved. I followed Mike's advice and changed the graphics driver to Xorg/Vesa and the system booted. I then reistalled the NVidia driver and everything works like a charm.

Thanks!

Re: [SOLVED] Unable to boot after upgrade from M4 to M5

PostPosted: Jun 22nd, '15, 20:30
by doktor5000
If you mind, can you please post the output of
Code: Select all
lspcidrake -v
for completeness sake?

Re: [SOLVED] Unable to boot after upgrade from M4 to M5

PostPosted: Jun 22nd, '15, 20:39
by Lucidor
The output from lspcidrake -v (after the fix):

Code: Select all
[ivan@localhost ~]$ lspcidrake -v
firewire_ohci   : Texas Instruments|TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link) [SERIAL_FIREWIRE] (vendor:104c device:8024 subv:1458 subd:1000)
unknown         : Intel Corporation|Xeon 5500/Core i7 Integrated Memory Controller Channel 2 Thermal Control Registers [BRIDGE_HOST] (vendor:8086 device:2c33 subv:1458 subd:5000) (rev: 04)
unknown         : Intel Corporation|Xeon 5500/Core i7 Integrated Memory Controller Channel 2 Rank Registers [BRIDGE_HOST] (vendor:8086 device:2c32 subv:1458 subd:5000) (rev: 04)
unknown         : Intel Corporation|Xeon 5500/Core i7 Integrated Memory Controller Channel 2 Address Registers [BRIDGE_HOST] (vendor:8086 device:2c31 subv:1458 subd:5000) (rev: 04)
unknown         : Intel Corporation|Xeon 5500/Core i7 Integrated Memory Controller Channel 2 Control Registers [BRIDGE_HOST] (vendor:8086 device:2c30 subv:1458 subd:5000) (rev: 04)
unknown         : Intel Corporation|Xeon 5500/Core i7 Integrated Memory Controller Channel 1 Thermal Control Registers [BRIDGE_HOST] (vendor:8086 device:2c2b subv:1458 subd:5000) (rev: 04)
unknown         : Intel Corporation|Xeon 5500/Core i7 Integrated Memory Controller Channel 1 Rank Registers [BRIDGE_HOST] (vendor:8086 device:2c2a subv:1458 subd:5000) (rev: 04)
unknown         : Intel Corporation|Xeon 5500/Core i7 Integrated Memory Controller Channel 1 Address Registers [BRIDGE_HOST] (vendor:8086 device:2c29 subv:1458 subd:5000) (rev: 04)
unknown         : Intel Corporation|Xeon 5500/Core i7 Integrated Memory Controller Channel 1 Control Registers [BRIDGE_HOST] (vendor:8086 device:2c28 subv:1458 subd:5000) (rev: 04)
unknown         : Intel Corporation|Xeon 5500/Core i7 Integrated Memory Controller Channel 0 Thermal Control Registers [BRIDGE_HOST] (vendor:8086 device:2c23 subv:1458 subd:5000) (rev: 04)
unknown         : Intel Corporation|Xeon 5500/Core i7 Integrated Memory Controller Channel 0 Rank Registers [BRIDGE_HOST] (vendor:8086 device:2c22 subv:1458 subd:5000) (rev: 04)
unknown         : Intel Corporation|Xeon 5500/Core i7 Integrated Memory Controller Channel 0 Address Registers [BRIDGE_HOST] (vendor:8086 device:2c21 subv:1458 subd:5000) (rev: 04)
unknown         : Intel Corporation|Xeon 5500/Core i7 Integrated Memory Controller Channel 0 Control Registers [BRIDGE_HOST] (vendor:8086 device:2c20 subv:1458 subd:5000) (rev: 04)
unknown         : Intel Corporation|Xeon 5500/Core i7 Integrated Memory Controller Test Registers [BRIDGE_HOST] (vendor:8086 device:2c1c subv:1458 subd:5000) (rev: 04)
unknown         : Intel Corporation|Xeon 5500/Core i7 Integrated Memory Controller Target Address Decoder [BRIDGE_HOST] (vendor:8086 device:2c19 subv:1458 subd:5000) (rev: 04)
unknown         : Intel Corporation|Xeon 5500/Core i7 Integrated Memory Controller [BRIDGE_HOST] (vendor:8086 device:2c18 subv:1458 subd:5000) (rev: 04)
unknown         : Intel Corporation|Xeon 5500/Core i7 QPI Physical 0 [BRIDGE_HOST] (vendor:8086 device:2c11 subv:1458 subd:5000) (rev: 04)
unknown         : Intel Corporation|Xeon 5500/Core i7 QPI Link 0 [BRIDGE_HOST] (vendor:8086 device:2c10 subv:1458 subd:5000) (rev: 04)
unknown         : Intel Corporation|Xeon 5500/Core i7 QuickPath Architecture System Address Decoder [BRIDGE_HOST] (vendor:8086 device:2c01 subv:1458 subd:5000) (rev: 04)
unknown         : Intel Corporation|Xeon 5500/Core i7 QuickPath Architecture Generic Non-Core Registers [BRIDGE_HOST] (vendor:8086 device:2c41 subv:1458 subd:5000) (rev: 04)
r8169           : Realtek Semiconductor Co., Ltd.|RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [NETWORK_ETHERNET] (vendor:10ec device:8168 subv:1458 subd:e000) (rev: 03)
r8169           : Realtek Semiconductor Co., Ltd.|RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [NETWORK_ETHERNET] (vendor:10ec device:8168 subv:1458 subd:e000) (rev: 03)
pata_jmicron    : JMicron Technology Corp.|JMB363 SATA/IDE Controller [STORAGE_IDE] (vendor:197b device:2363 subv:1458 subd:b000) (rev: 02)
unknown         : JMicron Technology Corp.|JMB363 SATA/IDE Controller [STORAGE_SATA] (vendor:197b device:2363 subv:1458 subd:b000) (rev: 02)
Card:NVIDIA GeForce 8100 to GeForce 415: NVIDIA Corporation|G92 [GeForce 9800 GTX+] [DISPLAY_VGA] (vendor:10de device:0613 subv:10b0 subd:0801) (rev: a2)
ata_piix        : Intel Corporation|82801JI (ICH10 Family) 2 port SATA IDE Controller #2 [STORAGE_IDE] (vendor:8086 device:3a26 subv:1458 subd:b002)
i2c_i801        : Intel Corporation|82801JI (ICH10 Family) SMBus Controller [SERIAL_SMBUS] (vendor:8086 device:3a30 subv:1458 subd:5001)
ata_piix        : Intel Corporation|82801JI (ICH10 Family) 4 port SATA IDE Controller #1 [STORAGE_IDE] (vendor:8086 device:3a20 subv:1458 subd:b002)
lpc_ich         : Intel Corporation|82801JIR (ICH10R) LPC Interface Controller [BRIDGE_ISA] (vendor:8086 device:3a16 subv:1458 subd:5001)
unknown         : Intel Corporation|82801 PCI Bridge [BRIDGE_PCI] (vendor:8086 device:244e) (rev: 90)
ehci_pci        : Intel Corporation|82801JI (ICH10 Family) USB2 EHCI Controller #1 [SERIAL_USB] (vendor:8086 device:3a3a subv:1458 subd:5006)
uhci_hcd        : Intel Corporation|82801JI (ICH10 Family) USB UHCI Controller #3 [SERIAL_USB] (vendor:8086 device:3a36 subv:1458 subd:5004)
uhci_hcd        : Intel Corporation|82801JI (ICH10 Family) USB UHCI Controller #2 [SERIAL_USB] (vendor:8086 device:3a35 subv:1458 subd:5004)
uhci_hcd        : Intel Corporation|82801JI (ICH10 Family) USB UHCI Controller #1 [SERIAL_USB] (vendor:8086 device:3a34 subv:1458 subd:5004)
shpchp          : Intel Corporation|82801JI (ICH10 Family) PCI Express Root Port 6 [BRIDGE_PCI] (vendor:8086 device:3a4a)
shpchp          : Intel Corporation|82801JI (ICH10 Family) PCI Express Root Port 5 [BRIDGE_PCI] (vendor:8086 device:3a48)
shpchp          : Intel Corporation|82801JI (ICH10 Family) PCI Express Port 2 [BRIDGE_PCI] (vendor:8086 device:3a42)
shpchp          : Intel Corporation|82801JI (ICH10 Family) PCI Express Root Port 1 [BRIDGE_PCI] (vendor:8086 device:3a40)
snd_hda_intel   : Intel Corporation|82801JI (ICH10 Family) HD Audio Controller [MULTIMEDIA_AUDIO_DEV] (vendor:8086 device:3a3e subv:1458 subd:a102)
ehci_pci        : Intel Corporation|82801JI (ICH10 Family) USB2 EHCI Controller #2 [SERIAL_USB] (vendor:8086 device:3a3c subv:1458 subd:5006)
uhci_hcd        : Intel Corporation|82801JI (ICH10 Family) USB UHCI Controller #6 [SERIAL_USB] (vendor:8086 device:3a39 subv:1458 subd:5004)
uhci_hcd        : Intel Corporation|82801JI (ICH10 Family) USB UHCI Controller #5 [SERIAL_USB] (vendor:8086 device:3a38 subv:1458 subd:5004)
uhci_hcd        : Intel Corporation|82801JI (ICH10 Family) USB UHCI Controller #4 [SERIAL_USB] (vendor:8086 device:3a37 subv:1458 subd:5004)
unknown         : Intel Corporation|7500/5520/5500/X58 Trusted Execution Technology Registers [SYSTEM_PIC] (vendor:8086 device:342f) (rev: 12)
unknown         : Intel Corporation|7500/5520/5500/X58 I/O Hub Control Status and RAS Registers [SYSTEM_PIC] (vendor:8086 device:3423) (rev: 12)
unknown         : Intel Corporation|7500/5520/5500/X58 I/O Hub GPIO and Scratch Pad Registers [SYSTEM_PIC] (vendor:8086 device:3422) (rev: 12)
i7core_edac     : Intel Corporation|7500/5520/5500/X58 I/O Hub System Management Registers [SYSTEM_PIC] (vendor:8086 device:342e) (rev: 12)
unknown         : Intel Corporation|7500/5520/5500/X58 I/O Hub I/OxAPIC Interrupt Controller [SYSTEM_PIC] (vendor:8086 device:342d) (rev: 12)
unknown         : Intel Corporation|7500/5520/5500 Routing & Protocol Layer Register Port 1 [SYSTEM_PIC] (vendor:8086 device:3428) (rev: 12)
unknown         : Intel Corporation|7500/5520/5500 Physical and Link Layer Registers Port 1 [SYSTEM_PIC] (vendor:8086 device:3427) (rev: 12)
unknown         : Intel Corporation|7500/5520/5500/X58 Routing and Protocol Layer Registers Port 0 [SYSTEM_PIC] (vendor:8086 device:3426) (rev: 12)
unknown         : Intel Corporation|7500/5520/5500/X58 Physical and Link Layer Registers Port 0 [SYSTEM_PIC] (vendor:8086 device:3425) (rev: 12)
shpchp          : Intel Corporation|7500/5520/5500/X58 I/O Hub PCI Express Root Port 9 [BRIDGE_PCI] (vendor:8086 device:3410) (rev: 12)
shpchp          : Intel Corporation|5520/5500/X58 I/O Hub PCI Express Root Port 7 [BRIDGE_PCI] (vendor:8086 device:340e) (rev: 12)
shpchp          : Intel Corporation|5520/X58 I/O Hub PCI Express Root Port 5 [BRIDGE_PCI] (vendor:8086 device:340c) (rev: 12)
shpchp          : Intel Corporation|5520/5500/X58 I/O Hub PCI Express Root Port 3 [BRIDGE_PCI] (vendor:8086 device:340a) (rev: 12)
shpchp          : Intel Corporation|5520/5500/X58 I/O Hub PCI Express Root Port 1 [BRIDGE_PCI] (vendor:8086 device:3408) (rev: 12)
unknown         : Intel Corporation|5520/5500/X58 I/O Hub to ESI Port [BRIDGE_HOST] (vendor:8086 device:3405 subv:1458 subd:5000) (rev: 12)
hub             : Linux 3.19.8-desktop-3.mga5 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
hub             : Linux 3.19.8-desktop-3.mga5 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
hub             : Linux 3.19.8-desktop-3.mga5 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
hub             : Linux 3.19.8-desktop-3.mga5 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
hub             : Linux 3.19.8-desktop-3.mga5 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
usbhid          : Logitech|USB Keyboard [Human Interface Device|Boot Interface Subclass|Keyboard] (vendor:046d device:c31c)
usbhid          : Logitech|USB Optical Mouse [Human Interface Device|Boot Interface Subclass|Mouse] (vendor:046d device:c05a)
hub             : Linux 3.19.8-desktop-3.mga5 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
hub             : Linux 3.19.8-desktop-3.mga5 ehci_hcd|EHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)
hub             : Linux 3.19.8-desktop-3.mga5 ehci_hcd|EHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)
snd_usb_audio   : Logitech, Inc.|HD Webcam C525 [Audio|Control Device] (vendor:046d device:0826)
hid_generic     : Logitech USB Optical Mouse
hid_generic     : Logitech USB Keyboard
hid_generic     : Logitech USB Keyboard
[ivan@localhost ~]$

Re: [SOLVED] Unable to boot after upgrade from M4 to M5

PostPosted: Jun 22nd, '15, 20:55
by doktor5000
Hmmm, also the second-to-last nvidia driver for the generation below the current models.
Saw someone else who had issues to install the driver within the installer. In installed system later on it worked fine.

Thanks for the feedback.

Re: [SOLVED] Unable to boot after upgrade from M4 to M5

PostPosted: Jun 24th, '15, 05:52
by daniewicz
I had the same problem. My solution is change video to Xorg/Vesa for the first boot. I use "mmc" from comand-line for it. After booting change video-driver to normal.


Same for me as well.

Re: [SOLVED] Unable to boot after upgrade from M4 to M5

PostPosted: Jun 24th, '15, 21:27
by doktor5000
Your card is also in the range NVIDIA GeForce 8100 to GeForce 415 ?

Re: [SOLVED] Unable to boot after upgrade from M4 to M5

PostPosted: Jun 25th, '15, 00:38
by jkerr82508
Just to follow-up on my report that I had the same problem as the OP. I have determined that I did not. My problem was that systemd was choking on my rc.local file. I've modified my set up and eliminated the need for that file. Without it, graphical boot is working perfectly for me.

Jim

Re: [SOLVED] Unable to boot after upgrade from M4 to M5

PostPosted: Jun 25th, '15, 02:23
by daniewicz
Your card is also in the range NVIDIA GeForce 8100 to GeForce 415 ?


GeForce 8800 GT

Re: [SOLVED] Unable to boot after upgrade from M4 to M5

PostPosted: Jun 25th, '15, 21:01
by doktor5000
So the same driver, that's three people so far.

Re: [SOLVED] Unable to boot after upgrade from M4 to M5

PostPosted: Jun 29th, '15, 00:27
by mla
Make it four people. Same trouble, same driver. I had all sorts of fun. Just switching to xorg/vesa didn't help. Had to remove the nvidia driver altogether and then reinstall it. That worked fine on at least one reboot, but on the first boot the next day I was presented with a starry sky and Mageia logo in the bottom right corner -- and that was that, espite trying again! Fortunately I spotted on the way to that state a quater of the Nvidia logo flashing briefly in the bottom right corner, instead of in the center of the screen. So making a wild guess, I forced the correct resolution of my screen, and that finally did the trick.

Re: [SOLVED] Unable to boot after upgrade from M4 to M5

PostPosted: Jul 5th, '15, 12:02
by alopez
Five here. In my case I removed the nvidia-current package for the command line and installed the new nvidia340, as recommended by the Release Notes.

https://wiki.mageia.org/en/Mageia_5_Rel ... ia_drivers