Date: Sun, 20 Apr 2008 19:29:03 +0400 (MSD) From: Dmitry Morozovsky <marck@rinet.ru> To: Scott Long <scottl@samsco.org> Cc: "Andrey V. Elsukov" <bu7cher@yandex.ru>, emaste@freebsd.org, current@freebsd.org, sos@freebsd.org Subject: Re: Adaptec 1420SA support? Message-ID: <20080420192735.G56317@woozle.rinet.ru> In-Reply-To: <480B5DA0.6030404@samsco.org> References: 9060000000212025383 <1415691208445504@webmail12.yandex.ru> <48077B1C.5070608@samsco.org> <20080420185448.X56317@woozle.rinet.ru> <480B5DA0.6030404@samsco.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <Adaptec 1420SA SATA300 controller> 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 <anonymous>' /usr/src/sys/dev/ata/ata-raid-ddf.h:94: warning: '__packed__' attribute ignored for field of type 'struct <anonymous>' 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 *** ------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080420192735.G56317>