On 8/2/16 22:35 , Ian Collins wrote:
> On 08/ 3/16 05:24 PM, Robert Mustacchi wrote:
>> On 8/2/16 22:17 , Ian Collins wrote:
>>> Hello,
>>>
>>> Will gdb be supported or at least tolerated in LX zones at some point?
>>>
>>> Currently it is locking up the zone and the global zone when run in an
>>> Ubuntu-16.04 zone, which isn't very friendly!
>> Hey Ian,
>>
>> gdb should definitely not be doing that inside of an lx branded zone.
>> What platform version are you running?
> 
> joyent_20160706T191858Z
> 
>> Can you give a bit more detail
>> about what the lock up is doing? Is it stopping existing sessions from
>> working or is something else going on?
> The gdb session runs as follows:
> 
> $ gdb Tests
> GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
> Copyright (C) 2016 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-linux-gnu".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> Find the GDB manual and other documentation resources online at:
> <http://www.gnu.org/software/gdb/documentation/>.
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from Tests...done.
> (gdb)
> (gdb) run
> Starting program: /home/icollins/bin/Posix_Debug/Tests
> warning: linux_ptrace_test_ret_to_nx: PC (nil) is neither near return
> address 0x7ffffe820000 nor is the return instruction 0x4b0a59!
> 
> At which point the system locks up.
> 
> One possible complication is the filesystem is nfs mounted into the
> zone.  I'll try with a local copy.
> 
>>   Do you have the capability to NMI the system in this state?
> 
> Possibly, it's a Supermicro X9 system.  I'll see if I can find out how.
> 

You can run impitool -I lanplus -H <service processor IP> -U ADMIN -P
ADMIN chassis power diag to generate one. You may need to change the
user name / password if you've changed them.

Robert


-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to