* RE: FW: ls hanging with named pipes through samba
@ 2002-08-25 23:50 Kaj Mikkelsen
0 siblings, 0 replies; 3+ messages in thread
From: Kaj Mikkelsen @ 2002-08-25 23:50 UTC (permalink / raw)
To: cygwin
Igor wrote:
>ls is part of fileutils.
> Igor
Just found it where you said.
Thanks for your help
/Kaj
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: FW: ls hanging with named pipes through samba
2002-08-21 7:04 Kaj Mikkelsen
@ 2002-08-25 8:37 ` Igor Pechtchanski
0 siblings, 0 replies; 3+ messages in thread
From: Igor Pechtchanski @ 2002-08-25 8:37 UTC (permalink / raw)
To: Kaj Mikkelsen; +Cc: cygwin
On Wed, 21 Aug 2002, Kaj Mikkelsen wrote:
> Tried to find the source for ls, but I am confused with the structure
> of the cvs repository
ls is part of fileutils.
Igor
On Wed, 21 Aug 2002, Kaj Mikkelsen wrote:
> Cygwin version: 1.3.9 running under win2000 sp 2
> samba version 2.2.4 and 2.2.5 on Redhat 7.2 kernel 2.4.18
>
> If I have a named pipe in a directory, and tries to "ls -ald .*" cygwin
> will hang, and make the samba daemon hang as well.
>
> samba daemon is hanging in an open call to the named pipe
> (Output from strace below)
> Cannot figure out, why cygwin is trying tro open the file, when doing an ls?
>
> And it is not nfs specific, same result with other named pipes.
>
> Ideas?
>
> Tried to find the source for ls, but I am confused with the structure of the cvs repository
> Tried teh faq, and mail archive, with no luck
> Tried a google search: no luck.
>
> /Kaj
>
>
> ls from linux:
> prw------- 1 kmi exbit 0 Aug 20 16:25 .nfs038406e500000048
> prw------- 1 kmi exbit 0 Aug 20 16:25 .nfs038406e900000047
>
> output from strace
> stat64(".nfs038406e500000048", {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
> send(12, "\0\0\0`\377SMB2\0\0\0\0\210A\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 100, 0) = 100
> select(21, [5 12 20], NULL, NULL, {60, 0}) = 1 (in [12], left {60, 0})
> read(12, "\0\0\0i", 4) = 4
> read(12, "\377SMB\242\0\0\0\0\30\7H\0\0\0\0\0\0\0\0\0\0\0\0\2\0\310"..., 105) = 105
> gettimeofday({1029931277, 993106}, NULL) = 0
> geteuid32() = 2828
> setresuid32(0xffffffff, 0, 0xffffffff) = 0
> geteuid32() = 0
> geteuid32() = 0
> getegid32() = 999
> setresgid32(0xffffffff, 0, 0xffffffff) = 0
> getegid32() = 0
> getegid32() = 0
> setgroups32(0x3, 0x81e0488) = 0
> setresgid32(0xffffffff, 0x3e7, 0xffffffff) = 0
> getegid32() = 999
> setresuid32(0xffffffff, 0xb0c, 0xffffffff) = 0
> geteuid32() = 2828
> stat64(".nfs038406e500000048", {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
> gettimeofday({1029931277, 993590}, NULL) = 0
> fcntl64(0xd, 0xe, 0xbfffeed0, 0x81cc1b8) = 0
> open(".nfs038406e500000048", O_RDONLY|O_LARGEFILE
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
It took the computational power of three Commodore 64s to fly to the moon.
It takes a 486 to run Windows 95. Something is wrong here. -- SC sig file
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 3+ messages in thread
* FW: ls hanging with named pipes through samba
@ 2002-08-21 7:04 Kaj Mikkelsen
2002-08-25 8:37 ` Igor Pechtchanski
0 siblings, 1 reply; 3+ messages in thread
From: Kaj Mikkelsen @ 2002-08-21 7:04 UTC (permalink / raw)
To: cygwin
Cygwin version: 1.3.9 running under win2000 sp 2
samba version 2.2.4 and 2.2.5 on Redhat 7.2 kernel 2.4.18
If I have a named pipe in a directory, and tries to "ls -ald .*" cygwin will hang, and make the samba daemon hang as well.
samba daemon is hanging in an open call to the named pipe
(Output from strace below)
Cannot figure out, why cygwin is trying tro open the file, when doing an ls?
And it is not nfs specific, same result with other named pipes.
Ideas?
Tried to find the source for ls, but I am confused with the structure of the cvs repository
Tried teh faq, and mail archive, with no luck
Tried a google search: no luck.
/Kaj
ls from linux:
prw------- 1 kmi exbit 0 Aug 20 16:25 .nfs038406e500000048
prw------- 1 kmi exbit 0 Aug 20 16:25 .nfs038406e900000047
output from strace
stat64(".nfs038406e500000048", {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
send(12, "\0\0\0`\377SMB2\0\0\0\0\210A\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 100, 0) = 100
select(21, [5 12 20], NULL, NULL, {60, 0}) = 1 (in [12], left {60, 0})
read(12, "\0\0\0i", 4) = 4
read(12, "\377SMB\242\0\0\0\0\30\7H\0\0\0\0\0\0\0\0\0\0\0\0\2\0\310"..., 105) = 105
gettimeofday({1029931277, 993106}, NULL) = 0
geteuid32() = 2828
setresuid32(0xffffffff, 0, 0xffffffff) = 0
geteuid32() = 0
geteuid32() = 0
getegid32() = 999
setresgid32(0xffffffff, 0, 0xffffffff) = 0
getegid32() = 0
getegid32() = 0
setgroups32(0x3, 0x81e0488) = 0
setresgid32(0xffffffff, 0x3e7, 0xffffffff) = 0
getegid32() = 999
setresuid32(0xffffffff, 0xb0c, 0xffffffff) = 0
geteuid32() = 2828
stat64(".nfs038406e500000048", {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
gettimeofday({1029931277, 993590}, NULL) = 0
fcntl64(0xd, 0xe, 0xbfffeed0, 0x81cc1b8) = 0
open(".nfs038406e500000048", O_RDONLY|O_LARGEFILE
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-08-25 23:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-25 23:50 FW: ls hanging with named pipes through samba Kaj Mikkelsen
-- strict thread matches above, loose matches on Subject: below --
2002-08-21 7:04 Kaj Mikkelsen
2002-08-25 8:37 ` Igor Pechtchanski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).