2002-03-15 08:34:20

by SeongTae Yoo

[permalink] [raw]
Subject: file listing problem in smbfs, kernel 2.4.18

ama_arm_co.tif.cc.tex
ami_glass_dirty_C.tif.pp.tex
ami_glass_dirty_O.tif.pp.tex
amiel_arm_op.tif.bb.tex
amiel_ball_co.tif.cc.tex
amiel_body_co.tif.cc.tex
amiel_body_df.tif.cc.tex
amiel_dress_alpa.tif.cc.tex
amiel_dress_bott_alpa.tif.cc.tex
amiel_dress_co.tif.pp.tex
amiel_dress_m.tif.cc.tex
amiel_dress_m1.tif.cc.tex
amiel_dress_m2.tif.cc.tex
amiel_dress_m3.tif.cc.tex
amiel_dress_m4.tif.cc.tex
amiel_dress_m5.tif.cc.tex
amiel_face_co.tif.cc.tex
amiel_face_df.tif.cc.tex
amiel_h_co.tif.cc.tex
amiel_h_op.tif.bb.tex
amiel_h_op1.tif.bb.tex
amiel_h_op2.tif.bb.tex
amiel_h_op3.tif.bb.tex
amiel_iris_co.tif.cc.tex
amiel_lip_bp.tif.bb.tex
amiel_lip_sp.tif.bb.tex
amiel_nail.tif.cc.tex
amiel_ring_alpa.tif.cc.tex
amiel_ring_bp.tif.cc.tex
amiel_sleeve_co.tif.pp.tex
amiel_sleeve_op.tif.pp.tex
cornea_bp.tif.pp.tex
jail_nail.tif.cc.tex
jal_Metal_base.tif.pp.tex
jal_armor_arm01_bp.tif.cc.tex
jal_armor_arm01_dif.tif.cc.tex
jal_armor_arm02_MK.tif.cc.tex
jal_armor_arm02_bp.tif.cc.tex
jal_armor_arm02_dif.tif.cc.tex
jal_armor_back_01_bp.tif.cc.tex
jal_armor_back_01_dif.tif.cc.tex
jal_armor_back_02_bp.tif.cc.tex
jal_armor_back_02_dif.tif.cc.tex
jal_armor_back_03_bp.tif.cc.tex
jal_armor_back_03_dif.tif.cc.tex
jal_armor_back_04_bp.tif.cc.tex
jal_armor_back_04_dif.tif.cc.tex
jal_armor_center_bp.tif.cc.tex
jal_armor_center_dif.tif.cc.tex
jal_armor_flank_MK.tif.cc.tex
jal_armor_flank_bp.tif.cc.tex
jal_armor_flank_dif.tif.cc.tex
jal_armor_front_MK.tif.cc.tex
jal_armor_front_bp.tif.cc.tex
jal_armor_front_dif.tif.cc.tex
jal_armor_leg01_L_MK.tif.cc.tex
jal_armor_leg01_R_MK.tif.cc.tex
jal_armor_leg01_bp.tif.cc.tex
jal_armor_leg01_dif.tif.cc.tex
jal_armor_leg02_MK.tif.cc.tex
jal_armor_leg02_bp.tif.cc.tex
jal_armor_leg02_dif.tif.cc.tex
jal_armor_neck_bp.tif.cc.tex
jal_armor_shoulder01_L.tif.cc.tex
jal_armor_shoulder01_L_bp.tif.cc.tex
jal_armor_shoulder01_L_dif.tif.cc.tex
jal_armor_shoulder02_bp.tif.cc.tex
jal_armor_shoulder02_dif.tif.cc.tex
jal_armor_shoulder_R_MK.tif.cc.tex
jal_armor_shoulder_R_bp.tif.cc.tex
jal_armor_shoulder_R_dif.tif.cc.tex
jal_armor_shoulder_bp.tif.cc.tex
jal_armor_shoulder_dif.tif.cc.tex
jal_armor_side_bp.tif.cc.tex
jal_armor_side_dif.tif.cc.tex
jal_asp01_MK.tif.cc.tex
jal_asp01_bp.tif.cc.tex
jal_asp01_dif.tif.cc.tex
jal_asp02_bp.tif.cc.tex
jal_asp02_dif.tif.cc.tex
jal_ball_bp.tif.cc.tex
jal_ball_col.tif.cc.tex
jal_ball_dif.tif.cc.tex
jal_ball_sp.tif.cc.tex
jal_boot_body_MK.tif.cc.tex
jal_boot_body_bp.tif.cc.tex
jal_boot_body_dif.tif.cc.tex
jal_chin01_bp.tif.cc.tex
jal_chin03_bp.tif.cc.tex
jal_chin_bp.tif.cc.tex
jal_coat_pattern.tif.pp.tex
jal_eye_refl.tif.cc.tex
jal_finger02_bp.tif.cc.tex
jal_finger02_dif.tif.cc.tex
jal_finger03_bp.tif.cc.tex
jal_finger03_dif.tif.cc.tex
jal_hair_1_mk.tif.bb.tex
jal_hair_base.tif.cc.tex
jal_hair_base_alpa.tif.bb.tex
jal_hand_cover01_bp.tif.cc.tex
jal_hand_cover01_dif.tif.cc.tex
jal_hand_cover02_bp.tif.cc.tex
jal_hand_cover02_dif.tif.cc.tex
jal_hand_down_1.tif.cc.tex
jal_hand_up_1.tif.cc.tex
jal_hand_up_bump.tif.cc.tex
jal_helmet_asp_hole_bp.tif.cc.tex
jal_helmet_asp_hole_dif.tif.cc.tex
jal_helmet_back01_bp.tif.cc.tex
jal_helmet_back01_dif.tif.cc.tex
jal_helmet_cover_C_MK.tif.cc.tex
jal_helmet_cover_C_bp.tif.cc.tex
jal_helmet_cover_C_dif.tif.cc.tex
jal_helmet_cover_MK.tif.cc.tex
jal_helmet_cover_bp.tif.cc.tex
jal_helmet_cover_dif.tif.cc.tex
jal_helmet_inner01_bp.tif.cc.tex
jal_helmet_inner01_dif.tif.cc.tex
jal_helmet_inner02_bp.tif.cc.tex
jal_helmet_inner02_dif.tif.cc.tex
jal_helmet_inner03_dif.tif.cc.tex
jal_helmet_inner_jaw_bp.tif.cc.tex
jal_helmet_inner_jaw_dif.tif.cc.tex
jal_helmet_jaw_bp.tif.cc.tex
jal_helmet_jaw_dif.tif.cc.tex
jal_helmet_side_bp.tif.cc.tex
jal_helmet_side_dif.tif.cc.tex
jal_helmet_top02_bp.tif.cc.tex
jal_helmet_top02_dif.tif.cc.tex
jal_hemet_inner04_bp.tif.cc.tex
jal_hemet_inner04_dif.tif.cc.tex
jal_iris_bp.tif.cc.tex
jal_iris_col.tif.cc.tex
jal_iris_dif.tif.cc.tex
jal_iris_sp.tif.cc.tex
jal_mk1.tif.cc.tex
jal_mk1_col.tif.cc.tex
jal_sup_down.tif.cc.tex
jal_sup_up.tif.cc.tex
jallack_h_alpa1.tif.cc.tex
jallack_h_alpa2.tif.cc.tex
jallack_h_alpa3.tif.cc.tex
jallack_h_bump.tif.cc.tex
jallack_h_bump_1.tif.cc.tex
jallack_h_col1.tif.cc.tex
jallack_h_sp.tif.cc.tex
jallak_bp_face_1222.tif.cc.tex
jallak_bp_fur_1221.tif.cc.tex
jallak_bp_line2_l_1211.tif.cc.tex
jallak_bp_line2_r_1211.tif.cc.tex
jallak_bp_line3_l_1211.tif.cc.tex
jallak_bp_line3_r_1211.tif.cc.tex
jallak_bp_line4_r.tif.cc.tex
jallak_bp_line_l_1211.tif.cc.tex
jallak_bp_line_r_1211.tif.cc.tex
jallak_face_1.tif.cc.tex
jallak_face_base.tif.cc.tex
jallak_face_top2.tif.cc.tex
kidkin_armor_flank_MK.tif.cc.tex
kidkin_mk1.tif.cc.tex
kidkin_mk1_col.tif.cc.tex
kiskin_Metal_base.tif.pp.tex
kiskin_armor_arm01_bp.tif.cc.tex
kiskin_armor_arm01_dif.tif.cc.tex
kiskin_armor_arm02_MK.tif.cc.tex
kiskin_armor_arm02_bp.tif.cc.tex
kiskin_armor_arm02_dif.tif.cc.tex
kiskin_armor_back_01_bp.tif.cc.tex
kiskin_armor_back_01_dif.tif.cc.tex
kiskin_armor_back_02_bp.tif.cc.tex
kiskin_armor_back_02_dif.tif.cc.tex
kiskin_armor_back_03_bp.tif.cc.tex
kiskin_armor_back_03_dif.tif.cc.tex
kiskin_armor_back_04_bp.tif.cc.tex
kiskin_armor_back_04_dif.tif.cc.tex
kiskin_armor_center_bp.tif.cc.tex
kiskin_armor_center_dif.tif.cc.tex
kiskin_armor_flank_bp.tif.cc.tex
kiskin_armor_flank_dif.tif.cc.tex
kiskin_armor_front_MK.tif.cc.tex
kiskin_armor_front_bp.tif.cc.tex
kiskin_armor_front_dif.tif.cc.tex
kiskin_armor_leg01_L_MK.tif.cc.tex
kiskin_armor_leg01_R_MK.tif.cc.tex
kiskin_armor_leg01_bp.tif.cc.tex
kiskin_armor_leg01_dif.tif.cc.tex
kiskin_armor_leg02_MK.tif.cc.tex
kiskin_armor_leg02_bp.tif.cc.tex
kiskin_armor_leg02_dif.tif.cc.tex
kiskin_armor_neck_bp.tif.cc.tex
kiskin_armor_shoulder01_L.tif.cc.tex
kiskin_armor_shoulder01_L_bp.tif.cc.tex
kiskin_armor_shoulder01_L_dif.tif.cc.tex
kiskin_armor_shoulder02_bp.tif.cc.tex
kiskin_armor_shoulder02_dif.tif.cc.tex
kiskin_armor_shoulder_R_MK.tif.cc.tex
kiskin_armor_shoulder_R_bp.tif.cc.tex
kiskin_armor_shoulder_R_dif.tif.cc.tex
kiskin_armor_shoulder_bp.tif.cc.tex
kiskin_armor_shoulder_dif.tif.cc.tex
kiskin_armor_side_bp.tif.cc.tex
kiskin_armor_side_dif.tif.cc.tex
kiskin_asp01_MK.tif.cc.tex
kiskin_asp01_bp.tif.cc.tex
kiskin_asp01_dif.tif.cc.tex
kiskin_asp02_bp.tif.cc.tex
kiskin_asp02_dif.tif.cc.tex
kiskin_boot_body_MK.tif.cc.tex
kiskin_boot_body_bp.tif.cc.tex
kiskin_boot_body_dif.tif.cc.tex
kiskin_chin01_bp.tif.cc.tex
kiskin_chin03_bp.tif.cc.tex
kiskin_chin_bp.tif.cc.tex
kiskin_coat_pattern.tif.pp.tex
kiskin_finger02_bp.tif.cc.tex
kiskin_finger02_dif.tif.cc.tex
kiskin_finger03_bp.tif.cc.tex
kiskin_finger03_dif.tif.cc.tex
kiskin_hand_cover01_bp.tif.cc.tex
kiskin_hand_cover01_dif.tif.cc.tex
kiskin_hand_cover02_bp.tif.cc.tex
kiskin_hand_cover02_dif.tif.cc.tex
kiskin_helmet_asp_hole_bp.tif.cc.tex
kiskin_helmet_asp_hole_dif.tif.cc.tex
kiskin_helmet_back01_bp.tif.cc.tex
kiskin_helmet_back01_dif.tif.cc.tex
kiskin_helmet_cover_C_MK.tif.cc.tex
kiskin_helmet_cover_C_bp.tif.cc.tex
kiskin_helmet_cover_C_dif.tif.cc.tex
kiskin_helmet_cover_MK.tif.cc.tex
kiskin_helmet_cover_bp.tif.cc.tex
kiskin_helmet_cover_dif.tif.cc.tex
kiskin_helmet_inner01_bp.tif.cc.tex
kiskin_helmet_inner01_dif.tif.cc.tex
kiskin_helmet_inner02_bp.tif.cc.tex
kiskin_helmet_inner02_dif.tif.cc.tex
kiskin_helmet_inner03_dif.tif.cc.tex
kiskin_helmet_inner_jaw_bp.tif.cc.tex
kiskin_helmet_inner_jaw_dif.tif.cc.tex
kiskin_helmet_jaw_bp.tif.cc.tex
kiskin_helmet_jaw_dif.tif.cc.tex
kiskin_helmet_side_bp.tif.cc.tex
kiskin_helmet_side_dif.tif.cc.tex
kiskin_helmet_top02_bp.tif.cc.tex
kiskin_helmet_top02_dif.tif.cc.tex
kiskin_hemet_inner04_bp.tif.cc.tex
kiskin_hemet_inner04_dif.tif.cc.tex
pi_bat_Metal_base.tif.pp.tex
pi_bat_armor_arm01_bp.tif.cc.tex
pi_bat_armor_arm01_dif.tif.cc.tex
pi_bat_armor_arm02_MK.tif.cc.tex
pi_bat_armor_arm02_bp.tif.cc.tex
pi_bat_armor_arm02_dif.tif.cc.tex
pi_bat_armor_back_01_bp.tif.cc.tex
pi_bat_armor_back_01_dif.tif.cc.tex
pi_bat_armor_back_02_bp.tif.cc.tex
pi_bat_armor_back_02_dif.tif.cc.tex
pi_bat_armor_back_03_bp.tif.cc.tex
pi_bat_armor_back_03_dif.tif.cc.tex
pi_bat_armor_back_04_bp.tif.cc.tex
pi_bat_armor_back_04_dif.tif.cc.tex
pi_bat_armor_center_bp.tif.cc.tex
pi_bat_armor_center_dif.tif.cc.tex
pi_bat_armor_flank_MK.tif.cc.tex
pi_bat_armor_flank_bp.tif.cc.tex
pi_bat_armor_flank_dif.tif.cc.tex
pi_bat_armor_front_MK.tif.cc.tex
pi_bat_armor_front_bp.tif.cc.tex
pi_bat_armor_front_dif.tif.cc.tex
pi_bat_armor_leg01_L_MK.tif.cc.tex
pi_bat_armor_leg01_R_MK.tif.cc.tex
pi_bat_armor_leg01_bp.tif.cc.tex
pi_bat_armor_leg01_dif.tif.cc.tex
pi_bat_armor_leg02_MK.tif.cc.tex
pi_bat_armor_leg02_bp.tif.cc.tex
pi_bat_armor_leg02_dif.tif.cc.tex
pi_bat_armor_neck_bp.tif.cc.tex
pi_bat_armor_shoulder01_L.tif.cc.tex
pi_bat_armor_shoulder01_L_bp.tif.cc.tex
pi_bat_armor_shoulder01_L_dif.tif.cc.tex
pi_bat_armor_shoulder02_bp.tif.cc.tex
pi_bat_armor_shoulder02_dif.tif.cc.tex
pi_bat_armor_shoulder_R_MK.tif.cc.tex
pi_bat_armor_shoulder_R_bp.tif.cc.tex
pi_bat_armor_shoulder_R_dif.tif.cc.tex
pi_bat_armor_shoulder_bp.tif.cc.tex
pi_bat_armor_shoulder_dif.tif.cc.tex
pi_bat_armor_side_bp.tif.cc.tex
pi_bat_armor_side_dif.tif.cc.tex
pi_bat_asp01_MK.tif.cc.tex
pi_bat_asp01_bp.tif.cc.tex
pi_bat_asp01_dif.tif.cc.tex
pi_bat_asp02_bp.tif.cc.tex
pi_bat_asp02_dif.tif.cc.tex
pi_bat_boot_body_MK.tif.cc.tex
pi_bat_boot_body_bp.tif.cc.tex
pi_bat_boot_body_dif.tif.cc.tex
pi_bat_chin01_bp.tif.cc.tex
pi_bat_chin03_bp.tif.cc.tex
pi_bat_chin_bp.tif.cc.tex
pi_bat_coat_pattern.tif.pp.tex
pi_bat_finger02_bp.tif.cc.tex
pi_bat_finger02_dif.tif.cc.tex
pi_bat_finger03_bp.tif.cc.tex
pi_bat_finger03_dif.tif.cc.tex
pi_bat_hand_cover01_bp.tif.cc.tex
pi_bat_hand_cover01_dif.tif.cc.tex
pi_bat_hand_cover02_bp.tif.cc.tex
pi_bat_hand_cover02_dif.tif.cc.tex
pi_bat_helmet_asp_hole_bp.tif.cc.tex
pi_bat_helmet_asp_hole_dif.tif.cc.tex
pi_bat_helmet_back01_bp.tif.cc.tex
pi_bat_helmet_back01_dif.tif.cc.tex
pi_bat_helmet_cover_C_MK.tif.cc.tex
pi_bat_helmet_cover_C_bp.tif.cc.tex
pi_bat_helmet_cover_C_dif.tif.cc.tex
pi_bat_helmet_cover_MK.tif.cc.tex
pi_bat_helmet_cover_bp.tif.cc.tex
pi_bat_helmet_cover_dif.tif.cc.tex
pi_bat_helmet_inner01_bp.tif.cc.tex
pi_bat_helmet_inner01_dif.tif.cc.tex
pi_bat_helmet_inner02_bp.tif.cc.tex
pi_bat_helmet_inner02_dif.tif.cc.tex
pi_bat_helmet_inner03_dif.tif.cc.tex
pi_bat_helmet_inner_jaw_bp.tif.cc.tex
pi_bat_helmet_inner_jaw_dif.tif.cc.tex
pi_bat_helmet_jaw_bp.tif.cc.tex
pi_bat_helmet_jaw_dif.tif.cc.tex
pi_bat_helmet_side_bp.tif.cc.tex
pi_bat_helmet_side_dif.tif.cc.tex
pi_bat_helmet_top02_bp.tif.cc.tex
pi_bat_helmet_top02_dif.tif.cc.tex
pi_bat_hemet_inner04_bp.tif.cc.tex
pi_bat_hemet_inner04_dif.tif.cc.tex
pi_bat_mk1.tif.cc.tex
pi_bat_mk1_col.tif.cc.tex
pi_eyebrow_bp.tif.bb.tex
pi_face_bp.tif.cc.tex
pi_face_co.tif.cc.tex
pi_face_df.tif.cc.tex
pi_lip_bp.tif.bb.tex
pi_lip_sp.tif.bb.tex
pir_ball_co.tif.cc.tex
pir_iris_co.tif.cc.tex
showroom.TIF.cc.tex
showroom.tif.bb.tex
st_rifle2_body1.tif.bb.tex
st_rifle2_body1.tif.pp.tex
st_rifle2_body2_o.tif.bb.tex
st_rifle2_body3_o.tif.bb.tex
st_rifle2_center1_o.tif.bb.tex
st_rifle2_center2_o.tif.bb.tex
st_rifle2_center3_1_o.tif.bb.tex
st_rifle2_center3_o.tif.bb.tex
st_rifle2_center4_o.tif.bb.tex
st_rifle2_center5_o.tif.bb.tex
st_rifle2_center6_o.tif.bb.tex
st_rifle2_hand1_o.tif.bb.tex
st_rifle2_hand2_o.tif.bb.tex
st_rifle2_hand3_o.tif.bb.tex
st_rifle2_hand4_o.tif.bb.tex
st_rifle2_main1_b.tif.bb.tex
st_rifle2_main_body1_o.tif.bb.tex
st_rifle2_scratch2.tif.bb.tex
st_rifle2_scratch2_1.tif.bb.tex
tem0203_brown_land.tif.pp.tex
tem0203_cave.tif.pp.tex
tem0203_cave01.tif.pp.tex
tem0203_cave_B.tif.pp.tex
tem0203_cliff.tif.pp.tex
tem0203_cliff1K_C.tif.pp.tex
tem0203_cliff4K_B.tif.pp.tex
tem0203_cliff4K_C.tif.pp.tex
tem0203_ddangB.TIF.pp.tex
tem0203_ddangB4K.tif.pp.tex
tem0203_ddangC.TIF.pp.tex
tem0203_poza_B.tif.pp.tex
tem0203_reflection.tif.bb.tex
tem0203_reflection.tif.pp.tex
tem0203_smallstone.tif.pp.tex
tem0203_smallstone_B.tif.pp.tex
tem0203_sp_stone01_B.tif.pp.tex
tem0203_sp_stone01_C.tif.pp.tex
tem0203_sp_stone01_O.tif.pp.tex
tem0203_sp_stone03_B.tif.pp.tex
tem0203_sp_stone03_Ba.tif.pp.tex
tem0203_sp_stone03_C.tif.pp.tex
tem0203_sp_stone03_O.tif.pp.tex
tem0203_stone.tif.pp.tex
tem0203_stone_B.tif.pp.tex


Attachments:
filelist.txt (11.79 kB)

2002-03-18 22:07:46

by Urban Widmark

[permalink] [raw]
Subject: Re: file listing problem in smbfs, kernel 2.4.18

On Fri, 15 Mar 2002, SeongTae Yoo wrote:

> I have mounted a share of w2k server(SP2). All file lists is not seen
> in a specific sub directory.
>
> The error log is follows as:
>
> smb_proc_readdir_long: name=, result=-2, rcls=1, err=123

This error code has been seen with readdir requests before. Seems like it
is used for a few different things, but I think it indicates a problem
with how smbfs sends requests.

One of the cases sounds a lot like yours. Directory listings that fail on
some directories, adding a file or renaming one changes something to
trigger failure or not.
(possibly the sum of the length of the filenames matters, that could be a
useful test case ...)

If this is the same thing then it was believed fixed in 2.2.16 by moving
to "infolevel" 260 and not using resume keys.

I'm a bit busy with non-linux things right now so I haven't tested
anything myself yet but you could help by answering some of the questions
below.

You could also try the smbfs unicode patch for 2.4.18, and see if that
changes anything.
http://www.hojdpunkten.ac.se/054/samba/index.html
(Note the additional samba patch and mount flags needed)


Do you have trouble with this set of files elsewhere?

If you have more than one server, does it make any difference if you copy
the files to some other server?

Does it matter how deep in the file hierarchy the dir is, for example is
there any difference between these two:
//server/share/some/long/path/the-dir-that-fails/
//server/share/the-dir-that-fails/


(If the files are large you could do something like this on your linux
box:

mkdir apa
cd apa
touch `cat ../filelist.txt`
cd ..
zip -r apa.zip apa

to create a zip of empty files and then unpack apa.zip in various places.
It is most likely only the filenames that matter.)

/Urban

2002-03-19 03:35:37

by SeongTae Yoo

[permalink] [raw]
Subject: Re: file listing problem in smbfs, kernel 2.4.18



Urban Widmark wrote:
>
> You could also try the smbfs unicode patch for 2.4.18, and see if that
> changes anything.
> http://www.hojdpunkten.ac.se/054/samba/index.html
> (Note the additional samba patch and mount flags needed)

I tried it just before, but same result.

>
> Do you have trouble with this set of files elsewhere?
>
> If you have more than one server, does it make any difference if you copy
> the files to some other server?

I have already tested before the previous posting, but no difference.
However, when the files are copied to a fat32 partition of w2k server,
all files listed.

> Does it matter how deep in the file hierarchy the dir is, for example is
> there any difference between these two:
> //server/share/some/long/path/the-dir-that-fails/
> //server/share/the-dir-that-fails/

The original depth is

//server/e$/1st-dir/2nd-dir/3rd-dir/

tested depths are

//server/e$/2nd-dir/3rd-dir/ or
//server/e$/3rd-dir/

but no difference.


If you need some other tests, I will do it.

2002-03-19 19:09:45

by Urban Widmark

[permalink] [raw]
Subject: Re: file listing problem in smbfs, kernel 2.4.18

On Tue, 19 Mar 2002, SeongTae Yoo wrote:

> Urban Widmark wrote:
> >
> > You could also try the smbfs unicode patch for 2.4.18, and see if that
> > changes anything.
> > http://www.hojdpunkten.ac.se/054/samba/index.html
> > (Note the additional samba patch and mount flags needed)
>
> I tried it just before, but same result.

And you patched samba, enabled unicode with the unicode flag and set the
"codepage" to be unicode?
(I know, it's a bad interface)

> > Do you have trouble with this set of files elsewhere?
> >
> > If you have more than one server, does it make any difference if you copy
> > the files to some other server?
>
> I have already tested before the previous posting, but no difference.

Ok, that's good. Should help reproducing this.

> However, when the files are copied to a fat32 partition of w2k server,
> all files listed.

So, windows is being sensitive ...


> If you need some other tests, I will do it.

Since the unicode test gave the same results it might be useful to compare
how smbfs does the file listing with how a windows box requests. One way
to do that is to get a network trace of both and then compare them.

It's not really a test and if I can reproduce this I could do it myself.
Give me a day or so ...

If you want to do this, go to http://www.ethereal.com and get the latest version.
It has a nice gtk interface and it will decode most of the common SMB
requests for you.
(You may want to limit the trace of smbfs to port 139, win2k may also use
445)

/Urban

2002-03-20 01:12:18

by SeongTae Yoo

[permalink] [raw]
Subject: Re: file listing problem in smbfs, kernel 2.4.18

Urban Widmark wrote:
>
> On Tue, 19 Mar 2002, SeongTae Yoo wrote:
>
> > Urban Widmark wrote:
> > >
> > > You could also try the smbfs unicode patch for 2.4.18, and see if that
> > > changes anything.
> > > http://www.hojdpunkten.ac.se/054/samba/index.html
> > > (Note the additional samba patch and mount flags needed)
> >
> > I tried it just before, but same result.
>
> And you patched samba, enabled unicode with the unicode flag and set the
> "codepage" to be unicode?
> (I know, it's a bad interface)

My mistake! Although I have read your patch page, the w2k ntfs partition is
mounted in the normal options. When they are mounted with enabled unicode
option, it seems to be listed very well.

After some other tests (depth change, other directories with the same problem,
fat32 partition, etc), I will post the results.

2002-03-25 05:51:28

by SeongTae Yoo

[permalink] [raw]
Subject: Re: file listing problem in smbfs, kernel 2.4.18

SeongTae Yoo wrote:
>
> Urban Widmark wrote:
> >
> > On Tue, 19 Mar 2002, SeongTae Yoo wrote:
> >
> > > Urban Widmark wrote:
> > > >
> > > > You could also try the smbfs unicode patch for 2.4.18, and see if that
> > > > changes anything.
> > > > http://www.hojdpunkten.ac.se/054/samba/index.html
> > > > (Note the additional samba patch and mount flags needed)
> > >
> > > I tried it just before, but same result.
> >
> > And you patched samba, enabled unicode with the unicode flag and set the
> > "codepage" to be unicode?
> > (I know, it's a bad interface)
>
> My mistake! Although I have read your patch page, the w2k ntfs partition is
> mounted in the normal options. When they are mounted with enabled unicode
> option, it seems to be listed very well.
>
> After some other tests (depth change, other directories with the same problem,
> fat32 partition, etc), I will post the results.

It seems that the problem of file listing is solved in my case.

Thanks.