JMicron Raid Problems on a Gigabyte GA-P35-DS3

Phil Higgins p.higgins at shadowsystems.com.au
Thu Oct 11 00:47:26 UTC 2007


There's also another related issue with the handling of this controller's metadata - if you're not running raid 0, the device name isn't null terminated.

Added null termination and stripping out the spaces made it work for me.

I can post a fairly simple patch for it if people want it and rc15 is not coming really soon. (Have to clean it up a little to make it presentable)

Philip Higgins

-----Original Message-----
From: ataraid-list-bounces at redhat.com [mailto:ataraid-list-bounces at redhat.com] On Behalf Of Heinz Mauelshagen
Sent: Tuesday, 9 October 2007 6:25 PM
To: ATARAID (eg, Promise Fasttrak, Highpoint 370) related discussions
Subject: Re: JMicron Raid Problems on a Gigabyte GA-P35-DS3


Andreas,

a patch to solve this issue will be in 1.0.0.rc15.

Heinz

On Wed, Oct 03, 2007 at 09:08:49PM +0200, Andreas Geringer  wrote:
> I have a Jmicron Controller on my Board and try to setup a Gentoo System on the Raid 0.
> 
> Board: Gigabyte GA-P35-DS3
> OS: Live DVD of Fedora release 7.91 (Rawhide)
> Dmraid: 
> dmraid version:         1.0.0.rc14 (2006.11.08) debug 
> dmraid library version: 1.0.0.rc14 (2006.11.08)
> device-mapper version:  4.11.0
> lspci:
> 03:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
> 03:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
> 
> dmraid -tay shows this
> jmicron_GRAID           : 0 625082368 striped 2 256 /dev/sda 0 /dev/sdb 0
> jmicron_GRAID           1: 0 61440000 linear /dev/mapper/jmicron_GRAID            206848
> jmicron_GRAID           2: 0 501993472 linear /dev/mapper/jmicron_GRAID            61646848
> jmicron_GRAID           3: 0 206785 linear /dev/mapper/jmicron_GRAID            63
> jmicron_GRAID           5: 0 3951927 linear /dev/mapper/jmicron_GRAID            563640383
> jmicron_GRAID           6: 0 57480712 linear /dev/mapper/jmicron_GRAID            567592373
> 
> thats ok and correct, also 
> cfdisk /dev/dm-1 
> shows me the correct partitions
> 
>  ls -lart /dev/mapper/
> total 0
> crw-rw----  1 root root  10, 63 2007-10-03 16:28 control
> brw-rw----  1 root disk 253,  0 2007-10-03 16:28 live-rw
> brw-------  1 root root 253,  1 2007-10-03 20:49 jmicron_GRAID           
> drwxr-xr-x  2 root root     100 2007-10-03 20:57 .
> drwxr-xr-x 13 root root    8580 2007-10-03 20:58 ..
> 
> But the jmicron_GRAID has a lot of spaces at the end of the filename.
> 
> If I try a
> dmraid -ay 
> dmesg shows me this:
> device-mapper: table: 253:2: linear: dm-linear: Device lookup failed
> device-mapper: ioctl: error adding target to table
> device-mapper: table: 253:2: linear: dm-linear: Device lookup failed
> device-mapper: ioctl: error adding target to table
> device-mapper: table: 253:2: linear: dm-linear: Device lookup failed
> device-mapper: ioctl: error adding target to table
> device-mapper: table: 253:2: linear: dm-linear: Device lookup failed
> device-mapper: ioctl: error adding target to table
> device-mapper: table: 253:2: linear: dm-linear: Device lookup failed
> device-mapper: ioctl: error adding target to table
> 
> Maybe somebody can help me.
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Ataraid-list mailing list
> Ataraid-list at redhat.com
> https://www.redhat.com/mailman/listinfo/ataraid-list

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Red Hat GmbH
Consulting Development Engineer                   Am Sonnenhang 11
Storage Development                               56242 Marienrachdorf
                                                  Germany
Mauelshagen at RedHat.com                            PHONE +49  171 7803392
                                                  FAX   +49 2626 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

_______________________________________________
Ataraid-list mailing list
Ataraid-list at redhat.com
https://www.redhat.com/mailman/listinfo/ataraid-list


No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.488 / Virus Database: 269.14.7/1062 - Release Date: 10/10/2007 5:11 PM
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.488 / Virus Database: 269.14.7/1062 - Release Date: 10/10/2007 5:11 PM
 




More information about the Ataraid-list mailing list