OT: Probleme mit LFS
Hi Folks, vielleicht etwas deplaziert in einer SUSE-Liste, aber ich versuche es trotzdem. Alos: Ich habe eine funktionierende Suse 9.0 Prof. möchte aber weiter in die Tiefen von Linux im Allgemeinen einsteigen. Habe mir deshalb mal LFS vorgenommen (bitte keine Meinungen zum Für und Wider). So weit - so gut - habe alle benötigten Pakete etc. runter geladen, einen User lfs angelegt - eben alles so, wie im "Buch" angegeben. User: lfs Mitglied auch von Gruppe lfs es existiert ein Verzeichnis /mnt/lfs/source, worin sich die bzip2 - Pakete befinden. Wenn ich jetzt diese Pakete als user "lfs" auspacken möchte bzip2 -cd binutils-2.14.tar.bz2 | tar xvf - dann beginnt er auch schön brav, legt das Verzeichnis binutils-2.14/ an, packt darin auch diverse Files aus . binutils-2.14/gas/testsuite/gas/elf/symver.d binutils-2.14/gas/testsuite/gas/elf/symver.s binutils-2.14/gas/testsuite/gas/fr30/allinsn.d binutils-2.14/gas/testsuite/gas/fr30/allinsn.exp binutils-2.14/gas/testsuite/gas/fr30/allinsn.s binutils-2.14/gas/testsuite/gas/fr30/fr30.exp binutils-2.14/gas/testsuite/gas/frv/allinsn.d binutils-2.14/gas/testsuite/gas/frv/allinsn.exp binutils-2.14/gas/testsuite/gas/frv/allinsn.s binutils-2.14/gas/testsuite/gas/h8300/addsub.s . aber irgendwann hört er auf und gibt mir folgende Fehlermeldungen (zu Hauf...) tar: binutils-2.14/gas/testsuite/gas/h8300/addsub.s: Cannot open: No such file or directory binutils-2.14/gas/testsuite/gas/h8300/addsubh.s tar: binutils-2.14/gas/testsuite/gas/h8300/addsubh.s: Cannot open: No such file or directory binutils-2.14/gas/testsuite/gas/h8300/addsubs.s tar: binutils-2.14/gas/testsuite/gas/h8300/addsubs.s: Cannot open: No such file or directory binutils-2.14/gas/testsuite/gas/h8300/bitops1.s tar: binutils-2.14/gas/testsuite/gas/h8300/bitops1.s: Cannot open: No such file or directory binutils-2.14/gas/testsuite/gas/h8300/bitops1h.s tar: binutils-2.14/gas/testsuite/gas/h8300/bitops1h.s: Cannot open: No such file or directory binutils-2.14/gas/testsuite/gas/h8300/bitops1s.s ...usw. Ich muss dazu sagen, das /mnt/lfs/ auf eine ext2 - Partition zeigt. Ich habe das Binutils-Paket mal ganz normal auf meiner Suse als "normaler" Nutzer "tk" in meinem Home-Verzeichnis ausgepackt, da klappt das ausgezeichnet. Aber selbst ein "cp" des vollständig ausgepackten Paketes nach /mnt/lfs/sources geht schon nicht mehr lfs@main:/mnt/lfs/sources> cp -R /home/tk/tmp/binutils-2.14/ /mnt/lfs/sources/ cp: cannot create directory `/mnt/lfs/sources/binutils-2.14/ld/testsuite/ld-shared': Input/output error cp: cannot create directory `/mnt/lfs/sources/binutils-2.14/ld/testsuite/ld-versados': Input/outputerror cp: cannot create directory `/mnt/lfs/sources/binutils-2.14/ld/testsuite/ld-x86-64': Input/output error cp: cannot create directory `/mnt/lfs/sources/binutils-2.14/ld/testsuite/ld-m68hc11': Input/output error cp: cannot create directory `/mnt/lfs/sources/binutils-2.14/ld/testsuite/ld-mips-elf': Input/outputerror cp: cannot create directory `/mnt/lfs/sources/binutils-2.14/ld/testsuite/ld-xtensa': Input/output error cp: cannot create directory `/mnt/lfs/sources/binutils-2.14/ld/testsuite/ld-elf': Input/output error cp: cannot create directory `/mnt/lfs/sources/binutils-2.14/ld/testsuite/ld-undefined': Input/output error cp: cannot create directory `/mnt/lfs/sources/binutils-2.14/ld/testsuite/ld-powerpc': Input/output error cp: cannot create directory `/mnt/lfs/sources/binutils-2.14/ld/testsuite/ld-linkonce': Input/outputerror cp: cannot create directory `/mnt/lfs/sources/binutils-2.14/ld/testsuite/ld-discard': Input/output error cp: cannot create directory `/mnt/lfs/sources/binutils-2.14/bfd': Input/output error cp: cannot create directory `/mnt/lfs/sources/binutils-2.14/etc': Input/output error cp: cannot create directory `/mnt/lfs/sources/binutils-2.14/gas': Input/output error cp: cannot create directory `/mnt/lfs/sources/binutils-2.14/intl': Input/output error cp: cannot create directory `/mnt/lfs/sources/binutils-2.14/binutils': Input/output error cp: cannot create directory `/mnt/lfs/sources/binutils-2.14/libiberty': Input/output error cp: cannot create directory `/mnt/lfs/sources/binutils-2.14/gprof': Input/output error cp: cannot create directory `/mnt/lfs/sources/binutils-2.14/texinfo': Input/output error cp: cannot create directory `/mnt/lfs/sources/binutils-2.14/config': Input/output error cp: cannot create directory `/mnt/lfs/sources/binutils-2.14/opcodes': Input/output error cp: cannot create directory `/mnt/lfs/sources/binutils-2.14/include': Input/output error Selbst ein simples lfs@main:/mnt/lfs/sources> mkdir rrrr mkdir: cannot create directory `rrrr': Input/output error funktioniert nicht :-( Rechte sehen so aus: lfs@main:/mnt/lfs> ls -l total 24 drwx------ 2 lfs lfs 16384 Dec 17 14:55 lost+found drwxrwx--- 2 lfs lfs 4096 Dec 18 19:34 sources drwxr-xr-x 2 lfs lfs 4096 Dec 18 18:05 tools Mount liefert: lfs@main:/mnt/lfs/sources> mount /dev/hda1 on / type reiserfs (rw,acl) proc on /proc type proc (rw) devpts on /dev/pts type devpts (rw,mode=0620,gid=5) tmpfs on /dev/shm type tmpfs (rw) usbdevfs on /proc/bus/usb type usbdevfs (rw) /dev/hda3 on /mnt/lfs type ext2 (rw) Ich verzweifle noch. Was übersehe ich bzw. was mache ich falsch? Besten Dank im voraus Timothy -- "Es gibt zwei Dinge im Leben, die du nicht zurücknehmen kannst: Denn Pfeil den du verschossen und das Wort, das du gesprochen" - altes indianisches Sprichwort
Ich noch einmal: Habe noch folgendes probiert: Ich habe das als user "lfs" mal auf der "normalen" Suse-Partition (/dev/hda1) probiert -> da geht gar nichts - nur Fehlermeldungen. Als user "tk" problemlos. Als user "tk" auf /mnt/lfs/sources -> gleicher Effekt wie als user "lfs" - also nur teilweises entpacken - dann die Fehlermeldungen. Liegt es nun am user oder an der Partition, oder an beidem? "tk" ist Mitglied in "lfs" und "lfs" ist auch Mitglied in "users". Sollte also nicht an den Rechten oder der Umgebung hängen, oder? Einige Pakete funzen andere wieder nicht :-( Keine Ahnung, woran das leigen könnte. Korrupt können die Pakete nicht sein, da ja einiges als "tk" geht, was als "lfs" oder als "tk" auf /mnt/lfs/sources Fehler bringt. Hilfe Timothy -- "Es gibt zwei Dinge im Leben, die du nicht zurücknehmen kannst: Denn Pfeil den du verschossen und das Wort, das du gesprochen" - altes indianisches Sprichwort
Am Samstag, 18. Dezember 2004 19:50 schrieb Timothy Kesten:
es existiert ein Verzeichnis /mnt/lfs/source, worin sich die bzip2 - Pakete befinden. Wenn ich jetzt diese Pakete als user "lfs" auspacken möchte
bzip2 -cd binutils-2.14.tar.bz2 | tar xvf -
Hm, welches Filesystem hast Du auf /mnt/lfs? Ist die Partition eventuell voll? Mal nen Filesystemcheck versucht?
/dev/hda3 on /mnt/lfs type ext2 (rw)
Ok, vergiss meine erste Frage. -- Machs gut | http://www.iivs.de/schwinde/buerger/tremmel/ | http://packman.links2linux.de/ Manfred | http://www.knightsoft-net.de
Hallo ich habe auf /dev/hda3 einfach ein ext3 aufgesetzt und da funzt es - warum auch immer :-( Schönen Samstag/Sonntag noch Timothy -- "Es gibt zwei Dinge im Leben, die du nicht zurücknehmen kannst: Denn Pfeil den du verschossen und das Wort, das du gesprochen" - altes indianisches Sprichwort
participants (2)
-
Manfred Tremmel
-
Timothy Kesten