NetBSD-Bugs archive

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

Re: port-arm/50029: External SATA HDD of CubieBoard 2 is not detected under NetBSD/evbearmv7hf-el current



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

From: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>
To: jmcneill%invisible.ca@localhost
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: port-arm/50029: External SATA HDD of CubieBoard 2 is not
 detected under NetBSD/evbearmv7hf-el current
Date: Sun, 05 Jul 2015 16:52:27 +0900 (JST)

 Hi,
 
 This does not help me.
 I have no error message, however wd(4) is not detected.
 
 Hayashi-san (t-hash) tells me his trial.
 See
 https://mail-index.netbsd.org/netbsd-bugs/2014/12/06/msg039340.html .
 
 I have changed power supply to external one, and wd(4) is detected
 without any patch.
 
 When I use internal power supply from Cubieboard 2, following patch
 help me.
 My HDD is WD800BEFS-00RTS0. I have no another 2.5-inch SATA HDD...
 
 Thank you very much.
 
 Index: sys/dev/ic/ahcisata_core.c
 ===================================================================
 RCS file: /cvsroot/src/sys/dev/ic/ahcisata_core.c,v
 retrieving revision 1.54
 diff -u -r1.54 ahcisata_core.c
 --- sys/dev/ic/ahcisata_core.c	24 May 2015 22:30:05 -0000	1.54
 +++ sys/dev/ic/ahcisata_core.c	5 Jul 2015 07:48:59 -0000
 @@ -741,7 +741,7 @@
  	cmd_tbl->cmdt_cfis[fis_type] = RHD_FISTYPE;
  	cmd_tbl->cmdt_cfis[rhd_c] = drive;
  	cmd_tbl->cmdt_cfis[rhd_control] = 0;
 -	switch(ahci_exec_fis(chp, 310, flags)) {
 +	switch(ahci_exec_fis(chp, 2500, flags)) {
  	case ERR_DF:
  	case TIMEOUT:
  		if ((sc->sc_ahci_quirks & AHCI_QUIRK_BADPMPRESET) != 0 &&
 
 --
 Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
 PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3
 


Home | Main Index | Thread Index | Old Index