RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 617438 - anaconda does not properly recognize 'hpt45x_raid_member'
Summary: anaconda does not properly recognize 'hpt45x_raid_member'
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda
Version: 6.0
Hardware: x86_64
OS: Linux
low
urgent
Target Milestone: rc
: ---
Assignee: Hans de Goede
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-23 03:09 UTC by Jan F. Chadima
Modified: 2010-11-10 19:52 UTC (History)
3 users (show)

Fixed In Version: anaconda-13.21.61-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 617554 (view as bug list)
Environment:
Last Closed: 2010-11-10 19:52:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
tracebak in the case of use entiere disc (5.00 MB, image/jpeg)
2010-07-23 07:25 UTC, Jan F. Chadima
no flags Details
attached discs (4.79 MB, image/jpeg)
2010-07-23 07:27 UTC, Jan F. Chadima
no flags Details
automatic partititioning (4.71 MB, image/jpeg)
2010-07-23 07:29 UTC, Jan F. Chadima
no flags Details
manual partitioning (4.22 MB, image/jpeg)
2010-07-23 07:32 UTC, Jan F. Chadima
no flags Details
anaconda log (118.00 KB, text/plain)
2010-07-23 11:28 UTC, Jan F. Chadima
no flags Details
dmraid .... output same for installed rhel6 and for old system (1015 bytes, text/plain)
2010-07-23 14:09 UTC, Jan F. Chadima
no flags Details
dmesg from the old system (25.64 KB, text/plain)
2010-07-23 14:10 UTC, Jan F. Chadima
no flags Details

Description Jan F. Chadima 2010-07-23 03:09:59 UTC
Description of problem:
Trying upgrade existing system with centos 5 into rhel 6

Version-Release number of selected component (if applicable):
RHEL6.0-20100715.2-Workstation-x86_64-DVD1.iso

How reproducible:
Always

Steps to Reproduce:
1. boot install dvd
2. try to partition the disks

Actual results:
Various kind of errors occurs, there is no way to partition the discs.

Expected results:
Installed system :)

Additional info:
the system is x86_64 with 2core cpu, 8GB ram and 2 1TB HDDs with the guid tables

Comment 1 Jan F. Chadima 2010-07-23 03:14:26 UTC
The option use entire hard disks causes python exception.
The option use linux partitions cause "there is no room on the discs" message.
The manual partitioning shows the discs and enable select among them, but they are unknown  type and cannot be modified.

currently the discs are in raid1 array running centos 5.

Comment 3 RHEL Program Management 2010-07-23 03:38:26 UTC
This issue has been proposed when we are only considering blocker
issues in the current Red Hat Enterprise Linux release.

** If you would still like this issue considered for the current
release, ask your support representative to file as a blocker on
your behalf. Otherwise ask that it be considered for the next
Red Hat Enterprise Linux release. **

Comment 4 Chris Lumens 2010-07-23 04:20:31 UTC
Please attach the complete /tmp/anaconda-tb-* file you are seeing to this bug report.  In addition, titles like "anaconda still unusable" are highly subjective and downright incorrect.  Plenty of people are using anaconda every day to do installs of RHEL6.

Also please note that upgrades from RHEL5 to RHEL6 are not supported, let alone from Centos 5 to RHEL6.  But without the exact details of what you are trying to do and how it's failing, it's impossible for me to be any more specific than this.

Comment 5 Jan F. Chadima 2010-07-23 06:30:56 UTC
I've tried to install rhel6 into a box known running rhel5-like system.

Comment 6 Jan F. Chadima 2010-07-23 07:25:02 UTC
Created attachment 433886 [details]
tracebak in the case of use entiere disc

Comment 7 Jan F. Chadima 2010-07-23 07:27:38 UTC
Created attachment 433888 [details]
attached discs

Comment 8 Jan F. Chadima 2010-07-23 07:29:58 UTC
Created attachment 433889 [details]
automatic partititioning

Comment 9 Jan F. Chadima 2010-07-23 07:32:15 UTC
Created attachment 433890 [details]
manual partitioning

Comment 10 Jan F. Chadima 2010-07-23 07:33:15 UTC
fdisk -l from the running system


Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          32      257008+  83  Linux
/dev/sda2              33      121601   976502992+  fd  Linux raid autodetect

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1          32      257008+  83  Linux
/dev/sdb2              33      121601   976502992+  fd  Linux raid autodetect

Disk /dev/md0: 999.9 GB, 999938981888 bytes
2 heads, 4 sectors/track, 244125728 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/md0 doesn't contain a valid partition table

Comment 11 Hans de Goede 2010-07-23 09:17:36 UTC
Hi Jan,

When anaconda backtraces it writes a file with all the logs we need to the ramdisk from which anaconda is running. This file can be found under the name of
/tmp/anaconda-tb-*

Please try another install and when anaconda backtraces switch to the shell at tty2 (ctrl + alt + F2) and collect the logfile (you can for example scp it out of the installer environment), then attach the logfile here.

The screenshots are of limited use as they contain only a very small subset of all the information we need.

Comment 12 Jan F. Chadima 2010-07-23 11:28:47 UTC
Created attachment 433922 [details]
anaconda log

this is only one cas of failure, there are still 2 another with no backtrace...

Comment 13 Hans de Goede 2010-07-23 11:44:36 UTC
Jan,

Thanks for the logs!

I see the following in the logs:
11:17:00,959 DEBUG   : type detected on 'sda' is 'hpt45x_raid_member'
11:17:00,959 DEBUG   : type detected on 'sdb' is 'hpt45x_raid_member'

So these 2 disks were once part of a BIOS RAID / firmware RAID set. From there on things start falling apart. Part of the problem is that anaconda does not properly
recognize 'hpt45x_raid_member' as meaning the disks are (were ?) part of a BIOS RAID set.

Let me try to explain:

1) When choosing use entire disk, anaconda will replace the hpt45x_raid_member "format" with a normal partition table, so this option should work but you get the attached backtrace, this is a bug. I'll clone this bug for this part of the issues you are seeing.

2) When choosing remove linux partitions, no linux partitions to remove are found hence the no no freespace message, this is ok.

3) When doing manual partitioning, you cannot edit the disks as they have what we call a whole disk format (the entire disks are recognized as raid set members), thus you cannot edit them.

So summarizing I see 2 issues here:

1) anaconda does not recognize hpt45x_raid_member as meaning BIOS RAID member
2) anaconda backtraces when choosing use entire disk and all disks in the system have a whole disk using format

I'll post an updates.img for you to test to fix 1, and clone this bug for 2.

Comment 14 Hans de Goede 2010-07-23 12:21:28 UTC
Jan,

Before I move forward with the "anaconda does not properly recognize 'hpt45x_raid_member'" part of this, can you please start the RHEL-6 installer again on this system, switch to tty2 and then run:
dmraid -ay -t -vvv &> log.txt

And attach the resulting logfile ?

Thanks,

Hans

Comment 15 Jan F. Chadima 2010-07-23 14:09:25 UTC
Created attachment 433963 [details]
dmraid .... output same for installed rhel6 and for old system

Comment 16 Jan F. Chadima 2010-07-23 14:10:23 UTC
Created attachment 433964 [details]
dmesg from the old system

Comment 17 Jan F. Chadima 2010-07-23 14:16:55 UTC
There is no hpt raid adapter in the computer at all. The recognition as a raid member of hpt... is an error which does not disturb the old system, nor run, nor installation, but crashes the rhel6 installation.

The real problem is not crash in "use whole disc" selection... this is usual result of this selection...

The problem is that it cannot recognize the existing linux partitions and cannot handle them in the other menus (use linux partitions, manual install)...

Comment 18 Jan F. Chadima 2010-07-23 14:28:42 UTC
I think that recognition as a raid member without the appropriate hardware should be displayed as a warning and can be overriden.  I did not remember when the discs were attached to the hpt controller....

Comment 21 Hans de Goede 2010-07-23 21:48:18 UTC
The missing recognition of hpt45x_raid_member is fixed in anaconda-13.21.61-1, moving to modified.

Jan,

This fix does not directly help you, as the raid metadata on your disks is stale.
We have had the whole discussion about what to do with stale / invalid firmware RAID metatdata a number of times already, and come to the conclusion that the best thing what we can do is warn the user and ignore the disks. It is then up to the user to remove the stale BIOS RAID metatdata.

So with this patch in place, you will get 2 dialogs, first a warning that
sda and sdb will be ignored as they contain Firmware RAID metadata, but are not part of any recognized disks. And then an error that no usable disks have been found and the install cannot continue.

To remove the stale BIOS RAID metadata, you can do:
dmraid -rE /dev/sda
dmraid -rE /dev/sdb

Regards,

Hans

Comment 22 Jan F. Chadima 2010-07-26 07:18:39 UTC
Hans,
thaks a lot, this solution completely fulfill my needs.
Jan

Comment 25 releng-rhel@redhat.com 2010-11-10 19:52:02 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.