LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   linux wont boot instead the screen flickers. (https://www.linuxquestions.org/questions/linux-from-scratch-13/linux-wont-boot-instead-the-screen-flickers-4175637047/)

nuts0 08-24-2018 10:22 AM

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!

business_kid 08-25-2018 02:48 PM

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?

nuts0 08-26-2018 09:13 AM

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.

business_kid 08-26-2018 02:56 PM

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

nuts0 08-27-2018 06:17 AM

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 :hattip:


All times are GMT -5. The time now is 12:45 PM.