[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] SAMBA problem



Dear uClinux experts,

I am experiencing some problems to make samba running properly under uClinux...
My question has multiple aspects, I hope somebody can help me !!!

Here is a short view of the situation:

I am using uClinux from the latest uClinux CVS repository. But I also tried with several older versions (all are related to SAMBA 3.0.13 - there is some minor changes in the makefile)

First, I had several problems compiling correctly SAMBA.
I had to do 2 little modifications to the generated makefile
- modify makefile to "host=i686"
- modify makefile to "without-smbmount"

Modification about host is OK(read 'understandable by me'). But why couldn't I compile with default option "with-smbmount" is still a mystery: If I keep this default option, I get an error message telling me that my system is not running Linux (or something near that meaning)....

After these 2 mods, SAMBA compiles correctly...but...

I could not run SAMBA fully correctly. If I try to launch SAMBA
"smbd -D &" and "nmbd -D & ", they do not become deamons. Their PID immediately disappears in the process list.

My smb.conf can be considered as ok. I am not completely new to SAMBA configuration, and ...

If I launch "nmbd -i -S -d 2" It runs more or less properly.
Same for "smbd -i -S -d 2". It runs but, sometimes exits (and say 'exit properly'). Then I have to run it again and it still continue to operate... Then I know that my smb.conf is ok, because in that case, I can fully navigate and find uClinux with IP or NETBIOS name, copy, read and erase files.

My question is "Why it doesn't want to run properly as a daemon"...(or how to make it run properly as a daemon?)

If I look at the log file, log stops after saying: "becoming a daemon"

I also tried to start them using inetd. But no success. When I try to connect, I got messages 'execv!' full on my console...

I also tried the SAMBA version in the Petalogic distribution, but I get the same makefile compilation errors. (Even worst: stops compiling at libsmb:clifile ).

Does anybody have an idea in which direction I must look for???

Thanks in advance,

Greetings,

Cedric.
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/