Date: Mon, 12 May 2008 06:14:31 +0400 From: Andrey Chernov <ache@nagual.pp.ru> To: sos@freebsd.org, grehan@freebsd.org, current@freebsd.org Subject: Re: atadev->param.model problem or bug with Marvell 88SE6811 chip Message-ID: <20080512021430.GA5966@nagual.pp.ru> In-Reply-To: <20080511004607.GA67182@nagual.pp.ru> References: <20080511004607.GA67182@nagual.pp.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
If I comment out isprint() check like that: if (!error /*&& (isprint(atadev->param.model[0]) || isprint(atadev->param.model[1]))*/) { I got semi-meaningful detection results and 2 devices present (all CD/DVD info is right here but DMA/transfer mode is wrong): ata2-master: pio=PIO0 wdma=UNSUPPORTED udma=UNSUPPORTED cable=40 wire ata2-slave: pio=PIO0 wdma=UNSUPPORTED udma=UNSUPPORTED cable=40 wire acd0: FAILURE - SETFEATURES SET TRANSFER MODE status=51<READY,DSC,ERROR> error=4<ABORTED> acd0: <1./> DVDROM drive at ata2 as master acd0: read 10820KB/s (1720KB/s), 2048KB buffer, BIOSPIO acd0: Reads: CDR, CDRW, CDDA stream, DVDROM, DVDR, DVDRAM, packet acd0: Writes: acd0: Audio: play, 256 volume levels acd0: Mechanism: ejectable tray, unlocked acd0: Medium: DVD 120mm data disc acd1: <17 24 1./84 19> DVDR drive at ata2 as slave acd1: read 8268KB/s (8268KB/s) write 8268KB/s (8268KB/s), 2048KB buffer, PIO0 acd1: Reads: CDR, CDRW, CDDA stream, DVDROM, DVDR, packet acd1: Writes: CDR, CDRW, DVDR, test write, burnproof acd1: Audio: play, 2 volume levels acd1: Mechanism: ejectable tray, unlocked acd1: Medium: no/blank disc But... The ATA driver takes a long time to reinit ata2 channel at the boot and mount failed with several reinit attempts too, so something else is wrong with this chip initialization besides strange model field:( Like I already say, it works under M$ Win perfectly with standard windows IDE driver. -- http://ache.pp.ru/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080512021430.GA5966>