Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
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 14:37 Go to next message
Tom Deseyn is currently offline Tom DeseynFriend
Messages: 10
Registered: July 2009
Junior Member
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 #32838 is a reply to message #32727] Fri, 06 March 2009 18:54 Go to previous messageGo to next message
Martin Oberhuber is currently offline Martin OberhuberFriend
Messages: 1007
Registered: July 2009
Senior Member
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 #32875 is a reply to message #32838] Fri, 06 March 2009 22:53 Go to previous messageGo to next message
Tom Deseyn is currently offline Tom DeseynFriend
Messages: 10
Registered: July 2009
Junior Member
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 #33157 is a reply to message #32875] Tue, 10 March 2009 18:46 Go to previous message
Martin Oberhuber is currently offline Martin OberhuberFriend
Messages: 1007
Registered: July 2009
Senior Member
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 18:54 Go to previous message
Martin Oberhuber is currently offline Martin OberhuberFriend
Messages: 1007
Registered: July 2009
Senior Member
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 22:53 Go to previous message
Tom Deseyn is currently offline Tom DeseynFriend
Messages: 10
Registered: July 2009
Junior Member
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 18:46 Go to previous message
Martin Oberhuber is currently offline Martin OberhuberFriend
Messages: 1007
Registered: July 2009
Senior Member
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
>
Previous Topic:Cross debugging
Next Topic:Problems with a dStore connection
Goto Forum:
  


Current Time: Tue Apr 16 08:27:08 GMT 2024

Powered by FUDForum. Page generated in 0.99918 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top