Bug#392764: partman: [powerpc] RAID support is broken on powermac hardware (64bit, XServe G5)
Package: partman
Version: 63
Severity: important
As the title says, an install on my XServe G5, with two brand new 320GB sata
disks, fails. I can manually setup the RAID partitions, but when i go into the
raid tool, it tells me something about the RAID flag not being found or
something.
This seems strange, as parted/mac has all the needed support for the RAID flag :
static int
_rawpart_is_raid (MacRawPartition* raw_part)
{
if (strcmp (raw_part->type, "Linux_RAID") != 0)
return 0;
return 1;
}
static int
mac_partition_set_flag (PedPartition* part, PedPartitionFlag flag, int state)
{
...
case PED_PARTITION_RAID:
mac_data->is_raid = state;
if (state)
strcpy (mac_data->system_name, "Linux_RAID");
else
mac_partition_set_system (part, part->fs_type);
return 1;
...
static int
mac_partition_get_flag (const PedPartition* part, PedPartitionFlag flag)
{
...
case PED_PARTITION_RAID:
return mac_data->is_raid;
static int
mac_partition_is_flag_available (
const PedPartition* part, PedPartitionFlag flag)
{
...
case PED_PARTITION_RAID:
Since this is consistently ok, i suppose there is some kind of brokeness in
the partman support.
If needed, i can provide full logs.
Friendly,
Sven Luther
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: powerpc (ppc)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-powerpc
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Reply to: