From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
Subject: binaries of ef2progs-1.09 for Alpha
Date: Sat, 19 Apr 1997 19:14:24 -0600 (MDT) [thread overview]
Message-ID: <199704200114.TAA00886@ellpspace.math.ualberta.ca> (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
next reply other threads:[~1997-04-20 1:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-04-20 1:14 Michal Jaegermann [this message]
1997-04-20 4:39 ` binaries of ef2progs-1.09 for Alpha 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
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox