LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-24-2016, 05:41 AM   #1
GeBruns
LQ Newbie
 
Registered: Jan 2010
Location: Northern Germany
Posts: 7

Rep: Reputation: 0
First boot was OK but second boot ends with errors


I've got a problem with Slackware 14.2 on my new hardware:

- ASUS Z170-A mainboard with newest BIOS
- Intel Core i7-6700K
- 32 GB DDR4-RAM
- Samsung SSD 850 Pro

Before installation I disabled UEFI and Secure Boot. I could install Slackware without problems and I could boot the installation at first but the second boot ended up with a couple of error messages. They run quickly over the screen and I could only read one of them:

...[drm:gen8_irq_handler [i915]] *ERROR* Fault errors on pipe A

Then, I deleted the GPT partition table and re-installed Slackware. And again, at first I could boot it successfully but at the second boot I got those errors.

Next, I enabled UEFI and installed Slackware as described in the README_UEFI.TXT file. And now at the first boot I got the errors mentioned above.
 
Old 07-24-2016, 06:30 AM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
Hi, welcome to LQ!

When UEFI was enabled did you make it sure that Secure Boot was turned Off?
 
Old 07-24-2016, 07:21 AM   #3
laprjns
Member
 
Registered: Oct 2005
Location: Connecticut USA
Distribution: SalixOS
Posts: 206

Rep: Reputation: 108Reputation: 108
Did you try Installing with UEFI enabled?
 
Old 07-24-2016, 08:28 AM   #4
GeBruns
LQ Newbie
 
Registered: Jan 2010
Location: Northern Germany
Posts: 7

Original Poster
Rep: Reputation: 0
malekmustaq, you're right. In order to disable Secure Boot I looked for a description on the web. I found one which says that I should just delete the PK Management key within the Secure Boot section and leave everything else untouched. Afterwards I rebooted and checked the configuration for Secure Boot. But I don't remember the value displayed for the Secure Boot sate (Disabled, Enabled or something else).

Now, after your hint I checked it again: Secure Boot was enabled.

I deleted all Secure Boot Keys and did a new install. When starting cgdisk for partitioning I got a warning: "Non-GPT or damaged disk detected! ..." After partitioning I checked it with gdisk and got no error. I went on to install Slackware. And at the first boot I got those errors again (see above).

Next, I checked the Secure Boot settings again:
Secure Boot state: Disabled
Platform Key (PK) state: Unloaded
OS Type: Other OS
(UEFI was enabled, of course.)

I did another install with UEFI (and Secure Boot) disabled. But at the first boot I got those errors again (see above).
 
Old 07-24-2016, 12:26 PM   #5
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
I'd suggest booting with Slackware Live CD or at least some Live distro to scan logs for the full error picture. Since Slackware tends to NOT auto add things to the kernel load process it seems quite odd that it would boot OK once and only after generate any serious errors. That said, unless you have drives exceeding 2.2TB (yes that is a "T") or require many primary partitions** there is no perceivable value to most users in using UEFI/GPT and MBR is far less finicky and troublesome. Maybe consider "Legacy".

**NOTE - single systems using MBR have successfully installed 25 operating systems on the same machine so "many" really does mean "many"

Last edited by enorbet; 07-24-2016 at 12:27 PM.
 
Old 07-24-2016, 01:59 PM   #6
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
I am new to this EFL stuff. Slackware installed with elilo. Elilo in combination with refind worked great for me. I managed to dual boot with Windows 10 without changing anything in bios. I just used bios to boot from my slackware dvd as I troubleshooted trying to understand what was going on. I guess I don't have secure boot?! I had to reinstall windows 10 boot in my efi partition using the windows 10 dvd command prompt. I used the refind found in slackbuilds and it picks up and manages the operating systems automatically and perfectly. I used efibootmanager to change the order of booting to refind and everything works great. I don't know if this helps at all but this is my own experience with EFL.

Last edited by RadicalDreamer; 07-24-2016 at 02:00 PM.
 
Old 07-24-2016, 03:18 PM   #7
GeBruns
LQ Newbie
 
Registered: Jan 2010
Location: Northern Germany
Posts: 7

Original Poster
Rep: Reputation: 0
I've booted with Slackware64 Live v1.1.2 (actual -current). My mainboard is equipped with an Intel onboard graphics. I connected it to a monitor while a second monitor was connected to an AMD graphics card (Radeon R9 270). This second monitor became black (sleep mode) but the first one (Intel) displayed lots of vertical lines in all colors. Unfortunately, I couldn't switch to a text console.

Meanwhile, I could install Debian (using the live version 8.5.0 + non-free firmware). I disabled UEFI. So, now I've got some log files from Debian.

How can I find the relevant infos to find out what Slackware needs?
 
Old 07-24-2016, 03:40 PM   #8
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
Did you run xorgsetup? Do you have the x86_64 drivers for them installed? dmesg maybe?
 
Old 07-24-2016, 03:54 PM   #9
GeBruns
LQ Newbie
 
Registered: Jan 2010
Location: Northern Germany
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by RadicalDreamer View Post
Did you run xorgsetup? Do you have the x86_64 drivers for them installed? dmesg maybe?
No, I didn't run xorgsetup. I just did a default/full Slackware install and rebooted. After the first (successfully boot) I've started X with 'startx' and KDE came up.
 
Old 07-24-2016, 05:55 PM   #10
slac-in-the-box
Member
 
Registered: Mar 2010
Location: oregon
Distribution: slackware64-15.0 / slarm64-current
Posts: 780
Blog Entries: 1

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
Perhaps you could use smartctl to test your drive.
 
Old 07-26-2016, 05:36 PM   #11
GeBruns
LQ Newbie
 
Registered: Jan 2010
Location: Northern Germany
Posts: 7

Original Poster
Rep: Reputation: 0
I may have done two dozens of installations on my machine with different combinations of hardware and BIOS settings (UEFI and Legacy). I tried not just my SSD but a conventional hard drive too. Both work fine with other distros in combination with that mainboard. So, they are not defective. I tried to alter the UEFI configuration (using the UEFI shell) as described at the end of the README_UEFI.TXT. Nothing helps.

The errors do occur at the first or second boot after installation at about seven seconds boot time (according to onscreen time counter).

And I made a custom USB boot stick (as offered during installation). Once again, at first I could boot from that stick but the second boot fails with the same errors.
 
Old 08-04-2016, 05:25 AM   #12
GeBruns
LQ Newbie
 
Registered: Jan 2010
Location: Northern Germany
Posts: 7

Original Poster
Rep: Reputation: 0
Would a newer kernel help with this issue?
Would it be possible to install Slackware 14.2 stable as usual but install a newer kernel before first boot?
 
Old 08-04-2016, 05:53 AM   #13
Toutatis
Member
 
Registered: Feb 2013
Posts: 412

Rep: Reputation: Disabled
I have the same motherboard (Z170-A pro) and could install successfully slackware using legacy. But I used MBR on the SSD I boot from. On another HDD I use GPT without any problem.
 
Old 08-06-2016, 03:00 PM   #14
GeBruns
LQ Newbie
 
Registered: Jan 2010
Location: Northern Germany
Posts: 7

Original Poster
Rep: Reputation: 0
I found the answer:
I simply had to disable the onboard graphics (Intel).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dell XPS 8700 Boot failure: How can I read boot messages (including errors) later? basskleff Linux - Software 2 12-22-2013 11:38 AM
[SOLVED] Slackware boot using kernel 3.2.45 ends up in black screen r41d3n Linux - Kernel 8 05-25-2013 07:38 PM
Odd boot errors after installing a new kernel. Slows boot process Alpha90 Linux - Software 2 10-07-2012 06:55 AM
Multiple intermittent boot errors on a Fedora 9 / Windows XP dual boot system RichyAD Linux - General 4 09-15-2008 03:32 PM
Mandrake 9.2 secure boot ends with black screen twbutler Mandriva 15 06-25-2004 05:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration