raid-1 with Marvell 6121
scar
scar at drigon.com
Wed Jul 29 06:36:23 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
dear all,
i have this SATA controller on my motherboard (lspci below), and i have
two identical drives attached to it. in the Marvell option ROM in the
system BIOS, i have successfully setup a RAID-1 configuration, and i am
told that the array is "healthy" and/or "functional" upon bootup.
initially, after booting into ubuntu 8.10 with linux 2.6.27-14-generic,
the controller and thus the drives were not properly detected.
i then found a bug report[1] (you will see my puny plea for help there
as well), which directed me to [2]. after following the instructions
there, ubuntu was detecting the two disks i had attached to the 6121 as
separate disks, and not as one logical RAID-1 volume as i would assume.
perhaps that is my misconception? is everything working as it should?
or, should ubuntu only see one logical drive instead of two physical
drives? if so, what further steps are needed? (i notice that the
kernel driver being used is 'ahci'.... is that right? [i know, in some
other system BIOSes, if one selects 'AHCI' for a disk configuration,
RAID doesn't work... thus, one should select 'RAID' in the system BIOS
if one wants to setup a RAID array.]
thanks.
- --
$ sudo lspci -vv -s 02:00.0
02:00.0 RAID bus controller: Marvell Technology Group Ltd. 88SE6121 SATA
II Controller (rev b1) (prog-if 8f)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 16
Region 0: I/O ports at a800 [size=8]
Region 1: I/O ports at a400 [size=4]
Region 2: I/O ports at a000 [size=8]
Region 3: I/O ports at 9800 [size=4]
Region 4: I/O ports at 9400 [size=16]
Region 5: Memory at fe8ffc00 (32-bit, non-prefetchable) [size=1K]
Capabilities: [48] Power Management version 2
Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0+,D1+,D2-,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=1 PME-
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0
Enable-
Address: 00000000 Data: 0000
Capabilities: [e0] Express (v1) Legacy Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s unlimited, L1
unlimited
ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr+ NoSnoop-
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s, Latency L0 <256ns,
L1 unlimited
ClockPM- Suprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive-
BWMgmt- ABWMgmt-
Capabilities: [100] Advanced Error Reporting <?>
Kernel driver in use: ahci
Kernel modules: ahci, pata_marvell
- --
1. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/335615
2. http://wiki.debian.org/pata_marvell
-----BEGIN PGP SIGNATURE-----
iEYEAREIAAYFAkpv7ecACgkQXhfCJNu98qDSKACfYm6P6sdphmdnfIf3U+M3q/iX
73MAn1K8mgu6YLtHpiITMSZT3qjzvQsZ
=0+Ei
-----END PGP SIGNATURE-----
More information about the ubuntu-users
mailing list