public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Linux/alpha vs. 2.4.20 and ISO9660 vs long file names
@ 2002-12-13  1:49 Stephen Williams
  2002-12-13 13:22 ` Falk Hueffner
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Williams @ 2002-12-13  1:49 UTC (permalink / raw)
  To: linux-kernel

I don't know if this is an alpha-specific problem, but I am having
some troubles with the off-the-shelf 2.4.20 kernel on a RedHat 7.2
system (upgraded from 7.1).

For some reason, ls is having trouble with long file names on the
disk. I follow with strace, and getdents64 is returning the right
number of entries, but then ls tries to lstat a truncated name.
I can't say of the getdirent64 is trundating the name, but it seems
likely.

The ls program itself is likely fine because I don't see this
problem when running 2.4.18. Also, other programs that get directory
listings have troubles with the longer file names on ISO CDROMS.
Furthermore, shorter file names (still longer then 8 characters)
work fine.

P.S. I'm not subscribed to the list. Please CC me.

-- 
Steve Williams                "The woods are lovely, dark and deep.
steve at icarus.com           But I have promises to keep,
steve at picturel.com         and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."



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

* Re: Linux/alpha vs. 2.4.20 and ISO9660 vs long file names
  2002-12-13  1:49 Linux/alpha vs. 2.4.20 and ISO9660 vs long file names Stephen Williams
@ 2002-12-13 13:22 ` Falk Hueffner
  2002-12-14 16:13   ` Stephen Williams
  0 siblings, 1 reply; 3+ messages in thread
From: Falk Hueffner @ 2002-12-13 13:22 UTC (permalink / raw)
  To: Stephen Williams; +Cc: linux-kernel

"Stephen Williams" <zhig9f05jg02@sneakemail.com> writes:

> For some reason, ls is having trouble with long file names on the
> disk. I follow with strace, and getdents64 is returning the right
> number of entries, but then ls tries to lstat a truncated name.  I
> can't say of the getdirent64 is trundating the name, but it seems
> likely.

This might be caused by a bug in stxcpy. Please try 2.4.210-pre1,
which contains a patch by Ivan Kokshaysky for this.

-- 
	Falk

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

* Re: Linux/alpha vs. 2.4.20 and ISO9660 vs long file names
  2002-12-13 13:22 ` Falk Hueffner
@ 2002-12-14 16:13   ` Stephen Williams
  0 siblings, 0 replies; 3+ messages in thread
From: Stephen Williams @ 2002-12-14 16:13 UTC (permalink / raw)
  To: Falk Hueffner falk.hueffner-at-student.uni-tuebingen.de |linux kernel mailing list|
  Cc: linux-kernel, axp-list


"Stephen Williams" <zhig9f05jg02@sneakemail.com> writes:

> For some reason, ls is having trouble with long file names on the
> disk. I follow with strace, and getdents64 is returning the right
> number of entries, but then ls tries to lstat a truncated name.  I
> can't say of the getdirent64 is trundating the name, but it seems
> likely.


zg8oh727vc0t@sneakemail.com said:
> This might be caused by a bug in stxcpy. Please try 2.4.210-pre1,
> which contains a patch by Ivan Kokshaysky for this. 

2.4.21-pre1 seems to have cured my symptoms, so I'm satisfied.
I guess that means that vanilla 2.4.20 is not right for alphas.
Thanks for the suggestion.
-- 
Steve Williams                "The woods are lovely, dark and deep.
steve at icarus.com           But I have promises to keep,
steve at picturel.com         and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."



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

end of thread, other threads:[~2002-12-14 16:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-13  1:49 Linux/alpha vs. 2.4.20 and ISO9660 vs long file names Stephen Williams
2002-12-13 13:22 ` Falk Hueffner
2002-12-14 16:13   ` Stephen Williams

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