LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-13-2021, 04:53 AM   #211
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,659
Blog Entries: 19

Rep: Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480

No, I was talking about using shift-page to scroll up. Bash history doesn't depend on the kernel in any way; scrolling does. On any kind of xterm, you can scroll using the scrollbar, but on a Linux console, you used to be able to do it too. Not being able to go back and look at output is crippling when you've had boot problems as I recently did. How are you supposed to diagnose problems if the relevant output is out of reach?
 
Old 03-13-2021, 05:09 AM   #212
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,865

Rep: Reputation: 1528Reputation: 1528Reputation: 1528Reputation: 1528Reputation: 1528Reputation: 1528Reputation: 1528Reputation: 1528Reputation: 1528Reputation: 1528Reputation: 1528
Quote:
Originally Posted by hazel View Post
How are you supposed to diagnose problems if the relevant output is out of reach?
Using the Linux Serial Console https://www.kernel.org/doc/html/late...l-console.html
 
Old 03-13-2021, 05:31 AM   #213
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,659
Blog Entries: 19

Rep: Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480
That looks absolutely fantastic. I'd certainly like to try it. But the instructions seem to assume a static device directory where you can create a permanent /dev/console node. How does that work with udev?
 
Old 03-13-2021, 06:30 AM   #214
baumei
Member
 
Registered: Feb 2019
Location: USA; North Carolina
Distribution: Slackware 15.0 (replacing 14.2)
Posts: 365

Rep: Reputation: 124Reputation: 124
Scrolling up still works using the "vga = normal" console (as listed in /etc/lilo.conf). Also, to keep the kernel from switching to some other mode of console I think it is necessary to specify "nomodeset" on the "append" line (in /etc/lilo.conf).

When I found this I had recently installed Slackware 14.2 on a fileserver which is intended to run headless, and has no GUI software installed. The kernel is 4.4.240 64bit.

Last edited by baumei; 03-13-2021 at 06:36 AM.
 
2 members found this post helpful.
Old 03-13-2021, 06:43 AM   #215
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,659
Blog Entries: 19

Rep: Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480
Ah, that may be it then. I have an Intel framebuffer console though I didn't ask for it. It starts out as efifb and then switches to Intelfb.

I'll try specifying vga and report back.

PS: just checked. I had "vga=791". I'll change it to "normal" and add nomodeset.

Last edited by hazel; 03-13-2021 at 08:00 AM. Reason: Added PS
 
Old 03-13-2021, 07:13 AM   #216
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 930

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
nevermind

Last edited by Chuck56; 03-13-2021 at 07:14 AM. Reason: late to the party!
 
Old 03-13-2021, 07:35 AM   #217
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,865

Rep: Reputation: 1528Reputation: 1528Reputation: 1528Reputation: 1528Reputation: 1528Reputation: 1528Reputation: 1528Reputation: 1528Reputation: 1528Reputation: 1528Reputation: 1528
Quote:
Originally Posted by baumei View Post
Scrolling up still works using the "vga = normal" console (as listed in /etc/lilo.conf). Also, to keep the kernel from switching to some other mode of console I think it is necessary to specify "nomodeset" on the "append" line (in /etc/lilo.conf).

When I found this I had recently installed Slackware 14.2 on a fileserver which is intended to run headless, and has no GUI software installed. The kernel is 4.4.240 64bit.
I just tried this in 14.2 with a 5.11.5 kernel, and it worked even there. (And startx worked but used the vesa driver instead of the usual intel one.)
 
Old 03-13-2021, 07:46 AM   #218
baumei
Member
 
Registered: Feb 2019
Location: USA; North Carolina
Distribution: Slackware 15.0 (replacing 14.2)
Posts: 365

Rep: Reputation: 124Reputation: 124
I think that all of the computers I tend are so old as to not have the EFI system, or still have functional code to boot in the old method. In any case, I am not familiar with the EFI system. For all I know, it may be that the EFI system will not permit using "vga = normal".

Most of the computers I tend use the Intel i915 module, and for years problems have existed. I do not know whether the fault is in the hardware or the module's software or an incompatibility between the two. In any case, in my attempts to stop these computers from locking-up I have found the version of X currently in 14.2 expects for the "inteldrmfb" to be in use. For a while I attempted to get X to work in the manner used before a framebuffer was in vogue; this was several years ago, and I do not remember what prevented this. The problems still exist; there is something wrong in the i915 area; using windowmaker (instead of Xfce) reduces the severity of the problem.
 
Old 03-13-2021, 09:39 AM   #219
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,659
Blog Entries: 19

Rep: Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480
Well, that didn't work! Using both "vga=normal" and "nomodeset" gave me the worst of both worlds. The console still wouldn't scroll and X wouldn't load either. That seems to be something new btw. On older systems, "nomodeset" only affects booting but in -current, it locks the console permanently into vga mode. Though, on reflection, that may be because X in -current launches on the same console that you are currently on and not a newly created one.

If I remove "nomodeset" from the command line and reboot, X works again, but it still won't scroll.

But let's look on the bright side. I have my four penguins back again. I really missed those! And if I reboot from this version, it usually goes all the way without halting anywhere, whereas I haven't been able to reboot from 14.2 for ages without having to power-cycle at some point.
 
1 members found this post helpful.
Old 03-13-2021, 10:44 AM   #220
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,412

Rep: Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338
Quote:
Originally Posted by baumei View Post
I think that all of the computers I tend are so old as to not have the EFI system, or still have functional code to boot in the old method. In any case, I am not familiar with the EFI system. For all I know, it may be that the EFI system will not permit using "vga = normal".

Most of the computers I tend use the Intel i915 module, and for years problems have existed. I do not know whether the fault is in the hardware or the module's software or an incompatibility between the two. In any case, in my attempts to stop these computers from locking-up I have found the version of X currently in 14.2 expects for the "inteldrmfb" to be in use. For a while I attempted to get X to work in the manner used before a framebuffer was in vogue; this was several years ago, and I do not remember what prevented this. The problems still exist; there is something wrong in the i915 area; using windowmaker (instead of Xfce) reduces the severity of the problem.
You're talking about stuff over 8 years old at least if it doesn't have EFI. Received wisdom is/used to be not to use 'nomodeset' because it nobbles X. Software has progressed past the point that it needs a lot of hand holding to the point where it's pretty good at looking around and checking what's there to work with. Try specifying nothing in console. In X, use the 'modesetting' driver. The 'intel' driver has been superceded.
 
Old 03-13-2021, 11:18 AM   #221
baumei
Member
 
Registered: Feb 2019
Location: USA; North Carolina
Distribution: Slackware 15.0 (replacing 14.2)
Posts: 365

Rep: Reputation: 124Reputation: 124
Hi Hazel,

Quote:
Originally Posted by hazel View Post
Ah, that may be it then. I have an Intel framebuffer console though I didn't ask for it. It starts out as efifb and then switches to Intelfb.
I wonder whether the EFI system is not compatible with the setting "vga = normal", or if the video 'card' in your computer does not have the firmware for VGA mode? And consequently ignored the setting, and started up using "efifb", and this frame-buffer does not have the ability to do scrollback?

When I was installing Slackware64 14.2 on the fileserver I mentioned earlier, I found:
(A) Specifying "vga = normal" and nomodeset in /etc/lilo.conf gave me the 640x480 console which I expected, and I was surprised to see it had the scrollback feature.
(B) Specifying "vga = 791" and nomodeset in /etc/lilo.conf gave me the 1024x768 console which I expected, but I was disgusted to find scrollback no longer worked. Looking in /var/log/messages I was surprised to see the console was using vesafb, which I had not previously known was a possibility for the console.
(Note, this server was made in 2009.)

I tested the server only with nomodeset in /etc/lilo.conf, because I did not want any problems related to the i915 module.
 
Old 03-13-2021, 11:23 AM   #222
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,659
Blog Entries: 19

Rep: Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480
I had vga=791 too and got a non-scrolling console. But using vga=normal doesn't seem to make any difference on my system, as shown in my post 219.

In practice it doesn't matter any more because I don't usually use the Linux console once I've got X working.
 
Old 03-13-2021, 11:39 AM   #223
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,412

Rep: Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338
Personally, I'd recommend using no video instructions. The kernel module driving a vga console look after that stuff.
 
Old 03-13-2021, 11:54 AM   #224
baumei
Member
 
Registered: Feb 2019
Location: USA; North Carolina
Distribution: Slackware 15.0 (replacing 14.2)
Posts: 365

Rep: Reputation: 124Reputation: 124
Hi business_kid,

Quote:
Originally Posted by business_kid View Post
[...] In X, use the 'modesetting' driver. The 'intel' driver has been superceded.
I remember a few months ago there was a thread on LQ about this, and I was quite interested. If I remember correctly, it was said an easy way to prevent X from using the Intel software was to remove the xf86-video-intel package.

Well, I have a small laptop (running Slackware 14.2 32bit) I took out of service because of the random crashing which seems to be related to something about the i915 module. So, I removed the xf86-video-intel package, and found that X would not start. I have not yet spent any time diagnosing the problem, because of other tasks of higher priority... Someday, if I can figure this out, then perhaps I can employ the method on all the other computers I tend which have Intel video 'cards'.
 
Old 03-13-2021, 07:06 PM   #225
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,800

Rep: Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437
Hello again hazel
I don't know if my video driver makes any difference in this, but after "slackpkg upgrade-all" yesterday (maybe before as well, never checked) both Yakuake and Konsole Shift-PageUp just fine for me. I tried it on an extremely long compile, actually one I knew would fail before completion as wine-staging takes many minutes to complete, but I knew the staging patches for wine 6.4 are not out yet so it would cease after just 40 seconds or so. In any case it was long enough that I had to hit Shift-PageUp at least 10 times to get to the top, but it did. Could it be some config?
 
  


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
Slackware 14.2 SCIM input issue: cannot imput alpha letters(half-width) using scim, no fast searching for XFCE FileManager kcynice Slackware 0 07-21-2016 03:45 AM
LXer: K3b 2.0 Alpha Preview - First Alpha of the KDE4 Port Is Out LXer Syndicated Linux News 0 04-26-2009 05:30 PM
LXer: Mozilla Firefox 3.0 Alpha 1 (Deer Park Alpha 2) LXer Syndicated Linux News 0 04-09-2006 08:21 PM
Alpha RedHat Linux Network problem syxxpac023 Linux - Networking 0 09-07-2001 09:05 AM
Compaq Transfers Alpha to Intel jeremy General 2 07-16-2001 08:29 AM

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

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