Subject: Re: kernel driver support for Dell 5/iR raid controller
To: Brandon Lee <brandon@xcodes.net>
From: Adam Hamsik <haaaad@gmail.com>
List: tech-kern
Date: 06/28/2007 11:41:02
On Jun 28, 2007, at 3:58 AM, Brandon Lee wrote:

> On 6/28/07, pierre-philipp braun <pbraun@nethence.com> wrote:
>> (posted to tech-kern, not i386 & current-users)
>>
>> Hi,
>>
>> I've tryed NetBSD current (20070513 or 16) on a poweredge 2900,  
>> SAS Dell
>> PERC 5/i.  dmesg atteched.  It worked, but _very_ slowly,
>>
>> bsdp# time dd if=/dev/zero of=lala.zero count=100 bs=1024k
>> 100+0 records in
>> 100+0 records out
>> 104857600 bytes transferred in 7.251 secs (14461122 bytes/sec)
>>          7.26 real         0.00 user         0.34 sys
>>
>> bsdp# sh ./bench.sh
>> 100+0 records in
>> 100+0 records out
>> 104857600 bytes transferred in 13.590 secs (7715791 bytes/sec)
>>         13.61 real         0.00 user         0.42 sys
>> 100+0 records in
>> 100+0 records out
>> 104857600 bytes transferred in 16.508 secs (6351926 bytes/sec)
>>         16.56 real         0.00 user         0.44 sys
>>
>>
>>
>> in comparaison, SLES9sp3 + Dell official drivers (I know, it's  
>> unfair),
>>
>> slesp:~ # time dd if=/dev/zero of=lala.zero count=100 bs=1024k
>> 100+0 records in
>> 100+0 records out
>>
>> real    0m0.310s
>> user    0m0.000s
>> sys     0m0.309s
>>
>>
>> slesp:~ # sh bench.sh
>> 100+0 records in
>> 100+0 records out
>>
>> real    0m0.503s
>> user    0m0.000s
>> sys     0m0.492s
>> 100+0 records in
>> 100+0 records out
>> slesp:~ #
>> real    0m0.734s
>> user    0m0.000s
>> sys     0m0.722s
>>
>>
>> bench.sh:
>> #!/bin/sh
>> time dd if=/dev/zero of=lala.zero count=100 bs=1024k &
>> time dd if=/dev/zero of=lala2.zero count=100 bs=1024k
>> rm lala.zero
>> rm lala2.zero
>>
>>
>> Pierre-Philipp
>>
>> Brandon Lee wrote:
>> > Hi,
>> >
>> > Recently i have got a DELL SC440 that comes with RAID controller 
>> (Dell
>> > Serial-Attached SCSI 5/iR controller).  I was installing the server
>> > with NetBSD4 200706230002Z snapshot iso but the installer complain
>> > that there was no harddisk found.
>> >
>> > Tried to boot off CentOS 5 and manage to find out the RAID  
>> Controller
>> > device is "LSI Logic / Symbios Logic SAS1068 PCI-X Fusion-MPT SAS"
>> > using mptbase and mptsas linux kernel modules.  Have tried to  
>> google
>> > on BSD variants with that RAID controller and the closest match was
>> > OpenBSD mpi driver.
>> >
>> > Are there any work on this driver support in NetBSD?  Attached  
>> is my
>> > dmesg during installation.
>> >
>> [snip]
>
> Hi,
>
> Thanks for the dmesg.  The dmesg was from an already installed NetBSD
> current on your box?  I cant even get the installation iso done on my
> box, so i do not think i would be able to upgrade to the current
> without getting NetBSD installed.
>
try current iso from NetBSD-daily HEAD is build twice a day now.

> From your dmesg, your RAID controller seems to be "DELL PERC 5/i" :
> sd0 at scsibus2 target 0 lun 0: <DELL, PERC 5/i, 1.00> disk fixed
> sd0: fabricating a geometry
> sd0: 136 GB, 139392 cyl, 64 head, 32 sec, 512 bytes/sect x  
> 285474816 sectors
>
> My RAID controller is detected as "DELL SAS 5i/R" model in linux.  And
> further looking at my netbsd installer's dmesg, it seems the network
> card is also not supported by the iso.
>
> any help????
>
>
> -- 
> ./Brandon

Regards
-----------------------------------------
Adam Hamsik
jabber: haad@jabber.org
icq: 249727910

Proud NetBSD user.

We program to have fun.
Even when we program for money, we want to have fun as well.
~ Yukihiro Matsumoto