Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: alvin <alvin@iplink.net>
To: axp-list@redhat.com
Subject: Re: Root RAID0 on Alpha
Date: Tue, 09 Jul 2002 18:09:27 -0400	[thread overview]
Message-ID: <3D2B5F17.B3F09635@iplink.net> (raw)
In-Reply-To: 008e01c22793$8b1b8eb0$1e01a8c0@DMDTECH2

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

Darren Dupre wrote:
> 
> Is your patch for 2.4.18?
> 
> Where may I download it?

you will find it attached. It is not a big patch. A few caviats

1)srm and aboot do not know about raid partitions so you will need a
/boot that is non raided or raid1.

2) I build a kernel with the raid drivers installed but I think it can
be done with an initrd.

3) The installer is too stupid to allow raid installs so you will likely
have to do an install to a seperate disk and then copy things around.

-- 
Alvin Starr                   ||   voice: (416)785-4051
Interlink Connectivity        ||   fax:   (416)785-3668
alvin@iplink.net              ||

[-- Attachment #2: 2.4.raidpatch --]
[-- Type: application/octet-stream, Size: 1064 bytes --]

*** linux.orig/fs/partitions/osf.c	Mon Oct  1 23:03:26 2001
--- linux/fs/partitions/osf.c	Wed Apr 10 16:07:18 2002
***************
*** 15,24 ****
--- 15,29 ----
  #include <linux/blk.h>
  
  #include "check.h"
  #include "osf.h"
  
+ #if CONFIG_BLK_DEV_MD
+ extern void md_autodetect_dev(kdev_t dev);
+ #endif
+ 
+ 
  int osf_partition(struct gendisk *hd, struct block_device *bdev,
  		unsigned long first_sector, int current_minor)
  {
  	int i;
  	Sector sect;
***************
*** 76,85 ****
--- 81,97 ----
  		        break;
  		if (le32_to_cpu(partition->p_size))
  			add_gd_partition(hd, current_minor,
  				first_sector+le32_to_cpu(partition->p_offset),
  				le32_to_cpu(partition->p_size));
+ #if CONFIG_BLK_DEV_MD
+                 if (le32_to_cpu(partition->p_fstype) == LINUX_RAID_PARTITION) {
+ 	        printk("add md device %d %d",hd->major,current_minor);
+                         md_autodetect_dev(MKDEV(hd->major,current_minor));
+                 }
+ #endif
+ 
  		current_minor++;
  	}
  	printk("\n");
  	put_dev_sector(sect);
  	return 1;

      reply	other threads:[~2002-07-09 22:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-09 21:15 Root RAID0 on Alpha Darren Dupre
2002-07-09 21:43 ` Falk Hueffner
2002-07-09 21:51   ` Darren Dupre
2002-07-09 21:54     ` Falk Hueffner
2002-07-09 21:55   ` Darren Dupre
2002-07-09 21:52 ` alvin
2002-07-09 21:56   ` Darren Dupre
2002-07-09 22:09     ` alvin [this message]
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