Home » Eclipse Projects » DSDP - Target Management » C/C++ Remote Debug: Unknown channel 0
C/C++ Remote Debug: Unknown channel 0 [message #32727] |
Thu, 05 March 2009 09:37  |
Eclipse User |
|
|
|
Hello,
When I use Remote Debugging I am often unable to create a connection to
the target.
My target runs dropbear and in the /var/log/messages, this shows up:
authpriv.info dropbear[3322]: exit after auth (root): Unknown channel 0
version info:
- Dropbear sshd v0.52
- Remote System Explorer C/C++ Remote Debug Launcher 2.1.1
- Remote System Explorer End-User Runtime 3.0.3
I guess there is a bug somewhere.
Can someone help me out?
Kind Regards,
Tom
|
|
| | |
Re: C/C++ Remote Debug: Unknown channel 0 [message #33157 is a reply to message #32875] |
Tue, 10 March 2009 14:46  |
Eclipse User |
|
|
|
Hi Tom,
so it looks like this is
https://bugs.eclipse.org/bugs/show_bug.cgi?id=227135 -- RSE doesn't
currently behave well if there is no sftp on the remote. I'm looking at
this now.
We should fall back to a mode of operation where the shell works (and
ignore the fact that we don't have a files subsystem). Anna -- does the
remotecdt launcher actually work without a files subsystem ? I think it
should, in order to run in cases like Telnet where we only have a shell
channel.
If this works, Tom, then a workaround for you is defining a systemType
which only has a shell subsystem (and no files subsystem).
Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
Tom Deseyn wrote:
> Hi Martin,
>
> I don't think I currently have SFTP on dropbear. I will check this on
> monday.
>
> In my case I don't need to access the file system via eclipse. I only
> need eclipse to start the gdbserver.
> When creating a new remote system connection, it might be nice if you
> could select 'nothing' for a certain subsystem, e.g. to indicate there
> is no files subsystem.
>
> Also, the RSE Processes list of my target also doesn't work. I don't
> need it either, but I wondered if you can tell me why it doesn't work.
> Perhaps it helps to know my target system runs busybox.
>
> Thanks for your reply,
> Have a nice weekend,
>
> Tom
>
|
|
|
Re: C/C++ Remote Debug: Unknown channel 0 [message #579530 is a reply to message #32727] |
Fri, 06 March 2009 13:54  |
Eclipse User |
|
|
|
Did you add sftp-server to dropbear in order to be able
and use the RSE files subsystem?
https://bugs.eclipse.org/bugs/show_bug.cgi?id=227135
Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
Tom Deseyn wrote:
> Hello,
>
> When I use Remote Debugging I am often unable to create a connection to
> the target.
>
> My target runs dropbear and in the /var/log/messages, this shows up:
> authpriv.info dropbear[3322]: exit after auth (root): Unknown channel 0
>
> version info:
> - Dropbear sshd v0.52
> - Remote System Explorer C/C++ Remote Debug Launcher 2.1.1
> - Remote System Explorer End-User Runtime 3.0.3
>
> I guess there is a bug somewhere.
> Can someone help me out?
>
> Kind Regards,
>
> Tom
>
|
|
|
Re: C/C++ Remote Debug: Unknown channel 0 [message #579550 is a reply to message #32838] |
Fri, 06 March 2009 17:53  |
Eclipse User |
|
|
|
Hi Martin,
I don't think I currently have SFTP on dropbear. I will check this on
monday.
In my case I don't need to access the file system via eclipse. I only need
eclipse to start the gdbserver.
When creating a new remote system connection, it might be nice if you
could select 'nothing' for a certain subsystem, e.g. to indicate there is
no files subsystem.
Also, the RSE Processes list of my target also doesn't work. I don't need
it either, but I wondered if you can tell me why it doesn't work. Perhaps
it helps to know my target system runs busybox.
Thanks for your reply,
Have a nice weekend,
Tom
|
|
|
Re: C/C++ Remote Debug: Unknown channel 0 [message #579717 is a reply to message #32875] |
Tue, 10 March 2009 14:46  |
Eclipse User |
|
|
|
Hi Tom,
so it looks like this is
https://bugs.eclipse.org/bugs/show_bug.cgi?id=227135 -- RSE doesn't
currently behave well if there is no sftp on the remote. I'm looking at
this now.
We should fall back to a mode of operation where the shell works (and
ignore the fact that we don't have a files subsystem). Anna -- does the
remotecdt launcher actually work without a files subsystem ? I think it
should, in order to run in cases like Telnet where we only have a shell
channel.
If this works, Tom, then a workaround for you is defining a systemType
which only has a shell subsystem (and no files subsystem).
Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
Tom Deseyn wrote:
> Hi Martin,
>
> I don't think I currently have SFTP on dropbear. I will check this on
> monday.
>
> In my case I don't need to access the file system via eclipse. I only
> need eclipse to start the gdbserver.
> When creating a new remote system connection, it might be nice if you
> could select 'nothing' for a certain subsystem, e.g. to indicate there
> is no files subsystem.
>
> Also, the RSE Processes list of my target also doesn't work. I don't
> need it either, but I wondered if you can tell me why it doesn't work.
> Perhaps it helps to know my target system runs busybox.
>
> Thanks for your reply,
> Have a nice weekend,
>
> Tom
>
|
|
|
Goto Forum:
Current Time: Sat May 10 12:07:39 EDT 2025
Powered by FUDForum. Page generated in 0.03565 seconds
|