LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-05-2020, 08:45 AM   #1
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
-current installer blown up defeated by Shift+PgUp


I run installer. After login as root I tried to scroll up terminal with shift+PgUp - it scrolled but afterthat installer stopped to respond. Like locked input - none of combinations of keys worked. Had to switch off power. Computer is Lenovo ThinkPad T430. -current was updated 10-th June. I have used mini-install iso image from AlienBob script. For sure I dd'ed image on two different pen-drives. At night I will update -current - will create iso again, and I will pick up torrent from external source, maybe image I created is broken, will see. Nice if somone would try to confirm.
 
Old 07-05-2020, 12:00 PM   #2
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,181

Rep: Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763
Quote:
Originally Posted by igadoter View Post
I run installer. After login as root I tried to scroll up terminal with shift+PgUp - it scrolled but afterthat installer stopped to respond. Like locked input - none of combinations of keys worked. Had to switch off power. Computer is Lenovo ThinkPad T430. -current was updated 10-th June. I have used mini-install iso image from AlienBob script. For sure I dd'ed image on two different pen-drives. At night I will update -current - will create iso again, and I will pick up torrent from external source, maybe image I created is broken, will see. Nice if somone would try to confirm.
I can confirm this has happened to me on at least three occasions, although I can't be more specific than that. It happened when I used cat and/or less to read a text file containing instructions.
 
1 members found this post helpful.
Old 07-05-2020, 04:49 PM   #3
luvr
Member
 
Registered: May 2005
Location: Boom - The Home Town of Tomorrowland, Belgium
Distribution: Slackware, Xubuntu
Posts: 459
Blog Entries: 2

Rep: Reputation: 194Reputation: 194
Quote:
Originally Posted by Gerard Lally View Post
I can confirm this has happened to me on at least three occasions, although I can't be more specific than that.
Same here!
 
Old 07-05-2020, 05:22 PM   #4
average_user
Member
 
Registered: Dec 2010
Location: Warsaw, Poland
Distribution: Slackware
Posts: 560

Rep: Reputation: 220Reputation: 220Reputation: 220
This has never happened to me, are you sure you didn't press C-s while scrolling?

Quote:
Originally Posted by igadoter View Post
I run installer. After login as root
BTW, that 'logging in as root' is a joke, it was explained in the source code somewhere.

Last edited by average_user; 07-05-2020 at 05:24 PM.
 
Old 07-05-2020, 05:30 PM   #5
gus3
Member
 
Registered: Jun 2014
Distribution: Slackware
Posts: 490

Rep: Reputation: Disabled
When a system appears to be locked up, the first thing I do is tap Caps Lock, Num Lock, and Scroll Lock, to see if the keyboard lights change. If they don't, then either:

A) the lights are all burnt out, or
B) the system is hard-locked

In the case of B), only a power cycle will recover things.

So, my advice is to reproduce your situation, then try tapping Caps Lock and Num Lock. Do they switch on/off?
 
Old 07-05-2020, 05:33 PM   #6
gus3
Member
 
Registered: Jun 2014
Distribution: Slackware
Posts: 490

Rep: Reputation: Disabled
@average_user, they're running the installer, not (I think) an installed system. And the Slackware installer frankly doesn't care what username you use to log in; it's a shell script running inside Busybox.
 
Old 07-05-2020, 06:00 PM   #7
average_user
Member
 
Registered: Dec 2010
Location: Warsaw, Poland
Distribution: Slackware
Posts: 560

Rep: Reputation: 220Reputation: 220Reputation: 220
Quote:
Originally Posted by gus3 View Post
@average_user, they're running the installer, not (I think) an installed system. And the Slackware installer frankly doesn't care what username you use to log in; it's a shell script running inside Busybox.
I know. That's exactly what I was trying to say. You just press ENTER, you don't need to 'log in'.
 
Old 07-05-2020, 06:04 PM   #8
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,341

Rep: Reputation: Disabled
Quote:
Originally Posted by igadoter View Post
I run installer. After login as root I tried to scroll up terminal with shift+PgUp - it scrolled but afterthat installer stopped to respond. Like locked input - none of combinations of keys worked.
Yep, this bug is actually just over a year old, and no-one seems to want to do anything about it.

It's not a Slackware issue, it's a kernel bug that affects the "speakup" subsystem. Since the Slackware install kernel has speakup support built in, the installer is affected.
 
1 members found this post helpful.
Old 07-05-2020, 06:46 PM   #9
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717

Original Poster
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Quote:
Originally Posted by Ser Olmy View Post
Yep, this bug is actually just over a year old, and no-one seems to want to do anything about it.

It's not a Slackware issue, it's a kernel bug that affects the "speakup" subsystem. Since the Slackware install kernel has speakup support built in, the installer is affected.
So I have to rebuild kernel without speakup subsystem? Say I am running installer and during partitioning installer explodes - rather unpleasant scenario. Maybe just run installer for 14.2 and then to upgrade to -current? Can I run installer with older kernel? Say I would run usboot.img from 14.2 but to point it to -current? So it will de facto install -current not 14.2. It is just bad and some kind workaround is needed.

Edit:
Code:
piotr[speakup.s]$ cat README.TXT 
Please note that the speakup.s kernel is no more.

The good news is that the reason for that is that Speakup
was merged into the main kernel and is now included in
the regular Slackware huge kernel.  :-)

Please report any bugs or issues.

Last edited by igadoter; 07-05-2020 at 07:39 PM.
 
Old 07-05-2020, 10:25 PM   #10
jwoithe
Member
 
Registered: Oct 2019
Posts: 73

Rep: Reputation: 88
Quote:
Originally Posted by igadoter View Post
I run installer. After login as root I tried to scroll up terminal with shift+PgUp - it scrolled but after that installer stopped to respond. ...
I can confirm that I have also encountered this behaviour when installing -current on a number of systems. At the time I put it down to the relatively recent hardware in use. However, it's clear that the issue is more wide-spread than that.

Quote:
Originally Posted by Ser Olmy View Post
It's not a Slackware issue, it's a kernel bug that affects the "speakup" subsystem. Since the Slackware install kernel has speakup support built in, the installer is affected.
This is useful information: it means that if Speakup is disabled in the kernel used on the installation media then the problem can be avoided. It's a little fiddly, but it at least provides a workaround in the context of install images I distribute.

The console crash on scroll-back is highly irritating: I am so used to being able to scroll up after booting the Slackware install media that I've triggered the crash frequently - often multiple times within 5 minutes. Since the kernel developers do not seem to be addressing this issue (for whatever reason), perhaps the default Slackware installation kernel needs to disable Speakup, with a Speakup kernel returning for those who rely on that. Scrolling the console is a well known and fundamental feature of the Linux text console, and having it crash the Slackware installation environment is very frustrating (and it isn't a good look either).
 
1 members found this post helpful.
Old 07-06-2020, 05:33 AM   #11
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717

Original Poster
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Slackware is esentially one of few systems which use console-based (text) installer. Perhaps this is why kernel developers are not eager to fix this. Most distributions use graphic installers. So I think this is up to us to resolve problem. It may take very long time fix to appear. But there is no graphic installer for Slackware. What really worries me is that this seems influence only installer. On running installed system issue disappears. For me it is strange. I would rather expect this always to happen if it is kernel-related. Maybe we should try to play with kernel parameters to look for clue.
 
Old 07-06-2020, 05:40 AM   #12
luvr
Member
 
Registered: May 2005
Location: Boom - The Home Town of Tomorrowland, Belgium
Distribution: Slackware, Xubuntu
Posts: 459
Blog Entries: 2

Rep: Reputation: 194Reputation: 194
Quote:
Originally Posted by igadoter View Post
Maybe we should try to play with kernel parameters to look for clue.
I was just beginning to wonder if there exists any kernel parameter that we could specify on the boot: prompt when the installer starts?
 
Old 07-06-2020, 05:42 AM   #13
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717

Original Poster
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Quote:
Originally Posted by luvr View Post
I was just beginning to wonder if there exists any kernel parameter that we could specify on the boot: prompt when the installer starts?
My first thougth was acpi=off

Edit: it is just senseless, why speakup subsystem damages console scrollback?

Last edited by igadoter; 07-06-2020 at 05:46 AM.
 
Old 07-06-2020, 09:28 AM   #14
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717

Original Poster
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Ok I did something like that, first disable acpi
Code:
#/sbin/sysctl -w kernel.panic_on_oops=1
then press shift+pgup - kernel panics and provides backtrace. I am curious does it possible to do the same on virtual machine - it would be much more convenient to gather some information. Instead of taking shot of display.
 
Old 07-06-2020, 10:38 AM   #15
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,341

Rep: Reputation: Disabled
Quote:
Originally Posted by igadoter View Post
Ok I did something like that, first disable acpi
Code:
#/sbin/sysctl -w kernel.panic_on_oops=1
That has nothing to do with ACPI.
Quote:
Originally Posted by igadoter View Post
then press shift+pgup - kernel panics and provides backtrace. I am curious does it possible to do the same on virtual machine - it would be much more convenient to gather some information. Instead of taking shot of display.
If you take a look at the bug report in Bugzilla (as linked earlier in the thread) you'll see that not only was the Bug/Oops captured and posted, but the offending commit was even identified and a LKML link was provided.
 
  


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
Disable PgUp and PgDn keys with xkb sjbuysse Linux - Newbie 0 06-13-2015 05:48 AM
Hi: how can I increase the buffer for the text output console (Shift-PgUp). stf92 General 8 01-22-2013 11:35 AM
Swapping PgUp and Shift Keys in Fedora 14 BarbieQ1 Linux - Laptop and Netbook 0 07-31-2011 11:05 PM
screen PgUp and PgDn not working noir911 Linux - General 1 08-07-2007 09:17 AM
Home, end, pgup, pgdown keys not working antimatter3009 Linux - Desktop 1 12-29-2006 03:31 AM

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

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

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