Autor Thema: Firebee NFS funktioniert nicht ...  (Gelesen 17766 mal)

0 Mitglieder und 1 Gast betrachten dieses Thema.

Offline yalsi

  • Administrator
  • *****
  • Beiträge: 522
Re: Firebee NFS funktioniert nicht ...
« Antwort #40 am: Fr 29.08.2014, 18:34:52 »
Hi

Da kann ich mal wieder nicht meine klappe halten:

OpenSource Projekte funktionieren nur, wenn jeder mitarbeitet im Rahmen seiner Möglichkeiten. Frank, du hast keinen Anspruch auf irgendeine Funktion und es gibt auch keine Zusage, das überhaupt etwas funktioniert. Das sagt dir die GPL und auch die BSD Lizenz. Du kriegst die Softwarenutzung geschenkt- statt irgendwas zu fordern, stände es eher an, einen Bugreport zu schreiben und die Wireshark Captures mitzuschicken. Das ist eine Hilfe für die Entwickler und eine Möglichkeit für Dich, Anerkennung für die geleistete Arbeit def Entwickler zu Zeigen.

Sorry, wenn das oberlehrerhaft rüberkommt, aber mich wurmt Im Zusammenhang mit Opensource einfach ein Anspruchsdenken.

Gruss- Georg B. aus H.
Mein Netz: Acorn | Atari | Milan | Amiga | Apple IIGS | Macintosh | SUN Sparc | NeXT |SGI | IBM RS/6000 | DEC Vaxstation| Raspberry Pi | PCs mit OS/2, BeOS, Linux, AROS, Windows, BSD | Stand-alone: Apple //c | Sinclair QL | Amstrad | PDAs

Offline Lukas Frank

  • Benutzer
  • Beiträge: 13.056
  • fancy Atari Musik anDA Dance "Agare Hinu Harukana"
Re: Firebee NFS funktioniert nicht ...
« Antwort #41 am: Fr 29.08.2014, 18:54:52 »
Ich bin nur masslos von der Firebee enttäuscht da ich eine Funktion erwartet habe die ich seit Jahren von MiNT kenne ...

Ist ja nicht so das ich etwas neues oder ungewöhnliches haben möchte ...

Für mich ist MiNT, MiNT egal auf was für einem Atari Rechner das auch immer läuft ...

This is an early beta version of an networking file system for MiNT.

Copyright 1993, 1994 by Ulrich KÅhn. All rights reserved.


DISCLAIMER:
===========
THIS PROGRAM COMES WITH ABSOLUTELY NO WARRANTY, NOT
EVEN THE IMPLIED WARRANTIES OF MERCHANTIBILITY OR
FITNESS FOR A PARTICULAR PURPOSE. USE AT YOUR OWN
RISK.

See also the file COPYING for further details.



EXPLANATION:
============
A network file system allows computers to access file that are physically
located on another computer transparently. Therefor the must be a means of
data transport between these two computers (see above for the current
situation). The computer accessing the remote file is called the client,
the computer being physically the owner of that file is the server.
On the server, there must be a service program running, that satisfies the
access requests of the client. This program is called nfs daemon, short
named nfsd. Because normally the client does not know which files can be
accessed by it, it must be told so; this is called mounting of a remote
directory or file and done with a program called mount on the client.
On the server side there must run another service program, the mount daemon
called mountd, which serves these mount requests by clients.
So: without nfsd no file access, without mountd no mounts to access files.

Another point is that both server and client can be the same computer!
Then the daemon programs run on that machine, and also the mount program is
executed there. This is the easiest way to test this package.



INSTALLATION:
=============
There are a few things to do (better try first server and client on the
same computer) :
- (both server and client) make sure to have Kay Roemer's mint-net (a socket
  device) installed correctly. Version >= 0.30
  (eMail: roemer@hera.rbi.informatik.uni-frankfurt.de)
  This includes:
    - make sure to have a directory u:\etc  (make a symbolic link to
      your preferred place in mint.cnf)
  - place the following files in u:\etc
      hostname, hosts, networks, services, resolv.conf
    - name your host by writing a name into u:\etc\hostname
- (client) copy the nfs.xfs (the client filesystem driver) to a place where
  MiNT can find it at boot time (that is \mint or \multitos on your boot drive)
- (server) install the portmapper daemon from the sun rpc package. Place
  the rpc file into u:\etc
The portmapper is essential as both the mount daemon and the mount
command rely on that, but as a temporary hack, they can also work without
the portmapper.
- (server) create a file u:\etc\xtab containing all the exported directories
  or files. This file is necessary for both nfsd and mountd (if necessary,
  rename them to nfsd.ttp and mountd.ttp). Please look into the bundled
  example, as no further docs are availbale at the moment. (or look into
  some unix adm doc)
- reboot


Then start the mountd and the nfsd. Now the system is ready to do some
nfs mounts. Here an example: (suppose \etc\xtab contains a line
\f\source ....)
mount hostname:\f\source \nfs\source
where hostname is the name of your host. (all operations done while drive
u: is the current. It should be, as mount treats the ':' as separator
betweeen hostname and directory name)
Another point is that if you are trying to run server and client stuff on
the same machine, the hostname for the mount command must be 'localhost'
or 'loopback' (there should be such a line in \etc\hosts), as the resolver
otherwise does not find the correct host (this behavior might depend on the
version of the mint-net your are using, or on your configuration)
After this operation you should have a directory source in u:\nfs which has
all the contents of the original \f\source

All this can be done within mint.cnf (or better use a shell script which
is started from mint.cnf -- look at the example rc.mup and mint.cnf)

A new feature of the mountd and nfsd is that they can be started by
the inetd and terminate themselfes in this case after a short time, so
there is no need to hold the all the time running in memory. Just install
the inetd and make sure that the mount and nfs lines in u:\etc\inetd.conf
are correct, that means they are active and the paths are correct.



COMPILATION:
============
If you want to rebuild the binaries by yourself, you have first to edit
the paths in the Makevars file, especially the BUILDDIR variable.
Then simply type make all or make install and wait...



BUGS:
=====
- the nfsd is not able to find a file on a TOSFS (in the state of MiNT
  <= 1.10) if it has only its nfs handle and no internal information. So
  it does not work properly on such a file system, sorry. But it works on
  a patched TOSFS with Julian Reschke's crc patch applied and enabled.
  This patch is included in MiNT 1.12 (get this anyway, as binaries are
  available!), but it seems to be disabled by default (take a look into
  tosfs.c in the MiNT source).
- no caching of results for nonidempotent requests. So if the anser of a
  file remove request gets lost and the client resends this request, it
  will fail because the file is already gone.
- no exportfs command, so you have to edit your \etc\xtab yourself and
  cannot use the \etc\exports file.
- several mount options are still not supported by the XFS, such as
  hard mounts



MY CONFIGURATION:
=================
I am running this system on a TT030 with 4/4 Mb ram, TOS 3.06, a patched
MiNT 1.12, using both minixfs and the patched tosfs, and it seems to be
quite stable now, but who knows?


THANKS:
=======
Many thanks go to Kay Roemer for his great socket device, which made this
nfs possible. He also constantly supplied me with critics, suggestions,
ideas and bug fixes.


CONTACT ADDRESS:
================
If you have questions, bug reports, suggestions, etc. please contact
me under:

kuehn@math.uni-muenster.de  (Ulrich Kuehn)                 preferred

Ulrich Kuehn, Geibelstr.9, 48161 Muenster, Germany 


Have fun
Ulrich

... also gibt es NFS bei MiNT schon seit 1993 !

Ich möchte nicht wissen wie groß der Aufschrei der Gemeinde wäre wenn plötzlich eine oder die gesamte Netzwerk Funktionalität bei Ubuntu oder Debian nicht mehr über drei Paket Versionen hinweg nicht mehr funktionieren würde ...

Der Vergleich hinkt natürlich sehr ...

Anscheinend bin ich der Einzige der sich daran stört ...!
« Letzte Änderung: Fr 29.08.2014, 19:18:05 von Lukas Frank »

Offline HelmutK

  • Benutzer
  • Beiträge: 676
Re: Firebee NFS funktioniert nicht ...
« Antwort #42 am: Fr 29.08.2014, 21:17:55 »
So wie ich das mitbekommen hab, war nfs nie so der Renner auf atari, vielleicht wird es ja deshalb etwas stiefmütterlich behandelt, ich hab aber keine eigene Erfahrung damit.

Es gibt aber vielleicht Alternativen: rcp, rsh, ssh, etc.? Wie gesagt: ich hab da keine Ahnung.

Übrigens: Mit XaAES hab ich damals angefangen, weil nichts funktioniert hat, und keiner auf meine Fehlermeldungen reagiert hat ...

-Helmut

Offline Lukas Frank

  • Benutzer
  • Beiträge: 13.056
  • fancy Atari Musik anDA Dance "Agare Hinu Harukana"
Re: Firebee NFS funktioniert nicht ...
« Antwort #43 am: Fr 29.08.2014, 21:34:15 »
Ich kann nur auf meine Erfahrungen mit dem Atari TT zurückgreifen und da hat Samba unter SpareMiNT/EasyMiNT wunderbar funktioniert. war die Hölle das einzurichten bis es richtig lief und war extrem langsam. Das Samba Paket hat ja nicht ohne Grund über 20MB oder so, da brach der Atari TT regelrecht zusammen …



Zu der Zeit hatte ich eine Matrix TC1208 und eine PAM Netzwerkkarte zusammen am VME Bus. Die PAM Karte so vermute ich mal konnte auch so ca. 900kB/s übers Netzwerk schieben.


NFS lief wunderbar, sehr einfach einzurichten (nur der Client über das nfs.xfs und den Kernel), habe sogar meine ganze 9GB Festplatte (an Daten waren wahrscheinlich nur so um die 2GB drauf) vom Atari TT innerhalb einer halben Stunde auf meinem Mac gespiegelt. Das empfand ich als sehr schnell für einen Atari und ich war hoch auf zufrieden damit …

Als Netzwerkkarte hatte ich bei der NFS Geschichte einen Dayna Pocket SCSI Ethernet Adapter.


Zur Zeit tausche ich Daten zwischen der Firebee und dem Mac über die SD Karte aus und es ist recht umständlich immer die Firebee runterzufahren, Karte entnehmen, neue Dateien drauf kopieren, einsetzen und das Teil wieder hochfahren ...
« Letzte Änderung: Fr 29.08.2014, 22:08:10 von Lukas Frank »

Offline HelmutK

  • Benutzer
  • Beiträge: 676
Re: Firebee NFS funktioniert nicht ...
« Antwort #44 am: Fr 29.08.2014, 21:42:57 »
2 GB in 30m ist nicht schlecht.

Und irgendeine bequeme Möglichkeit, Sachen mit der firebee auszutauschen sollte es IMHO schon geben. Man will ja schließlich die Anwenderbasis erweitern. Aber mir egal :)

-Helmut
« Letzte Änderung: Fr 29.08.2014, 21:53:06 von HelmutK »

Offline 1ST1

  • Benutzer
  • Beiträge: 8.661
  • Gesperrter User
Re: Firebee NFS funktioniert nicht ...
« Antwort #45 am: Fr 29.08.2014, 22:11:16 »
Ich finde auch, dass NFS eigentlich das ideale Protokoll für Ataris ist, um Netzwerkshares anzusprechen. Samba ist für diese einfache Aufgabe eigentlich viel zu überladen wegen den heute leider notwendigen Sicherheitsfunktionen, Verschlüsselung und vieles mehr, und deswegen für den Atari viel zu fett. NFS dagegen ist schick schlank und kann alles was man am Atari so braucht.
Ausgeloggter Mitleser, der hier NIE mehr aktiv wird. Am besten, meine Inhalte komplett löschen. Dabei berufe ich mich auf mein Urheberrecht, die DSGVO und auf die Rechte, die mir unter Impressunm&Datenschutz zugestanden werden. Tschö!

Offline Arthur

  • Benutzer
  • Beiträge: 10.302
  • Mein Atari erinnert mich an die gute alte Zeit..
Re: Firebee NFS funktioniert nicht ...
« Antwort #46 am: Fr 29.08.2014, 22:31:41 »
Ich denke wenn den Entwicklern mitgeteilt wird das NFS auf der Firebee momentan nicht 100%tig funktioniert, aber Bedarf da ist, dann evtl. auch ein entsprechender Fix heraus gebracht wird... je nach dem wie groß der Aufwand ist. Pauschal hätte ich jetzt aber auch nicht sofort gewusst ob die Entwickler der Firebee oder von MiNT dafür zuständig sind. Wie wir jetzt wissen sind die MiNT Jungs dafür zuständig.

Offline Lukas Frank

  • Benutzer
  • Beiträge: 13.056
  • fancy Atari Musik anDA Dance "Agare Hinu Harukana"
Re: Firebee NFS funktioniert nicht ...
« Antwort #47 am: Di 02.09.2014, 21:08:27 »
Da tut sich etwas zur Zeit, bin voller Hoffnung …

… mal schauen !

Offline simonsunnyboy

  • Benutzer
  • Beiträge: 1.798
  • Rock'n'Roll is the thing - Jerry Lee is the king!
Re: Firebee NFS funktioniert nicht ...
« Antwort #48 am: Mi 03.09.2014, 17:56:04 »
Laut MiNT-Mailingliste ist da arg was im rumoren, also etwas Geduld.
Paradize - ST Offline Tournament
Stay cool, stay Atari!
1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee

Offline Lukas Frank

  • Benutzer
  • Beiträge: 13.056
  • fancy Atari Musik anDA Dance "Agare Hinu Harukana"
Re: Firebee NFS funktioniert nicht ...
« Antwort #49 am: Do 04.09.2014, 08:53:45 »
Ich bin ja alles andere als ungeduldig wie mein Avatar verrät ...

Freue mich nur darüber das sich etwas tut !

Offline Lukas Frank

  • Benutzer
  • Beiträge: 13.056
  • fancy Atari Musik anDA Dance "Agare Hinu Harukana"
Re: Firebee NFS funktioniert nicht ...
« Antwort #50 am: Do 04.09.2014, 21:41:16 »
In der kommenden MiNT 1-19-cur Version von Vincent sollen die Fehler behoben sein und alles funktionieren …

Ich freue mich ;-)

Offline Beetle

  • Board Moderator
  • *
  • Beiträge: 879
Re: Firebee NFS funktioniert nicht ...
« Antwort #51 am: Sa 06.09.2014, 12:45:21 »
Ist wohl jetzt alles erledigt!

Das kam auf der MiNT Mailingliste:

Zitat von: Vincent Riviere
Hello.

I have just built a new FreeMiNT kernel for the FireBee:
http://vincent.riviere.free.fr/soft/m68k-atari-mint/archives/mint/freemint/

There are 2 new features:

1) An updated FEC.XIF which fixes wrong network packet sizes when the FireBee sends fragmented IP frames. This was a major bug, I strongly advise you to upgrade to improve network reliability.

2) NFS.XFS for ColdFire. This means that your FireBee can connect to a remote NFS server, and see the remote files in u:\nfs.

To connect to a remote NFS server, you will need the mount_nfs command line tool. You can get it there:
http://vincent.riviere.free.fr/soft/m68k-atari-mint/archives/mint/nfs/

Then mount the remote share to your u:\nfs directory by using:
mount_nfs server:/share /nfs/somedir

- server is the DNS name or IP address of your server
- /share is the name of the exported directory on the server
- /nfs/somedir will be the local path to access remote files

Important! The local path must absolutely start with /nfs, otherwise the mount will fail.

This NFS stuff has been debugged on the FireBee thanks to the perseverance of Frank Lukas as user, and myself as bug hunter. People on Atari-Forum and the MiNT Mailing List helped a lot. See the whole story there:
http://www.atari-forum.com/viewtopic.php?f=92&t=26821

Enjoy!

--
Vincent Rivière
Falcon ct63 ->68060@90MHz im Ex-ST Gehäuse, 14/512 MB, DVD-Brenner, 120GB SSD, EtherNAT (Netzwerk, USB), MicroCosmos (nur USB->IKBD Funktion), SuperVidel, 27" 16:9 TFT 2560x1440

Offline towabe

  • Benutzer
  • Beiträge: 612
  • Ich liebe dieses Forum!
Re: Firebee NFS funktioniert nicht ...
« Antwort #52 am: Sa 06.09.2014, 13:12:06 »
Vielleicht kann mal jemand kurz erklären wie man das update macht
Toni
Falcon CT60/CTPCI;  Mega ST mit Cloudy, Storm Lightning;1040STE, STE mit Twister

Offline Lukas Frank

  • Benutzer
  • Beiträge: 13.056
  • fancy Atari Musik anDA Dance "Agare Hinu Harukana"
Re: Firebee NFS funktioniert nicht ...
« Antwort #53 am: Sa 06.09.2014, 14:27:54 »
MiNT Version von Vincent downloaden ->   http://vincent.riviere.free.fr/soft/m68k-atari-mint/archives/mint/freemint/

NFS Tools downloaden ->   http://vincent.riviere.free.fr/soft/m68k-atari-mint/archives/mint/nfs/

Im Autoordner das alte mintv4e.prg z.B. in mint118.prx umbenennen, das neue mintv4e.prg in den Autoordner kopieren, den Ordner 1-19-cur in den Ordner C:\MINT\ kopieren. Die Datei mint.cnf aus dem alten Ordner c:/mint/1-18-cur nach c:/mint/1-19-cur/ kopieren und mit Hilfe von QED die Pfade anpassen von 1-18-cur nach 1-19-cur z.B. für den xaloader ...

Die Datei xaaes.cnf aus c:/mint/1-18-cur/xaaes nach c:/mint/1-19-cur/xaaes.cnf kopieren und mit QED eventuelle Pfadangaben auf c:/mint/1-19-cur/xaaes/ anpassen ...

Nicht vergessen die Datei german.tbl in keyboard in keyboard.tbl umbenennen und in den c:/mint/1-19-cur/ Ordner kopieren ...


Bei den NFS Tools das mount_nfs aus dem Ordner /sbin in mount_nfs.ttp umbenennen und bei den anderen Netzwerktools auf c:/mint/sys/net/ ablegen ...




NFS funktioniert jetzt und ist recht schnell ...
« Letzte Änderung: Sa 06.09.2014, 16:08:36 von Lukas Frank »

Offline Lukas Frank

  • Benutzer
  • Beiträge: 13.056
  • fancy Atari Musik anDA Dance "Agare Hinu Harukana"
Re: Firebee NFS funktioniert nicht ...
« Antwort #54 am: Sa 06.09.2014, 19:57:01 »
Wer sich für NFS interessiert ...

NFS Server für Windows ->   http://sourceforge.net/projects/freenfs/
oder ->   http://www.hanewin.de/nfs-d.htm

NFS Grafische Oberfläche für OSX ->   http://www.bresink.com/osx/NFSManager-de.html

... nutze ich auch, da lohnt sich die Geldauslage, sehr gutes Stück Software.

NFS Server für Macintosh OS7-9 ->   http://macintoshgarden.org/apps/macnfs-30p3

NFS Kernelserver z.B. bei Ubuntu Linux einfach mal per Google suchen ...


Mit Hilfe des Kernel NFS Clients in MiNT (nfs.xfs) kann man sehr einfach Daten zum und vom Server kopieren.

Am einfachsten ist das mounten aus der fstab heraus, was aber beim standard Firebee MiNT Setup nicht geht, da keine fstab beim Booten abgearbeitet wird. Also muss man über das mount_nfs in der bash oder über das mount_nfs.ttp das NFS Verzeichnis mounten ...
« Letzte Änderung: Sa 06.09.2014, 19:59:11 von Lukas Frank »