Ubiquity can't find the sata hard disk (promise 376 chip)

Bug #543008 reported by JorSol
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
dmraid (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: dmraid

I'm trying to install Ubuntu 10.04 Beta 1, but the installer do not detect the hard drive I have. In LiveCD mode I can see, mount and work with the partitions of my hard drive but the installer just don't see it...

My motherboard is an MSI K7N2 Delta-ILSR which has a Promise FastTrack 376 SATA controller.

I started to experience this problem back to Karmic which I have to install using the alternate cd... I found that this problem is related with dmraid, and I have to uninstall dmraid to be able to install Ubuntu. The raid mode of the drive is 0+1 Stripe, it's autoconfigured by the fasttrack utility in performance mode.

Tried to boot with the 'nodmraid' option and it didn't work,
I remove the raid using the bios utility, but it didn't work,
then I erase the metadata using the -E swith of dmraid and It works, it shows up in ubiquity, and was able to install Ubuntu, BUT if the drive don't have the raid mode enable it refuses to boot... is really odd that the hdd needs to be in raid mode, but It's ok if works... It's more easy to simply uninstall dmraid (apt-get remove dmraid) to make it work. I can make more test and provide more info if needed.

ProblemType: Bug
Architecture: i386
Date: Sat Mar 20 15:07:48 2010
DistroRelease: Ubuntu 10.04
LiveMediaBuild: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100318)
Package: ubiquity 2.2.6
ProcEnviron:
 LANG=es_NI.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
SourcePackage: ubiquity
Uname: Linux 2.6.32-16-generic i686

Revision history for this message
JorSol (jorsol) wrote :
Revision history for this message
JorSol (jorsol) wrote :
Revision history for this message
JorSol (jorsol) wrote :
Revision history for this message
JorSol (jorsol) wrote :
JorSol (jorsol)
description: updated
JorSol (jorsol)
description: updated
affects: ubiquity (Ubuntu) → dmraid (Ubuntu)
Revision history for this message
Colin Watson (cjwatson) wrote : Re: [Bug 543008] Re: Ubiquity can't find the sata hard disk (promise 376 chip)

Sometimes dmraid finds metadata when it shouldn't (either because of
previous uses of dmraid, or because of a bug). Have you tried booting
with the 'nodmraid' option? It's on the F6 menu on the live CD because
some people need this.

Your syslog confirms this:

  Mar 20 20:54:59 ubuntu activate-dmraid: Serial ATA RAID disk(s) detected. If this was bad, boot with 'nodmraid'.

Revision history for this message
Phillip Susi (psusi) wrote :

Yes, if you previously used the disks in raid mode and no longer wish you, then you need to remove the raid metadata from the disks by either destroying the raid set with the bios utility, or the -E switch to dmraid. Simply disabling the raid mode in the bios leaves the metadata on disk and the bios ignores it, but Ubuntu does not know that and will continue to try using it.

If this does not resolve your issue, please update this report.

Changed in dmraid (Ubuntu):
status: New → Incomplete
Revision history for this message
JorSol (jorsol) wrote :

Tried to boot with the 'nodmraid' option and it didn't work,
I remove the raid using the bios utility, but it didn't work,
then I erase the metadata using the -E swith of dmraid and It works, it shows up in ubiquity, and was able to install Ubuntu, but is by far more easy to simply uninstall dmraid, and I don't know why the 'nodmraid' don't work (probably another bug?).

I will provide more info when I make more tests...

JorSol (jorsol)
description: updated
Revision history for this message
Phillip Susi (psusi) wrote :

I'm marking this bug as invalid since this is a system configuration error, not a bug. I believe that Ubiquity intentionally does not display disks that have been identified by blkid as members of a dmraid set, since you are supposed to use the raid device, not the underlying physical disks. At any rate, there isn't anything wrong with dmraid.

To clarify, it is a misconfiguration of your system to set up a raid set in the bios, then turn off the bios raid support and try to install Ubuntu to the individual disks in the raid. You either use raid, or you don't. You should not set it up, then try to ignore it.

Changed in dmraid (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
JorSol (jorsol) wrote :

Ok, lets guess that is a misconfiguration of my system, but isn't supposed that the nodmraid option should ignore the metadata of the drrive? or disable it self (dmraid) so it can work like is not installed?

Why I have to uninstall/remove/purge dmraid to be able to make it work like it always worked? what "nodmraid" do exacly?

Revision history for this message
Phillip Susi (psusi) wrote :

AFAIK, the nodmraid boot option just prevents dmraid from being run to activate raid arrays. Removing the package should have no further effect beyond that. blkid should still identify the drive as a raid member, which I believe causes the installer to not show it.

Revision history for this message
Rush Tonop Online (rush-online) wrote :

Fresh install Lucid 10.04 (release) on MSI G33M MS-7357 ver 1 caused the same bug. Removing 'dmraid' package solved problem.

Changed in dmraid (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
proze (paul-prozesky) wrote :

I have the same issue. MSI K7N2 Delta-ILSR with one 300GB SATA drive on the Promise controller integrated into the motherboard. The drive has never been part of a RAID array, it's just set up on the controller so that the rest of the system can see it. The 10.04 installer (and 9.10) doesn't see the drive until I manually remove dmraid. I understand that it's by design from the comments above, but I'm adding the comment to confirm the situation.

Revision history for this message
Phillip Susi (psusi) wrote :

Then your belief that the drive has never been part of a raid array seems to be incorrect. If you reinstall dmraid and run sudo dmraid -n /dev/sda ( assuming that sda is the drive in question ) and it prints out the metadata, then the drive was, and for our purposes, still is, part of a raid array. If that is the case and you are not really using it in an array then you should run sudo dmraid -E /dev/sda to erase the raid metadata.

Revision history for this message
JorSol (jorsol) wrote : Re: [Bug 543008] Re: Ubiquity can't find the sata hard disk (promise 376 chip)

The problem is that when the metadata is erased, Ubuntu installs correctly
but after the reboot it won't boot, it seems that the configuration requires
that the array is present (even if not used like array)...

But I repeat the nodmraid option in the livecd should be exactly that,
disable the dmraid, but it simply don't work like that, It's necesary to
uninstall dmraid. I belevie when installed with alternate cd Ubuntu don't
have this problem.

Revision history for this message
Danny Wood (danwood76) wrote :

After erasing the metadata you need to restart your machine so that dmraid is unloaded and the disk is allowed to be sda.
So boot with the live CD and erase the metadata, reboot, then install.

Revision history for this message
D. Hugh Redelmeier (hugh-mimosa) wrote :

I experienced this too when trying to install Ubuntu 10.04 i386 (released version).

My computer is an old eMachine, with the original disk. It has never been RAIDed. Heck, the machine doesn't have the appropriate controller and has never had a second drive.

I had a difficult time figuring out what was going on from the symptom (no disks found for installation). I ended up adding tracing instructions to the shell script /lib/partman/init.d/30partd and staring at /var/log/user.log. Yuck.

I found "dmraid -r -d" said
  DEBUG: not isw at -224961536
  DEBUG: isw trying hard coded -2115 offset.
  DEBUG: not isw at -226043392
  /dev/sda: pdc, "pdc_jjacgccf", stripe, ok, 234441472 sectors, data@ 0

I don't know what to make of this, but I did a "dmraid -r -E" based on this launchpad entry. Seems to work.

I hate to think what a random user would have done in this case.

I had no trouble installing Fedora 4 on this box years ago.

Phillip Susi (psusi)
Changed in dmraid (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Rush Tonop Online (rush-online) wrote :

@Phillip Susi, millions of potential Ubuntu users thanks you. Seems like you are working for MS. I meet this bug with three last releases at home computer, and four computers at lab where I work. Thank you again, next release we meet the same (at least 2 y.o. bug).

People, seems we must go to #ubiquity (https://launchpad.net/ubiquity) and report this bug there.

Revision history for this message
Phillip Susi (psusi) wrote :

Attempting to insult me by association with another entity you seem to have a pathological hatred for is a violation of the Ubuntu Code of Conduct. I suggest you find a better outlet for your frustration.

What you might do is file a feature enhancement request for ubiquity to show disks that are part of a ( possibly broken ) raid array, and offer the option to remove them from that array, freeing them up for normal use. That way if you have old forgotten raid settings you no longer wish to use, it would be obvious and a solution just a click away.

Revision history for this message
Rush Tonop Online (rush-online) wrote :

Attempting to insult me with diagnosis you seem to be a psychiatrist. Hope you are not.

I think this bug related to dmraid. Hard drives never been powered on, BIOS never been configured to support RAID. I see that with my eyes at least on 4 completely new parts.

Ok, I'll ask ubiquity developers to workaround for this bug, or may be I must ask Award/Phoenix/Other developrers. But not dmraid developers. Why ?

Revision history for this message
Danny Wood (danwood76) wrote :

This is not a bug in dmraid.
It is just the way it works.

If your drives have the promise metadata on them they must have been used for that purpose.
It can't just magically appear on the disk. You probably have setup the disks in the proimise BIOS controller!

Revision history for this message
D. Hugh Redelmeier (hugh-mimosa) wrote :

I see no value in insults.

I hit this problem. It is real. This launchpad entry helped me work around the problem. I expect never to hit it again. I'm here to help make things better for other Ubuntu users.

My disk drive has never been used in RAID and yet dmraid detected that it had.
How could this happen? Is the test subject to false positives?

You can see a little diagnostic output in #16.

A few more details. My machine is an eMachine T2341 http://emachines.com/support/product_support.html?cat=Desktops&subcat=T%20Series&model=T2341.

It came with a 40G drive. I replaced it with a 120G drive. I initialized by dd'ing the whole 40G drive to the 120G drive (not partition by partition) using a live CD and then using the usual Linux tools to adjust the partitioning. All this was it 2004 January. So any RAID fingerprint would have come from the original 40G drive supplied by eMachines. RAID and Promise are nowhere to be found in the user guide.

When I first got the machine, I had no problem installing Fedora Core 4. In 2008 I had no problem installing Ubuntu 8.04. My first trouble was with my recent installation of Ubuntu 10.04.

There is no Promise controller on this machine and yet the RAID fingerprint discovered was for a Promise format. Would it make sense for dmraid to issue a diagnostic when it finds an anomaly like that? If so, would it make sense for Ubiquity to make that diagnostic visible to the (otherwise baffled) user?

Revision history for this message
JorSol (jorsol) wrote :

My problem is that the system won't boot if the hard drive don't have the
"raid" metadata... in earlier versions of Ubuntu this was not a problem...

I wish I can send you my computer so you can use it like a rat-lab, THEN you
can said is a problem that can't be solved in dmraid... but if you only can
said that dmraid works like this just because it should work like this then
you are denying the problem.

Revision history for this message
Danny Wood (danwood76) wrote :

As already stated this is no bug in dmraid!
Also this is not a support forum!

To detect if there is a promise array disk dmraid scans the metadata offsets for "Promise Technology, Inc."
This string has to be on the disks at that specific location on the disks you have and this is created by the promise RAID controller.
Three users out of the thousands of downloads is a small proportion of error and in my opinion is due to misconfiguration.

Official support for dmraid was only added in the previous release and ubiquity support for it was added only in this release so it is still young.

What we need is ubiquity to question the user over dmraid but nothing can be done from dmraid as it provides all the tools and information that ubiquity requires. A feature request needs to be assigned to ubiquity in order for something like this to occur.
So if you want something done about it that is the place.

Dmraid is not responsible for this error and insulting the developers is not going to get anyone anywhere.
Please file a feature request against Ubiquity!

Revision history for this message
D. Hugh Redelmeier (hugh-mimosa) wrote :
Revision history for this message
Phillip Susi (psusi) wrote : Re: [Bug 543008] Re: Ubiquity can't find the sata hard disk (promise 376chip)

On 6/28/2010 11:53 AM, D. Hugh Redelmeier wrote:
> It came with a 40G drive. I replaced it with a 120G drive. I
> initialized by dd'ing the whole 40G drive to the 120G drive (not
> partition by partition) using a live CD and then using the usual Linux
> tools to adjust the partitioning. All this was it 2004 January. So any
> RAID fingerprint would have come from the original 40G drive supplied by
> eMachines. RAID and Promise are nowhere to be found in the user guide.

Actually the metadata would not have been copied from the 40g drive
since only the first 40g of the new drive would have been written to by
dd, and the raid metadata lives at the very end of the drive. Sounds
like you bought the 120g drive on ebay from someone who had been using
it in a raid.

> There is no Promise controller on this machine and yet the RAID
> fingerprint discovered was for a Promise format. Would it make sense
> for dmraid to issue a diagnostic when it finds an anomaly like that? If
> so, would it make sense for Ubiquity to make that diagnostic visible to
> the (otherwise baffled) user?

As I said before, it would make sense for ubiquity to indicate the disks
are part of a raid and give the option to erase the raid metadata.

Revision history for this message
Brianm-thomasville (brianm-thomasville) wrote : Make this night unforgettable for her

>>> http://tusis.ru

- There is no reason to feel depressed if you, like so many other men today, have hit the rough spot of your sexual life when you cannot seem to be performing as well as you used to do. Your agitation and frustration are easily understood, and still you should know that with the modern development of worldwide pharmacological industries it is but natural that there is bound to be a solution for your own needs when it comes down to solving your erectile dysfunction problems.

- We suggest you getting erectile dysfunction drugs from our online drugstore cheaply, easily and without much to-do. You will always be taken care of and attended to with extreme care, and you will have the possibility of choosing from a wide range of erectile dysfunction products to find a solution that will best suit your particular needs.

- The whole world puts great trust in those famous diamond shaped pills, and if you are not an exception we would like to revise some basic points that speak in favor of putting your male health in the hands of those magical tablets.
Firstly, there is no need for regular therapy � those blue pills have to be taken directly before the planned sexual contact, and extra convenience shines through when you come to realize that the pills will not start working unless sufficient sexual stimulation is provided.

- Secondly, this erectile dysfunction solution is known for its extremely low adverse side effects profile, which makes it available for all age groups of patients. Besides, it really does not matter how old you are when it goes about taking erectile dysfunction pills � just make sure that you do not overdose, and they will work for you at their best!

- Finally, those fabulous pills do not only provide you with stable erection that can be maintained for as long as you need it � they also help you to achieve unheard sensitivity during the sexual act as well as make your genitals look much more sizey!

- Think of all those benefits of taking erectile dysfunction pills and the effect you can produce on your loved one � and do not hesitate to make your order and / or refills right away!

--- > http://tusis.ru < ---

 _V______C________L
 ___I_______I_______E
 _____A_______A_______V
 _______G_______L_______I
 _________R_______I_______T
 ___________A_______S_______R
 _____________________________A

   Your success with girls will be much easier to achieve, when your staying power is supported by our branded solutions for men! Best prices this month only, and always nice service and full confidentiality! Try now, don�t disappoint hotties, demanding your stiff prick!
-
 - - -
--------- http://tusis.ru
 - - -
-

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.