Re: Adaptec 1420SA support?

From: Dmitry Morozovsky <marck_at_rinet.ru>
Date: Sun, 20 Apr 2008 19:38:55 +0400 (MSD)
On Sun, 20 Apr 2008, Dmitry Morozovsky wrote:

DM> Path applied cleanly, but the following error occured:
DM> 
DM> cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls 
DM> -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
DM> -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
DM> -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL 
DM> -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
DM> -finline-limit=8000 --param inline-unit-growth=100 --param 
DM> large-function-growth=1000  -mno-align-long-strings 
DM> -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 
DM> -ffreestanding -Werror  /usr/src/sys/dev/ata/ata-raid.c
DM> cc1: warnings being treated as errors
DM> In file included from /usr/src/sys/dev/ata/ata-raid.c:53:
DM> /usr/src/sys/dev/ata/ata-raid-ddf.h:87: warning: '__packed__' attribute ignored 
DM> for field of type 'struct <anonymous>'
DM> /usr/src/sys/dev/ata/ata-raid-ddf.h:94: warning: '__packed__' attribute ignored 
DM> for field of type 'struct <anonymous>'

Well, I removed __packed from inner structures and kernel compiled. 

Boot from here produced info which is close to reality:

--------------------------------------------------------

ad16: 76319MB <MAXTOR STM380215AS 3.AAD> at ata8-master SATA300
ad16: 156301488 sectors [155061C/16H/63S] 16 sectors/interrupt 1 depth queue
GEOM: new disk ad16
ad16: Adaptec check1 failed
ad16: LSI (v3) check1 failed
ad16: LSI (v2) check1 failed
ad16: DDF pri_lba= 156301476 length= 10 blocks
********* ATA DDF Metadata *********
**** Header ****
DDF_rev= 02.00.00 Sequence_Number= 0xffffffff Open_Flag= 0xff
Primary Header LBA= 156301476 Header_Type = 0x1
Max_PD_Entries= 15 Max_VD_Entries= 4 Max_Partitions= 1 CR_Length= 2
CD= 1:1 PDR= 2:2 VDR= 4:1 CR= 5:4 PDD= 91
**** Controler Data ****
Product_ID: ################
Vendor 0x9005, Device 0x241, SubVendor 0x9005, Sub_Device 0x241
ata9-master: pio=PIO4 wdma=WDMA2 udma=UDMA133 cable=40 wire
ad18: 76319MB <MAXTOR STM380215AS 3.AAD> at ata9-master SATA300
ad18: 156301488 sectors [155061C/16H/63S] 16 sectors/interrupt 1 depth queue
GEOM: new disk ad18
ad18: Adaptec check1 failed
ad18: LSI (v3) check1 failed
ad18: LSI (v2) check1 failed
ad18: DDF pri_lba= 156301476 length= 10 blocks
********* ATA DDF Metadata *********
**** Header ****
DDF_rev= 02.00.00 Sequence_Number= 0xffffffff Open_Flag= 0xff
Primary Header LBA= 156301476 Header_Type = 0x1
Max_PD_Entries= 15 Max_VD_Entries= 4 Max_Partitions= 1 CR_Length= 2
CD= 1:1 PDR= 2:2 VDR= 4:1 CR= 5:4 PDD= 91
**** Controler Data ****
Product_ID: ################
Vendor 0x9005, Device 0x241, SubVendor 0x9005, Sub_Device 0x241
ATA PseudoRAID loaded
********** ATA PseudoRAID ar0 Metadata **********
=================================================
format              DDF
type                RAID1
flags               0x00 0
magic_0             0x00000000eb3f7bea
magic_1             0x0000000000000000
generation          4
total_sectors       155985920
offset_sectors      0
heads               255
sectors             63
cylinders           9709
width               1
interleave          0
total_disks         2
    disk 0:      flags = 0x0b b<ONLINE,ASSIGNED,PRESENT>
        ad16:  sectors 155985920
    disk 1:      flags = 0x0b b<ONLINE,ASSIGNED,PRESENT>
        ad18:  sectors 155985920
=================================================
ar0: 76165MB <DDF RAID1> status: READY
ar0: 155985920 sectors [9709C/255H/63S] <Mole> subdisks defined as:
ar0: disk0 READY (master) using ad16 at ata8-master
ar0: disk1 READY (mirror) using ad18 at ata9-master


--------------------------------------------------------

I'll do some basic checks and follow up with results.

Thank you very much!


Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 marck_at_FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck_at_rinet.ru ***
------------------------------------------------------------------------
Received on Sun Apr 20 2008 - 13:38:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:30 UTC