LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 08-24-2018, 10:22 AM   #1
nuts0
LQ Newbie
 
Registered: Aug 2018
Distribution: Linux From Scratch
Posts: 3

Rep: Reputation: 0
linux wont boot instead the screen flickers.


Hello, i have problems making my linux bootable within grub2.I followed the development lfs book with the lfs uefi hint(i386-efi).I deviated on the kernel version instead of 4.18.1, i used 3.16.57 i need a kernel under the version 3.18 because some drivers i use doesn't support newer kernels specifically (Realtek HD audio driver) if there are any workarounds here to use them on newer kernels that would help me too.

Here's a screen of the screen when i select the menuentry i use a generated grub-mkconfig grub.cfg flickering:
https://imgur.com/a/BVZqNzc

as of versions i use efibootmgr16,efivar-36 and dosfstools 4.1.
my System can't use efibootmgr -c functions.
it's disabled for some reason can't even add new boot options in bios but i'm able to delete entries.

Thanks in advance!
 
Old 08-25-2018, 02:48 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,141

Rep: Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307
I find the firsty paragraph hard to swallow. Is there no driver now for the Realtek HD Soundcard, or have we a museum piece here? I'm sure with a 3.x kernel you'll miss out on the spectre & meltdown mitigations.

On the Picture, Do I detect a bar compromising the bottom & top blank lines there, or is it coincidence? Either way it's pretty drastic. Your graphics are in a mess. What does /var/log/Xorg.0.log say about video? Don't post the log - read it and tell us, and give a few snippets

You only gave us information on your efi status, and your kernel version, and then complained about graphics. What's your graphics card, & drivers?

On the efi entries, uefi & grub2 only like gpt disks. If you have formatted with fdisk, that could be an issue. If a gpt disk goes into this box, it presumes uefi. To get 'Legacy' mode here I have to set it in the bios AND put in a disk formatted mbr with fdisk. Are you gpt/mbr?
 
Old 08-26-2018, 09:13 AM   #3
nuts0
LQ Newbie
 
Registered: Aug 2018
Distribution: Linux From Scratch
Posts: 3

Original Poster
Rep: Reputation: 0
I don't have Xorg this happens on the vmlinuz-image startup.

grub errors.
Code:
error: invalid font file: missing some required data.
error: no suitable video mode found.
as of sounds i tried the alsa-utils package on arch and it found a device but it's not producing any sound.

the output of arecord -l
Quote:
card 0: chtrt5645 [chrt5645], device 0: Audio(*) []
Sub-devices: 1/1
Sub-device #0: subdevice #0
i tried building oss but i get a compile error ossdetect.c undefined reference makedev...

My laptop: MEDION-Akoya S2218 MD 99599-1.0-S2218

heres a list of my hardware(lspci):
Quote:
Host bridge: Intel Corporation Atom Processor 236xxx/237xxx Series SoC Transaction Register (rev 0f)
VGA compatible controller:Atom Processor 236xxx/237xxx Series Graphics & Display
USB controller: Intel Corporation Atom Processor 236xxx/237xxx, Celron N2000 Series USB xHCI (rev 0f)
Encryption controller: Intel Corporation Atom Processor 236xxx/237xxx Series Trusted Execution Engine (rev 0f)
ISA bridge: Intel Corporation Atom Processor 236xxx/237xxx Series Power Control Unit (rev 0f)
this is the sound card driver my laptop should use:
http://www.realtek.com.tw/downloads/...&GetDown=false

I have formatted it with gpt partition tables and gdisk.

Last edited by nuts0; 08-27-2018 at 08:21 AM. Reason: typo fix
 
Old 08-26-2018, 02:56 PM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,141

Rep: Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307
I gather it's not a high-spec box then.
Grub font error can be ignored.
The 'no video mode' thing is more serious. I found out back in the day when I bought some of the crappiest hardware that ever existed trying to make a cheap box for my young kids. There's 16 video modes that everything rely on for basic graphics. These modes are common to all cards, (except mine - the SiS 6326), and perhaps yours. Add the boot parameter 'nomodeset' to the kernel boot line and see if that helps. I compiled my video driver into my kernel so it had modes. Drastic, but necessary.

Your link doesn't point to sound card drivers, but to audio codecs. Not quite the same thing. Other soundcards use Realtek codecs.

Frankly, I think you're wasting your time with OSS. Go retro if you want, but I presume there's an alsa driver, which means pulseaudio will handle it. I would search the alsa site. But you need real information on your soundcard. show the line from lspci on the soundcard
 
Old 08-27-2018, 06:17 AM   #5
nuts0
LQ Newbie
 
Registered: Aug 2018
Distribution: Linux From Scratch
Posts: 3

Original Poster
Rep: Reputation: 0
i got it working by compiling an older version of gcc it seems that the gcc version was the issue here i recompiled the kernel and it seems to work.Everything works including sounds
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Win8 wont boot or recover/ wont allow cd or usb boot of Linux/ can not reach bios Bhakta Neal Linux - Newbie 7 01-03-2013 03:17 AM
upgraded to kubuntu 11.4: screen flickers after full-screen openGL sonicboy Ubuntu 7 05-03-2011 09:31 PM
Gnome wont load on mandrake, the screen resolutions only flickers. TRON2 Linux - General 0 11-17-2003 05:31 PM
Screen Flickers after installing Linux pukhtoon101 Linux - Software 4 10-26-2003 04:31 PM
Screen Flickers after installing Linux pukhtoon101 Linux - General 1 10-26-2003 02:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 11:04 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