Hello Mingo, Hmmm, I had to edit 'drivers/block/genhd.c' after
the patching to add the 'fifth' variable to the 'add_partition'
calls .
I also had to edit 'mkpv.c' in the '1214' raid-tools src's to
get them to compile on my system,
I replaced the
#include <sys/mount.h>
With
#include <linux/fs.h>
I'm attaching patches agains't these files only .
I'm also not very sure if these changes are the
best but they got things to compile . I'm now
going for the acid test , -reboot- . Ttys
Also below is my build / system configuration .
On Fri, 8 Jan 1999, MOLNAR Ingo wrote:
> i've just released Linux-RAID 1999.01.08, you can find
> raid0145-19990108-2.0.36 and raid0145-19990108-2.2.0-pre5 (no new
> raidtools) in the usual alpha directory:
>
> http://www.<country>.kernel.org/pub/linux/daemons/raid/alpha
>
> [mirrors should have synced up by the time you have received this email]
>
> this is a bugfix-only release:
>
> - modules compilation error fix from Nigel Rowe
>
> - 2.0 'raid=' boot option fix from Nigel Rowe
>
> - the bogus panic fix
>
> - port to 2.2.0-pre5
>
> apart from the panic (obvious last-minute bug), nothing serious popped up
> since the last release (let me know if i've missed something), so i'll do
> a 'stable' RAID release (without any annoying version bump) in a few
> weeks, around the release of 2.2.0. (or earlier)
>
> nonintrusive new features might still be implemented until then, feel free
> to send ideas to the list or me.
> -- mingo Hth, JimL
+-----------------------------------------------------------------------+
| James W. Laferriere - Network Engineer - [EMAIL PROTECTED] |
| System Techniques - 25416 - 22nd S. - Des-Moines, WA 98198 |
| Give me VMS -or- Give me Linux -but- only on AXP |
+-----------------------------------------------------------------------+
-- Versions installed: (if some fields are empty or looks
-- unusual then possibly you have very old versions)
Slackware v. 3.5.0
Linux cp1500r 2.1.129 #1 SMP Sat Nov 21 22:46:22 PST 1998 i586 unknown
Kernel modules 2.1.85
Gnu C egcs-2.90.29 980515 (egcs-1.0.3 release)
Binutils 2.8.1.0.23
Linux C Library 5 - 5.4.44
Dynamic Linker (ld.so) 1.9.9
ls: /usr/lib/libg++.so: No such file or directory
Procps 1.2.7
Mount 2.7l
Net-tools 1.47
Kbd 0.94
Sh-utils 1.16
Flex 2.5.4
E2fsprogs 1.10
--- genhd.c-orig Sat Jan 9 20:16:09 1999
+++ genhd.c Sat Jan 9 20:16:39 1999
@@ -363,7 +363,7 @@
} /* if the bsd partition is not currently known to linux, we end
* up here
*/
- add_partition(hd, current_minor, bsd_p->p_offset, bsd_p->p_size);
+ add_partition(hd, current_minor, bsd_p->p_offset, bsd_p->p_size ,0);
current_minor++;
}
/*
@@ -430,7 +430,7 @@
break;
if (p->s_label != UNIXWARE_FS_UNUSED) {
- add_partition(hd, current_minor, START_SECT(p), NR_SECTS(p));
+ add_partition(hd, current_minor, START_SECT(p), NR_SECTS(p)
+,0);
current_minor++;
}
p++;
@@ -841,7 +841,7 @@
for(i = 0; i < 16; i++, p++) {
if(!(p->num_blocks))
continue;
- add_partition(hd, current_minor, p->first_block, p->num_blocks);
+ add_partition(hd, current_minor, p->first_block, p->num_blocks ,0);
current_minor++;
}
printk("\n");
--- mkpv.c-orig Sun Dec 13 15:41:46 1998
+++ mkpv.c Sat Jan 9 19:44:34 1999
@@ -14,7 +14,8 @@
#include "raidlib.h"
#include "popt.h"
#include "version.h"
-#include <sys/mount.h> /* for BLKGETSIZE */
+#include <linux/fs.h> /* for BLKGETSIZE */
+/*#include <sys/mount.h> */ /* for BLKGETSIZE */
#include <sys/sysmacros.h>
#include "lvm-int.h"