Re: Adaptec 1420SA support?

From: Dmitry Morozovsky <marck_at_rinet.ru>
Date: Sun, 20 Apr 2008 18:59:18 +0400 (MSD)
On Thu, 17 Apr 2008, Scott Long wrote:

SL> > You can try this patch.
SL> > http://butcher.heavennet.ru/patches/kernel/ata/marvell/adaptec.diff
SL> 
SL> That should at least make the chip start to do I/O.  I'm not sure if the
SL> BIOS-based RAID will work in FreeBSD, though.  Make sure you have the
SL> ata-raid device loaded so it can at least try to work.  If it doesn't,
SL> do a 'dd' dump of the very last sector of the disks and send it to me.

well, after patching RELENG_7 I have (verbose booting)

atapci4: <Adaptec 1420SA SATA300 controller> port 0xe800-0xe8ff mem 
0xefd00000-0xefdfffff irq 17 at device 0.0 on pci3
ioapic0: routing intpin 17 (PCI IRQ 17) to vector 55
atapci4: [MPSAFE]
atapci4: [ITHREAD]
atapci4: Reserved 0x100000 bytes for rid 0x10 type 3 at 0xefd00000
ata8: <ATA channel 0> on atapci4
ata8: SATA connect time=0ms
ata8: reset tp1 mask=01 ostat0=50 ostat1=00
ata8: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata8: reset tp2 stat0=50 stat1=00 devices=0x1<ATA_MASTER>
ata8: [MPSAFE]
ata8: [ITHREAD]
ata9: <ATA channel 1> on atapci4
ata9: SATA connect time=0ms
ata9: reset tp1 mask=01 ostat0=50 ostat1=00
ata9: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata9: reset tp2 stat0=50 stat1=00 devices=0x1<ATA_MASTER>
ata9: [MPSAFE]
ata9: [ITHREAD]
ata10: <ATA channel 2> on atapci4
ata10: SATA connect status=00000000
ata10: [MPSAFE]
ata10: [ITHREAD]
ata11: <ATA channel 3> on atapci4
ata11: SATA connect status=00000000
ata11: [MPSAFE]
ata11: [ITHREAD]

...

ata8-master: pio=PIO4 wdma=WDMA2 udma=UDMA133 cable=40 wire
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: FreeBSD check1 failed
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: FreeBSD check1 failed
ATA PseudoRAID loaded

but no BIOS-enable RAID1 detected.

The last sectors seem to be:

--------------------------------------
# dd if=/dev/ad16 skip=156301487 | hd
1+0 records in
1+0 records out
512 bytes transferred in 0.013673 secs (37446 bytes/sec)
00000000  11 de 11 de d1 1f a7 c1  a0 67 cf 2d 05 90 41 02  |.........g.-..A.|
00000010  a0 67 cf 2d f0 69 cf 2d  40 6c cf 2d ff ff ff ff  |.g.-.i.-_at_l.-....|
00000020  30 32 2e 30 30 2e 30 30  ff ff ff ff ff ff ff ff  |02.00.00........|
00000030  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
*
00000060  a4 f8 50 09 00 00 00 00  ff ff ff ff ff ff ff ff  |..P.............|
00000070  00 ff ff ff 00 80 00 00  a4 78 50 09 00 00 00 00  |.........xP.....|
00000080  0f 00 04 00 01 00 02 00  ff ff ff ff ff ff ff ff  |................|
00000090  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
*
000000c0  01 00 00 00 01 00 00 00  02 00 00 00 02 00 00 00  |................|
000000d0  04 00 00 00 01 00 00 00  05 00 00 00 04 00 00 00  |................|
000000e0  09 00 00 00 01 00 00 00  ff ff ff ff 00 00 00 00  |................|
000000f0  ff ff ff ff 00 00 00 00  0a 00 00 00 01 00 00 00  |................|
00000100  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
*
00000200
--------------------------------------
# dd if=/dev/ad18 skip=156301487 | hd
1+0 records in
1+0 records out
00000000  11 de 11 de d1 1f a7 c1  a0 67 cf 2d 05 90 41 02  |.........g.-..A.|
512 bytes transferred in 0.016298 secs (31415 bytes/sec)
00000010  a0 67 cf 2d f0 69 cf 2d  40 6c cf 2d ff ff ff ff  |.g.-.i.-_at_l.-....|
00000020  30 32 2e 30 30 2e 30 30  ff ff ff ff ff ff ff ff  |02.00.00........|
00000030  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
*
00000060  a4 f8 50 09 00 00 00 00  ff ff ff ff ff ff ff ff  |..P.............|
00000070  00 ff ff ff 00 80 00 00  a4 78 50 09 00 00 00 00  |.........xP.....|
00000080  0f 00 04 00 01 00 02 00  ff ff ff ff ff ff ff ff  |................|
00000090  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
*
000000c0  01 00 00 00 01 00 00 00  02 00 00 00 02 00 00 00  |................|
000000d0  04 00 00 00 01 00 00 00  05 00 00 00 04 00 00 00  |................|
000000e0  09 00 00 00 01 00 00 00  ff ff ff ff 00 00 00 00  |................|
000000f0  ff ff ff ff 00 00 00 00  0a 00 00 00 01 00 00 00  |................|
00000100  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
*
00000200
--------------------------------------



BTW, would you please remind me which option should I activate in kernel config 
to avoid mixing kernel output log lines like

bgNeF1S:  RlOiOnTk:  s1t9a5t.e5 4c.h1a9n2g.e5d5 :t/ol hD/OPWXNE

? Quick googling did not help.

Thanks!

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 - 12:59:23 UTC

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