You are not logged in.

#1 2020-11-14 12:23:45

sdanave
Member
Registered: 2020-10-23
Posts: 32

[SOLVED] :System Freezes when an earphone plug is pulled out

Hi All,

I am facing a peculiar issue in otherwise a perfect install.

I have Arch installed in Virtualbox VM, the host being windows 10 machine. I have also installed Guest Additions for Virtual Box. This is on a Dell laptop 5410, and the VM has 2 cores with 6 GB RAM assigned to it.

When I am in the VM working on the Arch system, if I pull out my earphones from the plug, the system just freezes, so much so that I have to go to Windows Task Manager and kill the VM.

The sound drivers are Realtek and if the earphone is preplugged before starting the VM, this issue does not come and I can work smoothly.

Any ways of troubleshooting this ? All my drivers are updated.

Thanks in advance

Sachin

Last edited by sdanave (2020-11-20 04:35:16)

Offline

#2 2020-11-14 15:04:29

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 1,096

Re: [SOLVED] :System Freezes when an earphone plug is pulled out

If you disable the audio on the guest (probably best if you do it before you start the guest), does it still fail?

Also check the virtualbox logs. The logs for the guest are in <your machine>/Logs/VBox.log

Offline

#3 2020-11-14 17:25:43

sdanave
Member
Registered: 2020-10-23
Posts: 32

Re: [SOLVED] :System Freezes when an earphone plug is pulled out

Hi twelveeighty,

If I disable audio on the guest, this problem does not happen.

I checked the VBox logs, but unable to decipher much out of them. Is there anything I should be looking for ?

Thanks a lot for the quick help

Regards

Sachin

Offline

#4 2020-11-14 20:06:35

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 1,096

Re: [SOLVED] :System Freezes when an earphone plug is pulled out

If the logs is small, post it here in [ code ] tags (w/o spaces). Otherwise use a Supported Pastebin.

Last edited by twelveeighty (2020-11-14 20:08:10)

Offline

#5 2020-11-15 17:20:00

sdanave
Member
Registered: 2020-10-23
Posts: 32

Re: [SOLVED] :System Freezes when an earphone plug is pulled out

Hi,

To be honest, I am finding it difficult to pastebin the logs.

Is there a way of mailing the files ? I am looking at 2 files - VMBox.log and VBoxHardening.log.

My apologies - have just got hooked to Arch and am yet unfamiliar with the utilities (such as pastebin). I did try installing ix.io but had no idea of uploading the files.

Thanks once again - much appreciated.

Sachin

Offline

#6 2020-11-15 18:32:54

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 1,096

Re: [SOLVED] :System Freezes when an earphone plug is pulled out

With Arch, the #1 thing you'll have to learn and get used to is reading comprehension - slow down and actually read the Wiki link I gave you. You don't "install" ix.io. You use it as a Web-based service in the way that clearly shown in the "Tips" box:

curl -F 'f:1=<-' ix.io < file

Where file is the file you wish to upload.

Offline

#7 2020-11-16 05:20:41

sdanave
Member
Registered: 2020-10-23
Posts: 32

Re: [SOLVED] :System Freezes when an earphone plug is pulled out

Hi Twelveeighty

My sincere apologies and thank you for your patience in explaining.

I have uploaded the following files :

a) VBox.log

http://ix.io/2Elm

b) VBoxHradening.log

http://ix.io/2Elo

Thank you once again - you have been a true mentor.

Best Regards

Sachin

Offline

#8 2020-11-16 14:36:44

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 1,096

Re: [SOLVED] :System Freezes when an earphone plug is pulled out

Are those two logs from a situation where the VM had the freezing issue? Unless I missed it, the Arch guest looks to be terminated normally/gracefully.

Also, you should look at / grab the Arch guest Journal logs: after you've had a freeze, reboot the guest and then use `journalctl -b -1` to get the previous boot's (the one that froze) log. Hopefully there is something there.

I don't run Windows as a VM host, so I can't compare sound settings on the host - do you have options to pick another driver? You might want to experiment with that to see if there's a better option to pick there.

Offline

#9 2020-11-20 04:36:59

sdanave
Member
Registered: 2020-10-23
Posts: 32

Re: [SOLVED] :System Freezes when an earphone plug is pulled out

Hi twelveeighty,

Apologies for a delayed reply.

I managed to get my hands on an old lapop and installed Arch in the laptop - thus I dont have to use VirtualBox anymore.

I am marking the thread solve for now.

Thank you for all your help - you are amazing !

Best Regards

Sachin

Offline

Board footer

Powered by FluxBB