LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Where have my penguins gone? (https://www.linuxquestions.org/questions/slackware-14/where-have-my-penguins-gone-4175672061/)

hazel 03-27-2020 05:59 AM

Where have my penguins gone?
 
I switched to the Current kernel (5.4.24) to test out a program that was misbehaving (more info here if you're interested). I'm too lazy to go through all the palaver of switching back again. But I miss the four penguins that used to appear after the kernel had loaded.

What happened to them? Did Pat decide they were too frivolous?

cwizardone 03-27-2020 06:45 AM

I just rebooted to double check and they are still there.
:)

hazel 03-27-2020 06:48 AM

So where have mine gone? Apart from that everything seems to function normally.

Paulo2 03-27-2020 06:49 AM

I can see them here too. I'm running 5.4.28 now but they were there with 5.4.24 (IIRC).
Take a look at this, but it is old from 2018.
https://www.linuxquestions.org/quest...nd-4175644736/

Maybe it is something with the early video driver, they disappear with screen refresh.

cwizardone 03-27-2020 06:55 AM

@Paulo2,
Thanks for that. I had forgotten all about it, but, then, these days I'm lucky I remember my own name. :scratch:
:)

hazel 03-27-2020 06:58 AM

I've checked that Arch post and it doesn't seem to apply to me.
Quote:

Originally Posted by config-generic-5.4.25.x64
CONFIG_LOGO=y
#CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER is not set.

I must check next time what actually is the first thing that appears. It used to be the cpu penguins and then the names of the modules loaded from the initrd.

mrclisdue 03-27-2020 08:10 AM

Quote:

Originally Posted by hazel (Post 6104898)
...palaver...

I'm at the age (and mindset) that, try as I may, I don't learn something new everyday.

Today I did, thank you.

cheers,'

pchristy 03-27-2020 10:12 AM

Hazel: Are you running a recent UEFI machine and using ELILO? If so the problem may be related to this.

Some newer machines use 64-bit addressing for the efifb, and this can cause problems. Basically, it means you have no framebuffer until KMS kicks in.

Do:
Code:

dmesg | grep efifb
and see what you get.

If you get an error message (invalid address, or similar) you will need to switch to grub as a bootloader. Grub supports 64-bit efifb. elilo doesn't. I'm not sure what the position is with lilo, as all my UEFI machines use either elilo (for older graphics chips) or grub (for newer ones).

This bug can also cause the installer to hang if you are running recent Intel graphics. It took me a long time to find the cause! https://www.linuxquestions.org/quest...re-4175671086/

That link will show you how to get the installer to work. I've only just managed to get grub working the way I want on my laptop (Intel 620 graphics), so I'm not in a position to write up a "HowTo" on that! Slackware's grub implementation seems to be somewhat different to the way a Google search implies (no grub-update), but is otherwise not too bad to grapple with. Just different! ;)

--
Pete

hazel 03-27-2020 10:22 AM

That's very interesting but I do have a framebuffer.
Code:

# dmesg|grep efifb
[    0.603008] pci 0000:00:02.0: BAR 2: assigned to efifb
[    1.452864] efifb: probing for efifb
[    1.452886] efifb: framebuffer at 0xa0000000, using 3072k, total 3072k
[    1.452888] efifb: mode is 1024x768x32, linelength=4096, pages=1
[    1.452889] efifb: scrolling: redraw
[    1.452891] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0

If I didn't, presumably I wouldn't have seen any penguins with the old kernel either. This is an old machine btw. I'm neither a gamer nor a media fiend so I don't see why I should fork out money on new hardware with capacities that I don't need.

I haven't looked at the Slackware GRUB but, given the Slack philosophy, I'd be surprised if it came festooned with all those automated scripts that make GRUB so complicated in other distros.

pchristy 03-27-2020 10:31 AM

Ah! OK, if you have a framebuffer, its not the same problem then!

Usually, its the framebuffer that kicks in before kms that puts the penguins up. I wasn't getting any penguins or the first part of the boot messages. I only started seeing stuff when kms kicked in. And when trying to install, it froze solid as soon as the initrd had loaded - again, presumably due to the absence of a framebuffer.

Are you seeing the initial part of the boot screen? The messages where you would normally see the penguins? And does the resolution change once kms arrives? That may give you a clue.

Also I note you say you are using the -current kernel, but not -current? That may have something to do with it. It might be worth compiling the kernel yourself using the config from -current. -current has diverged a *long* way from 14.2 now, and you may be missing something that the -current kernel expects.

--
Pete

hazel 03-27-2020 10:35 AM

Or I could just go back to the old kernel. There's no longer any particular reason to use this one.

All the same, I do want to try and see if I can identify the first output from this kernel at boot.

pchristy 03-27-2020 10:40 AM

Yes, I lived without the penguins and initial boot screen on my laptop, because it still worked. But with Slackware-15 on the horizon, I wanted to get the installer to work, as I had to install via LiveSlack to get it on this laptop.

Once I discovered the problem and got it sorted, the current "self isolation" has given me the opportuntiy to play with grub and get it to work as I want on the offending laptop.

Its an ill-wind.....! ;)

--
Pete

hazel 03-28-2020 08:53 AM

I carefully checked my boot messages this morning. The first thing to come up was the modules loading from the initrd. That used to be the first thing that came up after the cpu count and display. So it's not a whole stash of stuff that has vanished, just the 4 penguins.

tramtrist 03-28-2020 09:15 AM

My penguins always disappear after i915 loads from initrd. If I re-compile i915 into the kernel with the framebuffer flag it loads all the way from boot til I start X.

Richard Cranium 03-28-2020 05:50 PM

Nobody responded with "Antarctica"?

andrew.46 03-28-2020 06:30 PM

In a '1st world problem' I can see my penguins on every boot but since I upgraded to a 16 core, 32 thread, CPU I do not see all of them; I have to imagine them trailing off into the empty space next to the monitor :(

gus3 03-29-2020 06:57 PM

Or "Madagascar"?

3rensho 06-28-2020 08:32 AM

Hazel, did you ever get your penguins back? I was just modifying my /etc/default/grub file (after Didier Spaier gave me the fix for something) and found this that I had annotated some time ago (my old memory is going) -

Code:

#
# Added to get penguins back. https://www.linuxquestions.org/questions/slackware-14/kernel-4-19-x-no-more-tux-in-boot-screen-and-led-blinking-on-suspend-4175644736/page2.html
#
GRUB_CMDLINE_LINUX_DEFAULT="fbcon=nodefer"

Not sure if it would help in your case but worth a look maybe.

hazel 06-28-2020 09:14 AM

No, I never got them back. And I just checked for an fbcon module and it isn't present. No mention of it in modules.builtin either. The only thing in the config file that seems relevant is CONFIG_DRM_VMWGFX_FBCON, which is on. I know there used to be an fbcon module in earlier kernels; I remember building it in LFS. I wonder if it still exists.

Maybe this is relevant:
Quote:

Originally Posted by kernel docs/latest/fb/fbcon
Unfortunately, if your bootline includes a vga=xxx parameter that sets the hardware in graphics mode, such as when loading vesafb, vgacon will not load. Instead, vgacon will replace the default boot console with dummycon, and you won’t get any display after detaching fbcon.

I've always put vga=normal on my command line. Is that no longer a good idea?

rkelsen 06-28-2020 02:43 PM

Where have my penguins gone?
 
That will stop the penguins from appearing.

Jeebizz 06-28-2020 05:32 PM

2 Attachment(s)
I mistakenly attributed the disappearance due to the nouveau driver - and when I installed the blacklist , my framebuffer and penguins would now remain - it is not the case on --Current as it always disappears after a certain point. Overall I never made a fuss about it, but since this thread I guess I will post what I see; and can confirm the penguins up and disappear:



fido_dogstoyevsky 06-28-2020 07:13 PM

Quote:

Originally Posted by Richard Cranium (Post 6105455)
Nobody responded with "Antarctica"?

That's because it's winter now, so most Antarctic penguins take the opportunity to migrate north to Australia. The driver isn't the cold in Antarctica, it's because the marine drop bears are dormant this time of year.

jr_bob_dobbs 06-28-2020 08:34 PM

I'm not sure if this helps or not, but I've always had the opposite situation of wanting to get rid of the penguins. Currently (Slackare 64, Current installed in March) I added "logo.nolog" to the "append" line in my lilo.conf. I don't see how one could *accidently* do that but what do I know?

p.s. Remember the Bugs Bunny cartoon where Bugs meets a lost penguin and then helps him get home?

pchristy 06-29-2020 02:43 AM

Quote:

Originally Posted by hazel (Post 6138896)
I've always put vga=normal on my command line. Is that no longer a good idea?

Most of my systems use an EFI bios these days, but on one older machine I've set vga=791 (1024x768x64K) and I get penguins on it. It currently uses a cheap Radeon gfx card, but also worked when I had an old NVidia card in it.

--
Pete

Jeebizz 06-29-2020 12:17 PM

Quote:

Originally Posted by Jeebizz (Post 6139027)
I mistakenly attributed the disappearance due to the nouveau driver - and when I installed the blacklist , my framebuffer and penguins would now remain - it is not the case on --Current as it always disappears after a certain point. Overall I never made a fuss about it, but since this thread I guess I will post what I see; and can confirm the penguins up and disappear:



To clarify - in 14.2 my actual machine - when I first installed Slackware nouveau was installed by default and at a certain point the same behavior would occur, I would have the penguins and then at one point the screen would refresh and the penguins would be gone; once I blacklisted the nouveau driver, that stopped and I had the penguins all the way through. I don't know why that is, and I do not know why in current that is no longer the case; then again Current is in a vm. *shrug*

pchristy 06-29-2020 12:29 PM

On all my machines, the penguins only appear for the initial part of boot. Once the proper graphics driver loads (rather than the frame buffer used for the initial part of boot), the penguins disappear.

--
Pete

Jeebizz 06-29-2020 12:39 PM

Quote:

Originally Posted by pchristy (Post 6139352)
On all my machines, the penguins only appear for the initial part of boot. Once the proper graphics driver loads (rather than the frame buffer used for the initial part of boot), the penguins disappear.

--
Pete

I am dumb so this is why I am asking - I thought the driver (graphics) itself is not at all loaded until xorg starts? At least that as what I thought since if you boot Slackware as is, you are not automatically placed in an xsession. If I am wrong and the driver is loaded prior even xorg is started (either automatically or startx) I'd like to have that clarified.

pchristy 06-29-2020 12:47 PM

I'm no expert here, but my understanding is that the vesa frame buffer is used initially, then at some point the graphics driver gets loaded by the kernel. X eventually *configures* it, but up to that point it just uses a default setting.

Certainly, the screen blanks momentarily at the point that the penguins disappear, and then comes back in a completely different resolution. This appears to be the point at which the graphics driver proper takes over from the vesa frame buffer.

However, I stand to be corrected! :)

--
Pete

hazel 06-29-2020 02:27 PM

Quote:

Originally Posted by Jeebizz (Post 6139356)
I am dumb so this is why I am asking - I thought the driver (graphics) itself is not at all loaded until xorg starts? At least that as what I thought since if you boot Slackware as is, you are not automatically placed in an xsession. If I am wrong and the driver is loaded prior even xorg is started (either automatically or startx) I'd like to have that clarified.

Graphics doesn't necessarily mean X. Yes, it's true that Slackware starts at a virtual console by default (though I believe you can easily configure it to use kdm for a graphical login), but the Linux kernel includes a thing called a framebuffer that can provide read-only graphics.

There are quite a few command line display programs that use framebuffer graphics.

hazel 06-30-2020 05:50 AM

To get back to my original beef, taking "vga=normal" off my kernel command line doesn't bring my penguins back. I get the impression that the earliest stage of the boot (before the first kernel messages appear)becomes a bit slower, but there is no other change.

pchristy 06-30-2020 05:55 AM

Have you tried setting "vga=791" or whatever is appropriate for your monitor? I'm not promising it will work, but its a simple tweak and worth a try!

--
Pete

hazel 06-30-2020 06:25 AM

How do I find out the correct mode number for my monitor? Remember I am hopeless with hardware!

pchristy 06-30-2020 06:39 AM

If you have the standard Slackware lilo.conf file, the different numbers show their associated resolution. Unless you are running a CRT, its not all that critical. Assuming you have a reasonably modern LCD, then 791 should be OK. It corresponds to 1024x768 resolution, and 64K colours. Any decent LCD should have no problem with 1024x768 (most LCDs these days are 1920x1080). I suspect that its the 3rd part that is your problem, as that defines the colour depth. I think the penguins require a certain colour depth to function.

If you want to be really cautious, you could try 787 (800x600x256) - even an old CRT should handle that - or 788 (800x600x32K). But I'm pretty sure that 791 (1024x768 and 64K colours) should be fine.

Its a long time since I used it, but I have a feeling that vga=normal sets the resolution to 640x480 and minimal (or maybe no) colour. I think its the latter bit that might be your problem.

But I'm only an amateur twiddler of these things! ;) (I'm a retired broadcast TV engineer, not a computer professional!).

--
Pete

Paulo2 06-30-2020 07:31 AM

Quote:

Originally Posted by hazel (Post 6139636)
How do I find out the correct mode number for my monitor? Remember I am hopeless with hardware!

If you're running lilo (I don't know about grub or elilo) take a look if it helps https://www.linuxquestions.org/quest...ml#post5942036

Aeterna 06-30-2020 06:20 PM

1 Attachment(s)
Quote:

Originally Posted by Paulo2 (Post 6139648)
If you're running lilo (I don't know about grub or elilo) take a look if it helps https://www.linuxquestions.org/quest...ml#post5942036

My logo with lilo and attached boot with elilo. Not much difference and nothing appended to lilo/elilo ;)

Jeebizz 06-30-2020 11:07 PM

Quote:

Originally Posted by Aeterna (Post 6139909)
My logo with lilo

and attached boot with elilo. Not much difference and nothing appended to lilo/elilo ;)

Ok I really like that - I wouldn't mind that as the default for Slackware :D

hazel 07-01-2020 05:28 AM

"vga=791" didn't do it for me, so I'll try some of the suggestions in that thread Paulo2 posted.

Anything that works in lilo should work with elilo too because the configuration interface is the same, although elilo is a very different beast under the bonnet. And all you're really doing after all is passing boot options to the kernel.

pchristy 07-01-2020 05:32 AM

Ah, well! It was simple, so worth a try! ;)

Er - elilo? Are you running uefi hardware? If so, it might be that you've run into the UEFI frame buffer bug that I ran into on one of my machines. Some machines use 64-bit addressing for the efifb, and elilo can't cope with that. The only solution is to switch to grub.

Luckily, Slackware makes this fairly easy.

--
Pete

hazel 07-01-2020 05:42 AM

Yes, it's a UEFI machine. But it only started censoring the penguins when I switched from a Series 4 to a Series 5 kernel, so the problem is unlikely to lie with elilo.

pchristy 07-01-2020 05:58 AM

OK, but there may be a difference in the way the 4.X and 5.X kernels handle the efifb. (The initial part of the boot is handled by the efifb, but when I grepped dmesg for efifb, I got a bunch of errors.) I don't know for sure (I'm not that clever!). But I do know that switching to grub got the penguins and initial boot screen back on my laptop (newest machine).

Your machine doesn't have an Insyde BIOS by any chance, does it? That's what my problematic laptop has.

hazel 07-01-2020 06:59 AM

Quote:

Originally Posted by pchristy (Post 6140093)
Your machine doesn't have an Insyde BIOS by any chance, does it? That's what my problematic laptop has.

No, it's American Megatrends. An old company. I remember when they and Phoenix made all the BIOses.

This might be informative for them as understands hardware!
Code:

efifb: probing for efifb
[    1.440767] efifb: framebuffer at 0xa0000000, using 3072k, total 3072k
[    1.440769] efifb: mode is 1024x768x32, linelength=4096, pages=1
[    1.440770] efifb: scrolling: redraw
[    1.440772] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    1.445157] fb0: EFI VGA frame buffer device
[    4.745478] EFI Variables Facility v0.08 2004-May-17
[  10.488881] fb0: switching to inteldrmfb from EFI VGA


cwizardone 07-01-2020 07:15 AM

FWIW, Tux and friends are always there when I boot up, so here is the first section of my lilo.conf,

Quote:

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/sda

#compact # faster, but won't work on all systems.

# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
bitmap = /boot/slackware64.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
bmp-colors = 255,0,255,0,255,0
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used. We don't specify it here, as there's just one column.
bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color3
# background color, shadow color.
bmp-timer = 65,27,0,255
# Standard menu.
# Or, you can comment out the bitmap menu above and
# use a boot message with the standard menu:
#message = /boot/boot_message.txt
# Append any additional kernel parameters:
#append="fbcon=nodefer"
prompt
#timeout = 300
# VESA framebuffer console @ 1024x768x256
#vga = 773
# Normal VGA console
#vga = normal
# Ask for video mode at boot (time out to normal in 30s)
#vga = ask
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x322
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0 # paranoia setting
# End LILO global section

pchristy 07-01-2020 07:48 AM

Ah! American Megatrends! I haven't seen one of those in a while, but have fond memories!

Well, I'm about out of ideas. Just one thing, have you tried booting one of AlienBob's SlackwareLive versions? You can find them at Slackware.uk, under people/alien-slacklive/latest. Basically, its a version of slackware that you can run from a pendrive. I haven't used it for a while, but I'm pretty certain it boots from grub. It might give a clue to what's going on. It certainly helped me sort out my laptop!

cwizardone 07-01-2020 09:32 AM

Quote:

Originally Posted by pchristy (Post 6140128)
Ah! American Megatrends! I haven't seen one of those in a while, but have fond memories! ........

Oh, they are still around.
https://en.wikipedia.org/wiki/American_Megatrends
They now call themselves, AMI.
I have a fairly new m/b and the BIOS is made by AMI, but I can't see their name, for whatever reason, except when burning a new BIOS. At that time the full name is displayed.

Aeterna 07-01-2020 02:04 PM

Quote:

Originally Posted by Jeebizz (Post 6139973)
Ok I really like that - I wouldn't mind that as the default for Slackware :D

If you are willing to build your own kernel, I can attach ppm file (if forum permits).

Just in case enable

CONFIG_X86_SYSFB
Quote:

Firmwares often provide initial graphics framebuffers so the BIOS,
bootloader or kernel can show basic video-output during boot for
user-guidance and debugging. Historically, x86 used the VESA BIOS
Extensions and EFI-framebuffers for this, which are mostly limited
to x86.
and
CONFIG_FB_SIMPLE
Quote:

Say Y if you want support for a simple frame-buffer.

This driver assumes that the display hardware has been initialized
before the kernel boots, and the kernel will simply render to the
pre-allocated frame buffer surface.
I don't know if Slackware kernel has these options enabled (I build my own kernels) but this should fix any feature issues with penguins.

to make it even more fancy apply to lilo.conf
append="vt.color=2"
this would make boot messages green
more colors to play around:
1 blue dark
2 green dark
3 cyan dark
4 red dark
5 magenta dark
6 yellow dark
7 white bright
8 white dark
9 cyan dark
10 bright green
11 bright cyan
12 dark magenta
13 bright magenta
14 bright yellow
15 white
16 black on blue background

you can modify both foreground and background colors.
Unfortunately this does not work in elilo but lilo works as should grub

Jeebizz 07-01-2020 02:33 PM

Quote:

Originally Posted by Aeterna (Post 6140243)
If you are willing to build your own kernel, I can attach ppm file (if forum permits).

Just in case enable

CONFIG_X86_SYSFB

and
CONFIG_FB_SIMPLE


I don't know if Slackware kernel has these options enabled (I build my own kernels) but this should fix any feature issues with penguins.

to make it even more fancy apply to lilo.conf
append="vt.color=2"
this would make boot messages green
more colors to play around:
1 blue dark
2 green dark
3 cyan dark
4 red dark
5 magenta dark
6 yellow dark
7 white bright
8 white dark
9 cyan dark
10 bright green
11 bright cyan
12 dark magenta
13 bright magenta
14 bright yellow
15 white
16 black on blue background

you can modify both foreground and background colors.
Unfortunately this does not work in elilo but lilo works as should grub

Neat! Actually yes Slackware does have FB enabled in the kernel - to be fair right now I am too lazy to recompile my kernel though lol.

hazel 07-05-2020 04:58 AM

So I tried the kernel option "fbcon=nodefer". Still no penguins! But I've checked the kernel configuration, and those two options specified by Aeterna are not set in Patrick's default build. So I'll try rebuilding with them set and see what that does. It can't do any harm!

luvr 07-05-2020 06:19 AM

Gee... I have never even seen these penguins, except when I used SuSE (way back when they still had the lowercase 'u' in their name).

I didn't realise that it was a standard feature in the Linux kernel, but I thought it was something specific to SuSE.

hazel 07-05-2020 06:29 AM

No, it's always been a kernel thing. But it needs a framebuffer console because a text console can't show images.

cwizardone 07-05-2020 09:47 AM

1 Attachment(s)
Quote:

Originally Posted by luvr (Post 6141662)
Gee... I have never even seen these penguins, except when I used SuSE (way back when they still had the lowercase 'u' in their name).

I didn't realise that it was a standard feature in the Linux kernel, but I thought it was something specific to SuSE.

Using the lilo.conf as show in post #42, above, this what I see every time the machine boots up,


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