From owner-freebsd-current@FreeBSD.ORG Sun Apr 20 14:59:23 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 36CD21065670; Sun, 20 Apr 2008 14:59:23 +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 B9BDD8FC2E; Sun, 20 Apr 2008 14:59:22 +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 m3KExI5J058489; Sun, 20 Apr 2008 18:59:19 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Sun, 20 Apr 2008 18:59:18 +0400 (MSD) From: Dmitry Morozovsky To: Scott Long In-Reply-To: <48077B1C.5070608@samsco.org> Message-ID: <20080420185448.X56317@woozle.rinet.ru> References: 9060000000212025383 <1415691208445504@webmail12.yandex.ru> <48077B1C.5070608@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 18:59:21 +0400 (MSD) Cc: emaste@freebsd.org, "Andrey V. Elsukov" , scottl@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 14:59:23 -0000 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: 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: 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 ata8: [MPSAFE] ata8: [ITHREAD] ata9: 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 ata9: [MPSAFE] ata9: [ITHREAD] ata10: on atapci4 ata10: SATA connect status=00000000 ata10: [MPSAFE] ata10: [ITHREAD] ata11: on atapci4 ata11: SATA connect status=00000000 ata11: [MPSAFE] ata11: [ITHREAD] ... ata8-master: pio=PIO4 wdma=WDMA2 udma=UDMA133 cable=40 wire 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: FreeBSD check1 failed 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: 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.-@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.-@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@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------