RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account
Forums → General →

ShareFS on BeagleBoard

Subscribe to ShareFS on BeagleBoard 17 posts, 5 voices

 
Mar 1, 2010 1:28pm
Avatar Dave Higton (281) 656 posts

I played with ShareFS on the BeagleBoard yesterday. It works more than I expected:

The client seems to work, in that BB can see the other shares on the network, and I can Filer_OpenDir to them; slow servers (my two A3010s with floppy discs) seem fine, but the Iyonix causes BB to go through multiple timeouts. I haven’t tried the Risc PC yet; maybe tonight;

The server falls over immediately I try to share HardDisc0, with rapidly flashing error windows.

This is using either of two USB Ethernet dongles based on AX88772 chips, and the EtherUSB 0.07 module.

Is ShareFS still closed source?

 
Mar 1, 2010 2:11pm
Avatar Jeffrey Lee (213) 1663 posts

Is ShareFS still closed source?

It looks like it, yes. The precompiled version in CVS looks like it was taken from an Iyonix build (see here), so probably needs recompiling for ARMv7 if it’s throwing up loads of errors.

I don’t think I’ve ever tried sharing a drive from the beagleboard before – I’m fairly certain that the ‘share’ option has always been greyed out for me. Maybe it’s just where I’m using a card reader (which could be classed as a removable drive) instead of an ordinary USB stick (which could be classed as ‘fixed’, even though it’s obviously still removable).

I’d assume that the timeouts are down to ShareFS doing something silly – I don’t think there are any major performance/reliability issues with EtherUSB. Unfortunately I can’t really speak from experience with regards to beagleboard networking issues since I spend 99% of my time at the command line!

 
Mar 1, 2010 2:15pm
Avatar Dave Higton (281) 656 posts

The share option was greyed out – I was at the command line too :-)

Hmm, closed source… how do I petition someone@rool to recompile it with appropriate flags?

 
Mar 1, 2010 2:41pm
Avatar Jeffrey Lee (213) 1663 posts

Thinking about it further, it wouldn’t surprise me if ShareFS was 100% assembler, which means it might not need recompiling/fixing for ARMv7 at all. I’ll have a play around with it tonight and see if I can find out what the error message is – it might be something we can fix ourselves without adding any extra work to ROOL’s plate. They’ve all been rather busy with non-ROOL stuff recently, so there’s no point pestering them until we know exactly what’s going on!

 
Mar 1, 2010 6:06pm
Avatar Peter van der Vos (95) 100 posts

Connecting a RISC PC to a Iyonix using ShareFS gives a lot of timeouts if the RISC PC has a 100 Mbit ethernet card. Try opening a folder with <ctrl> pressed, this way !Boot files are not executed and !sprite files are not loaded when applications are shown on the filer.

Hope this helps, Peter

 
Mar 1, 2010 8:39pm
Avatar Dave Higton (281) 656 posts

Jeffrey: you’re right, of course. Here’s some proper information.

*share SCSI::HardDisc0.$ results in rapidly repeatng error boxes saying “Internal error: abort on data transfer at &FC319E08”, where *modules shows the base of ShareFS to be at &FC30FBB4. *help sharefs says ShareFS is 3.52 (01 Jul 2004) Access+, which I believe is in ROM and is the same version my Iyonix (RO 5.16) shows.

 
Mar 1, 2010 9:04pm
Avatar Jeffrey Lee (213) 1663 posts

Yeah, it’s definitely an ARMv7 thing. Also it looks like the module is written in C, so it shouldn’t be too much hassle for them to recompile it for the next ROM build. I’ll drop them an email – it’s probably the most reliable way of making sure they’re aware of the issue before they next do the next autobuild :)

 
Mar 1, 2010 10:25pm
Avatar Dave Higton (281) 656 posts

Connecting a RISC PC to a Iyonix using ShareFS gives a lot of timeouts if the RISC PC has a 100 Mbit ethernet card.

Mine has, but the BB seemed happy to look at its hard drive. Seemed pretty quick, too.

Try opening a folder with <ctrl> pressed, this way !Boot files are not executed and !sprite files are not loaded when applications are shown on the filer.

Not easy to do on the root directory when you have to open it from the command line, though!

 
Mar 2, 2010 10:34am
Avatar Dave Higton (281) 656 posts

Two observations that may be linked:

- I can’t configure the network interface as ej0 isn’t listed, even though it’s up and running;

- there is no ShareFS icon at the left of the icon bar.

Can anyone please enlighten me as to how network devices are discovered by the configuration system?

Can anyone please enlighten me as to what ShareFS needs to see in order for a ShareFS drives icon to appear on the icon bar?

 
Mar 2, 2010 1:50pm
Avatar Jeffrey Lee (213) 1663 posts

Can anyone please enlighten me as to how network devices are discovered by the configuration system?

You need to create an ‘autosense’ file for it. Make sure EtherUSB is in System:Modules.Network, and then stick the following in an obeyfile in !InetSetup.Autosense:

set InetSetup$Driver$USB EtherUSB:ej0:EtherUSB:0.07:EtherUSB

Note that once you’ve saved the network settings you’ll need to make sure the network adaptor is always connected at boot if you want to avoid the boot sequence failing halfway through. An unfortunate side-effect of the way both EtherUSB and the network configuration currently work :(

Can anyone please enlighten me as to what ShareFS needs to see in order for a ShareFS drives icon to appear on the icon bar?

Enable Access in the network setup configure plugin (should be one of the options in the window with just the three big icons, I think!)

 
Mar 2, 2010 9:34pm
Avatar Dave Higton (281) 656 posts

Magic, Jeffrey, thank you again! The ej0 interface now comes up automatically on boot.

Access is (and was) enabled in the network configuration, but there’s still no ShareFS drives icon on the icon bar. I can open directories on the shares by running a Filer_OpenDir command from either the command prompt or an Obey file, so ShareFS is clearly running. If I open Resources:$.Discs, the shares are all there. *ShareFSIcon silently does nothing.

 
Mar 3, 2010 12:43pm
Avatar Ronald May (387) 28 posts

Hi, something that can stop access shares from appearing is if you have drives with same names on the two machines. The common cause being HardDisc4. I guess the same thing could happen if both machines had a SCSI::HardDisc0? Just mentioning it in case. :-)

 
Mar 3, 2010 2:13pm
Avatar Dave Higton (281) 656 posts

Ronald: thanks for your thoughts; it isn’t the case with my setup.

There’s more that’s wrong: although the shares are shown in Resources:$.Discs, double-clicking on any of them fails open a filer window.

These may simply be further symptoms of the non-Cortex-aware build of ShareFS that Jeffrey observed earlier. I think it’s time I stopped reporting malfunctions of ShareFS until it’s recompiled for a future ROM build.

 
Mar 7, 2010 8:24pm
Avatar Dave Higton (281) 656 posts

I discovered a neat trick.

I have NAS consisting of an NSLU2 and 320 GB USB disc, accessible via LanMan98. LanMan98 crashes immediately on the BeagleBoard on trying to open the NAS. However, I can connect to the NAS using LanMan98 on my Iyonix, and then re-export it via ShareFS! The BB can see it!

I had imagined that re-exporting a network drive would be disallowed; fortunately it isn’t.

 
Mar 7, 2010 8:27pm
Avatar Dave Higton (281) 656 posts

And another thing… although I can’t open the Iyonix’s root via ShareFS from the BeagleBoard without getting lots of garishly-coloured hourglasses, I can open another directory that has less stuff in it with no problem. Boof, it’s there. (I have a directory called UseForCopy, that does what it says on the, er, directory’s title.)

 
Mar 29, 2010 4:03pm
Avatar Dave Higton (281) 656 posts

Best of all is to set ShareFSWindow 1 on the Iyonix, then the BB seems to be happy with all of the Iyonix’s shares.

 
Aug 18, 2010 12:49pm
Avatar Trevor Johnson (329) 1264 posts

My random contribution for the day: Acorn Access basics ! Maybe some of the software could be of interest. If not, then please ignore.

Reply

To post replies, please first log in.

Forums → General →

Search forums

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Description

General discussions.

Voices

  • Dave Higton (281)
  • Jeffrey Lee (213)
  • Peter van der Vos (95)
  • Ronald May (387)
  • Trevor Johnson (329)

Options

  • Forums
  • Login
Site design © RISC OS Open Limited 2011 except where indicated
The RISC OS Open Beast theme is based on Beast's default layout

Valid XHTML 1.0  |  Valid CSS

Powered by Beast © 2006 Josh Goebel and Rick Olson
This site runs on Rails

Hosted by Arachsys