Re: raid autodetect problem

2000-08-12 Thread Hermann 'mrq1' Gausterer

hi christian

if you have a raid-root-fs, then 
i think the problem is that the kernel cannot load
the modules unless the rootfilessystem is mounted
and /lib/modules/ is available. but without
the module, a mount is not possible. :-o

have you tried with compiled in support ?

ps: nice to see an another austrian on the list :-)

mfg mrq1

Christian Bucher wrote:
 
 I just installed a raid with autodetection. During that I found
 a (I think funny) problem which I want to report.
 
 kernel 2.2.17pre13-RAID
 pre-patch-2.2.17-13.bz2
 raid-2.2.17-A0
 
 raid1 was configured as module, the vmlinuz image is located
 in a /boot partition. It looks like the module is requested
 before mounting the root fs which makes naturally trouble.
 
 3request_module[md-personality-3]: Root fs not mounted
 
 Maybe it would be helpfull to add this case to the RAID-HOWTO.
 
 ciao
 
 christian
 
 --
 +---
 | Christian Bucher
 | phone: +43 1 5488640 mobil: +43 699 1 4208334
 | mailto:[EMAIL PROTECTED]
 +---

-- 
linux 2.2.16 on a dual pentium iii 500  512mb
Total of 2 processors activated (1992.29 BogoMIPS).
  4:10pm  up 4 days,  2:38,  1 user,  load average: 2.11, 2.11, 2.23



Re: raid autodetect problem

2000-08-12 Thread Christian Bucher

Hermann 'mrq1' Gausterer wrote:
 
 if you have a raid-root-fs, then
 i think the problem is that the kernel cannot load
 the modules unless the rootfilessystem is mounted
 and /lib/modules/ is available. but without
 the module, a mount is not possible. :-o

Looks like raid-root-fs and /boot partition produces a similar situation.


 have you tried with compiled in support ?

Of course it's working compiled into the kernel.



ciao

christian

-- 
+---
| Christian Bucher
| phone: +43 1 5488640 mobil: +43 699 1 4208334
| mailto:[EMAIL PROTECTED]
+---



Re: raid autodetect problem

2000-08-12 Thread Hermann 'mrq1' Gausterer

i have also some add-ons for the howto:

i have mailed them to michael, but i got no answer :-(

again my points:

1)
at 4.4 Copy the current OS to the new raid device 

you should add a hint for creating a empty boot and proc
directory, my rh6.1 box hangs after the first reboot
with the floppy, "unable to mount proc"
2)
in the new /mnt/x/etc/fstab should be all mounts
(except / and /boot) be marked with a #, i wait
for the fsck of my 15gig disc 20 min :-((
when everything works, the marks can be removed and
the system is in the original state
3)
before permanently switching to the raid as root device,
the /mnt/x/etc/lilo.conf should be altered to the
root=/dev/mdx option, and for the permanently switching
only the command:
/sbin/lilo -C /mnt/x/etc/lilo.conf 
is need
4)
write a info, that the mainstream kernel has a option
for raid, but this option is not the required one
as big as possible !!! ;-)
with the link to redhat-patch
5)
write a info about the partition id's, i missed what the
required option is (before i know, that it is not relevant,
of course), after all it should be set to "fd"

mfg mrq1
-- 
linux 2.2.16 on a dual pentium iii 500  512mb
Total of 2 processors activated (1992.29 BogoMIPS).
  5:10pm  up 4 days,  3:38,  1 user,  load average: 2.25, 2.20, 2.18



Re: raid autodetect problem

2000-08-12 Thread Michael Robinton

You could probably make it work OK by using initrd and loading the module 
with the script, but compiling in support would be much more straightforward.

On Sat, 12 Aug 2000, Christian Bucher wrote:

 Hermann 'mrq1' Gausterer wrote:
  
  if you have a raid-root-fs, then
  i think the problem is that the kernel cannot load
  the modules unless the rootfilessystem is mounted
  and /lib/modules/ is available. but without
  the module, a mount is not possible. :-o
 
 Looks like raid-root-fs and /boot partition produces a similar situation.
 
 
  have you tried with compiled in support ?
 
 Of course it's working compiled into the kernel.
 
 
 
 ciao
 
 christian
 
 -- 
 +---
 | Christian Bucher
 | phone: +43 1 5488640 mobil: +43 699 1 4208334
 | mailto:[EMAIL PROTECTED]
 +---