[SOLVED] mga7: kernel panic after new installation

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] mga7: kernel panic after new installation

Postby magfan » Jul 3rd, '19, 11:00

I installed mga7 on a HP zBook G3 with Intel chip and Nvidia graphics card. While this was working with mga6 this I ended up with a kernel panic after reboot. Just to make it clear: I did not an upgrade of mga6 but a completley new installation. Any idea what I could try?
Attachments
IMG_20190703_102230_01.jpg
IMG_20190703_102230_01.jpg (2.54 MiB) Viewed 853 times
Last edited by magfan on Jul 11th, '19, 12:52, edited 1 time in total.
magfan
 
Posts: 334
Joined: Apr 3rd, '12, 12:33

Re: mga7: kernel panic after new installation

Postby martinw » Jul 4th, '19, 09:45

Try adding the option
Code: Select all
nouveau.runpm=0

to the boot command line, to see if that works around the bug.
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

Re: mga7: kernel panic after new installation

Postby magfan » Jul 11th, '19, 12:52

Well, after all I found two possibilities to solve this problem. The first and easiest solution was to set the graphics output in the BIOS to "discrete". In this case I could configure and use the laptop like any other system with only one graphic card. But not every BIOS offers this option.

The second solution was more complicated because the option "nouveau.runpm=0" alone did not solve the problem. I had to do the following:

0. Leave the BIOS untouched (graphics output = "auto").

1. Install Mageia 7 from DVD.

2. At the end of installation just reboot the system.

3. Start into rescue mode and enter the root password when asked for it.

4. Start mcc and configure the nvidia card. During this step all required nvidia drivers will be installed.

5. Add "nouveau.modeset=0 nouveau.runpm=0" to the boot command line in "/etc/default/grub".

6. Run "update-grub2"

7. Create a blacklist file "/etc/modprobe.d/blacklist-nouveau.conf" with the following two lines:

Code: Select all
blacklist nouveau
options nouveau modeset=0


8. Run "dracut -f"

9. Reboot the system.

10. Mageia will complain that the loaded driver does not match the graphics card but it will start correctly once you click on OK.

11. Login

12. Start mcc and configure the intel chip.

13. Make sure that "/etc/X11/xorg.conf" does not contain "nouveau". If it does change it to "nvidia"

14. Install mageia-prime.

15. Now you can run "mageia-prime-install" to switch to nvidia and "mageia-prime-uninstall" to switch back to intel. Both commands should be used without any options:

'-g' you do not need because you already added 'nouveau.modeset=0' to the boot command line in step 5.
'-b' you do not need because you definitely want the nouveau driver being blacklisted
'-z' zapping the x-server currently does not work due to a bug [https://bugs.mageia.org/show_bug.cgi?id=25101]
magfan
 
Posts: 334
Joined: Apr 3rd, '12, 12:33


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron