Jay Lan wrote:
> Jay Lan wrote:
>   
>> Jason Wessel wrote:
>>     
>>> Jay Lan wrote:
>>>       
>>>> Hi Jason,
>>>>
>>>> I have a machine with its ttyS0 connected to a console terminal server.
>>>> To access the console of my machine, i telnet to the TS with a specific
>>>> port.
>>>>
>>>> I think i would need to use kgdboc in this setup? How should i specify
>>>> the kdboc parameters in the boot command line?
>>>>
>>>> Thanks and regards,
>>>>  - jay
>>>>
>>>>
>>>>   
>>>>         
>>> It is no different than if you had the board directly connected.
>>>
>>> Assuming your terminal server is connected at 115200 baud it looks like:
>>>
>>> kgdboc=ttyS0,115200
>>>       
>> The system hangs on boot. I have these in the boot line:
>>     console=ttyS0,38400n8 kgdboc=ttyS0,38400
>>     
>
> Hi Jason,
>
> Please disregard the above comment. The kernel was hung in running init,
> not during booting the kernel. I need to find what caused this problem
> in this particular system setup.
>
> Now, i put in kgdbwait in the boot command line and the kernel stopped
> and wait for gdb to connect. The documentation says to use the following
> for connecting a terminal server:
>     (gdb) target remote udp:192.168.2.2:6443
>
> I replaced the ip with the ip of my terminal server, and the port number
> with the port number when i connect to the console of the target system.
>
> Still no connection! Does the system i run gdb on have to be on the same
> subnet as the target system?  Hmm, i will find another system to test
> tomorrow...
>
>   

Not real sure where you got the target remote "udp" but most if not all
terminal servers use tcp.  What ever address and port you connect to
with your terminal program is the same as what you would use for the gdb
target remote command.

Jason.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Kgdb-bugreport mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to