Please disregard my previous email. I didn't notice the patch was
actually truncated by gmail at the end of your email. I tried applying
the patch but 2 out of 2 hunks failed.
Instead I made the two changes manually in the config.sub file and was
able to successfully compile samba.
I have one other hurdle to pass before I can test it but it looks like
it'll work.
Thanks a lot!
- Jose Torres
On 3/6/07, *Jose Torres* <vonneh@xxxxxxxxx <mailto:vonneh@xxxxxxxxx>> wrote:
Hi John,
I am sorry but I am not sure where to locate the patch.
Did you attach it to the email? If so, it did not come through.
Thanks for your prompt response.
- Jose
On 3/6/07, *John Williams* <jwilliams@xxxxxxxxxxxxxx
<mailto:jwilliams@xxxxxxxxxxxxxx>> wrote:
Hello Jose, Cedris,
Can you please try the attached patch? Apply from the toplevel
petalinux directory:
[user@petalinux]$ patch -p0 < petalinux-samba.patch
Then rebuild in the normal petalinux user build process.
I tested it here and it configures and builds OK - I haven't had an
opportunity to boot/run test it yet.
Please let me know if this works for you, and I'll roll the
patch into
the next release.
Thanks,
John
P.S. To apply to a regular uClinux-dist (if not using
PetaLinux), go to
uClinux-dist directory and
[user@uClinux-dist]$ patch -p2 < petalinux-samba.patch
Jose Torres wrote:
Dear Cedric,
I finally have some time to mess around with SAMBA and I was
wondering
if you had any further luck.
Tried compiling it myself but I also ran into the problem with
"host".
checking host system type... Invalid configuration
`microblaze-uclinux':
machine `microblaze' not recognized
configure: error: /bin/sh ../config.sub microblaze-uclinux failed
I also noticed this warning:
configure: WARNING: If you wanted to set the --build type,
don't use --host.
If a cross compiler is detected then cross compile mode
will be used.
SAMBA VERSION: 3.0.13
Looking in ...\petalinux-dist\user\samba and
...\petalinux-dist\user\samba\source
I could not find where you modified those symbols.
Can anyone provide further assistance.
Thanks,
Jose Torres
On 1/26/07, *Cedric LORANT* < cedric.lorant@xxxxxxxxxxx
<mailto:cedric.lorant@xxxxxxxxxxx>
<mailto: cedric.lorant@xxxxxxxxxxx
<mailto:cedric.lorant@xxxxxxxxxxx>>> wrote:
Hello Jose,
The idea is to be able to access some data in the target
application.
SAMBA allows me to get these informations directly as files
from Windows
Desktop computer.
If you want I can give you a 'smb.conf' file for playing with.
Greetings,
Cedric.
-----Original Message-----
From: owner-microblaze-uclinux@xxxxxxxxxxxxxx
<mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx>
<mailto: owner-microblaze-uclinux@xxxxxxxxxxxxxx
<mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx>>
[mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx
<mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx>
<mailto: owner-microblaze-uclinux@xxxxxxxxxxxxxx
<mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx>> ]On Behalf Of Jose
Torres
Sent: 26 January 2007 05:53
To: microblaze-uclinux@xxxxxxxxxxxxxx
<mailto:microblaze-uclinux@xxxxxxxxxxxxxx>
<mailto: microblaze-uclinux@xxxxxxxxxxxxxx
<mailto:microblaze-uclinux@xxxxxxxxxxxxxx>>
Subject: Re: [microblaze-uclinux] SAMBA problem
Hi,
I haven't attempted to use Samba for my petalinux
installation. Could
you explain the applications of using samba for petalinux?
I might try
to install this myself.
Thanks.
On 1/25/07, cedric.lorant@xxxxxxxxxxx
<mailto:cedric.lorant@xxxxxxxxxxx>
<mailto: cedric.lorant@xxxxxxxxxxx
<mailto:cedric.lorant@xxxxxxxxxxx>> < cedric.lorant@xxxxxxxxxxx
<mailto:cedric.lorant@xxxxxxxxxxx>
<mailto: cedric.lorant@xxxxxxxxxxx
<mailto:cedric.lorant@xxxxxxxxxxx>>> wrote:
> 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
<mailto:microblaze-uclinux@xxxxxxxxxxxxxx>
<mailto: microblaze-uclinux@xxxxxxxxxxxxxx
<mailto:microblaze-uclinux@xxxxxxxxxxxxxx>>
> Project Home Page :
http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
<http://www.itee.uq.edu.au/%7Ejwilliams/mblaze-uclinux>
> Mailing List Archive :
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
<http://www.itee.uq.edu.au/%7Elistarch/microblaze-uclinux/>
Index: software/petalinux-dist/user/samba/source/config.sub
===================================================================
---
software/petalinux-dist/user/samba/source/config.sub (revision
2389)
+++
software/petalinux-dist/user/samba/source/config.sub (working
copy)
@@ -238,6 +238,7 @@
| i370 | i860 | i960 | ia64 \
| ip2k | iq2000 \
| m32r | m32rle | m68000 | m68k | m88k | mcore \
+ | mb | microblaze \
| mips | mipsbe | mipseb | mipsel | mipsle \
| mips16 \
| mips64 | mips64el \
@@ -311,6 +312,7 @@
| m32r-* | m32rle-* \
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* |
m68k-* \
| m88110-* | m88k-* | mcore-* \
+ | mb-* | microblaze-* \
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
| mips16-* \
| mips64-* | mips64el-* \
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jose A. Torres
Treasurer
Multi Disciplinary Robotics Club
Multi Agent Bio-Robotics Lab (09-1100)
Kate Gleason College of Engineering
Rochester Institute of Technology
http://mdrc.rit.edu
http://gameboysandrobots.com
Email: jat5737@xxxxxxx <mailto:jat5737@xxxxxxx>
Cellphone:(585) 230-5709
Lab phone:(585) 475-7208
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~