public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.5.11 and smbfs
@ 2002-04-30 19:40 Scott A. Sibert
  2002-05-01 17:44 ` Urban Widmark
  2002-05-01 19:08 ` Denis Vlasenko
  0 siblings, 2 replies; 5+ messages in thread
From: Scott A. Sibert @ 2002-04-30 19:40 UTC (permalink / raw)
  To: linux-kernel

I don't know if anyone's mentioned this (I tried searching through the 
recent list archives).  I have 2.5.11 compiled on a dual P3/800 with 
preempt enabled.  smbfs and 3c905c are compiled into the kernel (not 
modules).  It has 1gb memory and I have high memory (4gb) compiled.

I can mount other samba shares fine (ie. Samba-2.2.2 from OSX 10.1.4 and 
Samba-2.2.2 from Tru64 5.1) and the directories look fine.  When I mount 
a share from a Windows 2000 server I only get the first letter of the 
entry in the shared folder which, of course, makes no sense and 
generates errors when just trying to get an "ls" of the share.  The 
Win2K servers are both regular server and Adv Server, both with SP2 and 
the latest patches.  The linux machine is running RedHat 7.2 with almost 
all of the latest updates and 2.5.11 compiled.

Please let me know if there is any other information needed or if you 
want me to try something.  (I will try to respond quickly.)

--Scott



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 2.5.11 and smbfs
@ 2002-05-01  7:52 vt
  0 siblings, 0 replies; 5+ messages in thread
From: vt @ 2002-05-01  7:52 UTC (permalink / raw)
  To: linux-kernel

the same problem here (2.5.12+fb patch).

dmesg says:

smb_retry: successful, new pid=427, generation=2
smb_request: result -104, setting invalid
smb_retry: successful, new pid=430, generation=2
smb_proc_readdir_long: name=\, result=-2, rcls=1, err=2


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 2.5.11 and smbfs
  2002-04-30 19:40 2.5.11 and smbfs Scott A. Sibert
@ 2002-05-01 17:44 ` Urban Widmark
  2002-05-03 14:39   ` Scott A. Sibert
  2002-05-01 19:08 ` Denis Vlasenko
  1 sibling, 1 reply; 5+ messages in thread
From: Urban Widmark @ 2002-05-01 17:44 UTC (permalink / raw)
  To: Scott A. Sibert; +Cc: linux-kernel, vt

On Tue, 30 Apr 2002, Scott A. Sibert wrote:

> I can mount other samba shares fine (ie. Samba-2.2.2 from OSX 10.1.4 and 
> Samba-2.2.2 from Tru64 5.1) and the directories look fine.  When I mount 
> a share from a Windows 2000 server I only get the first letter of the 
> entry in the shared folder which, of course, makes no sense and 
> generates errors when just trying to get an "ls" of the share.  The 
> Win2K servers are both regular server and Adv Server, both with SP2 and 
> the latest patches.  The linux machine is running RedHat 7.2 with almost 
> all of the latest updates and 2.5.11 compiled.

The server is returning unicode filenames but smbfs isn't expecting them.

You don't say which samba version your smbmount is from, but I'm guessing
2.2.1/2.2.2. They always negotiate unicode support without knowing if
smbfs supports it or not, which is a bug.

With smbfs unicode support in 2.5 this started to matter for various
reasons. I have thought about "autodetection" and maybe that will be
necessary anyway.

For now, upgrading samba to 2.2.3a should fix this. Let me know if it
doesn't.

/Urban


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 2.5.11 and smbfs
  2002-04-30 19:40 2.5.11 and smbfs Scott A. Sibert
  2002-05-01 17:44 ` Urban Widmark
@ 2002-05-01 19:08 ` Denis Vlasenko
  1 sibling, 0 replies; 5+ messages in thread
From: Denis Vlasenko @ 2002-05-01 19:08 UTC (permalink / raw)
  To: Scott A. Sibert, linux-kernel

On 30 April 2002 17:40, Scott A. Sibert wrote:
> I don't know if anyone's mentioned this (I tried searching through the
> recent list archives).  I have 2.5.11 compiled on a dual P3/800 with
> preempt enabled.  smbfs and 3c905c are compiled into the kernel (not
> modules).  It has 1gb memory and I have high memory (4gb) compiled.
>
> I can mount other samba shares fine (ie. Samba-2.2.2 from OSX 10.1.4 and
> Samba-2.2.2 from Tru64 5.1) and the directories look fine.  When I mount
> a share from a Windows 2000 server I only get the first letter of the
> entry in the shared folder which, of course, makes no sense and
> generates errors when just trying to get an "ls" of the share.  The
> Win2K servers are both regular server and Adv Server, both with SP2 and
> the latest patches.  The linux machine is running RedHat 7.2 with almost
> all of the latest updates and 2.5.11 compiled.

Let's try to isolate the cause. Does 2.4 kernel fail too?
--
vda

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 2.5.11 and smbfs
  2002-05-01 17:44 ` Urban Widmark
@ 2002-05-03 14:39   ` Scott A. Sibert
  0 siblings, 0 replies; 5+ messages in thread
From: Scott A. Sibert @ 2002-05-03 14:39 UTC (permalink / raw)
  To: Urban Widmark; +Cc: linux-kernel, vt, vda

Hi all.

Kernel 2.4.18 smbfs worked, 2.4.19-pre8 smbfs worked (although 
fs/ufs/super.c had some missing commas), 2.5.11 smbfs didn't work.  The 
RedHat 7.2 had samba-2.2.1a-4 so I pulled down samba-2.2.3a-4 from the 
skipjack beta and compiled it under kernel 2.5.11 and it mounts windows 
shares correctly.  I'm in the process of going to 2.5.13 but I'm going 
to stick with the 2.2.3a-4 samba.

Thanks for all of your help.

--Scott

Urban Widmark wrote:

>On Tue, 30 Apr 2002, Scott A. Sibert wrote:
>
>>I can mount other samba shares fine (ie. Samba-2.2.2 from OSX 10.1.4 and 
>>Samba-2.2.2 from Tru64 5.1) and the directories look fine.  When I mount 
>>a share from a Windows 2000 server I only get the first letter of the 
>>entry in the shared folder which, of course, makes no sense and 
>>generates errors when just trying to get an "ls" of the share.  The 
>>Win2K servers are both regular server and Adv Server, both with SP2 and 
>>the latest patches.  The linux machine is running RedHat 7.2 with almost 
>>all of the latest updates and 2.5.11 compiled.
>>
>
>The server is returning unicode filenames but smbfs isn't expecting them.
>
>You don't say which samba version your smbmount is from, but I'm guessing
>2.2.1/2.2.2. They always negotiate unicode support without knowing if
>smbfs supports it or not, which is a bug.
>
>With smbfs unicode support in 2.5 this started to matter for various
>reasons. I have thought about "autodetection" and maybe that will be
>necessary anyway.
>
>For now, upgrading samba to 2.2.3a should fix this. Let me know if it
>doesn't.
>
>/Urban
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at  http://www.tux.org/lkml/
>



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-05-03 14:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-30 19:40 2.5.11 and smbfs Scott A. Sibert
2002-05-01 17:44 ` Urban Widmark
2002-05-03 14:39   ` Scott A. Sibert
2002-05-01 19:08 ` Denis Vlasenko
  -- strict thread matches above, loose matches on Subject: below --
2002-05-01  7:52 vt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox