Probleme mit Linuxanwendungen

cryptosteve

Ex-Steve`
Moin,

irgendwie bekomme ich hier nichts auf die Reihe. Ausgangsbasis ist ein taufrisches FreeBSD v6.1-STABLE und ganz neu gebaute Ports (nach pkg_deinstall -a).

Aber irgendwie habe ich Probleme mit jeder Art von Linuxanwendungen. EnemyTerritory bleibt beim Laden von libGL.so.1 hängen, verschiedene andere Anwendungen mit jeweils anderen Problemen. Hier eine kleine Auswahl:
Code:
[stell @ nexxus:~]% linux-firefox
Segmentation fault
oder
Code:
[stell @ nexxus:~]% linux-opera
ERROR: ld.so: object 'libjvm.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libawt.so' from LD_PRELOAD cannot be preloaded: ignored.
zsh: segmentation fault  linux-opera
oder auch
Code:
[stell @ nexxus:~]% /compat/linux/bin/ls
zsh: segmentation fault  /compat/linux/bin/ls
Installiert habe ich
Code:
linux_base-fc-4_4   Base set of packages needed in Linux mode (for i386/amd64)
.
Kann das mal bitte verifizieren? Ist das bei Euch auch so? Wo könnte das Problem liegen?
 
Steve` schrieb:
Moin,

irgendwie bekomme ich hier nichts auf die Reihe. Ausgangsbasis ist ein taufrisches FreeBSD v6.1-STABLE und ganz neu gebaute Ports (nach pkg_deinstall -a).

Aber irgendwie habe ich Probleme mit jeder Art von Linuxanwendungen. EnemyTerritory bleibt beim Laden von libGL.so.1 hängen, verschiedene andere Anwendungen mit jeweils anderen Problemen. Hier eine kleine Auswahl:
Code:
[stell @ nexxus:~]% linux-firefox
Segmentation fault
oder
Code:
[stell @ nexxus:~]% linux-opera
ERROR: ld.so: object 'libjvm.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libawt.so' from LD_PRELOAD cannot be preloaded: ignored.
zsh: segmentation fault  linux-opera
.
Kann das mal bitte verifizieren? Ist das bei Euch auch so? Wo könnte das Problem liegen?

Moin Steve',

also das sieht mir ganz nach einem Problem mit java aus. ?
Vielleicht ein Problem mit den Pfaden ?

gruss Rudolf
 
Mit java haben allenfalls die LD_PRELOAD-Meldungen zu tun. Aber Opera sollte auch ohne Java auf die Füße kommen. Stattdessen "segmentation faults" an allen Ecken und Enden. Und in 'ls' hat's ganz sicher nicht mit Java zu tun.

Danke für Deine Wortmeldung, aber ich glaube, daran liegt es nicht.
 
Steve` schrieb:
Kann das mal bitte verifizieren? Ist das bei Euch auch so? Wo könnte das Problem liegen?

Hi,

also bei mir gehts:
Code:
% /compat/linux/bin/ls /
bin   cdrom   COPYRIGHT  dist	  etc	lib	 media	proc		 rescue  sbin  tmp  var
boot  compat  dev	 entropy  home	libexec  mnt	razor-agent.log  root	 sys   usr

Ist
Code:
linux_enable="YES"
in /etc/rc.conf?
Und update vielleicht mal auf linux_base-fc-4_5...
(obwohl ich grad sehe, dass das nicht viel helfen dürfte, da kaum was verändert wurde...)
 
Zuletzt bearbeitet:
Hi,

linux_enable stand bereits in rc.conf. Im Prinzip tut das wohl auch, weil z.B. linux-flashplayer7 in Firefox funktioniert. Es freut mich schonmal, dass es prinzipiell überhaupt funktioniert (wie bei Dir oben).

Ich werd mal weitersuchen ...

Edit: achja, das Update hab ich durchgeführt, gleiches Ergebnis.
 
Bin ich echt noch immer der einzige mit dem Problem? Es nervt und eine Neuinstallation der Ports hat nicht geholfen.
 
Hallo Steve`,

vielleicht ist es das beste, wenn Du FreeBSD und Ports aktualisierst. Vielleicht gibt es da ein paar versteckte Abhängigkeiten. Mehr kann ich leider dazu nicht sagen :(

Viele Grüße

Jürgen
 
Genau das habe ich gemacht. Ich habe lediglich die Bezeichnung "ich hab alles neu installiert" vermeiden, um dämliche Windows-Vergleiche zu unterbinden. Aber so ist's tatsächlich gelaufen; RELENG_6 aktuell ausgecheckt, portsnap fetch install, make buildkernel + buildkernel, installworld, pkg_deinstall -a, Ports neu gebaut und installiert. Gleiches Problem. :(
 
Nachtrag: Ein Löschen der Distfiles mit anschließendem neuen Fetch hat ebenfalls nichts bewirkt.

Ergänzende Frage: Existiert bei Euch /compat/linux/dev und hat es Inhalt?
 
Code:
# ls /compat/linux/dev
ls: /compat/linux/dev: No such file or directory
Allerdings benutze ich nur den Linuxpluginwrapper mit Flash7 und Adobe Reader, sowie Skype und NWN.
 
Zuletzt bearbeitet:
Danke, dann fehlt hier ja nichts. Viel mehr benutze ich auch nicht (außer noch /compat/linux/bin/ls), aber das geht derzeit leider alles nicht.

Naja, vielleicht werde ich es tatsächlich nochmal mit einer kompletten Neuinstallation versuchen. Mal gucken, wann sich 6.2-RELEASE zutage fördert.
 
Wenn du das linux_base neu installierst: hast du mal ein rm -rf /compat/linux nach dem deinstallieren versucht (also vor dem neu installieren ;-), so das du dir sicher sein kannst, das da kein Schrott mehr rumliegt?
Du hast ja auch die linux-xorg-libs statt der XFree86 Libs? Sonst bringt vllt. noch eine Liste deiner installierten Ports jemanden auf eine Idee... etwas muss ja Schuld sein.
 
Zuletzt bearbeitet:
Ja, ich habe /compat/linux komplett gelöscht. Was anderes als linux_base-fc4 habe ich allerdings nicht installiert bekommen, weil alles irgendwie DEPRECATED ist. Die Gentoo-Sachen habe ich allerdings noch nicht durchprobiert. Und die xorg-libs habe ich nicht im Verdacht, weil schon 'bash' und /compat/linux/bin/ls scheitern. Ich weiß aber noch nicht so recht, wo ich da ansetzen soll. Vermutlich läufts wohl auf eine Mail an den Maintainer heraus (die Mailingliste).
 
Jein. Ich hab da natürlich mehrfach reingeguckt, aber noch nicht in diesem Zusammenhang. Auch wenn ich jetzt nicht wüßte, wo das so elementare auf die komplette Linux-"Emulation" haben sollte, werde ich die testweise mal vollständig verschieben.
 
So, mit gentoo-stage3 geht wenigstens /compat/linux/bin/ls wieder.

Jetzt muß ich mal ergründen, wie ich am saubersten
Code:
[stell @ nexxus:~]% linux-firefox
/usr/X11R6/lib/linux-firefox/firefox-bin: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory
und ähnliche Sachen vermeide. Via portage oder über die Ports?!
 
Ich hab hilfsweise nochmal linux-firefox und linux_base-fc via "pkg-add -r" installiert. Hilft leider auch nichts. Ein Trace von /compat/linux/bin/ls sieht wie folgt aus.
Code:
[stell @ nexxus:~]% kdump -f outfile.trace
 52566 ktrace   RET   ktrace 0
 52566 ktrace   CALL  execve(0xbfbfe844,0xbfbfe710,0xbfbfe718)
 52566 ktrace   NAMI  "/compat/linux/bin/ls"
 52566 ktrace   NAMI  "/compat/linux/lib/ld-linux.so.2"
 52566 ls       RET   execve 0
 52566 ls       CALL  ktrace(0)
 52566 ls       RET   ktrace 134602752/0x805e000
 52566 ls       CALL  settimeofday(0xbfbfe43a)
 52566 ls       RET   settimeofday 0
 52566 ls       CALL  access(0x28072564,0x4)
 52566 ls       NAMI  "/compat/linux/etc/ld.so.preload"
 52566 ls       NAMI  "/etc/ld.so.preload"
 52566 ls       RET   access JUSTRETURN
 52566 ls       CALL  open(0x28074603,0,0x1)
 52566 ls       NAMI  "/compat/linux/etc/ld.so.cache"
 52566 ls       NAMI  "/compat/linux"
 52566 ls       NAMI  "/compat/linux/etc/ld.so.cache"
 52566 ls       RET   open 3
 52566 ls       CALL  mmap(0x3,0xbfbfdd1c,0x28076fc4)
 52566 ls       RET   mmap 0
 52566 ls       CALL  dup2(0xbfbfdd00)
 52566 ls       RET   dup2 671580160/0x28078000
 52566 ls       CALL  close(0x3)
 52566 ls       RET   close 0
 52566 ls       CALL  open(0x28079623,0,0)
 52566 ls       NAMI  "/compat/linux/lib/librt.so.1"
 52566 ls       NAMI  "/compat/linux"
 52566 ls       NAMI  "/compat/linux/lib/librt.so.1"
 52566 ls       RET   open 3
 52566 ls       CALL  read(0x3,0xbfbfde48,0x200)
 52566 ls       GIO   fd 3 read 512 bytes
       0x0000 7f45 4c46 0101 0100 0000 0000 0000 0000 0300 0300  |.ELF................|
       0x0014 0100 0000 901f 0000 3400 0000 8ca2 0000 0000 0000  |........4...........|
       0x0028 3400 2000 0900 2800 2200 2100 0600 0000 3400 0000  |4. ...(.".!.....4...|
       0x003c 3400 0000 3400 0000 2001 0000 2001 0000 0500 0000  |4...4... ... .......|
       0x0050 0400 0000 0300 0000 e469 0000 e469 0000 e469 0000  |.........i...i...i..|
       0x0064 1300 0000 1300 0000 0400 0000 0100 0000 0100 0000  |....................|
       0x0078 0000 0000 0000 0000 0000 0000 3a6d 0000 3a6d 0000  |............:m..:m..|
       0x008c 0500 0000 0010 0000 0100 0000 ac6e 0000 ac7e 0000  |.............n...~..|
       0x00a0 ac7e 0000 fc02 0000 2cb0 0000 0600 0000 0010 0000  |.~......,...........|
       0x00b4 0200 0000 c86e 0000 c87e 0000 c87e 0000 f000 0000  |.....n...~...~......|
       0x00c8 f000 0000 0600 0000 0400 0000 0400 0000 5401 0000  |................T...|
       0x00dc 5401 0000 5401 0000 2000 0000 2000 0000 0400 0000  |T...T... ... .......|
       0x00f0 0400 0000 50e5 7464 f869 0000 f869 0000 f869 0000  |....P.td.i...i...i..|
       0x0104 6400 0000 6400 0000 0400 0000 0400 0000 51e5 7464  |d...d...........Q.td|
       0x0118 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000  |....................|
       0x012c 0600 0000 0400 0000 52e5 7464 ac6e 0000 ac7e 0000  |........R.td.n...~..|
       0x0140 ac7e 0000 5401 0000 5401 0000 0400 0000 0100 0000  |.~..T...T...........|
       0x0154 0400 0000 1000 0000 0100 0000 474e 5500 0000 0000  |............GNU.....|
       0x0168 0200 0000 0400 0000 1400 0000 d900 0000 8500 0000  |....................|
       0x017c 0000 0000 0000 0000 0000 0000 0000 0000 2000 0000  |................ ...|
       0x0190 3400 0000 0000 0000 0000 0000 0000 0000 6100 0000  |4...............a...|
       0x01a4 0000 0000 6200 0000 0000 0000 0000 0000 6900 0000  |....b...........i...|
       0x01b8 4500 0000 0000 0000 0000 0000 0000 0000 8100 0000  |E...................|
       0x01cc 6f00 0000 5100 0000 0000 0000 6b00 0000 0000 0000  |o...Q.......k.......|
       0x01e0 3500 0000 4900 0000 0000 0000 0000 0000 2500 0000  |5...I...........%...|
       0x01f4 0000 0000 7c00 0000 8200 0000                      |....|.......|

 52566 ls       RET   read 512/0x200
 52566 ls       CALL  mmap(0x3,0xbfbfdd78,0x28076fc4)
 52566 ls       RET   mmap 0
 52566 ls       CALL  dup2(0xbfbfdbe8)
 52566 ls       RET   dup2 671592448/0x2807b000
 52566 ls       CALL  dup2(0xbfbfdbe8)
 52566 ls       RET   dup2 671621120/0x28082000
 52566 ls       CALL  dup2(0xbfbfdbe8)
 52566 ls       RET   dup2 671629312/0x28084000
 52566 ls       CALL  close(0x3)
 52566 ls       RET   close 0
 52566 ls       CALL  open(0x2807a371,0,0x1)
 52566 ls       NAMI  "/compat/linux/lib/libacl.so.1"
 52566 ls       NAMI  "/compat/linux"
 52566 ls       NAMI  "/compat/linux/lib/libacl.so.1"
 52566 ls       RET   open 3
 52566 ls       CALL  read(0x3,0xbfbfde2c,0x200)
 52566 ls       GIO   fd 3 read 512 bytes
       0x0000 7f45 4c46 0101 0100 0000 0000 0000 0000 0300 0300  |.ELF................|
       0x0014 0100 0000 a013 0000 3400 0000 4c5b 0000 0000 0000  |........4...L[......|
       0x0028 3400 2000 0500 2800 1a00 1900 0100 0000 0000 0000  |4. ...(.............|
       0x003c 0000 0000 0000 0000 8458 0000 8458 0000 0500 0000  |.........X...X......|
       0x0050 0010 0000 0100 0000 8458 0000 8468 0000 8468 0000  |.........X...h...h..|
       0x0064 d801 0000 ec01 0000 0600 0000 0010 0000 0200 0000  |....................|
       0x0078 9858 0000 9868 0000 9868 0000 e000 0000 e000 0000  |.X...h...h..........|
       0x008c 0600 0000 0400 0000 50e5 7464 d84e 0000 d84e 0000  |........P.td.N...N..|
       0x00a0 d84e 0000 0402 0000 0402 0000 0400 0000 0400 0000  |.N..................|
       0x00b4 51e5 7464 0000 0000 0000 0000 0000 0000 0000 0000  |Q.td................|
       0x00c8 0000 0000 0600 0000 0400 0000 4300 0000 5e00 0000  |............C...^...|
       0x00dc 4400 0000 5400 0000 0000 0000 2500 0000 1200 0000  |D...T.......%.......|
       0x00f0 5c00 0000 5300 0000 0000 0000 1d00 0000 1c00 0000  |\...S...............|
       0x0104 4a00 0000 3400 0000 5d00 0000 5200 0000 5900 0000  |J...4...]...R...Y...|
       0x0118 3a00 0000 0000 0000 0000 0000 5600 0000 0000 0000  |:...........V.......|
       0x012c 4e00 0000 5800 0000 3300 0000 0000 0000 0f00 0000  |N...X...3...........|
       0x0140 0000 0000 3200 0000 0000 0000 4800 0000 4c00 0000  |....2.......H...L...|
       0x0154 3500 0000 0000 0000 0000 0000 0000 0000 3900 0000  |5...............9...|
       0x0168 5b00 0000 4200 0000 1500 0000 0000 0000 5100 0000  |[...B...........Q...|
       0x017c 0e00 0000 4000 0000 0000 0000 1300 0000 5700 0000  |....@...........W...|
       0x0190 4100 0000 0000 0000 0000 0000 1100 0000 3700 0000  |A...............7...|
       0x01a4 0000 0000 0000 0000 0000 0000 4d00 0000 2b00 0000  |............M...+...|
       0x01b8 4900 0000 3e00 0000 0000 0000 1f00 0000 2d00 0000  |I...>...........-...|
       0x01cc 5500 0000 4b00 0000 4700 0000 1900 0000 5a00 0000  |U...K...G.......Z...|
       0x01e0 3800 0000 3100 0000 0000 0000 0000 0000 0000 0000  |8...1...............|
       0x01f4 0000 0000 0000 0000 0000 0000                      |............|

 52566 ls       RET   read 512/0x200
 52566 ls       CALL  mmap(0x3,0xbfbfdd5c,0x28076fc4)
 52566 ls       RET   mmap 0
 52566 ls       CALL  dup2(0xbfbfdc30)
 52566 ls       RET   dup2 671670272/0x2808e000
 52566 ls       CALL  dup2(0xbfbfdc2c)
 52566 ls       RET   dup2 671674368/0x2808f000
 52566 ls       CALL  dup2(0xbfbfdc2c)
 52566 ls       RET   dup2 671698944/0x28095000
 52566 ls       CALL  close(0x3)
 52566 ls       RET   close 0
 52566 ls       CALL  open(0x28079603,0,0x1)
 52566 ls       NAMI  "/compat/linux/lib/libselinux.so.1"
 52566 ls       NAMI  "/compat/linux"
 52566 ls       NAMI  "/compat/linux/lib/libselinux.so.1"
 52566 ls       RET   open 3
 52566 ls       CALL  read(0x3,0xbfbfde10,0x200)
 52566 ls       GIO   fd 3 read 512 bytes
       0x0000 7f45 4c46 0101 0100 0000 0000 0000 0000 0300 0300  |.ELF................|
       0x0014 0100 0000 1025 0000 3400 0000 2c03 0100 0000 0000  |.....%..4...,.......|
       0x0028 3400 2000 0500 2800 1900 1800 0100 0000 0000 0000  |4. ...(.............|
       0x003c 0000 0000 0000 0000 7cf7 0000 7cf7 0000 0500 0000  |........|...|.......|
       0x0050 0010 0000 0100 0000 0000 0100 0000 0100 0000 0100  |....................|
       0x0064 4802 0000 900b 0000 0600 0000 0010 0000 0200 0000  |H...................|
       0x0078 2400 0100 2400 0100 2400 0100 c800 0000 c800 0000  |$...$...$...........|
       0x008c 0600 0000 0400 0000 50e5 7464 74e2 0000 74e2 0000  |........P.tdt...t...|
       0x00a0 74e2 0000 5404 0000 5404 0000 0400 0000 0400 0000  |t...T...T...........|
       0x00b4 51e5 7464 0000 0000 0000 0000 0000 0000 0000 0000  |Q.td................|
       0x00c8 0000 0000 0600 0000 0400 0000 8300 0000 bf00 0000  |....................|
       0x00dc 4400 0000 5d00 0000 4000 0000 6d00 0000 a400 0000  |D...]...@...m.......|
       0x00f0 6700 0000 0000 0000 be00 0000 0000 0000 5c00 0000  |g...............\...|
       0x0104 a600 0000 5100 0000 0000 0000 9f00 0000 5900 0000  |....Q...........Y...|
       0x0118 1500 0000 0000 0000 9500 0000 9d00 0000 7700 0000  |................w...|
       0x012c 7000 0000 0000 0000 9800 0000 9200 0000 a200 0000  |p...................|
       0x0140 4100 0000 5500 0000 2a00 0000 8f00 0000 0000 0000  |A...U...*...........|
       0x0154 9000 0000 0000 0000 3200 0000 0000 0000 b300 0000  |........2...........|
       0x0168 af00 0000 9c00 0000 8000 0000 9900 0000 8700 0000  |....................|
       0x017c 7800 0000 1200 0000 b900 0000 7100 0000 8300 0000  |x...........q.......|
       0x0190 4e00 0000 b700 0000 0000 0000 0000 0000 0000 0000  |N...................|
       0x01a4 0000 0000 0000 0000 bd00 0000 9100 0000 ad00 0000  |....................|
       0x01b8 0000 0000 0000 0000 7c00 0000 b800 0000 0000 0000  |........|...........|
       0x01cc 4700 0000 4500 0000 9a00 0000 0000 0000 b600 0000  |G...E...............|
       0x01e0 9600 0000 8c00 0000 a500 0000 b400 0000 ab00 0000  |....................|
       0x01f4 0000 0000 1100 0000 2900 0000                      |........)...|

 52566 ls       RET   read 512/0x200
 52566 ls       CALL  mmap(0x3,0xbfbfdd40,0x28076fc4)
 52566 ls       RET   mmap 0
 52566 ls       CALL  dup2(0xbfbfdc10)
 52566 ls       RET   dup2 671703040/0x28096000
 52566 ls       CALL  dup2(0xbfbfdc10)
 52566 ls       RET   dup2 671768576/0x280a6000
 52566 ls       CALL  close(0x3)
 52566 ls       RET   close 0
 52566 ls       CALL  open(0x2807a2d0,0,0x1)
 52566 ls       NAMI  "/compat/linux/lib/libc.so.6"
 52566 ls       NAMI  "/compat/linux"
 52566 ls       NAMI  "/compat/linux/lib/libc.so.6"
 52566 ls       RET   open 3
 52566 ls       CALL  read(0x3,0xbfbfddf4,0x200)
 52566 ls       GIO   fd 3 read 512 bytes
       0x0000 7f45 4c46 0101 0100 0000 0000 0000 0000 0300 0300  |.ELF................|
       0x0014 0100 0000 ac4e 0100 3400 0000 bcd7 1500 0000 0000  |.....N..4...........|
       0x0028 3400 2000 0a00 2800 4000 3f00 0600 0000 3400 0000  |4. ...(.@.?.....4...|
       0x003c 3400 0000 3400 0000 4001 0000 4001 0000 0500 0000  |4...4...@...@.......|
       0x0050 0400 0000 0300 0000 60db 1000 60db 1000 60db 1000  |........`...`...`...|
       0x0064 1300 0000 1300 0000 0400 0000 0100 0000 0100 0000  |....................|
       0x0078 0000 0000 0000 0000 0000 0000 6a6e 1100 6a6e 1100  |............jn..jn..|
       0x008c 0500 0000 0010 0000 0100 0000 c875 1100 c875 1100  |.............u...u..|
       0x00a0 c875 1100 a02a 0000 1456 0000 0600 0000 0010 0000  |.u...*...V..........|
       0x00b4 0200 0000 3c8d 1100 3c8d 1100 3c8d 1100 f000 0000  |....<...<...<.......|
       0x00c8 f000 0000 0600 0000 0400 0000 0400 0000 7401 0000  |................t...|
       0x00dc 7401 0000 7401 0000 2000 0000 2000 0000 0400 0000  |t...t... ... .......|
       0x00f0 0400 0000 0700 0000 c875 1100 c875 1100 c875 1100  |.........u...u...u..|
       0x0104 0800 0000 2800 0000 0400 0000 0400 0000 50e5 7464  |....(...........P.td|
       0x0118 74db 1000 74db 1000 74db 1000 0415 0000 0415 0000  |t...t...t...........|
       0x012c 0400 0000 0400 0000 51e5 7464 0000 0000 0000 0000  |........Q.td........|
       0x0140 0000 0000 0000 0000 0000 0000 0600 0000 0400 0000  |....................|
       0x0154 52e5 7464 c875 1100 c875 1100 c875 1100 381a 0000  |R.td.u...u...u..8...|
       0x0168 381a 0000 0400 0000 0100 0000 0400 0000 1000 0000  |8...................|
       0x017c 0100 0000 474e 5500 0000 0000 0200 0000 0400 0000  |....GNU.............|
       0x0190 1400 0000 ff03 0000 6508 0000 0301 0000 8506 0000  |........e...........|
       0x01a4 5202 0000 cf00 0000 ee06 0000 0000 0000 0000 0000  |R...................|
       0x01b8 0000 0000 0000 0000 7406 0000 d505 0000 0000 0000  |........t...........|
       0x01cc 1d08 0000 7e06 0000 1002 0000 a302 0000 3108 0000  |....~...........1...|
       0x01e0 1d04 0000 2608 0000 0000 0000 b406 0000 7902 0000  |....&...........y...|
       0x01f4 f407 0000 2106 0000 c304 0000                      |....!.......|

 52566 ls       RET   read 512/0x200
 52566 ls       CALL  mmap(0x3,0xbfbfdd24,0x28076fc4)
 52566 ls       RET   mmap 0
 52566 ls       CALL  dup2(0xbfbfdb7c)
 52566 ls       RET   dup2 671772672/0x280a7000
 52566 ls       CALL  dup2(0xbfbfdb7c)
 52566 ls       RET   dup2 672915456/0x281be000
 52566 ls       CALL  dup2(0xbfbfdb7c)
 52566 ls       RET   dup2 672931840/0x281c2000
 52566 ls       CALL  close(0x3)
 52566 ls       RET   close 0
 52566 ls       CALL  open(0x28079691,0,0x28077000)
 52566 ls       NAMI  "/compat/linux/lib/libpthread.so.0"
 52566 ls       NAMI  "/compat/linux"
 52566 ls       NAMI  "/compat/linux/lib/libpthread.so.0"
 52566 ls       RET   open 3
 52566 ls       CALL  read(0x3,0xbfbfdd50,0x200)
 52566 ls       GIO   fd 3 read 512 bytes
       0x0000 7f45 4c46 0101 0100 0000 0000 0000 0000 0300 0300  |.ELF................|
       0x0014 0100 0000 3847 0000 3400 0000 ac6e 0100 0000 0000  |....8G..4....n......|
       0x0028 3400 2000 0900 2800 2400 2300 0600 0000 3400 0000  |4. ...(.$.#.....4...|
       0x003c 3400 0000 3400 0000 2001 0000 2001 0000 0500 0000  |4...4... ... .......|
       0x0050 0400 0000 0300 0000 e0b9 0000 e0b9 0000 e0b9 0000  |....................|
       0x0064 1300 0000 1300 0000 0400 0000 0100 0000 0100 0000  |....................|
       0x0078 0000 0000 0000 0000 0000 0000 64c6 0000 64c6 0000  |............d...d...|
       0x008c 0500 0000 0010 0000 0100 0000 e4cd 0000 e4dd 0000  |....................|
       0x00a0 e4dd 0000 3c03 0000 e023 0000 0600 0000 0010 0000  |....<....#..........|
       0x00b4 0200 0000 d0ce 0000 d0de 0000 d0de 0000 f000 0000  |....................|
       0x00c8 f000 0000 0600 0000 0400 0000 0400 0000 5401 0000  |................T...|
       0x00dc 5401 0000 5401 0000 2000 0000 2000 0000 0400 0000  |T...T... ... .......|
       0x00f0 0400 0000 50e5 7464 f4b9 0000 f4b9 0000 f4b9 0000  |....P.td............|
       0x0104 e401 0000 e401 0000 0400 0000 0400 0000 51e5 7464  |................Q.td|
       0x0118 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000  |....................|
       0x012c 0600 0000 0400 0000 52e5 7464 e4cd 0000 e4dd 0000  |........R.td........|
       0x0140 e4dd 0000 1c02 0000 1c02 0000 0400 0000 0100 0000  |....................|
       0x0154 0400 0000 1000 0000 0100 0000 474e 5500 0000 0000  |............GNU.....|
       0x0168 0200 0000 0400 0000 1400 0000 5502 0000 4401 0000  |............U...D...|
       0x017c 0000 0000 0000 0000 3801 0000 bd00 0000 0000 0000  |........8...........|
       0x0190 0000 0000 9900 0000 9200 0000 0000 0000 0000 0000  |....................|
       0x01a4 0000 0000 0000 0000 3701 0000 2a00 0000 f800 0000  |........7...*.......|
       0x01b8 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000  |....................|
       0x01cc 2900 0000 0000 0000 9a00 0000 0000 0000 cf00 0000  |)...................|
       0x01e0 0000 0000 0000 0000 0000 0000 0000 0000 1001 0000  |....................|
       0x01f4 0000 0000 0000 0000 d200 0000                      |............|

 52566 ls       RET   read 512/0x200
 52566 ls       CALL  mmap(0x3,0xbfbfdc80,0x28076fc4)
 52566 ls       RET   mmap 0
 52566 ls       CALL  dup2(0xbfbfdaf0)
 52566 ls       RET   dup2 672940032/0x281c4000
 52566 ls       CALL  dup2(0xbfbfdaf0)
 52566 ls       RET   dup2 672993280/0x281d1000
 52566 ls       CALL  dup2(0xbfbfdaf0)
 52566 ls       RET   dup2 673001472/0x281d3000
 52566 ls       CALL  close(0x3)
 52566 ls       RET   close 0
 52566 ls       CALL  open(0x2807a30d,0,0xffffffff)
 52566 ls       NAMI  "/compat/linux/lib/libattr.so.1"
 52566 ls       NAMI  "/compat/linux"
 52566 ls       NAMI  "/compat/linux/lib/libattr.so.1"
 52566 ls       RET   open 3
 52566 ls       CALL  read(0x3,0xbfbfdc98,0x200)
 52566 ls       GIO   fd 3 read 512 bytes
       0x0000 7f45 4c46 0101 0100 0000 0000 0000 0000 0300 0300  |.ELF................|
       0x0014 0100 0000 600b 0000 3400 0000 242b 0000 0000 0000  |....`...4...$+......|
       0x0028 3400 2000 0500 2800 1a00 1900 0100 0000 0000 0000  |4. ...(.............|
       0x003c 0000 0000 0000 0000 ac28 0000 ac28 0000 0500 0000  |.........(...(......|
       0x0050 0010 0000 0100 0000 ac28 0000 ac38 0000 ac38 0000  |.........(...8...8..|
       0x0064 8801 0000 8c01 0000 0600 0000 0010 0000 0200 0000  |....................|
       0x0078 c028 0000 c038 0000 c038 0000 d800 0000 d800 0000  |.(...8...8..........|
       0x008c 0600 0000 0400 0000 50e5 7464 f424 0000 f424 0000  |........P.td.$...$..|
       0x00a0 f424 0000 cc00 0000 cc00 0000 0400 0000 0400 0000  |.$..................|
       0x00b4 51e5 7464 0000 0000 0000 0000 0000 0000 0000 0000  |Q.td................|
       0x00c8 0000 0000 0600 0000 0400 0000 2500 0000 3500 0000  |............%...5...|
       0x00dc 1d00 0000 3100 0000 0000 0000 1500 0000 1300 0000  |....1...............|
       0x00f0 2d00 0000 0000 0000 1a00 0000 3300 0000 0000 0000  |-...........3.......|
       0x0104 0f00 0000 0000 0000 2200 0000 0000 0000 1400 0000  |........"...........|
       0x0118 1200 0000 0000 0000 0000 0000 2a00 0000 1900 0000  |............*.......|
       0x012c 0000 0000 3400 0000 0e00 0000 1c00 0000 0000 0000  |....4...............|
       0x0140 3200 0000 0000 0000 3000 0000 0000 0000 1600 0000  |2.......0...........|
       0x0154 2e00 0000 2c00 0000 0000 0000 0000 0000 2100 0000  |....,...........!...|
       0x0168 2400 0000 0000 0000 0000 0000 0000 0000 0000 0000  |$...................|
       0x017c 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000  |....................|
       0x0190 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000  |....................|
       0x01a4 0000 0000 0000 0000 0000 0000 0000 0000 0d00 0000  |....................|
       0x01b8 0000 0000 0000 0000 1000 0000 0000 0000 0000 0000  |....................|
       0x01cc 0000 0000 0000 0000 0000 0000 1100 0000 0000 0000  |....................|
       0x01e0 0000 0000 0000 0000 1b00 0000 0000 0000 0000 0000  |....................|
       0x01f4 0000 0000 1e00 0000 0000 0000                      |............|

 52566 ls       RET   read 512/0x200
 52566 ls       CALL  mmap(0x3,0xbfbfdbc8,0x28076fc4)
 52566 ls       RET   mmap 0
 52566 ls       CALL  dup2(0xbfbfda98)
 52566 ls       RET   dup2 673009664/0x281d5000
 52566 ls       CALL  dup2(0xbfbfda98)
 52566 ls       RET   dup2 673021952/0x281d8000
 52566 ls       CALL  close(0x3)
 52566 ls       RET   close 0
 52566 ls       CALL  dup2(0xbfbfe140)
 52566 ls       RET   dup2 673026048/0x281d9000
 52566 ls       CALL  dup2(0xbfbfe210)
 52566 ls       RET   dup2 673030144/0x281da000
 52566 ls       CALL  #243(0xbfbfe260)
 52566 ls       RET   #243 -1 errno -38 Unknown error: -38
 52566 ls       CALL  fchown(0x1,0xbfbfe260,0x10)
 52566 ls       RET   fchown 0
 52566 ls       CALL  old.recvfrom(0x281d1000,0x1000,0x1)
 52566 ls       RET   old.recvfrom 0
 52566 ls       CALL  old.recvfrom(0x281be000,0x2000,0x1)
 52566 ls       RET   old.recvfrom 0
 52566 ls       CALL  old.recvfrom(0x28082000,0x1000,0x1)
 52566 ls       RET   old.recvfrom 0
 52566 ls       CALL  old.recvfrom(0x28076000,0x1000,0x1)
 52566 ls       RET   old.recvfrom 0
 52566 ls       CALL  #91(0x28078000,0x2a41)
 52566 ls       RET   #91 0
 52566 ls       CALL  fork
 52566 ls       RET   fork 52567/0xcd57
 52566 ls       PSIG  SIGSEGV SIG_DFL
 52566 ls       NAMI  "/var/coredumps/1000/ls.core"
 
Hallo Steve`,

mir fällt gerade ein, das ich mal COMPAT_SVR4
in die Kernel konfiguration reingesetzt hatte.
Einfach mal nur so aus Neugierde, nicht, das ich das gebraucht hätte.
Danach funktionierte bei mir die Linux Kompatibilität auch nicht mehr.

Ansonsten ist bei mir die Linux Kompatibilität in der Kernel Konfiguration.

Die Linux Base habe ich mit
[/etc/make.conf]
Code:
#----------------------------------------------------------------------------
# Auswahl Linux Base Port 
#----------------------------------------------------------------------------
OVERRIDE_LINUX_BASE_PORT=fc4
ausgewählt.

Ist bei mir immer noch FreeBSD 5.5-STABLE i386,
aber das läuft bei mir ja so fein. :cool:

Vielleicht nützt der Hinweis darauf, das sich bei mir
SVR4 Kompatibilität nicht mit der Linuxkompatibilität
vertrug, ja irgendwas.
Nach entfernen der SVR4 Kompatibilität
-ich glaube, ich habe dann die Linuxbase noch mal neu gebaut-
funktionierte die Linuxkompatibilität bei mir wieder.

Viel Erfolg! :)


Gruß, Fusselbär
 
Fusselbär schrieb:
Die Linux Base habe ich mit
[/etc/make.conf]
Code:
#----------------------------------------------------------------------------
# Auswahl Linux Base Port 
#----------------------------------------------------------------------------
OVERRIDE_LINUX_BASE_PORT=fc4
ausgewählt.
Nicht mehr nötig, fc4 ist nun das default linux-base :-)
Siehe auch UPDATING.

JFYI,
Frank
 
Ich haaaabs

Code:
[root@nexxus:/etc]# sysctl compat.linux.osrelease
compat.linux.osrelease: 6.1-RC

[root@nexxus:/etc]# /compat/linux/bin/ls
zsh: segmentation fault  /compat/linux/bin/ls

[root@nexxus:/etc]# sysctl -w compat.linux.osrelease=2.4.2
compat.linux.osrelease: 6.1-STABLE -> 2.4.2

[root@nexxus:/etc]# /compat/linux/bin/ls
X11            gnats           manpath.config.bak  phones           remote
aliases        group           master.passwd       portsnap.conf    resolv.conf
amd.map        host.conf       motd                ppp              resolv.conf.save
[ ... ]
Meine Fresse, das war 'n Akt ...
 
Zurück
Oben