From owner-freebsd-current@FreeBSD.ORG Sun Apr 20 15:38:57 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2981E106566C; Sun, 20 Apr 2008 15:38:57 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id AED988FC1A; Sun, 20 Apr 2008 15:38:56 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.2/8.14.1) with ESMTP id m3KFctFv052021; Sun, 20 Apr 2008 19:38:55 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Sun, 20 Apr 2008 19:38:55 +0400 (MSD) From: Dmitry Morozovsky To: Scott Long In-Reply-To: <20080420192735.G56317@woozle.rinet.ru> Message-ID: <20080420193212.Y56317@woozle.rinet.ru> References: 9060000000212025383 <1415691208445504@webmail12.yandex.ru> <48077B1C.5070608@samsco.org> <20080420185448.X56317@woozle.rinet.ru> <480B5DA0.6030404@samsco.org> <20080420192735.G56317@woozle.rinet.ru> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (woozle.rinet.ru [0.0.0.0]); Sun, 20 Apr 2008 19:38:55 +0400 (MSD) Cc: "Andrey V. Elsukov" , emaste@freebsd.org, current@freebsd.org, sos@freebsd.org Subject: Re: Adaptec 1420SA support? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Apr 2008 15:38:57 -0000 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 ' DM> /usr/src/sys/dev/ata/ata-raid-ddf.h:94: warning: '__packed__' attribute ignored DM> for field of type 'struct ' Well, I removed __packed from inner structures and kernel compiled. Boot from here produced info which is close to reality: -------------------------------------------------------- ad16: 76319MB 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 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 ad16: sectors 155985920 disk 1: flags = 0x0b b ad18: sectors 155985920 ================================================= ar0: 76165MB status: READY ar0: 155985920 sectors [9709C/255H/63S] 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@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------