From owner-freebsd-current@FreeBSD.ORG Sun Apr 20 15:29:05 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 9C3951065674; Sun, 20 Apr 2008 15:29:05 +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 1B5768FC1F; Sun, 20 Apr 2008 15:29:04 +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 m3KFT3xW093530; Sun, 20 Apr 2008 19:29:03 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Sun, 20 Apr 2008 19:29:03 +0400 (MSD) From: Dmitry Morozovsky To: Scott Long In-Reply-To: <480B5DA0.6030404@samsco.org> Message-ID: <20080420192735.G56317@woozle.rinet.ru> References: 9060000000212025383 <1415691208445504@webmail12.yandex.ru> <48077B1C.5070608@samsco.org> <20080420185448.X56317@woozle.rinet.ru> <480B5DA0.6030404@samsco.org> 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:29:04 +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:29:05 -0000 On Sun, 20 Apr 2008, Scott Long wrote: SL> > SL> > http://butcher.heavennet.ru/patches/kernel/ata/marvell/adaptec.diff SL> > SL> SL> That should at least make the chip start to do I/O. I'm not sure SL> > if the SL> > SL> BIOS-based RAID will work in FreeBSD, though. Make sure you have the SL> > SL> ata-raid device loaded so it can at least try to work. If it doesn't, SL> > SL> do a 'dd' dump of the very last sector of the disks and send it to me. SL> > SL> > well, after patching RELENG_7 I have (verbose booting) SL> > SL> > atapci4: port 0xe800-0xe8ff mem SL> > 0xefd00000-0xefdfffff irq 17 at device 0.0 on pci3 SL> > ioapic0: routing intpin 17 (PCI IRQ 17) to vector 55 SL> > atapci4: [MPSAFE] SL> > atapci4: [ITHREAD] SL> > # dd if=/dev/ad18 skip=156301487 | hd SL> > 1+0 records in SL> > 1+0 records out SL> > 00000000 11 de 11 de d1 1f a7 c1 a0 67 cf 2d 05 90 41 02 SL> > |.........g.-..A.| SL> SL> Please apply the following patch to the /sys/dev/ata directory: SL> SL> http://people.freebsd.org/~scottl/ataraid-ddf.diff SL> SL> And add the following file to the same directory: SL> SL> http://people.freebsd.org/~scottl/ata-raid-ddf.h Path applied cleanly, but the following error occured: cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/dev/ata/ata-raid.c cc1: warnings being treated as errors In file included from /usr/src/sys/dev/ata/ata-raid.c:53: /usr/src/sys/dev/ata/ata-raid-ddf.h:87: warning: '__packed__' attribute ignored for field of type 'struct ' /usr/src/sys/dev/ata/ata-raid-ddf.h:94: warning: '__packed__' attribute ignored for field of type 'struct ' Or, should I try it with HEAD kernel sources? Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------