• Corrupted FAT32 USB stick.

    From Henri Derksen@2:280/1208 to David Ruck on Wed Jun 5 03:58:00 2019
    Hello David,

    Today I suddenly got a strange problem with an USB stick in my Acorn RiscPC,
    it let the machine hang completely when inserted in an UniPod USB port.
    This stick was less than half full and used very much between RiscPC,
    Raspberry Pi 3B with Raspbian Stretch 2018 and with another old Pi 1B
    running RISC OS 5.24 where my !ROSBink runs for FidoNet now.
    I must have once fortgotten to dismnount before removing, what I normally sure do, but ANT Inet Suite sometimes crashes the machine, in case dismounting USB is not possible anymore.

    Fist I used FSCK.FAT at the Linux Pi 3B to examine faults after first
    unmouting it, and serveral directories and files were reported defective,
    but could be read normally when mounted, strange. So only one of the twoo FAT's
    were corrupt I think.
    So I renamed all defective directories and files to let the Raspbian OS
    write the correct FAT info at the stick, and dismounted it afterwards.
    Then I ran FSCK.FAT again en cleared the "Dirty" bit.
    No other corrections were necessarry then, as I wiped much old files,
    and renamed several I wanted to keep.
    After that I ran FSCSK.FAT again to see if all was corrected OK.

    pi@raspberrypi:~ $ sudo fsck.fat -n /dev/sda1
    fsck.fat 4.1 (2017-01-24)
    /dev/sda1: 651 files, 33646/61590 clusters
    pi@raspberrypi:~ $

    So no errors reported anymore.
    But still the Stick hangs my RiscPC with RISC OS 4.04 and UniPod.
    I did not change the USB MASSFS file OtherDevs for a long time,
    so that cannot be the problem.
    This stick worked ok since 2016 at all my machines, including RPC.
    No it stops my RiscPC, and the only way out is the reset button at the back, arg ;-(.
    The stick still works ok at al my Pi's, RISC OS and Raspbian Stretch,
    but nog on the RPC anymore ;-(.

    What can I do to get it working again at my Acorn RiscPC with UniPod?

    I have the Fat32Formatter for RISC OS, so I could move the data to another free
    place, format the stick with Fat32Formatter and copy the data back.
    I.e. only at the RISC OS Pi ofcourse, as the RPC hangs when inserting the stick
    ;-(.
    But will that be sufficient to get it working again at the RPC?

    Could it be that the Partition table, or MasterBootRecord is defective?
    Hou do I found out that?

    Another solution could be to start using !LanMan98 at the RiscPC and share data
    with my Pi 3B under Raspbian Stretch.
    But I donot know how to share a directory at the Linux Pi.
    My !LanMan98FS works OK with an old Win2K laptop on which I run Virtual Acorn RiscPC. But there I can use RISC OS's !ShareFS too.
    Thank you in advance for your help.

    Greetings from Henri in NL.

    ---
    * Origin: Computing Apart Together (2:280/1208)
  • From David Taylor@3:770/3 to Henri Derksen on Wed Jun 5 20:13:31 2019
    On 04/06/2019 11:58, Henri Derksen wrote:
    []
    Today I suddenly got a strange problem with an USB stick in my Acorn RiscPC, it let the machine hang completely when inserted in an UniPod USB port.
    This stick was less than half full and used very much between RiscPC, Raspberry Pi 3B with Raspbian Stretch 2018 and with another old Pi 1B
    running RISC OS 5.24 where my !ROSBink runs for FidoNet now.
    []
    Greetings from Henri in NL.

    "used very much".

    Any chance you've simply run out of write cycles?

    Why not network link the two devices?

    --
    Cheers,
    David
    Web: http://www.satsignal.eu

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From druck@3:770/3 to Henri Derksen on Fri Jun 7 12:47:01 2019
    On 04/06/2019 11:58, Henri Derksen wrote:
    Hello David,

    Any particular David you are aiming at?
    Today I suddenly got a strange problem with an USB stick in my Acorn RiscPC, it let the machine hang completely when inserted in an UniPod USB port.
    This stick was less than half full and used very much between RiscPC, Raspberry Pi 3B with Raspbian Stretch 2018 and with another old Pi 1B
    running RISC OS 5.24 where my !ROSBink runs for FidoNet now.
    I must have once fortgotten to dismnount before removing,

    [Snip]

    Fist I used FSCK.FAT at the Linux Pi 3B to examine faults after first unmouting it, and serveral directories and files were reported defective,
    but could be read normally when mounted, strange. So only one of the twoo
    FAT's
    were corrupt I think.

    [Snip]

    So no errors reported anymore.
    But still the Stick hangs my RiscPC with RISC OS 4.04 and UniPod.

    [Snip]

    What can I do to get it working again at my Acorn RiscPC with UniPod?

    Two things, it could either be the card has reached end of life and is
    now unreliable, or more likely the corruption and repair has left it a
    state the RISC OS's FAT32FS doesn't like, even if it appears OK else where.


    I have the Fat32Formatter for RISC OS, so I could move the data to another
    free
    place, format the stick with Fat32Formatter and copy the data back.
    I.e. only at the RISC OS Pi ofcourse, as the RPC hangs when inserting the
    stick
    ;-(.
    But will that be sufficient to get it working again at the RPC?

    I recommend reformatting with FAT32Formatter. First RMKill FAT32FS and
    DOSFS so you can insert without out RISC OS trying to mount it and hang.
    If that still doesn't work, get a new stick, they are cheap enough to
    make it not worth wasting much time on.

    ---druck

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Folderol@3:770/3 to druck on Fri Jun 7 14:56:09 2019
    On Fri, 7 Jun 2019 08:47:01 +0100
    druck <news@druck.org.uk> wrote:

    I recommend reformatting with FAT32Formatter. First RMKill FAT32FS and
    DOSFS so you can insert without out RISC OS trying to mount it and hang.
    If that still doesn't work, get a new stick, they are cheap enough to
    make it not worth wasting much time on.

    ---druck

    Agree with this, but I would also hope someone has notified ROOL. A faulty device shouldn't hang the computer.

    --
    W J G

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From NY@3:770/3 to Folderol on Fri Jun 7 21:38:43 2019
    "Folderol" <general@musically.me.uk> wrote in message news:20190607105609.591becc1@devuan...
    I would also hope someone has notified ROOL. A faulty
    device shouldn't hang the computer.

    I was surprised that the absence of a USB hub and hard disc, with an
    automount of this disc into a sub-directory of "Pi" user's home directory, prevented my Pi (3B+, Raspbian Stretch) from booting. It gave a very brief message about "unable to mount" and booting stopped dead in its tracks. I'd expect that situation to be treated as a warning, and for booting to proceed with the proviso that the external HDD would not appear in the tree
    structure.

    It was easily rectified, by plugging in the hub/HDD - I was trying for a bare-minimum setup for a confidence test, having just installed the Pi in my new house after packing it up (working) at the old house. It took longer to diagnose than otherwise, because the Pi is no longer in the same room as my Windows PC with its monitor, so I had to move monitor, keyboard and mouse to the Pi in the other room to work out why it wasn't booting.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Henri Derksen@2:280/1208 to David Taylor on Sat Jun 8 00:03:00 2019
    Hello David,

    On 04/06/2019 11:58, Henri Derksen wrote:
    Today I suddenly got a strange problem with an USB stick in my
    Acorn RiscPC,
    it let the machine hang completely when inserted in an UniPod USB port.
    This stick was less than half full and used very much between RiscPC,
    Raspberry Pi 3B with Raspbian Stretch 2018 and with another old Pi 1B
    running RISC OS 5.24 where my !ROSBink runs for FidoNet now.


    "used very much".

    Every day only 2 or 3 files are written to. Mostly HTML messages,
    I want to visit their websites with mij Raspberry Pi 3B Raspbian and FF.

    Any chance you've simply run out of write cycles?

    Normally could think that, but then it should still be normal readable.
    This stick works ok at all my other machine, both reading and writing.

    Why not network link the two devices?

    That's an other problem I also gave the background details for.
    How do I share a map at the Pi 3B Raspbian Stretch Linux in the way I can connect to at the Acorn RiscPC with RISC OS 4.04 and !LanMan98FS?
    If that works OK, I donot need to use an USB stick for tranportations.

    Greetings from Henri.

    ---
    * Origin: Computing Apart Together (2:280/1208)
  • From Henri Derksen@2:280/1208 to druck on Sat Jun 8 00:32:00 2019
    Hello David,

    Any particular David you are aiming at?

    especially you.

    Today I suddenly got a strange problem with an USB stick in my
    Acorn RiscPC,
    it let the machine hang completely when inserted in an UniPod USB port.
    This stick was less than half full and used very much between RiscPC,
    Raspberry Pi 3B with Raspbian Stretch 2018 and with another old Pi 1B
    running RISC OS 5.24 where my !ROSBink runs for FidoNet now.
    I must have once fortgotten to dismnount before removing,

    So no errors reported anymore.
    But still the Stick hangs my RiscPC with RISC OS 4.04 and UniPod.
    What can I do to get it working again at my Acorn RiscPC with UniPod?

    Two things, it could either be the card has reached end of life and is
    now unreliable,

    That's not the case, as it works OK as normal at all my other machines,
    i.e. Raspberry Pi 1B2 at RISC OS 5.24 and at my Pi 3B at Raspbian Stretch Linux, and also at my Asus L5800C Win2K laptop, both on Windows and Virtual Acorn RiscPC.

    or more likely the corruption and repair has left it a state the
    RISC OS's FAT32FS doesn't like, even if it appears OK else where.

    I can understand that, but at the RISC PC I am only running its normal
    built in DOSFS or mostly Win95FS because of long filenames.

    Yesterday I discovered the same problem with another good working
    2 GB USB stick at the RISC PC's UniPod USB port.
    I am only using FAT32FS at the Pi 1B2, not at the RiscPC.
    That other stick also works ok at all my other machines.

    So I am going think there is something wrong at that SimTec UniPod USB.
    Have you or ohers more idea's I could try?

    I have the Fat32Formatter for RISC OS, so I could move the data to another >> free place, format the stick with Fat32Formatter and copy the data back.
    I.e. only at the RISC OS Pi ofcourse, as the RPC hangs when inserting the
    stick ;-(.
    But will that be sufficient to get it working again at the RPC?

    I recommend reformatting with FAT32Formatter. First RMKill FAT32FS and
    DOSFS so you can insert without out RISC OS trying to mount it and hang.

    Thanks.

    If that still doesn't work, get a new stick, they are cheap enough to
    make it not worth wasting much time on.

    The problem with the UniPod USB stack from Symtec is that it only accepts
    max 2 GB versions of a small amount of makes.
    I have to search with a lamp to find new ones that work ok at the RiscPC.
    The Pi's accept all kind of USB makes and sizes.

    So now I transport the files from RPC to Pi 1B2, and copy it form RamDisc
    to the USB stick.
    After that I move the stick tot de Pi 3B with Linux,
    and also the mouse/kb-dongel for wireless mouse and kb.
    So I would like a more permanent solution without that moving circus ;-(.
    All machines have EtherNet and InterNet.
    Can you tell me how I can share a Linux directory for connection with !LanMan98FS at the RiscPC?
    Thanks for your (and others) advice.

    Henri.

    ---
    * Origin: Computing Apart Together (2:280/1208)
  • From The Natural Philosopher@3:770/3 to Henri Derksen on Sat Jun 8 17:09:18 2019
    On 07/06/2019 08:03, Henri Derksen wrote:
    How do I share a map at the Pi 3B Raspbian Stretch Linux in the way I can connect to at the Acorn RiscPC with RISC OS 4.04 and !LanMan98FS?
    If that works OK, I donot need to use an USB stick for tranportations.


    Your english is hard to understand on technical matters, but if you want
    to access files on the Pi remotely, you have several optipons open to you.

    1/. Samba. This is the SMB protocol and is compatible with Microsoft
    Windows and apple file shares. If you canm manage TCP/IP based SAMBA
    (netbios over TCP) rather then the older netbeui proticoals thais should
    work fine. Smaba tends to be n te default intsallation


    2/. NFS is well supported on the Pi if you install the packages for it.
    But I dowubt that Aciorn wopuld support it under RISCOS

    3/. SFTP is avilable for file transfer if RISCOS supporets TCP/IP and ssh..

    4/. FTP is also available.

    Note that all of the above depend on a TCP/IP stack on the Acorn...well
    it LOOKS like that exists all right.

    If you set up samba on the RPI you SHOULD see it appear on riscos
    network viewer.

    https://www.raspberrypi.org/magpi/samba-file-server/

    seems a decent guide



    --
    "The great thing about Glasgow is that if there's a nuclear attack it'll
    look exactly the same afterwards."

    Billy Connolly

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Henri Derksen@2:280/1208 to The Natural Philosopher on Tue Jun 25 15:00:00 2019
    Hello Philospherer,

    How do I share a map at the Pi 3B Raspbian Stretch Linux in the way I can
    connect to at the Acorn RiscPC with RISC OS 4.04 and !LanMan98FS?
    If that works OK, I donot need to use an USB stick for tranportations.

    Your english is hard to understand on technical matters,

    Sorry, but Englisch is not my native language.

    but if you want to access files on the Pi remotely,
    you have several optipons open to you.

    1/. Samba. This is the SMB protocol and is compatible with Microsoft
    Windows and apple file shares. If you canm manage TCP/IP based SAMBA
    (netbios over TCP) rather then the older netbeui proticoals thais should
    work fine. Smaba tends to be n te default intsallation

    Do I have to install something?,
    or if it is already there, how can I switch it on?
    I.e. make a Linux map shareable for others on the network?

    2/. NFS is well supported on the Pi if you install the packages for it.
    But I dowubt that Aciorn wopuld support it under RISCOS

    I have !LanMan98 here on the RISC OS machine.
    It can handle Shared discs froms Windows machines, such as my Asus L5800c Laptop running at Windows 2000 (yes very old), or an old Windows XP system.
    I know less of Windows 7, 8 or 10.

    3/. SFTP is avilable for file transfer if RISCOS supporets TCP/IP and
    ssh..

    That could be doable either.
    I have !FTPc and !FTPs on RISC OS.
    But the disadvantage of (S)FTP is that the received files get the date
    of transfer, not their original creation or modifying date ;-(.
    I am not interested in the moment of transfer.
    The big disadvantage is that older files then get newer dates,
    wich is much misleading ;-(.

    I also have !SunFish and !MoonFish at Acorn RISC OS.

    4/. FTP is also available.

    Note that all of the above depend on a TCP/IP stack on the Acorn...well
    it LOOKS like that exists all right.

    Yes it is for years, as I can e-mail too and also have !ROSBink for FTN.

    If you set up samba on the RPI you SHOULD see it appear on riscos
    network viewer.

    Acorn uses !ShareFS with TCP/IP at the following ports:

    aun-data 32768/udp
    aun-atp 32769/udp
    freeway1 32770/udp
    freeway2 32771/udp
    sharefs 49171/udp

    https://www.raspberrypi.org/magpi/samba-file-server/
    seems a decent guide

    Thanks.

    Henri.

    ---
    * Origin: Computing Apart Together (2:280/1208)
  • From The Natural Philosopher@3:770/3 to Henri Derksen on Wed Jun 26 05:30:50 2019
    On 24/06/2019 23:00, Henri Derksen wrote:
    Hello Philospherer,

    How do I share a map at the Pi 3B Raspbian Stretch Linux in the way I can >>> connect to at the Acorn RiscPC with RISC OS 4.04 and !LanMan98FS?
    If that works OK, I donot need to use an USB stick for tranportations.

    Your english is hard to understand on technical matters,

    Sorry, but Englisch is not my native language.

    but if you want to access files on the Pi remotely,
    you have several optipons open to you.

    1/. Samba. This is the SMB protocol and is compatible with Microsoft
    Windows and apple file shares. If you canm manage TCP/IP based SAMBA
    (netbios over TCP) rather then the older netbeui proticoals thais should
    work fine. Smaba tends to be n te default intsallation

    Do I have to install something?,

    Probably there by default - I have raspian lite and it's on that.


    or if it is already there, how can I switch it on?
    It probably is on, if not installing it will switch it on

    I.e. make a Linux map shareable for others on the network?

    edit /etc/samba/smb.conf and restart the service


    2/. NFS is well supported on the Pi if you install the packages for it.
    But I dowubt that Aciorn wopuld support it under RISCOS

    I have !LanMan98 here on the RISC OS machine.
    It can handle Shared discs froms Windows machines, such as my Asus L5800c Laptop running at Windows 2000 (yes very old), or an old Windows XP system.
    I know less of Windows 7, 8 or 10.

    3/. SFTP is avilable for file transfer if RISCOS supporets TCP/IP and
    ssh..

    That could be doable either.
    I have !FTPc and !FTPs on RISC OS.
    But the disadvantage of (S)FTP is that the received files get the date
    of transfer, not their original creation or modifying date ;-(.
    I am not interested in the moment of transfer.
    The big disadvantage is that older files then get newer dates,
    wich is much misleading ;-(.


    Samba then:
    #
    Follow these instructions

    https://www.raspberrypi.org/magpi/samba-file-server/



    Thanks.

    Henri.



    --
    ΓÇ£People believe certain stories because everyone important tells them,
    and people tell those stories because everyone important believes them.
    Indeed, when a conventional wisdom is at its fullest strength, oneΓÇÖs agreement with that conventional wisdom becomes almost a litmus test of
    oneΓÇÖs suitability to be taken seriously.ΓÇ¥

    Paul Krugman

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From druck@3:770/3 to Henri Derksen on Wed Jun 26 23:53:24 2019
    On 24/06/2019 23:00, Henri Derksen wrote:
    1/. Samba. This is the SMB protocol and is compatible with Microsoft
    Windows and apple file shares. If you canm manage TCP/IP based SAMBA
    (netbios over TCP) rather then the older netbeui proticoals thais should
    work fine. Smaba tends to be n te default intsallation

    Do I have to install something?,
    or if it is already there, how can I switch it on?

    With the default Raspbian, then yes you need to intall SAMBA. https://www.raspberrypi.org/forums/viewtopic.php?t=205379

    I have !LanMan98 here on the RISC OS machine.

    You will need to configure SAMBA to share the drives using the older SMB
    V1 protocol to be able to access them from Lanman98, as both Linux and
    Windows have this disabled due to security issues.

    I also have !SunFish and !MoonFish at Acorn RISC OS.

    SunFish allows you to access NFS shares, so you need to install an NFS
    server on the Pi.

    https://www.raspberrypi.org/forums/viewtopic.php?t=14500
    Acorn uses !ShareFS with TCP/IP at the following ports:

    I don't know of any implementation of Acorn Access/ShareFS, which is a
    shame, it would be a nice open source project for someone.

    ---druck

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Henri Derksen@2:280/1208 to druck on Thu Jun 27 05:43:00 2019
    Hello David,

    or if it is already there, how can I switch it on?

    With the default Raspbian, then yes you need to intall SAMBA. https://www.raspberrypi.org/forums/viewtopic.php?t=205379

    Thanks.

    I have !LanMan98 here on the RISC OS machine.

    You will need to configure SAMBA to share the drives using the older SMB
    V1 protocol to be able to access them from Lanman98, as both Linux and Windows have this disabled due to security issues.

    I see.

    I also have !SunFish and !MoonFish at Acorn RISC OS.

    SunFish allows you to access NFS shares, so you need to install an NFS
    server on the Pi.

    https://www.raspberrypi.org/forums/viewtopic.php?t=14500

    Ok.

    Acorn uses !ShareFS with TCP/IP at the following ports:

    I don't know of any implementation of Acorn Access/ShareFS, which is a
    shame, it would be a nice open source project for someone.

    !ShareFS is there in every RISC OS from version 3.6 on and higher.
    So I can exchange files between the RiscPC with RISC OS 4.04 and my Pi 1B with RISC OS 5.24.

    Henri.

    ---
    * Origin: Default is your fault, take UniCorn BBS (2:280/1208)
  • From druck@3:770/3 to Henri Derksen on Tue Jul 2 00:27:46 2019
    On 26/06/2019 13:43, Henri Derksen wrote:
    I wrote:
    I don't know of any implementation of Acorn Access/ShareFS, which is a
    shame, it would be a nice open source project for someone.

    !ShareFS is there in every RISC OS from version 3.6 on and higher.
    So I can exchange files between the RiscPC with RISC OS 4.04 and my Pi 1B
    with
    RISC OS 5.24.

    I was talking about an implementation of Acorn Access/ShareFS on Linux,
    as this thread was about transferring files between a Risc PC and a
    Raspberry Pi running Raspbian Stretch.

    ---druck

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From David Higton@3:770/3 to druck on Tue Jul 2 18:21:24 2019
    In message <qfdmrl$s99$2@dont-email.me>
    druck <news@druck.org.uk> wrote:

    On 26/06/2019 13:43, Henri Derksen wrote:
    I wrote:
    I don't know of any implementation of Acorn Access/ShareFS, which is a
    shame, it would be a nice open source project for someone.

    !ShareFS is there in every RISC OS from version 3.6 on and higher.
    So I can exchange files between the RiscPC with RISC OS 4.04 and my Pi 1B with
    RISC OS 5.24.

    I was talking about an implementation of Acorn Access/ShareFS on Linux,
    as this thread was about transferring files between a Risc PC and a
    Raspberry Pi running Raspbian Stretch.

    There is a partial implementation of ShareFS for Linux. I've used it.

    David

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)