atadev->param.model problem or bug with Marvell 88SE6811 chip

Andrey Chernov ache at nagual.pp.ru
Mon May 12 02:14:35 UTC 2008


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/


More information about the freebsd-current mailing list