Bug#392764: Can't reproduce on PowerStack, MAC partition issue only?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#392764: Can't reproduce on PowerStack, MAC partition issue only?

Ulrich Teichert-2
Hi,

I tried to reproduce this bug on my Motorola PowerStack II (PPC prep),
but did not succeed. I've used the d-i daily build from 2007-01-19,
netinst iso and booted the netinst kernel over TFTP (yes, I know this
isn't supported, but my bandwith doesn't allow a full netinstall).

During manual partitioning, I created two RAID partitions:

ut@pleddis:~$ cat /proc/partitions
major minor  #blocks  name

   8     0    8891556 sda
   8     1      16033 sda1
   8     2     489982 sda2
   8     3    4184932 sda3
   8     4    4192965 sda4
   9     0    4184832 md0

Which is a brain-dead setup with only one disk and a RAID1 on two partitions:

ut@pleddis:~$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/md0              4.0G  390M  3.4G  11% /
tmpfs                  62M     0   62M   0% /lib/init/rw
udev                   10M   44K   10M   1% /dev
tmpfs                  62M     0   62M   0% /dev/shm

I haven't seen any failure, which suggests that the problem only shows up
on MAC partition types (the PowerStack uses PC-style partitions).

Sorry, but it looks like I don't have the hardware to track this down,

HTH anyway,
Uli
--
Dipl. Inf. Ulrich Teichert|e-mail: [hidden email]
Stormweg 24               |listening to: Single (Hushpuppies), Pay The Cobra
24539 Neumuenster, Germany|(The Bellrays), She's Got Standards (The Rifles)


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

Reply | Threaded
Open this post in threaded view
|

Bug#392764: Can't reproduce on PowerStack, MAC partition issue only?

Frans Pop-3
On Sunday 21 January 2007 19:58, Ulrich Teichert wrote:
> I haven't seen any failure, which suggests that the problem only shows
> up on MAC partition types (the PowerStack uses PC-style partitions).

That corresponds to Sven's findings.

> Sorry, but it looks like I don't have the hardware to track this down,

According to Sven, it should be possible to create a MAC partition table
for testing, even if an MSDOS table is normally used. I have no idea if
this is true or what risks that may bring.

If you want to give this a go, installing in expert mode will allow you to
select the type of partition table when you select a disk in partman.

> HTH anyway,

Yes, thanks for taking the trouble to look into this.

attachment0 (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#392764: Can't reproduce on PowerStack, MAC partition issue only?

Sven Luther
In reply to this post by Ulrich Teichert-2
On Sun, Jan 21, 2007 at 07:58:47PM +0100, Ulrich Teichert wrote:

> Hi,
>
> I tried to reproduce this bug on my Motorola PowerStack II (PPC prep),
> but did not succeed. I've used the d-i daily build from 2007-01-19,
> netinst iso and booted the netinst kernel over TFTP (yes, I know this
> isn't supported, but my bandwith doesn't allow a full netinstall).
>
> During manual partitioning, I created two RAID partitions:
>
> ut@pleddis:~$ cat /proc/partitions
> major minor  #blocks  name
>
>    8     0    8891556 sda
>    8     1      16033 sda1
>    8     2     489982 sda2
>    8     3    4184932 sda3
>    8     4    4192965 sda4
>    9     0    4184832 md0
>
> Which is a brain-dead setup with only one disk and a RAID1 on two partitions:
>
> ut@pleddis:~$ df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/md0              4.0G  390M  3.4G  11% /
> tmpfs                  62M     0   62M   0% /lib/init/rw
> udev                   10M   44K   10M   1% /dev
> tmpfs                  62M     0   62M   0% /dev/shm
>
> I haven't seen any failure, which suggests that the problem only shows up
> on MAC partition types (the PowerStack uses PC-style partitions).
>
> Sorry, but it looks like I don't have the hardware to track this down,

yes, it is a mac partition table issue. There where actually two bugs, one
which i fixed, and was long fixed in ubuntu but the fix didn't go back to
debian until i investigated, and the other which is not in parted, but in
partman, and is still open.

It is possible to test this on any hardware, but you would need a second disk
if your firmware/bios is not able to boot from mac partition tables, like i
believe is the case for PReP boxes. This can also be tested on plain x86 boxes
with a second disk.

My believe is that since mac partitions used to not have the RAID flag, that
partman somewhere has some explicit test for x86 partitions, and sets the RAID
flag only in those cases, or something. I will try to reproduce his on pegasos
and its amiga partition tables, which are in the same case as the mac
partitions.

partman actually *ERASES* the raid flag set by hand by parted, which is rather
strange, and hints strongly at some problem in partman-md (but also possibly
mirrored in partman-lvm, which has a similar flag setup).

Friendly,

Sven Luther


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