Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Linux/alpha vs. 2.4.20 and ISO9660
@ 2002-12-12 19:11 Stephen Williams
  2002-12-16 16:53 ` Jay Estabrook
  0 siblings, 1 reply; 7+ messages in thread
From: Stephen Williams @ 2002-12-12 19:11 UTC (permalink / raw)
  To: axp-list

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 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.


-- 
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] 7+ messages in thread

* Re: Linux/alpha vs. 2.4.20 and ISO9660
  2002-12-12 19:11 Linux/alpha vs. 2.4.20 and ISO9660 Stephen Williams
@ 2002-12-16 16:53 ` Jay Estabrook
  2002-12-16 17:06   ` Ted Goodridge, Jr
  2002-12-16 18:20   ` Stephen Williams
  0 siblings, 2 replies; 7+ messages in thread
From: Jay Estabrook @ 2002-12-16 16:53 UTC (permalink / raw)
  To: axp-list

On Thu, Dec 12, 2002 at 11:11:29AM -0800, Stephen Williams wrote:
> 
> 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 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.

Yup, I noticed this too, but was unsure what the cause was.

I just tried something that worked for me - it appears that one can
either upgrade to the pre1-2.4.21 sources, or extract the Alpha string
function patches (along with regdef.h) and apply them to 2.4.20.

Good luck.

 --Jay++

-----------------------------------------------------------------------------
Jay A Estabrook                            HPTC - LINUX support
Hewlett-Packard Company - MRO1-2/K15       (508) 467-2080
200 Forest Street, Marlboro MA 01752       Jay.Estabrook@hp.com
-----------------------------------------------------------------------------




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

* RE: Linux/alpha vs. 2.4.20 and ISO9660
  2002-12-16 16:53 ` Jay Estabrook
@ 2002-12-16 17:06   ` Ted Goodridge, Jr
  2002-12-16 19:06     ` Helge Kreutzmann
  2002-12-16 19:51     ` Jay Estabrook
  2002-12-16 18:20   ` Stephen Williams
  1 sibling, 2 replies; 7+ messages in thread
From: Ted Goodridge, Jr @ 2002-12-16 17:06 UTC (permalink / raw)
  To: axp-list

Where does one get the Alpha string function patches and regdef.h?
Stupid question, but I can't remember.  How do you apply a patch to a
source tree?

Ted

-----Original Message-----
From: axp-list-admin@redhat.com [mailto:axp-list-admin@redhat.com] On
Behalf Of Jay Estabrook
Sent: Monday, December 16, 2002 10:53 AM
To: axp-list@redhat.com
Subject: Re: Linux/alpha vs. 2.4.20 and ISO9660

On Thu, Dec 12, 2002 at 11:11:29AM -0800, Stephen Williams wrote:
> 
> 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 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.

Yup, I noticed this too, but was unsure what the cause was.

I just tried something that worked for me - it appears that one can
either upgrade to the pre1-2.4.21 sources, or extract the Alpha string
function patches (along with regdef.h) and apply them to 2.4.20.

Good luck.

 --Jay++

------------------------------------------------------------------------
-----
Jay A Estabrook                            HPTC - LINUX support
Hewlett-Packard Company - MRO1-2/K15       (508) 467-2080
200 Forest Street, Marlboro MA 01752       Jay.Estabrook@hp.com
------------------------------------------------------------------------
-----



_______________________________________________
Axp-list mailing list
Axp-list@redhat.com
https://listman.redhat.com/mailman/listinfo/axp-list





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

* Re: Linux/alpha vs. 2.4.20 and ISO9660
  2002-12-16 16:53 ` Jay Estabrook
  2002-12-16 17:06   ` Ted Goodridge, Jr
@ 2002-12-16 18:20   ` Stephen Williams
  1 sibling, 0 replies; 7+ messages in thread
From: Stephen Williams @ 2002-12-16 18:20 UTC (permalink / raw)
  To: Jay Estabrook, axp-list

On Thu, Dec 12, 2002 at 11:11:29AM -0800, Stephen Williams wrote:
> 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.


Jay.Estabrook@compaq.com said:
> Yup, I noticed this too, but was unsure what the cause was. 

I too confirmed that the 2.4.21-pre1 kernel fixes the problem.
Kernel 2.4.20 is therefore no good for alpha.
-- 
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] 7+ messages in thread

* Re: Linux/alpha vs. 2.4.20 and ISO9660
  2002-12-16 17:06   ` Ted Goodridge, Jr
@ 2002-12-16 19:06     ` Helge Kreutzmann
  2002-12-16 19:51     ` Jay Estabrook
  1 sibling, 0 replies; 7+ messages in thread
From: Helge Kreutzmann @ 2002-12-16 19:06 UTC (permalink / raw)
  To: axp-list

[-- Attachment #1: Type: text/plain, Size: 682 bytes --]

Hello,
On Mon, Dec 16, 2002 at 11:06:18AM -0600, Ted Goodridge, Jr wrote:
> Where does one get the Alpha string function patches and regdef.h?
> Stupid question, but I can't remember.  How do you apply a patch to a
> source tree?

It's in the kernel readme. Usually something like
zcat $pathToPatch/patchname.gz | patch -p1

Greetings

          Helge
-- 
Helge Kreutzmann, Dipl.-Phys.               Helge.Kreutzmann@itp.uni-hannover.de
  gpg signed mail preferred    gpg-key: finger kreutzm@rigel.itp.uni-hannover.de
    64bit GNU powered                  http://www.itp.uni-hannover.de/~kreutzm
       Help keep free software "libre": http://www.freepatents.org/

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

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

* Re: Linux/alpha vs. 2.4.20 and ISO9660
  2002-12-16 17:06   ` Ted Goodridge, Jr
  2002-12-16 19:06     ` Helge Kreutzmann
@ 2002-12-16 19:51     ` Jay Estabrook
  2002-12-16 20:25       ` Michal Jaegermann
  1 sibling, 1 reply; 7+ messages in thread
From: Jay Estabrook @ 2002-12-16 19:51 UTC (permalink / raw)
  To: axp-list

On Mon, Dec 16, 2002 at 11:06:18AM -0600, Ted Goodridge, Jr wrote:
>
> Where does one get the Alpha string function patches and regdef.h?
> Stupid question, but I can't remember.  How do you apply a patch to a
> source tree?

The kernel sources and patches are found at:

	www.kernel.org/pub/linux/kernel

In particular, the 2.4.21-pre1 patches are found at:

	www.kernel.org/pub/linux/kernel/v2.4/testing/patch-2.4.21-pre1.bz2

Unpack them via:

	bunzip2 patch-2.4.21-pre1.bz2

Apply them via:

	cd /usr/src/linux-2.4.20	# previous source tree
	cat ~/patch-2.4.21-pre1 | patch -p1 -E >& ../log.2.4.21-pre1

That will give you ALL the patches; if you just want to apply the string
ones, you'll have to edit the patch file to extract arch/alpha/lib stuff
and include/asm-alpha/regdef.h.

Good luck.

 --Jay++

-----------------------------------------------------------------------------
Jay A Estabrook                            HPTC - LINUX support
Hewlett-Packard Company - MRO1-2/K15       (508) 467-2080
200 Forest Street, Marlboro MA 01752       Jay.Estabrook@hp.com
-----------------------------------------------------------------------------




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

* Re: Linux/alpha vs. 2.4.20 and ISO9660
  2002-12-16 19:51     ` Jay Estabrook
@ 2002-12-16 20:25       ` Michal Jaegermann
  0 siblings, 0 replies; 7+ messages in thread
From: Michal Jaegermann @ 2002-12-16 20:25 UTC (permalink / raw)
  To: axp-list

On Mon, Dec 16, 2002 at 02:51:39PM -0500, Jay Estabrook wrote:
> 
> That will give you ALL the patches; if you just want to apply the string
> ones, you'll have to edit the patch file to extract arch/alpha/lib stuff
> and include/asm-alpha/regdef.h.

If you will install 'patchutils' package (hm, I do not remember if
it is included in 7.2 Alpha but simple to recompile in any case) then
you will have things like 'lsdiff' and 'filterdiff' which make such
manipulations easy.

  Michal




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

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

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-12 19:11 Linux/alpha vs. 2.4.20 and ISO9660 Stephen Williams
2002-12-16 16:53 ` Jay Estabrook
2002-12-16 17:06   ` Ted Goodridge, Jr
2002-12-16 19:06     ` Helge Kreutzmann
2002-12-16 19:51     ` Jay Estabrook
2002-12-16 20:25       ` Michal Jaegermann
2002-12-16 18:20   ` Stephen Williams

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