[vbox-dev] Cannot debug linux kernel with VBox 4.3+

Azat Khuzhin a3at.mail at gmail.com
Sat Jan 25 16:16:28 GMT 2014


Hi, Aaron,

Just in case, vbox 4.2.16_Debianr86992 works perfectly for me (kgdb,gdb).

On Mon, Jan 13, 2014 at 10:41 AM, Aaron Lewis
<the.warl0ck.1989 at gmail.com> wrote:
> Hmm, I have downgraded to 4.2.18, still not working
>
> When the kernel crashes, the serial port seems to be dead as well. gdb
> on the host is not receiving anything
>
> Funny thing is, I remember VBox works well months ago, it all just
> went off suddenly ;-(
>
> P.S: Nested paging do hinder debugging in 4.2.18
>
> On Sun, Jan 12, 2014 at 10:06 AM, Aaron Lewis
> <the.warl0ck.1989 at gmail.com> wrote:
>> If I don't attach gdb to the remote serial port, the dialog won't pop up.
>>
>> And I can see the kernel panic in VBoxGUI.
>>
>> On Sun, Jan 12, 2014 at 10:04 AM, Aaron Lewis
>> <the.warl0ck.1989 at gmail.com> wrote:
>>> No, Nested-Paging is disabled, and I still see the dialog popsup
>>>
>>> On Fri, Jan 10, 2014 at 10:19 PM, Ramshankar
>>> <ramshankar.venkataraman at oracle.com> wrote:
>>>> On 08/01/14 06:46, Aaron Lewis wrote:
>>>>>
>>>>> Hi Frank,
>>>>>
>>>>> The CPU model is:  Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz
>>>>>
>>>>> And yes I have VT-x enabled.
>>>>>
>>>>> The VBox.log is uploaded here: http://paste.ubuntu.com/6713174/
>>>>
>>>>
>>>> Does disable Nested Paging for the VM mitigate/workaround the issue?
>>>>
>>>> Regards,
>>>> Ram.
>>>>
>>>>
>>>>>
>>>>> On Tue, Jan 7, 2014 at 5:37 PM, Frank Mehnert <frank.mehnert at oracle.com>
>>>>> wrote:
>>>>>>
>>>>>> AAron,
>>>>>>
>>>>>> On Tuesday 31 December 2013 08:29:44 Aaron Lewis wrote:
>>>>>>>
>>>>>>> I couldn't use kgdb to debug a linux kernel running inside VBox.
>>>>>>>
>>>>>>> When the kernel crashes, VBox pops up a dialog asking me either to
>>>>>>> Ignore the error or Close the VM. The former does no work, and the
>>>>>>> whole thing freezes up
>>>>>>
>>>>>>
>>>>>> do you have VT-x / AMD-V enabled for this VM and is this feature
>>>>>> really used (VBox.log file)? And are you on Intel or on AMD? I know
>>>>>> there were some VMM changes / fixes regarding debug exceptions.
>>>>>>
>>>>>> Kind regards,
>>>>>>
>>>>>> Frank
>>>>>> --
>>>>>> Dr.-Ing. Frank Mehnert | Software Development Director, VirtualBox
>>>>>> ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | 71384 Weinstadt, Germany
>>>>>>
>>>>>> Hauptverwaltung: Riesstr. 25, D-80992 München
>>>>>> Registergericht: Amtsgericht München, HRA 95603
>>>>>> Geschäftsführer: Jürgen Kunz
>>>>>>
>>>>>> Komplementärin: ORACLE Deutschland Verwaltung B.V.
>>>>>> Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
>>>>>> Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
>>>>>> Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher
>>>>>>
>>>>>> _______________________________________________
>>>>>> vbox-dev mailing list
>>>>>> vbox-dev at virtualbox.org
>>>>>> https://www.virtualbox.org/mailman/listinfo/vbox-dev
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Best Regards,
>>> Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
>>> Finger Print:   9F67 391B B770 8FF6 99DC  D92D 87F6 2602 1371 4D33
>>
>>
>>
>> --
>> Best Regards,
>> Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
>> Finger Print:   9F67 391B B770 8FF6 99DC  D92D 87F6 2602 1371 4D33
>
>
>
> --
> Best Regards,
> Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
> Finger Print:   9F67 391B B770 8FF6 99DC  D92D 87F6 2602 1371 4D33
>
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> https://www.virtualbox.org/mailman/listinfo/vbox-dev



-- 
Respectfully
Azat Khuzhin




More information about the vbox-dev mailing list