Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] hp H222 SAS controller
Date: Fri, 05 Jul 2013 02:05:02
Message-Id: CAEH5T2Md1vT2L46wuUqi+EQGUC3tW84yojgmK_J6Z3ZNx6GMVQ@mail.gmail.com
In Reply to: Re: [gentoo-user] hp H222 SAS controller by "Stefan G. Weichinger"
1 On Thu, Jul 4, 2013 at 4:21 AM, Stefan G. Weichinger <lists@×××××.at> wrote:
2 > My planned box will be a stable gentoo installation so that will mean
3 > 3.8.13 for now. No problem, I assume.
4
5 No problem, I think the mpt2sas driver appeared in kernel around 2.6.3X series.
6
7 > Thanks for your description ... good luck with that!
8 > I will maybe pre-install that system in a VM until the hardware gets
9 > here ;-)
10
11 Today I installed my drives into the SAS enclosure. Everything is
12 working great and I'm getting maximum speed from all drives with
13 simultaneous access. So far I have not experienced any errors or
14 problems. Hopefully your luck is as good as mine!
15
16 Here is how it looks in dmesg:
17
18 [ 4.260179] mpt2sas version 14.100.00.00 loaded
19 [ 4.265444] mpt2sas0: 64 BIT PCI BUS DMA ADDRESSING SUPPORTED,
20 total mem (32800384 kB)
21 [ 4.265498] mpt2sas 0000:06:00.0: irq 98 for MSI/MSI-X
22 [ 4.265607] mpt2sas0-msix0: PCI-MSI-X enabled: IRQ 98
23 [ 4.265609] mpt2sas0: iomem(0x00000000fe3c0000),
24 mapped(0xffffc90000038000), size(16384)
25 [ 4.265611] mpt2sas0: ioport(0x000000000000b000), size(256)
26 [ 4.344822] mpt2sas0: sending message unit reset !!
27 [ 4.346817] mpt2sas0: message unit reset: SUCCESS
28 [ 4.390041] mpt2sas0: Allocated physical memory: size(4219 kB)
29 [ 4.390048] mpt2sas0: Current Controller Queue Depth(1867), Max
30 Controller Queue Depth(2040)
31 [ 4.390052] mpt2sas0: Scatter Gather Elements per IO(128)
32 [ 4.450285] mpt2sas0: LSISAS2008: FWVersion(16.00.00.00),
33 ChipRevision(0x03), BiosVersion(07.31.00.00)
34 [ 4.450291] mpt2sas0: Protocol=(Initiator,Target),
35 Capabilities=(TLR,EEDP,Snapshot Buffer,Diag Trace Buffer,Task Set
36 Full,NCQ)
37 [ 4.453850] mpt2sas0: sending port enable !!
38 [ 4.459383] mpt2sas0: host_add: handle(0x0001),
39 sas_addr(0x500605b0060f40d0), phys(8)
40 [ 4.464832] mpt2sas0: port enable: SUCCESS
41
42 The disks appear as SCSI disks like normal, but with the SAS address included:
43
44 [ 4.466217] scsi 10:0:0:0: Direct-Access ATA
45 ST4000DM000-1F21 CC52 PQ: 0 ANSI: 6
46 [ 4.466228] scsi 10:0:0:0: SATA: handle(0x0009),
47 sas_addr(0x4433221100000000), phy(0), device_name(0x5000c500508bcc46)
48 [ 4.466234] scsi 10:0:0:0: SATA:
49 enclosure_logical_id(0x500605b0060f40d0), slot(0)
50 [ 4.466359] scsi 10:0:0:0: atapi(n), ncq(y), asyn_notify(n),
51 smart(y), fua(y), sw_preserve(y)
52 [ 4.466369] scsi 10:0:0:0: qdepth(32), tagged(1), simple(0),
53 ordered(0), scsi_level(7), cmd_que(1)
54 [ 4.466710] sd 10:0:0:0: Attached scsi generic sg4 type 0
55 [ 4.467172] sd 10:0:0:0: [sdd] 7814037168 512-byte logical blocks:
56 (4.00 TB/3.63 TiB)
57 [ 4.467180] sd 10:0:0:0: [sdd] 4096-byte physical blocks
58
59 Good luck,
60 Paul

Replies

Subject Author
Re: [gentoo-user] hp H222 SAS controller Paul Hartman <paul.hartman+gentoo@×××××.com>