Freetz + avm 67 Usb wird nicht richtig eingebunden

Schau dir doch mal die Horstbox von D-Link an ;-)
 
Bevor ich mir was von D-Link hole (sowas verbaue ich nur bei Leuten die ich nicht mag) warte ich erstmal die Antwort von AVM ab :D Bis zur aktuellen Version der Firrmware war ich sehr zufrieden mit meiner Fritz.Box (ich hab schon Einiges an AVM-Hardware gehabt). Es sollte wohl kein Problem sein, eine vernünftige Firmware zu Schreiben.... :)
 
Also kinners...ich sehe da nen mögliches problem...
der Eintrag
Code:
  313 root      1340 S    /bin/sh /etc/init.d/rc.S
sollte doch eigentlich anch dem boot da nicht mehr rumstehen, ider??
Da hängt doch was...
bei mir nämlich auch...der rc.S steht da...nur das bei mir usb halt geht...dafür haserl(rudishell) nicht...
daher nochmal die frage...

WELCHE FREETZ VERSION ist das??
 
Ich hab jetzt mal neu gebaut mit TR069 und usb-root (svn von gestern abend).
Mittlerweile ist die Meldung "Netzwerkfreigabe wird aktiviert" verschwunden, trotzdem läuft der smbd nicht (ps/top nichts). Wenn ich mich per shell aufwähle und mal unter /sbin schaue ist der smbd aber da (knapp über 1 MB) nur verweigert er irgendwelche Ausgaben die der Fehlersuche dienen könnten. Es passiert nichts. Ich habe mal folgendes versucht: smbd -F -S -d -i -V (auch mal ohne i und V) danach Enter und ich lande wieder im Prompt ohne irgendwelche Meldungen?!
 
iss das der avm oder der freetz smbd?
hast du auch den
313 root 1340 S /bin/sh /etc/init.d/rc.S
im ps?
 
Wenn der smbd da ist und scheinbar nicht gestartet wird, dann liegt das normalerweise an einer fehlerhaften Konfig wie falsche IP oder falsches Verzeichnis. Eventuell kommst du mit strace weiter.

MfG Oliver
 
@darkyputz:

folgendes finde ich bei ps:
598 root 1336 S /bin/sh /etc/init.d/rc.S

Ich vermute beim /sbin/smbd handelt es sich um den Daemon vom Freetz aber sicher bin ich mir da nicht (nutze usb-root, samba 3.0.24 ist komplett [smbd, nmbd] mit im Image). Vielleicht beisst sich das mit dem plugin von AVM?

@olistudent:

Strace müsste ich mit ins Image bauen(sollte ja kein Problem sein).
Ich wunder mich aber, da die .59 firmware mit der selben Config lief...
Beissen sich plugin und Freetz-Samba?
 
hier mal ein strace /sbin/smbd(sieht aus als könnte eine Datei nicht geöffnet werden?!):

Code:
/sbin # strace -c smbd
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 53.21    0.001211          10       124       113 open
 46.79    0.001065          41        26         2 old_mmap
  0.00    0.000000           0         5           read
  0.00    0.000000           0        11           close
  0.00    0.000000           0         1           execve
  0.00    0.000000           0         2           chmod
  0.00    0.000000           0         1           getpid
  0.00    0.000000           0         2           setuid
  0.00    0.000000           0         4           getuid
  0.00    0.000000           0         4         4 mkdir
  0.00    0.000000           0        13           brk
  0.00    0.000000           0         3           setgid
  0.00    0.000000           0         6           getgid
  0.00    0.000000           0         4           geteuid
  0.00    0.000000           0         7           getegid
  0.00    0.000000           0        15           ioctl
  0.00    0.000000           0         9           umask
  0.00    0.000000           0         3         2 setrlimit
  0.00    0.000000           0         5           getrlimit
  0.00    0.000000           0         2           getgroups
  0.00    0.000000           0         5           munmap
  0.00    0.000000           0         1           setpriority
  0.00    0.000000           0         1           stat
  0.00    0.000000           0         9           fstat
  0.00    0.000000           0         1           uname
  0.00    0.000000           0         6           mprotect
  0.00    0.000000           0         1           socket
  0.00    0.000000           0         2           setresuid
  0.00    0.000000           0         4           setresgid
  0.00    0.000000           0         2           prctl
  0.00    0.000000           0        11           rt_sigaction
  0.00    0.000000           0         8           rt_sigprocmask
  0.00    0.000000           0         2           chown
  0.00    0.000000           0         3         1 stat64
  0.00    0.000000           0         1           fstat64
------ ----------- ----------- --------- --------- ----------------
100.00    0.002276                   304       122 total
 
Zuletzt bearbeitet:
hier mal der komplette strace-ich werde nicht wirklich schlau draus:
 

Anhänge

  • smb.txt
    21.1 KB · Aufrufe: 4
hier mal ein strace /sbin/smbd(sieht aus als könnte eine Datei nicht geöffnet werden?!)

Abgesehen davon, daß die Tabelle mit CODE-Tags viel besser lesbar ist, wie kommst Du von dieser Statistik darauf, daß eine Datei nicht geöffnet werden konnte?

Edit:
Ich habe gerade gesehen, wenn man den Text richtig formatiert, gibt es auch eine Spalte mit der Anzahl der Fehler. Trotzdem sagt das nichts aus. Die Statistik ist nur sinnvoll, wenn man sehen will, womit ein Prozeß seine Zeit verbringt, aber nicht zur Fehlersuche.

Wie sieht denn Deine Konfigurationsdatei aus (/mod/etc/smb.conf)?
 
Zuletzt bearbeitet:
@RalfFriedl: Hier mal meine smb.conf es hat sich seit den letzten FWs nichts geändert(hast Du den Anhang auch angeschaut in meinem letzen Beitrag?)

Code:
### global
[global]
netbios name = FRITZ.BOX
workgroup = WORKGROUP
server string = %h (Samba %v)
syslog = 0
encrypt passwords = true
passdb backend = smbpasswd
obey pam restrictions = yes
socket options = TCP_NODELAY
unix charset = ISO-8859-1
preferred master = yes
os level = 20
security = SHARE
guest account = ftpuser
interfaces = 192.168.178.1/255.255.255.0
bind interfaces only = yes
### expert
### default
[uStor01]
 path = /var/media/ftp/uStor01
 user = ftpuser
 read only = no
 guest ok = yes
 write cache size = 65536
### shares
### fin
 
Hi Jungs,

ich habe nun auch auf die .67 geupdatet. Leider bekomme ich den Fehler sowohl bei der normalen Firmware SOWIE bei der Freetz Firmware (2906). Also kann es ja nicht an Freetz liegen, denke ich. Eine Mail an AVM ist schon raus. Leider noch keine Antwort. Da hilft im Moment nur, zurück zur alten .59 und abwarten ob die Jubgs bei AVM das hinbekommen.:mad:

Oder hat von euch schon jemand einen möglichen Lösungsweg?
 
hast Du den Anhang auch angeschaut in meinem letzen Beitrag?

Am Anfang von Deinem letzten Beitrag stand: "hier mal der komplette strace-ich werde nicht wirklich schlau draus:". Was genau soll ich da angeschaut haben?

Das strace Protokoll habe ich mir angeschaut, mir ist unter anderem aufgefallen, daß versucht wird, eine Datei mit leerem Namen zu erstellen (vermutlich eine Protokolldatei), was nicht funktioniert. Das könnte aber auch daran liegen, daß AVM die Protokollierung abgeschaltet hat.

Das letzte, was gemacht wird, ist die Netzwerkkonfiguration auszulesen.

Nimm mal die Zeilen "interfaces" und "bind interfaces only" heraus und versuche es noch einmal. Wenn es nicht funktioniert, dann noch einmal ein strace.
 
Geht immer noch nicht ....
 

Anhänge

  • smb2.txt
    21.1 KB · Aufrufe: 5
old_mmap(NULL, 1229717504, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = -1 ENOMEM (Cannot allocate memory)
Das hier ist okay?

MfG Oliver
 
@olistudent: Was heisst das jetzt konkret, kein ram mehr frei? ca. 40MB werden bei mir als nicht belegt angezeigt....

Physikalischer Speicher (RAM)

26032 von 61344 KB belegt (ohne Cache 22516 KB)

werde jetzt zusätzlich 64mb swap anlegen mal sehen....

Edit: Trotz 64MB Swap startet samba nicht ....

Code:
execve("/sbin/smbd", ["smbd"], [/* 170 vars */]) = 0
old_mmap(NULL, 20, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaad000
open("/mod/lib/libcrypt.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libcrypt.so.0", O_RDONLY)    = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=11520, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\260\4\0\0004\0\0\0\250"..., 4096) = 4096
old_mmap(NULL, 147456, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aabe000
old_mmap(0x2aabe000, 10212, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2aabe000
old_mmap(0x2aad0000, 2100, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2000) = 0x2aad0000
old_mmap(0x2aad1000, 68896, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2aad1000
close(3)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/mod/lib/libdl.so.0", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.0", O_RDONLY)       = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=9372, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\220\7\0\0004\0\0\0\364"..., 4096) = 4096
old_mmap(NULL, 77824, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aae2000
old_mmap(0x2aae2000, 6208, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2aae2000
old_mmap(0x2aaf3000, 4200, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x2aaf3000
close(3)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/mod/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libpthread.so.0", O_RDONLY)  = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=94510, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0 4\0\0004\0\0\0X"..., 4096) = 4096
old_mmap(NULL, 147456, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaf5000
old_mmap(0x2aaf5000, 51108, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2aaf5000
old_mmap(0x2ab11000, 22440, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xc000) = 0x2ab11000
old_mmap(0x2ab17000, 6816, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ab17000
close(3)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/mod/lib/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libgcc_s.so.1", O_RDONLY)    = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=55452, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\340\30\0\0004\0\0\0\334"..., 4096) = 4096
old_mmap(NULL, 122880, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab19000
old_mmap(0x2ab19000, 53908, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2ab19000
old_mmap(0x2ab36000, 1052, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xd000) = 0x2ab36000
close(3)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/mod/lib/libc.so.0", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/lib/libc.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=427348, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\0\252\0\0004\0\0\0l"..., 4096) = 4096
old_mmap(NULL, 466944, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab37000
old_mmap(0x2ab37000, 375716, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2ab37000
old_mmap(0x2aba2000, 8076, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x5b000) = 0x2aba2000
old_mmap(0x2aba4000, 18896, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2aba4000
close(3)                                = 0
mprotect(0x2ab37000, 375716, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
munmap(0x2aaae000, 4096)                = 0
open("/mod/lib/libc.so.0", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/lib/libc.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=427348, ...}) = 0
close(3)                                = 0
open("/mod/lib/libc.so.0", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/lib/libc.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=427348, ...}) = 0
close(3)                                = 0
open("/mod/lib/libc.so.0", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/lib/libc.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=427348, ...}) = 0
close(3)                                = 0
open("/mod/lib/libc.so.0", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/lib/libc.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=427348, ...}) = 0
close(3)                                = 0
stat("/lib/ld-uClibc.so.0", {st_mode=S_IFREG|0755, st_size=22664, ...}) = 0
mprotect(0x2aaf3000, 4096, PROT_READ)   = 0
mprotect(0x2ab11000, 4096, PROT_READ)   = 0
mprotect(0x2aba2000, 4096, PROT_READ)   = 0
mprotect(0x2aabc000, 4096, PROT_READ)   = 0
mprotect(0x2ab37000, 375716, PROT_READ|PROT_EXEC) = 0
ioctl(0, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
getpid()                                = 2300
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=0}) = 0
setrlimit(RLIMIT_STACK, {rlim_cur=2040*1024, rlim_max=0}) = 0
rt_sigaction(SIGRT_0, {SIG_DFL, [], SA_STACK|SA_INTERRUPT|0x2b00f44}, NULL, 16) = 0
rt_sigaction(SIGRT_1, {SIG_DFL, [], SA_STACK|SA_INTERRUPT|0x2b00e54}, NULL, 16) = 0
rt_sigaction(SIGRT_2, {SIG_DFL, [], SA_STACK|SA_INTERRUPT|0x2b00214}, NULL, 16) = 0
rt_sigprocmask(SIG_BLOCK, [RT_0], NULL, 16) = 0
rt_sigprocmask(SIG_UNBLOCK, [RT_1], NULL, 16) = 0
brk(0)                                  = 0x53bef8
brk(0x53cef8)                           = 0x53cef8
brk(0x53d000)                           = 0x53d000
open("/mod/etc/upcase.dat", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/mod/etc/lowcase.dat", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
brk(0x55d000)                           = 0x55d000
brk(0x57d000)                           = 0x57d000
setpriority(PRIO_PROCESS, 0, 19)        = 0
geteuid()                               = 0
getegid()                               = 0
open("/dev/urandom", O_RDONLY|O_LARGEFILE) = 3
setresuid(0, 0, 0)                      = 0
setuid(0)                               = 0
geteuid()                               = 0
getuid()                                = 0
setresgid(0, 0, 0)                      = 0
setgid(0)                               = 0
getegid()                               = 0
getgid()                                = 0
rt_sigaction(SIGSEGV, {0x10000000, [], SA_STACK|SA_INTERRUPT|SA_SIGINFO|SA_NOCLDWAIT|0x2aedad0}, {SIG_DFL, [], 0}, 16) = 0
rt_sigaction(SIGBUS, {0x10000000, [], SA_STACK|SA_INTERRUPT|SA_SIGINFO|SA_NOCLDWAIT|0x2aedad0}, {SIG_DFL, [], 0}, 16) = 0
rt_sigaction(SIGIOT, {0x10000000, [], SA_STACK|SA_INTERRUPT|SA_SIGINFO|SA_NOCLDWAIT|0x2aedad0}, {SIG_DFL, [], 0}, 16) = 0
mkdir("/var/samba/cores", 0700)         = -1 EEXIST (File exists)
mkdir("/var/samba/cores/smbd", 0700)    = -1 EEXIST (File exists)
getuid()                                = 0
getgid()                                = 0
chown("/var/samba/cores/smbd", 0, 0)    = 0
chmod("/var/samba/cores/smbd", 0700)    = 0
getrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=0}) = 0
setrlimit(RLIMIT_CORE, {rlim_cur=16384*1024, rlim_max=4740616}) = -1 EINVAL (Invalid argument)
getrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=2141230592}) = 0
prctl(0x4, 0x1, 0, 0, 0x4feab8)         = 0
setresuid(0, 0, 0)                      = 0
setuid(0)                               = 0
geteuid()                               = 0
getuid()                                = 0
setresgid(0, 0, 0)                      = 0
setgid(0)                               = 0
getegid()                               = 0
getgid()                                = 0
rt_sigaction(SIGSEGV, {0x10000000, [], SA_STACK|SA_INTERRUPT|SA_SIGINFO|SA_NOCLDWAIT|0x2aedad0}, {0x10000000, [], SA_STACK|SA_INTERRUPT|SA_SIGINFO|SA_NOCLDWAIT|0x2aedad0}, 16) = 0
rt_sigaction(SIGBUS, {0x10000000, [], SA_STACK|SA_INTERRUPT|SA_SIGINFO|SA_NOCLDWAIT|0x2aedad0}, {0x10000000, [], SA_STACK|SA_INTERRUPT|SA_SIGINFO|SA_NOCLDWAIT|0x2aedad0}, 16) = 0
rt_sigaction(SIGIOT, {0x10000000, [], SA_STACK|SA_INTERRUPT|SA_SIGINFO|SA_NOCLDWAIT|0x2aedad0}, {0x10000000, [], SA_STACK|SA_INTERRUPT|SA_SIGINFO|SA_NOCLDWAIT|0x2aedad0}, 16) = 0
mkdir("/var/samba/cores", 0700)         = -1 EEXIST (File exists)
mkdir("/var/samba/cores/smbd", 0700)    = -1 EEXIST (File exists)
getuid()                                = 0
getgid()                                = 0
chown("/var/samba/cores/smbd", 0, 0)    = 0
chmod("/var/samba/cores/smbd", 0700)    = 0
getrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=0}) = 0
setrlimit(RLIMIT_CORE, {rlim_cur=16384*1024, rlim_max=4740616}) = -1 EINVAL (Invalid argument)
getrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=2141230592}) = 0
prctl(0x4, 0x1, 0, 0, 0x4feab8)         = 0
rt_sigaction(SIGTERM, {0x10000000, [], SA_STACK|SA_INTERRUPT|SA_SIGINFO|SA_NOCLDWAIT|0x2aedad0}, {SIG_DFL, [], 0}, 16) = 0
rt_sigaction(SIGHUP, {0x10000000, [], SA_STACK|SA_INTERRUPT|SA_SIGINFO|SA_NOCLDWAIT|0x2aedad0}, {SIG_DFL, [], SA_NOCLDSTOP}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [PIPE], NULL, 16) = 0
rt_sigprocmask(SIG_BLOCK, [FPE], NULL, 16) = 0
rt_sigprocmask(SIG_BLOCK, [USR2], NULL, 16) = 0
rt_sigprocmask(SIG_UNBLOCK, [HUP], NULL, 16) = 0
rt_sigprocmask(SIG_UNBLOCK, [USR1], NULL, 16) = 0
rt_sigprocmask(SIG_UNBLOCK, [TERM], NULL, 16) = 0
umask(0)                                = 022
geteuid()                               = 0
getegid()                               = 0
getgid()                                = 0
getegid()                               = 0
setresgid(-1, 0, -1)                    = 0
getegid()                               = 0
setgid(0)                               = 0
getgroups(0, 0x57c6a0)                  = 1
getgroups(1, [0])                       = 1
setresgid(0, 0, -1)                     = 0
getegid()                               = 0
getgid()                                = 0
umask(022)                              = 0
open("", O_WRONLY|O_CREAT|O_APPEND|O_LARGEFILE, 0644) = -1 ENOENT (No such file or directory)
umask(0)                                = 022
umask(022)                              = 0
open("", O_WRONLY|O_CREAT|O_APPEND|O_LARGEFILE, 0644) = -1 ENOENT (No such file or directory)
umask(0)                                = 022
stat64(0x7fa08db8, 0x7fa08c00)          = 0
uname({sys="Linux", node="fritz.fonwlan.box", ...}) = 0
open("/mod/etc/smb.conf", O_RDONLY|O_LARGEFILE) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=546, ...}) = 0
old_mmap(NULL, 1229725696, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = -1 ENOMEM (Cannot allocate memory)
brk(0x49a3e000)                         = 0x57d000
old_mmap(NULL, 1229725696, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = -1 ENOMEM (Cannot allocate memory)
close(4)                                = 0
brk(0x57e000)                           = 0x57e000
brk(0x57f000)                           = 0x57f000
brk(0x581000)                           = 0x581000
open("/mod/etc/charset/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/lib/CP850.so", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/lib/CP850.so", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/lib/CP850.so", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/usr/lib/CP850.so", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/etc/charset/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/lib/CP850.so", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/lib/CP850.so", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/lib/CP850.so", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/usr/lib/CP850.so", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/etc/charset/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/lib/CP850.so", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/lib/CP850.so", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/lib/CP850.so", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/usr/lib/CP850.so", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/etc/charset/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/lib/CP850.so", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/lib/CP850.so", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/lib/CP850.so", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/usr/lib/CP850.so", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/etc/charset/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/lib/CP850.so", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/lib/CP850.so", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/lib/CP850.so", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/usr/lib/CP850.so", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/etc/charset/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/lib/CP850.so", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/lib/CP850.so", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/lib/CP850.so", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/usr/lib/CP850.so", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/etc/charset/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/lib/CP850.so", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/lib/CP850.so", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/lib/CP850.so", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/usr/lib/CP850.so", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/etc/charset/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/lib/CP850.so", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/lib/CP850.so", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/lib/CP850.so", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/usr/lib/CP850.so", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/etc/charset/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/lib/CP850.so", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/lib/CP850.so", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/lib/CP850.so", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/usr/lib/CP850.so", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/etc/charset/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/lib/CP850.so", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/lib/CP850.so", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/lib/CP850.so", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/usr/lib/CP850.so", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/etc/charset/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/lib/CP850.so", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/lib/CP850.so", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/lib/CP850.so", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/usr/lib/CP850.so", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/etc/charset/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/lib/CP850.so", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/lib/CP850.so", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/lib/CP850.so", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/usr/lib/CP850.so", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/etc/charset/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/lib/CP850.so", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/lib/CP850.so", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/lib/CP850.so", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/usr/lib/CP850.so", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/etc/charset/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/lib/CP850.so", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/lib/CP850.so", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/lib/CP850.so", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/usr/lib/CP850.so", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/etc/charset/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/lib/CP850.so", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/lib/CP850.so", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/lib/CP850.so", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/usr/lib/CP850.so", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/etc/charset/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/lib/CP850.so", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/lib/CP850.so", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/lib/CP850.so", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/usr/lib/CP850.so", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/CP850.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/etc/valid.dat", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
brk(0x591000)                           = 0x591000
open("/mod/etc/valid.dat", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
stat64(0x7fa091d0, 0x7fa09048)          = -1 ENOENT (No such file or directory)
umask(022)                              = 0
open("", O_WRONLY|O_CREAT|O_APPEND|O_LARGEFILE, 0644) = -1 ENOENT (No such file or directory)
umask(0)                                = 022
stat64(0x7fa08d88, 0x7fa08c00)          = 0
umask(022)                              = 0
open("", O_WRONLY|O_CREAT|O_APPEND|O_LARGEFILE, 0644) = -1 ENOENT (No such file or directory)
umask(0)                                = 022
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
ioctl(4, 0x8912, {128, {{"lo", {AF_INET, inet_addr("127.0.0.1")}}, {"lan", {AF_INET, inet_addr("192.168.178.1")}}, {"lan:0", {AF_INET, inet_addr("169.254.1.1")}}, {"dsl", {AF_INET, inet_addr("169.254.2.1")}}}}) = 0
ioctl(4, 0x8915, {ifr_name="dsl", ifr_addr={AF_INET, inet_addr("169.254.2.1")}}) = 0
ioctl(4, 0x8913, {ifr_name="dsl", ifr_flags=IFF_UP|IFF_POINTOPOINT|IFF_RUNNING|IFF_NOARP|IFF_ALLMULTI|IFF_MULTICAST}) = 0
ioctl(4, 0x891b, {ifr_name="dsl", ifr_netmask={AF_INET, inet_addr("255.255.255.255")}}) = 0
ioctl(4, 0x8915, {ifr_name="lan:0", ifr_addr={AF_INET, inet_addr("169.254.1.1")}}) = 0
ioctl(4, 0x8913, {ifr_name="lan:0", ifr_flags=IFF_UP|IFF_BROADCAST|IFF_RUNNING|IFF_ALLMULTI|IFF_MULTICAST}) = 0
ioctl(4, 0x891b, {ifr_name="lan:0", ifr_netmask={AF_INET, inet_addr("255.255.0.0")}}) = 0
ioctl(4, 0x8915, {ifr_name="lan", ifr_addr={AF_INET, inet_addr("192.168.178.1")}}) = 0
ioctl(4, 0x8913, {ifr_name="lan", ifr_flags=IFF_UP|IFF_BROADCAST|IFF_RUNNING|IFF_ALLMULTI|IFF_MULTICAST}) = 0
ioctl(4, 0x891b, {ifr_name="lan", ifr_netmask={AF_INET, inet_addr("255.255.255.0")}}) = 0
ioctl(4, 0x8915, {ifr_name="lo", ifr_addr={AF_INET, inet_addr("127.0.0.1")}}) = 0
ioctl(4, 0x8913, {ifr_name="lo", ifr_flags=IFF_UP|IFF_LOOPBACK|IFF_RUNNING}) = 0
ioctl(4, 0x891b, {ifr_name="lo", ifr_netmask={AF_INET, inet_addr("255.0.0.0")}}) = 0
close(4)                                = 0
brk(0x595000)                           = 0x595000
brk(0x599000)                           = 0x599000
brk(0x59a000)                           = 0x59a000
exit(-1)                                = ?

Immer noch zu wenig Speicher????
 
Zuletzt bearbeitet:
Wenn ich es wüßte hätte ich nicht gefragt. ;-)

MfG Oliver
 
@olistudent und RalfFriedl:

Mir ist aufgefallen das der midnight commander ebenfalls bei 3-5ten Verzeichniswechsel mit einem Fehler aussteigt/könnte das damit zusammenhängen?

Code:
login as: root
[email protected]'s password:

   __  _   __  __ ___ __
  |__ |_) |__ |__  |   /
  |   |\  |__ |__  |  /_

   The fun has just begun...


BusyBox v1.12.3 (2008-12-18 16:54:15 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

ermittle die aktuelle TTY
tty is "/dev/pts/0"
Console Ausgaben auf dieses Terminal umgelenkt
/var/mod/root # mc
│?data            │  1167M│Jan  1  1970││?.mc             │  1388P│Jan  1  1970│
│?dev             │  1931P│Jan  1  1970││?.ssh            │343389T│Jan  1  1970│
│?etc             │  1173M│Jan  1  1970││                 │       │            │
│?home            │  1173M│Jan  1  1970││                 │       │            │
│?lib             │  1173M│Jan  1  1970││                 │       │            │
│?mod             │  1173M│Jan  1  1970││                 │       │            │
│?nohup.out       │  1173M│Jan  1  1970││                 │       │            │
│?oldroot         │  1167M│Jan  1  1970││                 │       │            │
│?proc            │  1068P│Jan  1  1970││                 │       │            │
│?sbin            │  1173M│Jan  1  1970││                 │       │            │
│?share           │  1173M│Jan  1  1970││                 │       │            │
│?sys             │  1488P│Jan  1  1970││                 │       │            │
│?tmp             │  1173M│Jan  1  1970││                 │       │            │
│?usr             │  1173M│Jan  1  1970││                 │       │            │
│?var             │ 93715T│Jan  1  1970││                 │       │            │
│──────────────────────────────────────││──────────────────────────────────────│
│?mod                                  ││/..                                   │
└──────────────────────────────────────┘└──────────────────────────────────────┘
#
1HGLib-ERROR **: could not allocate 1224068940 bytesir  8Delete 9PullDn 10Quit
                                                    aborting...
                                                               Aborted
                                                                      /var/mod/root #


Zum Vergleich die Samba(strace) Zeile:

old_mmap(NULL, 1229725696, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = -1 ENOMEM (Cannot allocate memory)
 
Ich habe auch die Meldung "Ein USB-Speicher konnte nicht eingebunden werden" auf der 7170 mit Firmware 67. Gemounted sind die Partionen trotzdem und alles funktionirt soweit.
Mit ist noch aufgefallen, dass "led-ctrl filesystem_mount_failure" aufgerufen wird, was aber nicht funktiniert, da es wohl Probleme mit /dev/led gibt. Vielleicht fehlt die Umleitung nach /dev/new_led?
 
Das Ganze sieht schon sehr seltsam aus.
Wenn ich die Stellen richtig gezählt haben, wird in beiden Fällen versucht, ca. 1GB zu belegen. Da machen auch ein paar MB keinen Unterschied.

Was die Frage betrifft, ob es normal ist, das könnte jemand prüfen, der Samba und strace auf der Box hat.
Vom Zusammenhang her gehe ich davon aus, daß das mmap versucht wird, um die Konfiguration zu laden. Es ist zwischen dem Öffnen und dem Schließen der smb.conf.
Kurz danach wird vergeblich versucht, einen leeren Dateinamen zum Schreiben und Anhängen zu öffnen. Das halte ich für den Versuch, eine Protokoll-Datei zu öffnen, das ist zumindest der naheliegendste Grund, eine Datei zum Anhängen zu öffnen.
Danach wird noch die Netzwerk-Konfiguration ausgelesen und das Programm mit einem Fehler-Code beendet. Es ist aber nicht ein Speicherzugriffsfehler, sondern ein reguläres exit.

Ist es einfach möglich, den Patch, der die Protokollierung ausschaltet, wegzulassen?
 
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.