NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-evbarm/49448: sata disk no longer works on cubietruck under src/sys/dev/ic/ahcisata_core.c,v 1.52



The following reply was made to PR port-evbarm/49448; it has been noted by GNATS.

From: Takahiro HAYASHI <t.hash425%gmail.com@localhost>
To: mk%kilbi.de@localhost, gnats-bugs%netbsd.org@localhost
Cc: port-evbarm-maintainer%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
 netbsd-bugs%netbsd.org@localhost
Subject: Re: port-evbarm/49448: sata disk no longer works on cubietruck under
 src/sys/dev/ic/ahcisata_core.c,v 1.52
Date: Sat, 06 Dec 2014 17:44:01 +0900

 On 12/05/14 19:55, Markus Kilbinger wrote:
 > 2014-12-05 9:15 GMT+01:00 Martin Husemann <martin%duskware.de@localhost>:
 >> The following reply was made to PR port-evbarm/49448; it has been noted by GNATS.
 >>
 >> From: Martin Husemann <martin%duskware.de@localhost>
 >> To: gnats-bugs%NetBSD.org@localhost
 >>
 >>   It works for me:
 >>
 >>   wd0 at atabus0 drive 0
 >>   wd0: <WDC WD3200KS-00PFB0>
 >>   wd0: drive supports 16-sector PIO transfers, LBA48 addressing
 >>   wd0: 298 GB, 620181 cyl, 16 head, 63 sec, 512 bytes/sect x 625142448 sectors
 >> [...]
 >>   But I see joerg already changed things again, so this seems to be disk
 >>   specific.
 >
 > Interesting! Even joergs recent change (ahcisata_core .c v1.53) did
 > _not_ help in my situation / with my sata disk which still is not
 > correctly detected (get the same error as before).
 >
 > Any hint what to change to narrow down the problem?
 
 FYI.
 My Cubieboard2 with any revisions of ahcisata_core.c does not recognize
 my ST9500325AS 2.5inch hard drive (powerd from cb2 board) at boot, but
 it does by "drvctl -r -a ata_hl atabus0" after boot.
 I tried to increase 2nd arg of ahci_exit_fis() around WDCTL_RST
 from 100 to 3000, then my cb2 recognizes my ST9500325AS at boot.
 When this harddrive is powerd from external power supply, not from cb2,
 it is recognized at boot without modifying ahcisata_core.c.
 
 I changed power supply for my cb2 from 5V 3000mA to 5V 4A but
 same result.
 
 
 -- 
 t-hash
 


Home | Main Index | Thread Index | Old Index