LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-21-2011, 07:34 PM   #1
brenainn
LQ Newbie
 
Registered: Oct 2005
Location: Ocean City, NJ
Distribution: PLD
Posts: 13

Rep: Reputation: 0
Kernel not properly detecting RevoDrive X2


I just installed a OCZ Revodrive X2 in my system, and have been trying to get linux to detect it properly. I have the BIOS set to AHCI, Windows has no problem seeing the raid drive, but not linux. I have all the RAID options built in to my kernel, as well as the Silicon Image 3124/3132 SATA support, as that is what Windows detected when I installed the driver. I want set it up as my linux boot drive, but I dont' know what I am doing wrong. Here is the kernel log:

2011-04-21 4:48:32 PM ata6.00 ATA-8: OCZ-REVODRIVE X2, 1.32, max UDMA/133
2011-04-21 4:48:32 PM ata6.00 117231408 sectors, multi 16: LBA48 NCQ (depth 31/32)
2011-04-21 4:48:32 PM ata6.00 configured for UDMA/100
2011-04-21 4:48:32 PM scsi 5 :0:0: Direct-Access ATA OCZ-REVODRIVE X2 1.32 PQ: 0 ANSI: 5
2011-04-21 4:48:32 PM sd 5 :0:0: [sdg] 117231408 512-byte logical blocks: (60.0 GB/55.8 GiB)
2011-04-21 4:48:32 PM sd 5 :0:0: Attached scsi generic sg6 type 0
2011-04-21 4:48:32 PM sd 5 :0:0: [sdg] Write Protect is off
2011-04-21 4:48:32 PM sd 5 :0:0: [sdg] Mode Sense: 00 3a 00 00
2011-04-21 4:48:32 PM sd 5 :0:0: [sdg] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
2011-04-21 4:48:32 PM sdg
2011-04-21 4:48:32 PM sd 5 :0:0: [sdg] Attached SCSI disk
2011-04-21 4:48:32 PM ata7 SATA link up 3.0 Gbps (SStatus 123 SControl 0)
2011-04-21 4:48:32 PM ata7.00 ATA-8: OCZ-REVODRIVE X2, 1.32, max UDMA/133
2011-04-21 4:48:32 PM ata7.00 117231408 sectors, multi 16: LBA48 NCQ (depth 31/32)
2011-04-21 4:48:32 PM ata7.00 configured for UDMA/100
2011-04-21 4:48:32 PM scsi 6 :0:0: Direct-Access ATA OCZ-REVODRIVE X2 1.32 PQ: 0 ANSI: 5
2011-04-21 4:48:32 PM sd 6 :0:0: [sdh] 117231408 512-byte logical blocks: (60.0 GB/55.8 GiB)
2011-04-21 4:48:32 PM sd 6 :0:0: Attached scsi generic sg7 type 0
2011-04-21 4:48:32 PM sd 6 :0:0: [sdh] Write Protect is off
2011-04-21 4:48:32 PM sd 6 :0:0: [sdh] Mode Sense: 00 3a 00 00
2011-04-21 4:48:32 PM sd 6 :0:0: [sdh] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
2011-04-21 4:48:32 PM sdh unknown partition table
2011-04-21 4:48:32 PM sd 6 :0:0: [sdh] Attached SCSI disk
2011-04-21 4:48:32 PM ata8 SATA link up 3.0 Gbps (SStatus 123 SControl 0)
2011-04-21 4:48:32 PM ata8.00 ATA-8: OCZ-REVODRIVE X2, 1.32, max UDMA/133
2011-04-21 4:48:32 PM ata8.00 117231408 sectors, multi 16: LBA48 NCQ (depth 31/32)
2011-04-21 4:48:32 PM ata8.00 configured for UDMA/100
2011-04-21 4:48:32 PM scsi 7 :0:0: Direct-Access ATA OCZ-REVODRIVE X2 1.32 PQ: 0 ANSI: 5
2011-04-21 4:48:32 PM sd 7 :0:0: [sdi] 117231408 512-byte logical blocks: (60.0 GB/55.8 GiB)
2011-04-21 4:48:32 PM sd 7 :0:0: Attached scsi generic sg8 type 0
2011-04-21 4:48:32 PM sd 7 :0:0: [sdi] Write Protect is off
2011-04-21 4:48:32 PM sd 7 :0:0: [sdi] Mode Sense: 00 3a 00 00
2011-04-21 4:48:32 PM sd 7 :0:0: [sdi] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
2011-04-21 4:48:32 PM sdi unknown partition table
2011-04-21 4:48:32 PM sd 7 :0:0: [sdi] Attached SCSI disk
2011-04-21 4:48:32 PM ata9 SATA link up 3.0 Gbps (SStatus 123 SControl 0)
2011-04-21 4:48:32 PM ata9.00 ATA-8: OCZ-REVODRIVE X2, 1.32, max UDMA/133
2011-04-21 4:48:32 PM ata9.00 117231408 sectors, multi 16: LBA48 NCQ (depth 31/32)
2011-04-21 4:48:32 PM ata9.00 configured for UDMA/100
2011-04-21 4:48:32 PM scsi 8 :0:0: Direct-Access ATA OCZ-REVODRIVE X2 1.32 PQ: 0 ANSI: 5
2011-04-21 4:48:32 PM sd 8 :0:0: [sdj] 117231408 512-byte logical blocks: (60.0 GB/55.8 GiB)
2011-04-21 4:48:32 PM sd 8 :0:0: Attached scsi generic sg9 type 0
2011-04-21 4:48:32 PM scsi 9 :0:0: Direct-Access ATA WDC WD5000AAKB-0 12.0 PQ: 0 ANSI: 5
2011-04-21 4:48:32 PM sd 9 :0:0: [sdk] 976773168 512-byte logical blocks: (500 GB/465 GiB)
2011-04-21 4:48:32 PM sd 9 :0:0: [sdk] Write Protect is off
2011-04-21 4:48:32 PM sd 9 :0:0: [sdk] Mode Sense: 00 3a 00 00
2011-04-21 4:48:32 PM sd 9 :0:0: Attached scsi generic sg10 type 0
2011-04-21 4:48:32 PM sd 9 :0:0: [sdk] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
2011-04-21 4:48:32 PM scsi 9 :1:0: Direct-Access ATA Hitachi HDP72505 GM4O PQ: 0 ANSI: 5
2011-04-21 4:48:32 PM sd 9 :1:0: [sdl] 976773168 512-byte logical blocks: (500 GB/465 GiB)
2011-04-21 4:48:32 PM sd 9 :1:0: Attached scsi generic sg11 type 0
2011-04-21 4:48:32 PM sd 8 :0:0: [sdj] Write Protect is off
2011-04-21 4:48:32 PM sd 8 :0:0: [sdj] Mode Sense: 00 3a 00 00
2011-04-21 4:48:32 PM sd 8 :0:0: [sdj] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
2011-04-21 4:48:32 PM sdj unknown partition table
2011-04-21 4:48:32 PM sd 8 :0:0: [sdj] Attached SCSI disk
2011-04-21 4:48:32 PM sdk sdk1
2011-04-21 4:48:32 PM sd 9 :1:0: [sdl] Write Protect is off
2011-04-21 4:48:32 PM sd 9 :1:0: [sdl] Mode Sense: 00 3a 00 00
2011-04-21 4:48:32 PM sd 9 :1:0: [sdl] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
2011-04-21 4:48:32 PM sdl sdl1 sdl2
2011-04-21 4:48:32 PM sd 9 :0:0: [sdk] Attached SCSI disk
2011-04-21 4:48:32 PM sd 9 :1:0: [sdl] Attached SCSI disk
2011-04-21 4:48:32 PM md Waiting for all devices to be available before autodetect
2011-04-21 4:48:32 PM md If you don't use raid, use raid=noautodetect
2011-04-21 4:48:32 PM md Autodetecting RAID arrays.
2011-04-21 4:48:32 PM md Scanned 0 and added 0 devices.
2011-04-21 4:48:32 PM md autorun ...
2011-04-21 4:48:32 PM md ... autorun DONE.
2011-04-21 4:48:32 PM RAMDISK gzip image found at block 0
2011-04-21 4:48:32 PM VFS Mounted root (romfs filesystem) readonly on device 1:0.
2011-04-21 4:48:32 PM XFS mounting filesystem sdb1
2011-04-21 4:48:32 PM Ending clean XFS mount for filesystem: sdb1
2011-04-21 4:48:32 PM VFS Mounted root (xfs filesystem) readonly on device 8:17.
2011-04-21 4:48:32 PM Trying to move old root to /initrd ... okay
2011-04-21 4:48:32 PM Freeing unused kernel memory: 576k freed
2011-04-21 4:48:32 PM input PC Speaker as /devices/platform/pcspkr/input/input5
2011-04-21 4:48:32 PM shpchp Standard Hot Plug PCI Controller Driver version: 0.4
2011-04-21 4:48:32 PM Adding 4096568k swap on /dev/sdb2. Priority:-1 extents:1 across:4096568k
2011-04-21 4:48:32 PM md md0 stopped.
2011-04-21 4:48:32 PM md bind<sdh>
2011-04-21 4:48:32 PM md bind<sdi>
2011-04-21 4:48:32 PM md bind<sdj>
2011-04-21 4:48:32 PM md bind<sdg>
2011-04-21 4:48:32 PM bio create slab <bio-1> at 1
2011-04-21 4:48:32 PM md/raid0 d0: looking at sdg
2011-04-21 4:48:32 PM md/raid0 d0: comparing sdg(117228544) with sdg(117228544)
2011-04-21 4:48:32 PM md/raid0 d0: END
2011-04-21 4:48:32 PM md/raid0 d0: ==> UNIQUE
2011-04-21 4:48:32 PM md/raid0 d0: 1 zones
2011-04-21 4:48:32 PM md/raid0 d0: looking at sdj
2011-04-21 4:48:32 PM md/raid0 d0: comparing sdj(117228544) with sdg(117228544)
2011-04-21 4:48:32 PM md/raid0 d0: EQUAL
2011-04-21 4:48:32 PM md/raid0 d0: looking at sdi
2011-04-21 4:48:32 PM md/raid0 d0: comparing sdi(117228544) with sdg(117228544)
2011-04-21 4:48:32 PM md/raid0 d0: EQUAL
2011-04-21 4:48:32 PM md/raid0 d0: looking at sdh
2011-04-21 4:48:32 PM md/raid0 d0: comparing sdh(117228544) with sdg(117228544)
2011-04-21 4:48:32 PM md/raid0 d0: EQUAL
2011-04-21 4:48:32 PM md/raid0 d0: FINAL 1 zones
2011-04-21 4:48:32 PM md/raid0 d0: done.
2011-04-21 4:48:32 PM md/raid0 d0: md_size is 468914176 sectors.
2011-04-21 4:48:32 PM ******* md0 configuration *********
2011-04-21 4:48:32 PM zone0=[sdg/sdh/sdi/sdj/]
2011-04-21 4:48:32 PM zone offset=0kb device offset=0kb size=234457088kb
2011-04-21 4:48:32 PM **********************************
2011-04-21 4:48:32 PM
2011-04-21 4:48:32 PM md0 detected capacity change from 0 to 240084058112
2011-04-21 4:48:32 PM md0 unknown partition table

Now mdadm detects and activates the partiton, however my gui partitioning programs see each individual drive, not the array. When I run parted from the command line it detected the array and partitioned it without a problem. I am stymied at this point. I am new to dealing with RAIDs, however my understanding was that since this has it's own hardware controller, shouldn't it automatically be passed on as is to the kernel?
Any help with this would be appreciated.
 
Old 04-22-2011, 08:46 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,152

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
From their datasheet:
Quote:
Thanks to a proprietary RAID 0 design
Now what does that mean? If it was true hardware RAID, you would only see one drive. If it was generic disk, you wouldn't need a driver for Windows. I think it is somewhere in between; it presents four disks to the host and the Windows driver supports the "proprietary" RAID striping.

You don't say what GUI you are using. In software RAID, you can always see the individual disks (sd) but you should also have the RAID device (md). Do:
Code:
cat /proc/mdstat
 
Old 04-22-2011, 05:47 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,003

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
"There’s no performance advantage over you running four of your own SF-1200 based SSDs in RAID-0. The RevoDrive x2 is pretty much a four drive SF-1200 SSD on a stick for those who want simplicity. "

http://www.anandtech.com/show/3997/o...rive-x2-review
 
Old 04-23-2011, 12:51 AM   #4
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,152

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
Quote:
Originally Posted by jefro View Post
"There’s no performance advantage over you running four of your own SF-1200 based SSDs in RAID-0. The RevoDrive x2 is pretty much a four drive SF-1200 SSD on a stick for those who want simplicity. "

http://www.anandtech.com/show/3997/o...rive-x2-review
Well. The advantage is that its 4 SF-1200s on one PCIe card. You don't usually have 4 PCIe sockets sitting around.
To roll your own would require buying a RAID card + 4 SSDs. Probably larger and more expensive than the integrated solution.
 
Old 04-23-2011, 01:49 PM   #5
brenainn
LQ Newbie
 
Registered: Oct 2005
Location: Ocean City, NJ
Distribution: PLD
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
If it was true hardware RAID, you would only see one drive.
That's what I thought. So then this isn't a true hardware raid, so using mdadm is the way to go, correct? The gui programs I meant where GParted and KDE Partition Manager.

That now being the case, how do I get it to be detected and initialized at boot-time? I'd really prefer to run my linux system off of it, right now I'm just using it for my vbox drives, and I have to say Windows 7 performs insanely better than on a real system that way!
 
Old 04-24-2011, 12:22 PM   #6
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,152

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
What I've done is to make /boot the first partition of each drive (200 MB or so). Make them RAID 1. Do grub-install on all drives so they are each bootable by themselves. Then the next partition can be your RAID 0 or whatever that holds the OS. So fstab will have:

Code:
/dev/md0      /boot
/dev/md1      /
When installing you need to specify custom disk layout and set up the partitions and RAID at that point. Once the system is up do the grub-install to each disk.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Revodrive + RAID 0 having problems Dual booting simdimdim Linux - Newbie 7 09-22-2011 03:56 PM
[SOLVED] Ubuntu not properly detecting any of my laptop's built devices (HP DV4000) annihilation_ca Linux - Newbie 4 02-13-2011 01:34 PM
Xorg or Gnome not properly detecting displays at startup. PeniWize Linux - Desktop 1 07-16-2010 12:37 PM
External USB/Firewire DVD not detecting properly with Suse 9.2 Marshalle Linux - Laptop and Netbook 2 03-13-2005 05:35 PM
Redhat 9.0 not detecting AGP Geforce FX 5600 properly? I.M.H.D. Linux - Hardware 16 04-07-2004 12:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration