[Scratchbox-users] sbrsh issue: "sbrsh server: mount: failed"

Sharath Mudalamane sharath_m at mindtree.com
Thu Oct 25 10:14:09 EEST 2007


Hello all,

 

I am trying to use sbrsh to run arm binary on target device (Nokia N800).

I am unable to use sbrsh. I get a strange error message when I try to run the
binary, saying it can't mount a certain directory.

I have explained about my scratchbox setup & attached logs below. Please,
somebody help find out what is going wrong here.

 

__________________________________________________________-

 

More information about packages I have installed:

 

Packages used for scratchbox -

scratchbox-core-1.0.7-i386.tar.gz

scratchbox-libs-1.0.7-i386.tar.gz

scratchbox-toolchain-cs2005q3.2-glibc-arm-1.0.5-i386.tar.gz

scratchbox-devkit-cputransp-1.0.3-i386.tar.gz

 

Installed scratchbox as mentioned in 

http://scratchbox.org/documentation/docbook/installdoc.html

 

To setup TARGET (N800), I took guidance from

http://scratchbox.org/documentation/docbook/tutorial.html

 

I have setup USB networking, CPU transparency & sbrshd is running on the
device (Nokia N800).

I can give ssh to transfer the binary to target device (Nokia N800) and run
it there successfully.

________________________________________________________

 

Scratchbox shell logs:

 

 

[sharath at localhost ~]$ /scratchbox/login

 

Welcome to Scratchbox, the cross-compilation toolkit!

 

Use 'sb-menu' to change your compilation target.

See /scratchbox/doc/ for documentation.

 

[sbox-N800: ~] >

 

[sbox-N800: ~] >

[sbox-N800: ~] >

[sbox-N800: ~] >

[sbox-N800: ~] > cd code/

[sbox-N800: ~/code] > ls

a.out         avip1         helloworld_mp3    my_gst_init
wav_player_tag.c

arm-hello     hello         helloworld_mp3.c  my_gst_init.c     wp

arm-hello34   hello.c       helloworld_wav    wav_helloworld.c  wp1

avi_player.c  helloworld    helloworld_wav.c  wav_play

avip          helloworld.c  madPlayer.c       wav_player.c

[sbox-N800: ~/code] > file arm-hello

arm-hello: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for GNU/Linux
2.4.17, dynamically linked (uses shared libs), not stripped

[sbox-N800: ~/code] > 

[sbox-N800: ~/code] > ./arm-hello

sbrsh server: mount: mounting
192.168.3.14:/scratchbox/users/sharath/targets/N800 on
/var/sbrshd/sharath at 192.168.3.14/N800/ failed

sbrsh server: Can't mount to point: /var/sbrshd/sharath at 192.168.3.14/N800/

[sbox-N800: ~/code] >

 

____________________________________________________

 

Thanks and regards,

Sharath Mudalamane

 



DISCLAIMER:
This message (including attachment if any) is confidential and may be privileged. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited.
E-mail may contain viruses. Before opening attachments please check them for viruses and defects. While MindTree Consulting Limited (MindTree) has put in place checks to minimize the risks, MindTree will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside.
Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.
MindTree reserves the right to monitor and review the content of all messages sent to or from MindTree e-mail address. Messages sent to or from this e-mail address may be stored on the MindTree e-mail system or else where.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scratchbox.org/pipermail/scratchbox-users/attachments/20071025/a468c015/attachment.html


More information about the Scratchbox-users mailing list