PPC smbfs history (circa 2.1.24) question

Jim McDonough jmcd at us.ibm.com
Thu Mar 29 17:05:58 GMT 2001


Urban Widmark wrote:
>I have never received any feedback from a big endian user, the code
>attempts to do the right thing but I wouldn't bet on it.
>
>I have considered buying a testmachine of some sort to verify endianess
>things (preferrably something cheap with a pci bus) but I have had enough
>work to keep me occupied without looking for new problems ... :)

I have verified that smbmount works fine on the following big-endian
setups:
LinuxPPC on an RS/6000 model 43P-133, kernel 2.2.17 (with CHRP patches)
Suse 7.0 on a System/390 G6 VM guest, kernel 2.2.16
Suse 7.0 on a System/390 Multiprise 2000 VM guest, kernel 2.2.16 (should be
the same as the G6, but you might be surprised)

I tested connecting both to a Win2K pro system, and several samba 2.2
current CVS (3/29) systems.

Is there some test suite I should run to verify this?  I'm just mounting
and casually browsing...

Jim


----------------------------
Jim McDonough
Linux Technology Center
IBM Boulder

Notes: Jim McDonough/Boulder/IBM @ IBMUS
VNET: JMCD at IBMUSM54
Internet: jmcd at us.ibm.com

Phone: (303) 924-5822
T/L: 263-5822


Urban Widmark <urban at teststation.com>@us5.samba.org on 03/25/2001 06:30:16
AM

Sent by:  samba-technical-admin at us5.samba.org


To:   Chris Worley <cworley at symbionsys.com>
cc:   <samba-technical at us5.samba.org>
Subject:  Re: PPC smbfs history (circa 2.1.24) question



On Sat, 24 Mar 2001, Chris Worley wrote:

> The smbmount seems fine (gethostbyname doesn't work from the Tivo's
> libc, but I got around that).
>
> The initial request from smbmount to the module panics in the modules'
> socket code.
>
> I'm just guessing that this is a big endian issue.

smbfs < 2.1.52 (guessed from the patch from .51 to .52 where the interface
changes to something resembling the current) uses smbmount from the
separate smbfs-2.0.2 package.

It is available from the 'contributed' dir on the samba ftp/http site, or
on ftp://ftp.gwdg.de/pub/linux/misc/smbfs/

In 2.1.121 the kernel documentation was changed to point to the smbmount
in the samba package (1.9.18pl10 was the current version then). I assume
strange things may happen if you use the wrong package (but I haven't
really looked at smbfs-2.0.2 or 1.9.18pl10 for that matter).


> So, I'm guessing there was a point in the 2.1 kernels when the PPC was
> addressed and fixed.

What makes you think current versions works on ppc?
(or any other bigendian machine)


/Urban









More information about the samba-technical mailing list