Re: Adaptec 1420SA support?

From: Dmitry Morozovsky <marck_at_rinet.ru>
Date: Sun, 20 Apr 2008 19:29:03 +0400 (MSD)
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_at_FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck_at_rinet.ru ***
------------------------------------------------------------------------
Received on Sun Apr 20 2008 - 13:29:05 UTC

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