Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Aug 2008 15:12:59 +0200
From:      Sebastiaan van Erk <sebster@sebster.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: Stable SATA pci card for FreeBSD 6.x/7.0
Message-ID:  <489851DB.20406@sebster.com>
In-Reply-To: <20080805121632.GA88406@eos.sc1.parodius.com>
References:  <48982B58.4000406@sebster.com> <20080805121632.GA88406@eos.sc1.parodius.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hi,

Thanks for the reply.

Jeremy Chadwick wrote:
> Yes, most of the Silicon Image ICs I've read about have odd driver
> problems or general issues (even under Windows).  The system rebooting
> is an odd one; you sure your PSU can handle two disks?

Well, I've got a 450W Asus PSU in there, but I've also got 6 hard disks
and 1 dvd-rom drive (mostly inactive) in there. The hard disks are
mostly 250/300GB but the two new ones are 1TB SATA drives. But the 450W
should easily be enough, shouldn't it?

>> Does anybody have experience with a (preferably not too expensive)  
>> 2-port SATA expansion card which does not have any issues running under  
>> FreeBSD 6.3/7.0?
> 
> Promise makes some consumer-priced cards which work very well under
> FreeBSD (sos@ has full documentation on their cards).
  >
> Their RAID controllers (the consumer-level ones) **do not** require that
> you use RAID; they support JBOD, and the disks will show up under
> FreeBSD as ad(4) devices.  (If you choose to use the RAID, you'll still
> see the ad(4) disks, but you'll also see an ar(4) device too.  This has
> the added advantage of you being able to monitor SMART stats on the
> disks themselves directly, etc...

I'll have a look at that if I can't get this one stable. They're
reasonably priced, so if they're good with FreeBSD then that looks like
a good option to me.

>> [pciconf -lv output]
>> atapci0@pci0:10:0:      class=0x018000 card=0x35121095 chip=0x35121095  
>> rev=0x01
>> hdr=0x00
>>     vendor     = 'Silicon Image Inc (Was: CMD Technology Inc)'
>>     device     = 'Sil 3512 SATALink/SATARaid Controller'
>>     class      = mass storage
>>
>> [/var/log/messages before the crash]
>> Aug  5 11:16:14 piglet kernel:  
>> g_vfs_done():mirror/gm1s1e[WRITE(offset=111376236544, length=16384)] error = 6
>> Aug  5 11:16:17 piglet last message repeated 9 times
> 
> Are you sure this is being caused by the controller?  Have you checked
> SMART statistics on both disks?  Assuming error == errno, errno 6 is
> "Device not configured".

I did look at the smart stats [pasted them below]. What I will try next
is just to switch the two 250GB SATA drives on my main board with the
two 1TB drives on the controller and see if I still get the problems if
I really increase the load on the two 1TB drives.

> There's been recent discussion of such messages being caused by the use
> of gmirror or gjournal, when the mirror/journal is improperly set up.
> (In one users' case, he was receiving similar errors, as well as the
> filesystem failing during fsck.  Turns out he incorrectly configured
> journalling, which nuked the last ~1MB of his UFS filesystem.)
> 
> I'm not saying this is the reason for the messages you see, but it's
> something to keep in mind.

I'll try reconfigure the geom. I used an online tutorial, but I'm not
quite sure that I did everything correctly, though fsck worked alright.
I did do this one differently than usual though, usually I use full disk
mirror after I already initialized one of the disks, and then I convert
it to a mirror by using:

sysctl kern.geom.debugflags=16
gmirror label -v -b round-robin gm0 /dev/ad0
gmirror insert gm0 /dev/ad2

(Especially useful when you want the entire FreeBSD install to be
mirrored). I guess I can try this on the extra disks as well.

Regards,
Sebastiaan

[-- Attachment #2 --]
0	*H
010	+0	*H
	Q00lS|
6$1-~j0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
080630135157Z
090630135157Z0h10Uvan Erk10U*
Sebastiaan10USebastiaan van Erk1"0 	*H
	sebster@sebster.com0"0
	*H
0
Va\bEnݚa<M8ʄ^tv>x73bohi2oqS_¶Bm^p*I	x"9pt!jar#)n)^?'z<).+Ѐ4igR'UP*\Ւ,?.;?fBܯTzM IDվCK*3Yŧ
mcaztxʐsq/00.0U0sebster@sebster.com0U00
	*H
KT4W6ӽq]
tS` %f1G:HbzJj$EjE'JV~-VbVnJZE/`@@04!+T:c	پf`$Z=1#|oG[OBRG00lS|
6$1-~j0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
080630135157Z
090630135157Z0h10Uvan Erk10U*
Sebastiaan10USebastiaan van Erk1"0 	*H
	sebster@sebster.com0"0
	*H
0
Va\bEnݚa<M8ʄ^tv>x73bohi2oqS_¶Bm^p*I	x"9pt!jar#)n)^?'z<).+Ѐ4igR'UP*\Ւ,?.;?fBܯTzM IDվCK*3Yŧ
mcaztxʐsq/00.0U0sebster@sebster.com0U00
	*H
KT4W6ӽq]
tS` %f1G:HbzJj$EjE'JV~-VbVnJZE/`@@04!+T:c	پf`$Z=1#|oG[OBRG0?0
0
	*H
010	UZA10UWestern Cape10U	Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0)	*H
	personal-freemail@thawte.com0
030717000000Z
130716235959Z0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00
	*H
0Ħ<UsUNʙZhup[v:aQP
0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr`00U00CU<0:08642http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 010UPrivateLabel2-1380
	*H
HP.
fgCL!6-6/P p<ab:~t%Pb'qW%ݩ9 Oe_N4[5MwV!x!5$F]_eO1d0`0v0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAS|
6$1-~j0	+0	*H
	1	*H
0	*H
	1
080805131259Z0#	*H
	1urJߨh0R	*H
	1E0C0
*H
0*H
0
*H
@0+0
*H
(0	+71x0v0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAS|
6$1-~j0*H
	1xv0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAS|
6$1-~j0
	*H
X*8N=zS]Np_p"fK%=EN]{;/yye#
DGb-2vGgǩ:wQ(KQ>f>7x
+_C ;Qvt!4&v!C`YLƁ$i]tʍH2>8ưQ|	LP&pt`uB84**:qjsio0_QMn

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?489851DB.20406>