Bug#282588: RAID-Installation failed

2004-11-30 Thread Hadmut Danisch
OK, 

I made another test.

Plain PC, one hard disk. 

Initiated with the debian boot floppies, used
ftp.de.debian.org as the mirror.

With the partition tool, I made two partitions:

- 1 GBhda1
- 10 GB   hda2

Both configured as RAID partitions.

I then installed RAID1 devices, 
one for swap, with hda1 (second device missing), 
and one as / with hda2 (second device missing).

The debian installer installs everything perfect, 
mounts /dev/md/1 to install the debian system, 
everything works. Until reboot.

When rebooting, the system says immediately, that
it doesn't understand partition type 0xfd and can't
boot. 

I then tried it again and made two similar partitions,
but this time I made the RAID/data partition the first
and the RAID/swap partition the second (The system 
didn't allow to make an md device out of the second
RAID partition, but this is another problem).

This time the machine bootet properly.

So it seems to be a problem with the configuration 
of grub if the first partition is a RAID containing
the swap. This works under normal conditions, because
I had configured the system manually this way and it 
worked.

regards
Hadmut







-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#282588: RAID-Installation failed

2004-11-23 Thread debbug2
Package: installation-reports

Debian-installer-version: 20041118

Hi,

I just installed a machine with the most recent installation 
floppy set (continuing with ftp.de.debian.org as the online
debian mirror).

I was quite happy to see that the installer supports the 
configuration of software RAID devices from the first installation and 
made use of it. But then the auto-installed 2.4 kernel did not boot
because it did not know how to treat RAID partitions. RAID is
obviously not compiled into the kernel. Since at this stage of
installation it is not possible to modify the ramdisk, I had to 
completely restart the installation.

Therefore I propose one of three solutions:

- Print a warning that the system can't boot from RAID with 
  this kernel

- Have the maintainer of the kernel packages compile them with 
  RAID built in

- Include the raid modules in the initial ramdisk.

regards
Hadmut


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#282588: RAID-Installation failed

2004-11-23 Thread Joey Hess
[EMAIL PROTECTED] wrote:
 I just installed a machine with the most recent installation 
 floppy set (continuing with ftp.de.debian.org as the online
 debian mirror).
 
 I was quite happy to see that the installer supports the 
 configuration of software RAID devices from the first installation and 
 made use of it. But then the auto-installed 2.4 kernel did not boot
 because it did not know how to treat RAID partitions. RAID is
 obviously not compiled into the kernel. Since at this stage of
 installation it is not possible to modify the ramdisk, I had to 
 completely restart the installation.
 
 Therefore I propose one of three solutions:
 
 - Print a warning that the system can't boot from RAID with 
   this kernel
 
 - Have the maintainer of the kernel packages compile them with 
   RAID built in
 
 - Include the raid modules in the initial ramdisk.

AFAIK raid is fully supported by the initrd installed by the installer.
At least I've put root on raid several times and it worked for me. I
think we need more details about how it didn't work for you.

-- 
see shy jo


signature.asc
Description: Digital signature


Bug#282588: RAID-Installation failed

2004-11-23 Thread Joey Hess
Hadmut Danisch wrote:
 To reproduce the problem, simply install a 
 machine (doesn't need a second disk, just 
 make a raid-1 out of a single partition, second
 missing) with the current debian floppies and 
 wait for the reboot. Machine will not boot.

I'm sorry, but my testing contracts that, and if I cannot reproduce it,
I can't fix it.

-- 
see shy jo


signature.asc
Description: Digital signature


Bug#282588: RAID-Installation failed

2004-11-23 Thread Hadmut Danisch
On Tue, Nov 23, 2004 at 01:44:26PM -0500, Joey Hess wrote:
 
 AFAIK raid is fully supported by the initrd installed by the installer.
 At least I've put root on raid several times and it worked for me. I
 think we need more details about how it didn't work for you.


Configuration went very well, but when rebooting the 
kernel complained that it doesn't know how to handle
partition type fd (RAID). I didn't have the time to 
find the details, therefore I reinstalled the machine without
raid, made a new kernel with RAID built in and then 
installed the raid manually. 

The kernel did not know what to do with fd partitions 
and aborted, so either the kernel could not get the
ramdisk from a raid partition or the ramdisk didn't
plug in the raid1 module properly. 

As far as I remember there is a problem with 
raid as module: The kernel might not detect partitions 
by itself and need an explicit call, as done by the 
debian raid package in /etc/init.d

To reproduce the problem, simply install a 
machine (doesn't need a second disk, just 
make a raid-1 out of a single partition, second
missing) with the current debian floppies and 
wait for the reboot. Machine will not boot.
But I don't remember whether the machine hung
before or after accessing the ramdisk. Sorry, 
have no test machine available at the moment.

regards
Hadmut



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#282588: RAID-Installation failed

2004-11-23 Thread Hadmut Danisch
I'll try it with a different machine, but
I'll be out of office thursday and friday, 
and busy tomorrow, so I won't be able to test it
before monday.

regards
Hadmut


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]