Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 456292 - LiveDVD 20121221: Kernel cannot detect BIOS RAID array
Summary: LiveDVD 20121221: Kernel cannot detect BIOS RAID array
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Other (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Team Anniversary
URL: http://cateee.net/lkddb/web-lkddb/SCS...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-09 12:26 UTC by Ladislav Jech
Modified: 2017-05-11 15:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ladislav Jech 2013-02-09 12:26:03 UTC
When trying to install Gentoo from "livedvd-amd64-multilib-20121221.iso" on BIOS configured RAID 0 array on:
00:1f.2 RAID bus controller: Intel Corporation 82801 SATA Controller [RAID mode] (rev 04)
        Subsystem: ASUSTeK Computer Inc. Device 84ca
        Kernel driver in use: ahci

I cannot see the correctly configured array in BIOS under /dev/mapper/ directory, I can see only special file control.

Ladislav
Comment 1 Ladislav Jech 2013-02-09 15:21:11 UTC
I can see the array via mdadm utility, but didn't try to create a an partitions on it.

Gentoo-2012 ~ # mdadm -E /dev/sda
/dev/sda:
          Magic : Intel Raid ISM Cfg Sig.
        Version : 1.0.00
    Orig Family : 2432abc5
         Family : 2432abc5
     Generation : 0000007b
     Attributes : All supported
           UUID : 7a2850ca:2e2a3f38:9e3861cb:ad94a06f
       Checksum : 3faa5a0d correct
    MPB Sectors : 1
          Disks : 2
   RAID Devices : 1

  Disk00 Serial : 7915000014860290
          State : active
             Id : 00000000
    Usable Size : 117226760 (55.90 GiB 60.02 GB)

[GentooRAID0]:
           UUID : 3a6d4118:b6689fd3:c01fd265:866bca38
     RAID Level : 0
        Members : 2
          Slots : [UU]
    Failed disk : none
      This Slot : 0
     Array Size : 234452992 (111.80 GiB 120.04 GB)
   Per Dev Size : 117226760 (55.90 GiB 60.02 GB)
  Sector Offset : 0
    Num Stripes : 3663328
     Chunk Size : 16 KiB
       Reserved : 0
  Migrate State : idle
      Map State : normal
    Dirty State : clean

  Disk01 Serial : 791500001486047A
          State : active
             Id : 00000001
    Usable Size : 117226760 (55.90 GiB 60.02 GB)
Comment 2 Jorge Manuel B. S. Vicetto Gentoo Infrastructure gentoo-dev 2013-02-10 05:31:13 UTC
How are you doing the installation? What guide(s) are you following?
Is this a "true" raid device, a "fake" raid or are you trying to use software raid?
Comment 3 Ladislav Jech 2013-02-10 06:48:14 UTC
I was trying to follow the guide at http://en.gentoo-wiki.com/wiki/RAID/Onboard as soon as I don't use pure HW driver, I use only retail motherboard from ASUS, which provide Intel AHCI or RAID mode. In RAID mode the controller only do one thing, it maps the devices together, so it doesn't calculate anything, every calculations depends on CPU, exactly even in RAID mode the raid is still software/fake type.

I didn't used LiveCD 2006.0 neither 2006.1 as mentioned in the gentoo guide, but downloaded 20121221 iso file from following location:
http://distfiles.gentoo.org/releases/amd64/20121221/livedvd-amd64-multilib-20121221.iso

There is a sentence in the guide:
"If you can see only the device called "control", then the Live Kernel failed to detect your raid set, and you can stop reading."

So that's it, in /dev/mapper I saw only "control" even I was able to see the array created using the mb controller using the mdadm utility as mentioned earlier.

I already switched to AHCI mode in motherboard BIOS in may case and set up the pure software raid under gentoo without any issues.
Comment 4 Fernando (likewhoa) 2013-03-08 03:32:02 UTC
(In reply to comment #3)
> I was trying to follow the guide at
> http://en.gentoo-wiki.com/wiki/RAID/Onboard as soon as I don't use pure HW
> driver, I use only retail motherboard from ASUS, which provide Intel AHCI or
> RAID mode. In RAID mode the controller only do one thing, it maps the
> devices together, so it doesn't calculate anything, every calculations
> depends on CPU, exactly even in RAID mode the raid is still software/fake
> type.
> 
> I didn't used LiveCD 2006.0 neither 2006.1 as mentioned in the gentoo guide,
> but downloaded 20121221 iso file from following location:
> http://distfiles.gentoo.org/releases/amd64/20121221/livedvd-amd64-multilib-
> 20121221.iso
> 
> There is a sentence in the guide:
> "If you can see only the device called "control", then the Live Kernel
> failed to detect your raid set, and you can stop reading."
> 
> So that's it, in /dev/mapper I saw only "control" even I was able to see the
> array created using the mb controller using the mdadm utility as mentioned
> earlier.
> 
> I already switched to AHCI mode in motherboard BIOS in may case and set up
> the pure software raid under gentoo without any issues.

The livedvd will not try to assemble any arrays for you to avoid any issues, assembling the arrays is your responsibility. closing.
Comment 5 Ladislav Jech 2013-03-08 07:37:32 UTC
My mistake, sorry for wasting time, I got it working just nice finally.
Comment 6 Ladislav Jech 2013-03-08 07:41:49 UTC
The point was following. I was able to set up software raid following the tutorial without any problem. I just wanted to use the RAID bios option on cheap Intel dirver. This mode do NOT provide full HW raid support, but only the mapping. I named it in some way like MyRAID, so wanted to use BIOS as raid device mapper, nothing more. In the end I wasn't able to see MyRAID device under live DVD. That is the point. Of course, I finally assembled the raid by mapping /dev/sda and /dev/sdb or whatever, but still MyRAID device wasn't detected as should be.
Comment 7 Ladislav Jech 2013-03-08 08:03:37 UTC
You probably misunderstand the point here which is that BIOS "fake" configured raid named <something> cannot be seen under /dev/mapper/<something> after liveDVD boot. So I went using standard devices and wasn't able to use BIOS raid drive mapping capabilities.
Comment 8 Ladislav Jech 2017-05-11 15:33:26 UTC
I am closing this bug as obsolete, already old, there is newer LiveDVD in place.