Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* binaries of ef2progs-1.09 for Alpha
@ 1997-04-20  1:14 Michal Jaegermann
  1997-04-20  4:39 ` Ximenes
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Michal Jaegermann @ 1997-04-20  1:14 UTC (permalink / raw)


I just left on ftp.redhat.com, in pub/Icoming, two archives of
binaries for Linux/Alpha (as Incoming is unlistable and it is up
to Red Hat to move them somewhere where they can be reached):

e2fsprogs-1.09-0.alpha.rpm
e2fsprogs-devel-1.09-0.alpha.rpm

These programs are recompiled from the latest 1.09 relase of e2fsprogs
by Theodore Y. Ts'o (tytso@mit.edu).  They pass all 39 tests mandated
by 'make check'.  Sources can be found, as usual, on tsx-11.mit.edu in
linux/packages/ext2fs.

There is one small problem, though.  I do not know if my headers on
Alpha are in a sorry state, or this is more general (if you know
please tell me).  I could not recompile these programs until I did the
following modification in sources (which do not look right, but were
necessary):

diff -ur orig/e2fsprogs-1.09/e2fsck/ehandler.c e2fsprogs-1.09/e2fsck/ehandler.c
--- orig/e2fsprogs-1.09/e2fsck/ehandler.c	Wed Oct 25 19:18:05 1995
+++ e2fsprogs-1.09/e2fsck/ehandler.c	Sat Apr 19 16:58:31 1997
@@ -15,7 +15,7 @@
 #include "e2fsck.h"
 
 #include <sys/time.h>
-#include <sys/resource.h>
+#include <linux/resource.h>
 
 static const char *operation;
 
diff -ur orig/e2fsprogs-1.09/e2fsck/util.c e2fsprogs-1.09/e2fsck/util.c
--- orig/e2fsprogs-1.09/e2fsck/util.c	Fri Mar  7 11:33:41 1997
+++ e2fsprogs-1.09/e2fsck/util.c	Sat Apr 19 16:58:20 1997
@@ -18,7 +18,7 @@
 #include "e2fsck.h"
 
 #include <sys/time.h>
-#include <sys/resource.h>
+#include <linux/resource.h>
 
 const char * fix_msg[2] = { "IGNORED", "FIXED" };
 
@@ -174,6 +174,7 @@
 	exit(FSCK_UNCORRECTED);
 }
 
+# define RUSAGE_SELF __KERNEL_RUSAGE_SELF
 void init_resource_track(struct resource_track *track)
 {
 #ifdef HAVE_GETRUSAGE

I also had to do this change in my headers:

--- /usr/include/linux/time.h~	Sat Dec 21 17:58:47 1996
+++ /usr/include/linux/time.h	Sat Apr 19 16:27:35 1997
@@ -9,6 +9,7 @@
 #define	__KERNEL_ITIMER_VIRTUAL	1
 #define	__KERNEL_ITIMER_PROF	2
 
+#ifndef _SYS_TIME_H
 struct timeval {
 	int	tv_sec;		/* seconds */
 	int	tv_usec;	/* microseconds */
@@ -23,6 +24,7 @@
 	struct	timeval it_interval;	/* timer interval */
 	struct	timeval it_value;	/* current value */
 };
+#endif
 
 #ifdef __KERNEL__
 void do_gettimeofday(struct timeval *tv);

Otherwise 'timeval' and two other structures were getting a double
definition and gcc was barfing on me.

I also know why I dislike a way of compiling with a help of rpm
(if somebody knows more reasonable way to create packages I am all
ears).  If something will go wrong and has to be fixed then rpm
starts everything from scracth and its first action is to clobber
your modified sources with an old copy from .tar.gz file. Big sigh!
Anybody know some way to restart this process in the middle?

Beyond that things seem to be peachy. :-) In particular I just "yanked
a cord" on Alpha system with a freshly installed new fsck to see if it
will recover.  It did. :-) "Unaligned access" warnings are gone, as
far as I can tell, but checks seemed to be on a slow side despite
Ted's comments in sources which seem to indicate that this should not
be the case anymore.

  Enjoy,
  Michal

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: binaries of ef2progs-1.09 for Alpha
  1997-04-20  1:14 binaries of ef2progs-1.09 for Alpha Michal Jaegermann
@ 1997-04-20  4:39 ` Ximenes
  1997-04-21 13:59 ` Theodore Y. Ts'o
  1997-04-23 14:50 ` Theodore Y. Ts'o
  2 siblings, 0 replies; 8+ messages in thread
From: Ximenes @ 1997-04-20  4:39 UTC (permalink / raw)


|>Anybody know some way to restart this process in the middle?

Sure, instead of doing a -ba (build all), you could start it at one of the
later stages, like prep, build, install, etc. See the man page for the
details.

Xi

--
Ximenes Zalteca ~~~~ { Being right too soon is }
x@dal.net ~~~~~~~~~~~ ( socially unacceptable. }
ximenes@netset.com ~~~~~~~~~~~~ ximenes@null.net
-----BEGIN GEEK CODE BLOCK-----
GCS/O d- s+>++:-- !a C++++ UL+>++ P L>++ E---- N
@W-- o? K-? w---() O- M-- V-- @PS+ PE Y+ r++ y++
PGP 5-() X+ R*+ tv b+++ DI++ D++ G e* h++ t+(++)
------END GEEK CODE BLOCK------

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: binaries of ef2progs-1.09 for Alpha
       [not found] <3.0.1.32.19970420053921.00b37370@206.183.227.10>
@ 1997-04-20  5:53 ` Michal Jaegermann
  0 siblings, 0 replies; 8+ messages in thread
From: Michal Jaegermann @ 1997-04-20  5:53 UTC (permalink / raw)


> 
> |>Anybody know some way to restart this process in the middle?
> 
> Sure, instead of doing a -ba (build all), you could start it at one of the
> later stages, like prep, build, install, etc. See the man page for the
> details.

Well, yes, that is the problem.  I was NOT not doing -ba.

  Michal

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: binaries of ef2progs-1.09 for Alpha
  1997-04-20  1:14 binaries of ef2progs-1.09 for Alpha Michal Jaegermann
  1997-04-20  4:39 ` Ximenes
@ 1997-04-21 13:59 ` Theodore Y. Ts'o
  1997-04-21 19:16   ` Michal Jaegermann
                     ` (2 more replies)
  1997-04-23 14:50 ` Theodore Y. Ts'o
  2 siblings, 3 replies; 8+ messages in thread
From: Theodore Y. Ts'o @ 1997-04-21 13:59 UTC (permalink / raw)


From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
   Date: Sat, 19 Apr 1997 19:14:24 -0600 (MDT)

   There is one small problem, though.  I do not know if my headers on
   Alpha are in a sorry state, or this is more general (if you know
   please tell me).  I could not recompile these programs until I did the
   following modification in sources (which do not look right, but were
   necessary):

I don't know.  I don't have an Alpha yet.  (Anyone have a spare Alpha
they'd be willing to give to me, just let me know.  :-)

   I also know why I dislike a way of compiling with a help of rpm
   (if somebody knows more reasonable way to create packages I am all
   ears).  If something will go wrong and has to be fixed then rpm
   starts everything from scracth and its first action is to clobber
   your modified sources with an old copy from .tar.gz file. Big sigh!
   Anybody know some way to restart this process in the middle?

Read the man pages for rpm --short-circuit; it's handy for these sorts
of things.

My self, I generally cd to /usr/src/redhat/BUILD/<pkg>, and then edit
the sources and compile manually until everything is working.  Then, I
generate a new set of patches, put the patches into the SOURCE directory
(updating the spec file as needed), and then do a full RPM build to make
sure I generated the patches correctly.  (That's how come RPM is done
the way that it's done; it really wants to make sure that before you
actually generate a binary package, it can be generated reliably from
sources such that the source SRPM accurately reflects the actually
generated binary.)

   Beyond that things seem to be peachy. :-) In particular I just "yanked
   a cord" on Alpha system with a freshly installed new fsck to see if it
   will recover.  It did. :-) "Unaligned access" warnings are gone, as
   far as I can tell, but checks seemed to be on a slow side despite
   Ted's comments in sources which seem to indicate that this should not
   be the case anymore.

I'd really like to know more about "checks being slow", if you wouldn't
mind investigating this.  There are two things you can do.  The first is
to use "e2fsck -nfvtt /dev/device" to get per-pass timing inforamtion.
This is useful in order to determine which pass is getting slowed down,
and whether the slowdown is due to I/O or CPU overhead.  (Note that with
the new GNU mallocs which use mmap() to allocate memory for large memory
allocation requests, the memory used statistics is generally not
accurate, since that uses sbrk(2) to try to estimate the amount of data
memeory used.)

The other thing you can do is compile with profiling (assuming that the
speed hit is due to CPU overhead, which is likely the case).

There's also some standard questions which would help me try to figure
out what's going on.  How big is the filesystem?  What base hardware are
you using?  What sort of special usages (if any) does the filesystem
have?  (i.e., news spool, small numbers of very large files, etc.)

I've personally tested e2fsprogs 1.09 on the i386 architectures, on disks up
to 1 gigabyte, and the performance roughly comparable with version
1.06.  I've also had someone else test a pre-release version of
e2fsprogs 1.09 on a i386 with a 12 gig news spool, and the performance
was mostly the same.  I do welcome other data points.

						- Ted

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: binaries of ef2progs-1.09 for Alpha
  1997-04-21 13:59 ` Theodore Y. Ts'o
@ 1997-04-21 19:16   ` Michal Jaegermann
  1997-04-21 23:44   ` Network Backups Paul B. Brown
  1997-04-22  0:50   ` binaries of ef2progs-1.09 for Alpha Erik Troan
  2 siblings, 0 replies; 8+ messages in thread
From: Michal Jaegermann @ 1997-04-21 19:16 UTC (permalink / raw)


This time, instead of relying on memories and feel, I run few tests
for 1.06 e2fsck vs. 1.09.  The later is actually consistently a bit
faster on my machine although you are not likely to notice a difference 
without a stopwatch (something of order 4 to 5 percent).  So much
for a perceived slowdown. :-)

Run logs were mailed to Ted.

  Michal

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Network Backups
  1997-04-21 13:59 ` Theodore Y. Ts'o
  1997-04-21 19:16   ` Michal Jaegermann
@ 1997-04-21 23:44   ` Paul B. Brown
  1997-04-22  0:50   ` binaries of ef2progs-1.09 for Alpha Erik Troan
  2 siblings, 0 replies; 8+ messages in thread
From: Paul B. Brown @ 1997-04-21 23:44 UTC (permalink / raw)


Hi Gang,

I was wondering if anyone knows of reliable network backup software.  It
seems that I am going to create a 2 UDB / 1 Pentium network that will have
only one tape drive.  I want to use that tape backup unit to backup all my
boxes.  Any suggestions/recommendations/experiences/horror stories/whatever?

TIA  :-)

---------------------------------------------------------------------------
Paul B. Brown                          "Sailing is a state of mind . . . ."
pbrown@btechnet.com                    Unix Systems Administration
---------------------------------------------------------------------------

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: binaries of ef2progs-1.09 for Alpha
  1997-04-21 13:59 ` Theodore Y. Ts'o
  1997-04-21 19:16   ` Michal Jaegermann
  1997-04-21 23:44   ` Network Backups Paul B. Brown
@ 1997-04-22  0:50   ` Erik Troan
  2 siblings, 0 replies; 8+ messages in thread
From: Erik Troan @ 1997-04-22  0:50 UTC (permalink / raw)


On Mon, 21 Apr 1997, Theodore Y. Ts'o wrote:

> I've personally tested e2fsprogs 1.09 on the i386 architectures, on disks up
> to 1 gigabyte, and the performance roughly comparable with version
> 1.06.  I've also had someone else test a pre-release version of
> e2fsprogs 1.09 on a i386 with a 12 gig news spool, and the performance
> was mostly the same.  I do welcome other data points.

I've generated 1gig filesystems on Alpha's and SPARC's with 1.09 and it
seems fine.

Erik

-------------------------------------------------------------------------------
| "Psychopaths kill for no reason: I kill for money." -- Grosse Pointe Blank  |
|                                                                             |
|       Erik Troan   =   ewt@redhat.com     =    ewt@sunsite.unc.edu          |

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: binaries of ef2progs-1.09 for Alpha
  1997-04-20  1:14 binaries of ef2progs-1.09 for Alpha Michal Jaegermann
  1997-04-20  4:39 ` Ximenes
  1997-04-21 13:59 ` Theodore Y. Ts'o
@ 1997-04-23 14:50 ` Theodore Y. Ts'o
  2 siblings, 0 replies; 8+ messages in thread
From: Theodore Y. Ts'o @ 1997-04-23 14:50 UTC (permalink / raw)


From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
   Date: Sat, 19 Apr 1997 19:14:24 -0600 (MDT)

   There is one small problem, though.  I do not know if my headers on
   Alpha are in a sorry state, or this is more general (if you know
   please tell me).  I could not recompile these programs until I did the
   following modification in sources (which do not look right, but were
   necessary):

Just to follow up: 

According to a engineer at RedHat, no such changes were needed to
compile e2fsprogs 1.09 on a AXP Redhat 4.1 system.  I don't know how
standard the include file setups are for the various Alpha
distributions, but that's at least one data point, from a fairly popular
distribution.

						- Ted

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

end of thread, other threads:[~1997-04-23 14:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-04-20  1:14 binaries of ef2progs-1.09 for Alpha Michal Jaegermann
1997-04-20  4:39 ` Ximenes
1997-04-21 13:59 ` Theodore Y. Ts'o
1997-04-21 19:16   ` Michal Jaegermann
1997-04-21 23:44   ` Network Backups Paul B. Brown
1997-04-22  0:50   ` binaries of ef2progs-1.09 for Alpha Erik Troan
1997-04-23 14:50 ` Theodore Y. Ts'o
     [not found] <3.0.1.32.19970420053921.00b37370@206.183.227.10>
1997-04-20  5:53 ` Michal Jaegermann

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