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 03-10-2021, 11:57 AM   #1
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 902

Rep: Reputation: 153Reputation: 153
VirtualBox Guest: Spawning echoes/returns following some commands


Not sure if I can describe this It seems to only be happening when I drop down to init 3 from init 4


If I do a slackpkg update the command finishes successfully, but I see the command prompt repeated a number of times. Sometimes it's just 3 or 4 other times it may be tens of times so much that the output from slackpkg disappears of the screen

Quote:
739 KDE-503: /root $
739 KDE-503: /root $
739 KDE-503: /root $
739 KDE-503: /root $
739 KDE-503: /root $
739 KDE-503: /root $
739 KDE-503: /root $
739 KDE-503: /root $
Same goes for other commands such as ls.


It gets a bit frustrating when running slackpkg upgrade-all when there's been a change to the kernel and new config files. All those nice messages about a new kernel and new config files disappear of the top of the screen.

Generally I know that there's a new kernel.

For the new config files I have to run

slackpkg new-config

several times

Any thoughts as to what's going wrong?

Last edited by aikempshall; 03-17-2021 at 09:52 AM. Reason: add virtualbox to title
 
Old 03-10-2021, 12:55 PM   #2
zhl
Member
 
Registered: Oct 2020
Location: Kwangchow
Distribution: Slackware
Posts: 65

Rep: Reputation: Disabled
Is that a problem with the keyboard, as I know this will happen if pressing "Enter" while some programs processing.

It may not need an actually press the button (newline), do you have any custom ENVs, PS1, colors, titles.

Last edited by zhl; 03-10-2021 at 01:14 PM.
 
Old 03-11-2021, 03:16 AM   #3
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 902

Original Poster
Rep: Reputation: 153Reputation: 153
No problem with the keyboard. I see the same problem irrespective of what [Enter] key I use. The Enter key on the number pad or the Return key on the QWERTY keyboard.

I not aware of any problems I may have created for myself in respect of PS1 or environment.

The problem only occurs at levels 3, 2 and 1. Level 4 works as expected.

Level 4 works as expected, is not quite true, as if I set up a virtual console the problem appears.

It appears that if I'm working in an environment that's been touched by KDE4 i.e. level 4, virtual terminal excluded, everything works as expected. It's only if I drop out of a KDE environment to levels 3, 2 and 1 or to a virtual terminal that I get problems.

The only other potential cause is that these problems are occurring in a VirtualBox guest. I have no other issues with the guest - in level 4 LibreOffice, kate, filezilla, Firefox, Dolphin. adobereader. okular and keepassxc all work as expected.

As the problem only occurs levels 3 or below and I only need to drop to level 3 if I'm updating KDE, so when we reach a Stable 15.0 the need to drop levels will become less and less. Anyway it's not as though this problem is a show stopper. I'm flagging it up in case someone else either falls upon this problem or can shed some light on the root cause.
 
Old 03-11-2021, 05:45 AM   #4
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,987

Rep: Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556
The only place I see this behavior is in my VirtualBox slackware installs when I was testing with VboxVGA or VboxSVGA set for the Graphics Controller. Switching back to VMSVGA, this problem goes away. This is without Guest Additions installed. Not sure if installing Guest Additions would make a difference.

Last edited by chrisretusn; 03-11-2021 at 05:46 AM.
 
Old 03-16-2021, 06:55 AM   #5
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 902

Original Poster
Rep: Reputation: 153Reputation: 153
Quote:
Originally Posted by chrisretusn View Post
The only place I see this behavior is in my VirtualBox slackware installs when I was testing with VboxVGA or VboxSVGA set for the Graphics Controller. Switching back to VMSVGA, this problem goes away. This is without Guest Additions installed. Not sure if installing Guest Additions would make a difference.
It was VirtualBox that was causing the problem. I'm was on VirtualBox 5.0.40 from slackbuilds.org.

Took the plunge and installed the Linux 64-bit from the VirtualBox Testbuilds

Had the same echo/return problem using the VBoxVGA graphics Controller. The machine would start, but the screen would resize (auto-resize guest display was enabled)
Didn't have the problem with the VMSVGA graphics Controller. The machine would start, but the screen wouldn't resize (auto-resize guest display was greyed out)

Installed Guest Additions which fixed the problem with VMSVGA. I can now resize.

The unintended consequence is that when using the VBoxVGA graphics Controller the guest won't start.

I'll mark this as solved.
 
Old 03-16-2021, 08:56 AM   #6
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,987

Rep: Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556
Quote:
Originally Posted by aikempshall View Post
It was VirtualBox that was causing the problem. I'm was on VirtualBox 5.0.40 from slackbuilds.org.

Took the plunge and installed the Linux 64-bit from the VirtualBox Testbuilds

Had the same echo/return problem using the VBoxVGA graphics Controller. The machine would start, but the screen would resize (auto-resize guest display was enabled)
Didn't have the problem with the VMSVGA graphics Controller. The machine would start, but the screen wouldn't resize (auto-resize guest display was greyed out)

Installed Guest Additions which fixed the problem with VMSVGA. I can now resize.

The unintended consequence is that when using the VBoxVGA graphics Controller the guest won't start.

I'll mark this as solved.
Probably why it says "invalid settings". Got to admit I was a bit excited when you first reported on using VboxVGA. I really don't like installing the Guest Additions. Tried it and VboxSVGA too, had same issue. Went back to VMSVGA.
 
Old 03-17-2021, 03:46 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,784

Rep: Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937
To change the title edit the first post and select the "go advanced" button.
 
Old 03-17-2021, 03:02 PM   #8
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
This seems to be a bug in VirtualBox.

I have a Current VM running in 6.1.18. Guest Additions (GA) are not installed. When I select VBoxSVGA I see the reported repeated echos. When I toggle to VMSVGA the echos stop, but then the system always boots with the following error message:

Code:
kernel: [drm:vmw_host_log [vmwgfx]] *ERROR* Failed to send host log message.
I have not tested installing the GA. For this specific VM I don't want that.

For me the bug is relatively recent. I am guessing the bug was introduced after 6.1.12 or with the jump from 5.4 to 5.10.
 
Old 03-18-2021, 04:38 AM   #9
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 902

Original Poster
Rep: Reputation: 153Reputation: 153
I don't know who supports what.

Over the last few years various VirtualBox elements seem to have been introduced into the mainline kernel.

First if was auto-resize guest display
More recently shared folders


The problem I identified here was occurring in a Guest with no Guest Additions. Even then it wasn't a problem at level 4 only at levels 3, 2 and 1. I don't know whether when a new guest is created does VirtualBox automatically suck in it's bespoke drivers or does it leave the Guest alone until Guest Additions is installed.

I'm led to the conclusion that this problem is with the mainline kernel and not VirtualBox.
 
Old 03-18-2021, 08:15 AM   #10
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,987

Rep: Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556
Well based on what I have read in the VirtualBox help and manual, I going with not a bug. Bold is mine.

Quote:
Graphics Controller: Specifies the graphics adapter type used by the guest VM. Note that
you must install the Guest Additions on the guest VM to specify the VBoxSVGA or VMSVGA
graphics controller. The following options are available:

– VBoxSVGA: The default graphics controller for new VMs that use Windows 7 or later.
This graphics controller improves performance and 3D support when compared to the
legacy VBoxVGA option.

– VBoxVGA: Use this graphics controller for legacy guest OSes. This is the default
graphics controller for Windows versions before Windows 7 and for Oracle Solaris.
3D acceleration is not supported for this graphics controller.

– VMSVGA: Use this graphics controller to emulate a VMware SVGA graphics device.
This is the default graphics controller for Linux guests.

– None: Does not emulate a graphics adapter type.
 
  


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
actually while debugging an assembly language i have got the following error can any body figure out how i can rectify the following error niranjan1609 Linux - Newbie 3 06-03-2018 05:21 PM
[SOLVED] beep returns -1, strerror returns SUCCESS RandomTroll Linux - Software 9 05-03-2016 11:22 PM
LXer: Ubuntu Uproar Echoes Through Blogosphere LXer Syndicated Linux News 0 10-22-2012 06:24 PM
i use the following way to install vlc in cent os but i got the following error praveenkalam Linux - Software 6 12-21-2009 03:49 AM
New user does not login-X spawning too fast chem1 Linux - General 1 08-14-2002 11:02 PM

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

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