LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 06-02-2011, 12:18 AM   #1
afreitascs
Member
 
Registered: Aug 2004
Location: Brasil
Distribution: Slackware_Cur-64_mult
Posts: 433

Rep: Reputation: 30
Problem with VB


I have VB 4.8 installed (latest version) with a virtual machine to test liveCD,a virtual machine where I have installed the Window XP, a virtual machine with Slackware 12.1, a virtual machine where I have installed Slackware 12.0,
a virtual machine with Fedora and a virtual machine with
OpenSuse.

This has been happening for some time!

When I go to boot both on Slackware 12.0, Slackware 12.1 and also with the OpenSuse, my machine reboots. There are cases in which my machine does not restart, but almost always restarts ... It does not happen, at least until now, with Windows and not with Fedora.

As there were other people having the same problem, it is obvious that I did something wrong, but I have no idea what it is ...

I have no idea what happens. I think there might be something connected ACPI ...

Any idea?

Thank you very much

ps: I tested the memory using memtest. My PC works fine in other situations.

Last edited by afreitascs; 06-09-2011 at 03:47 PM.
 
Old 06-03-2011, 03:15 AM   #2
chrisretusn
Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware
Posts: 489

Rep: Reputation: Disabled
I will assume you are referring to VirtualBox 4.0.8, which is the latest release.

I have several VM's installed and have not seen any problems.
http://img171.imageshack.us/img171/2404/snapshot19f.png

Are you giving the VM enough memory?

What are your System settings?

What is the host OS? Mine is Slackware64-current.

Last edited by chrisretusn; 06-03-2011 at 07:42 AM.
 
Old 06-03-2011, 04:03 AM   #3
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,971

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
I agree with chrisretusn, could you please provide more information about how much memory has your Computer and how much memory did you provide for any of the virtual machines?

Check when the problem occurs how much memory all VMs together are using.

Markus
 
Old 06-03-2011, 02:13 PM   #4
afreitascs
Member
 
Registered: Aug 2004
Location: Brasil
Distribution: Slackware_Cur-64_mult
Posts: 433

Original Poster
Rep: Reputation: 30
Thanks "chrisretusn"and "Markush" by replica

My PC:

Motherboard GA-MA78GM-S2H see: 1.1
athlon 64 x2 processor 5200 +
Kingston 2G memory (2 modules of 1G in dual channel)

Guest OS

Slackware 12.2 - 256MB
Windows XP - 256MB
Slackware 12.0 - 256MB
128MB --- Windows Me
Windows Vista - 512MB
Fedora --- 512
OenSuse --- 512

Do not use 2 OS guests at the same time.

My host OS is Slackware 64 current

I am using the VB version 4.8, but has been happening since version
VirtualBox-4.0.4, if I remember correctly.
The first time it happened was after installation of Slackware 12.0. In
screen that appears after installation of Slackware 12.0, "Linux". "Enter" to start the guest Slackware 12.0.

After pressing "Enter", my host PC was rebooted.

Every time this happened, I used the "ENTER" key to start the guest OS.

Hardware problem, I think not, because I've tested the memory, my
PSU is new, besides, this problem only occurs in VB.

The problem is occasional. That is not there times when it happens.

I did a new reinstall of Slackware 64-current, and right now I
a test. I started the guest Slackware 12.0, and press the "enter ", and rebooted my PC


In / etc / rc.d / rc.local I have

Quote:
ifconfig eth0 0.0.0.0

sysctl -w vm.swappiness=30

# Start vboxdrv
# If you do not wish this to be executed here then comment it out,
# and the installer will skip it next time.
if [ -x /etc/rc.d/rc.vboxdrv ]; then
/etc/rc.d/rc.vboxdrv start
fi

# Start vboxballoonctrl-service
# If you do not wish this to be executed here then comment it out,
# and the installer will skip it next time.
if [ -x /etc/rc.d/rc.vboxballoonctrl-service ]; then
/etc/rc.d/rc.vboxballoonctrl-service start
fi

# Start vboxweb-service
# If you do not wish this to be executed here then comment it out,
# and the installer will skip it next time.
if [ -x /etc/rc.d/rc.vboxweb-service ]; then
/etc/rc.d/rc.vboxweb-service start
fi
Thanks again
 
Old 06-03-2011, 11:40 PM   #5
chrisretusn
Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware
Posts: 489

Rep: Reputation: Disabled
Quote:
My PC:
Looks OK, my host is a AMD Athlon(tm) 64 X2 Dual Core Processor 4000+ with 4G running Slackware64-current.

Quote:
Guest OS

Slackware 12.2 - 256MB
Windows XP - 256MB
Slackware 12.0 - 256MB
128MB --- Windows Me
Windows Vista - 512MB
Fedora --- 512
OenSuse --- 512
I'd give at least 512 to all. You have 2G, you could raise it to just under 1024 (so VirtualBox Manager doesn't complain). Especially since you do not use more than one guest at a time.

Quote:
I am using the VB version 4.8
This is a minor issue but for the sake of clarity. There is no VirtualBox version 4.8, it's version 4.0.8. If what you are using says it's version 4.8, then this could be the root of your problem.

Quote:
The first time it happened was after installation of Slackware 12.0. In
screen that appears after installation of Slackware 12.0, "Linux". "Enter" to start the guest Slackware 12.0.

After pressing "Enter", my host PC was rebooted.
I am confused. Are you saying the host PC (Slackware64-current) rebooted???

This screen that appears after installation, has me confused also. After the installation of Slackware you must reboot, the is no "Enter" key option. Perhaps you are referring to the lilo boot up screen.

Quote:
Every time this happened, I used the "ENTER" key to start the guest OS.
More confused now. I am assuming you are using the GUI "Oracle VM VirtualBox Manager" to start a VM.

So you are selecting the VM and pressing Enter to start it? What happens if you click Start with the mouse?

Quote:
I did a new reinstall of Slackware 64-current, and right now I
a test. I started the guest Slackware 12.0, and press the "enter ", and rebooted my PC
I must be missing something here. How exactly are you starting the guest?
 
Old 06-04-2011, 12:20 AM   #6
chrisretusn
Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware
Posts: 489

Rep: Reputation: Disabled
You rc.local also raises question and a bit off-topic.

Code:
ifconfig eth0 0.0.0.0
What is the purpose of this line.

Code:
sysctl -w vm.swappiness=30
This should go in /etc/sysctl.conf as:
vm.swappiness = 30

I assume this was added because you are having problems with Firefox using swap space. It is a remote possibility this could related. Try commenting it out. At any rate it won't hurt.

Code:
# Start vboxdrv
# If you do not wish this to be executed here then comment it out,
# and the installer will skip it next time.
if [ -x /etc/rc.d/rc.vboxdrv ]; then
/etc/rc.d/rc.vboxdrv start
fi

# Start vboxballoonctrl-service
# If you do not wish this to be executed here then comment it out,
# and the installer will skip it next time.
if [ -x /etc/rc.d/rc.vboxballoonctrl-service ]; then
/etc/rc.d/rc.vboxballoonctrl-service start
fi

# Start vboxweb-service
# If you do not wish this to be executed here then comment it out,
# and the installer will skip it next time.
if [ -x /etc/rc.d/rc.vboxweb-service ]; then
/etc/rc.d/rc.vboxweb-service start
fi
Unless you know you need them do a chmod -x on /etc/rc.d/rc.vboxweb-service and /etc/rc.d/rc.vboxballoonctrl-service so they won't start.
 
Old 06-04-2011, 12:33 AM   #7
afreitascs
Member
 
Registered: Aug 2004
Location: Brasil
Distribution: Slackware_Cur-64_mult
Posts: 433

Original Poster
Rep: Reputation: 30
Thanks chrisretusn for replies

Quote:
This is a minor issue but for the sake of clarity. There is no VirtualBox version 4.8, it's version 4.0.8. If what you are using says it's version 4.8, then this could be the root of your problem.
Forgive, the correct is that I'm currently using version 4.0.8

Quote:
I am confused. Are you saying the host PC (Slackware64-current) rebooted???
Yes !

Quote:
This screen that appears after installation, has me confused also. After the installation of Slackware you must reboot, the is no "Enter" key option. Perhaps you are referring to the lilo boot up screen.
Excuse ,my english is bad, my native language is portuguese ...

After installation I do "Ctrl + Alt + Del, as always.
What I meant do I install the guest Slackware 12.0..
When I go to boot to start the guest Slackware 12.0, I press the enter key at that moment the host (my PC Slackware64-current) reboot !!!

Quote:
More confused now. I am assuming you are using the GUI "Oracle VM VirtualBox Manager" to start a VM.
Yes ! I'm using the GUI "Oracle VM VirtualBox Manager"

Quote:
So you are selecting the VM and pressing Enter to start it? What happens if you click Start with the mouse?
I use the mouse !!!
To start the guest Slackware 12.0, I press the enter key on the keyboard .

Quote:
I must be missing something here. How exactly are you starting the guest?
As written above it, press the Enter key on the keyboard .

many thanks :-) I do not know if I study the english language or linux ....

Last edited by afreitascs; 06-04-2011 at 12:39 AM.
 
Old 06-04-2011, 12:58 AM   #8
afreitascs
Member
 
Registered: Aug 2004
Location: Brasil
Distribution: Slackware_Cur-64_mult
Posts: 433

Original Poster
Rep: Reputation: 30
Originally Posted by chrisretusn

Quote:
I assume this was added because you are having problems with Firefox using swap space. It is a remote possibility this could related. Try commenting it out. At any rate it won't hurt.
I will try tomorrow

Quote:
Unless you know you need them do a chmod -x on /etc/rc.d/rc.vboxweb-service and /etc/rc.d/rc.vboxballoonctrl-service so they won't start.
I will try tomorrow, now I try to sleep.

Many thanks
 
Old 06-04-2011, 08:03 AM   #9
chrisretusn
Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware
Posts: 489

Rep: Reputation: Disabled
Quote:
Originally Posted by afreitascs View Post
Excuse ,my english is bad, my native language is portuguese ...
Your English is much better than my Portuguese.

Quote:
After installation I do "Ctrl + Alt + Del, as always.
How are you doing this?

You may already know this but just to be certain. Three ways to reboot after installing Slackware in a virtual machine:

1. Use the Host-Del key combination, with the Host key being the Right Ctrl key.
2. Select "Insert Ctrl-Alt-Del" from the virtual machines Machine menu.
3. Type reboot at the root prompt and press enter.

You do not use Ctrl-Alt-Del from the keyboard.

Still even it you did, that shouldn't reboot your host PC. What Desktop are your using on the host?

Are you starting the host in runlevel 4?

I use KDE, I start Slackware in runlevel 3 and use startx to start to KDE.

Quote:
What I meant do I install the guest Slackware 12.0..
When I go to boot to start the guest Slackware 12.0, I press the enter key at that moment the host (my PC Slackware64-current) reboot !!!
Hmm... Again I am making assumptions. I assume you have just finished installing the Slackware VM. I am trying to figure out at what point the enter key would be pressed. I just can figure that part out.

Quote:
To start the guest Slackware 12.0, I press the enter key on the keyboard .
OK, I think I have it now. Would this be the Lilo prompt on booting up the VM?
http://img844.imageshack.us/img844/7025/snapshot20.png

Last edited by chrisretusn; 06-04-2011 at 08:04 AM.
 
Old 06-04-2011, 11:25 AM   #10
afreitascs
Member
 
Registered: Aug 2004
Location: Brasil
Distribution: Slackware_Cur-64_mult
Posts: 433

Original Poster
Rep: Reputation: 30
chrisretusn Please see attachments

On this screen, VB, I press enter. When i press enter, reboot host(my pc reboot)

There is no way to see your link. This site hosts no more, unless you register.

When i click on your link appears the figure of a frog and writing

"Domain Unregistered
To view , register at:
bit.ly/imageshack-domain
"

I suggest you use attachments from LinuxQuestions

many thanks :-)
Attached Images
File Type: jpg 11.jpg (120.7 KB, 29 views)

Last edited by afreitascs; 06-04-2011 at 11:36 AM.
 
Old 06-05-2011, 12:42 AM   #11
chrisretusn
Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware
Posts: 489

Rep: Reputation: Disabled
Sorry about the link. Most folks can see them, there I go making assumptions again.

You and I live in countries that ImageShack apparently blocks. I have an account and can't see them unless logged in.

Quote:
Originally Posted by afreitascs View Post
On this screen, VB, I press enter. When i press enter, reboot host(my pc reboot)
That is essentially the same screen shot I linked to. I attached it this time around.

Well if you hit enter, it should start Slackware 12.0. Except in your case it is rebooting your host PC.

That should not happen.

I installed 12.0, with the VB defaults. When I hit enter it continues to boot.

What happens in you let Lilo time out? It should continue to boot.

I also attached a screen shot of the VM VirtualBox Manager with Slackware 12.0 selected, so you can see the settings summary.
Attached Images
File Type: png snapshot20.png (24.9 KB, 7 views)
File Type: png snapshot21.png (165.8 KB, 11 views)

Last edited by chrisretusn; 06-05-2011 at 12:43 AM.
 
Old 06-05-2011, 12:39 PM   #12
afreitascs
Member
 
Registered: Aug 2004
Location: Brasil
Distribution: Slackware_Cur-64_mult
Posts: 433

Original Poster
Rep: Reputation: 30
Thanks again chrisretusn

Quote:
Sorry about the link. Most folks can see them, there I go making assumptions again.

You and I live in countries that ImageShack apparently blocks. I have an account and can't see them unless logged in.
Users of my country also are having problems with this site.
A few days showed myself that "http://tinypic.com/ " as an alternative .

Quote:
Well if you hit enter, it should start Slackware 12.0. Except in your case it is rebooting your host PC.
Yes !!!

Quote:
That should not happen.
Yes ! The impression is that the problem is only with myself and very few users .... This happens to me since some time ago.
A few days ago I installed OpenSuse guest in VB, and to my surprise, OpenSuse boot, rebooted my host PC :-(

Quote:
What happens in you let Lilo time out? It should continue to boot.
The same thing happens!

observation :There are cases where everything works perfectly, but almost always rebooted my host PC ...

Please see attachments

many thanks :-)
Attached Images
File Type: jpg 12.jpg (141.9 KB, 10 views)
 
Old 06-05-2011, 05:13 PM   #13
afreitascs
Member
 
Registered: Aug 2004
Location: Brasil
Distribution: Slackware_Cur-64_mult
Posts: 433

Original Poster
Rep: Reputation: 30
In a separate partition on my hard drive i installed Slackware 32 bits 13:37.

I then installed VB on Slackware 13:37 32bit. I then installed Slackware 12.0 as a guest on VB 4.0.8

I started the guest Slackware 12.0 by about 15 times and in no time, my host PC was rebooted. I plan to test more often.

Quote:
edited :

I started the slackware 12.0 guest in VB for more than 15 times, making a total of 30 times and in no time, my host PC was rebooted

It seems the problem is related or a version of VB 64bit or 64bit version of Slackware
thanks

ps: My main host OS is Slackware-current 64bit multilib.The OS I'm having
Problems with VB !!!

Last edited by afreitascs; 06-05-2011 at 10:17 PM.
 
Old 06-06-2011, 01:58 AM   #14
chrisretusn
Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware
Posts: 489

Rep: Reputation: Disabled
My main host OS is also Slackware64-current with multilib installed.

How did you install VirtualBox using SlackBuilds.org or the Oracle installer VirtualBox-4.0.8-71778-Linux_amd64.run?

Does the VM try to start, (e.g., Loading Linux ...................) or does it reboot immediately?

If it does not reboot immediately at what point does it reboot?

Have you tried reinstalling VirtualBox?

I have tried to reproduce this on my system, I even added those two lines from your rc.local.

Last edited by chrisretusn; 06-06-2011 at 02:01 AM.
 
Old 06-06-2011, 01:03 PM   #15
afreitascs
Member
 
Registered: Aug 2004
Location: Brasil
Distribution: Slackware_Cur-64_mult
Posts: 433

Original Poster
Rep: Reputation: 30
Thanks for replies "chrisretusn"
Quote:
I started the slackware 12.0 guest in VB for more than 30 times, making a total of 60 times and in no time, my host PC was rebooted


Originally posted by "chrisretusn":
Quote:
My main host OS is also Slackware64-current with multilib installed.
The same as mine

Quote:
How did you install VirtualBox using SlackBuilds.org or the Oracle installer
VirtualBox-4.0.8-71778-Linux_amd64.run?
Oracle installer VirtualBox-4.0.8-71778-Linux_amd64.run .

Quote:
Does the VM try to start, (e.g., Loading Linux ...................) or does it reboot immediately?
Almost immediately! If you look carefully, (Loading Linux.......), it is noticeable ...
Testing in a separate partition, where I have a host Slackware 32 bits 13:37, I think it (the host) must be reset when it says "Bios Date Check Success. " But in reality, no time to read this ...

Quote:
Have you tried reinstalling VirtualBox?
This has been happening since version 4.0.4 VB What I think answers that question ...
My first thread here in LinuxQuestions (warning!warning!warning!my English language is certainly not good)

http://www.linuxquestions.org/questi...eously-877028/

Quote:
I have tried to reproduce this on my system, I even added those two lines from your rc.local.
Maybe if you use a motherboard like my GA-MA78GM-S2H v: 1.1 (GigaByte ) .(just my intuition)

Many thanks for your interest :-)

Last edited by afreitascs; 06-06-2011 at 02:17 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Do I have a path problem, an Apache2 problem or a Javascript problem or any other pro rblampain Linux - Networking 0 12-29-2010 04:50 AM
Sound Card problem(every time i install linux i have diffirent hardware problem) jacka1l Linux - Newbie 7 08-11-2005 07:10 AM
Lan configuration problem - NFS boot problem - RX&TX packets errors 242VDM242 Linux - Networking 4 11-25-2004 02:35 PM
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 08:45 PM


All times are GMT -5. The time now is 11:16 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration