Received: from list by lists.gnu.org with archive (Exim 4.71) id 1UWQLH-0008RM-Kj for mharc-grub-devel@gnu.org; Sun, 28 Apr 2013 08:04:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52315) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UWQLD-0008Pu-AX for grub-devel@gnu.org; Sun, 28 Apr 2013 08:04:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UWQLA-0001QB-LS for grub-devel@gnu.org; Sun, 28 Apr 2013 08:04:27 -0400 Received: from mail.gw90.de ([188.40.100.199]:52353) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UWQLA-0001Pw-EO for grub-devel@gnu.org; Sun, 28 Apr 2013 08:04:24 -0400 Received: from e178072239.adsl.alicedsl.de ([85.178.72.239] helo=[192.168.2.49]) by mail.gw90.de with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1UWQLA-0001HD-50 for grub-devel@gnu.org; Sun, 28 Apr 2013 12:04:24 +0000 Message-ID: <1367150661.4598.32.camel@mattotaupa> Subject: Re: GRUB as coreboot payload with *working* AHCI mode support From: Paul Menzel To: grub-devel@gnu.org Date: Sun, 28 Apr 2013 14:04:21 +0200 In-Reply-To: <517D0723.6040805@gmail.com> References: <1367139772.4598.14.camel@mattotaupa> <517D0723.6040805@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-m/TYl/tNW4cZXtvaKMqq" X-Mailer: Evolution 3.4.4-3 Mime-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 188.40.100.199 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Apr 2013 12:04:29 -0000 --=-m/TYl/tNW4cZXtvaKMqq Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Am Sonntag, den 28.04.2013, 13:25 +0200 schrieb Vladimir '=CF=86-coder/phco= der' Serbinenko: > On 28.04.2013 11:02, Paul Menzel wrote: [=E2=80=A6] > > 02.316: <1b>[H<1b>[J<1b>[1;1Hdisk/ahci.c:211: dev: 0:11.0 > >=20 > > Here the debug messages start as there is `set debug=3D"ahci"` in > > `grub.cfg` in the memdisk. (Not sure where the strange characters in th= e > > beginning come from though.) >=20 > It's an escape sequence ehich causes screen clear when running vt100 > compatible terminal. Good to know. Thanks. I used `readserial.py` from SeaBIOS [1] which prints the timing at the beginning. It looks like it ignores such sequences. > > 02.317: disk/ahci.c:267: AHCI is in compat mode. Switching > >=20 > > I have to read about that and figure out, if and where I can configure > > that mode in coreboot. Vladimir, could you please add to the error > > message, to what mode the mode is switched to? >=20 > It's not an error, it's perfectly specified part of AHCI startup. It's > GHC.AE Sorry, I meant debug message and not error message. As mentioned on IRC, I thought I had configured coreboot to set it into AHCI mode and have to find out, why it does not set this bit. > > 10.269:=20 > > 10.269: <1b>[m<1b>[4;2H+---------------------------------------= -------------------------------------+<1b>[5;2H|<1b>[5;79H|<1b>[6;2H|<1b>[6= ;79H|<1b>[7;2H|<1b>[7;79H|<1b>[8;2H|<1b>[8;79H|<1b>[9;2H|<1b>[9;79H|<1b>[10= ;2H|<1b>[10;79H|<1b>[11;2H|<1b>[11;79H|<1b>[12;2H|<1b>[12;79H|<1b>[13;2H|<1= b>[13;79H|<1b>[14;2H|<1b>[14;79H|<1b>[15;2H|<1b>[15;79H|<1b>[16;2H|<1b>[16;= 79H|<1b>[17;2H+------------------------------------------------------------= ----------------+<1b>[m<1b>[18;2H<1b>[m > > 10.269: Use the ^ and v keys to select which entry is hig= hlighted. > > 10.269: Press enter to boot the selected OS, `e' to edit = the commands > > 10.269: before booting or `c' for a command-line. > > [=E2=80=A6] > >=20 > > So my Western Digital WD20EARS seems to take about ten seconds to start > > up. (Under SeaBIOS it has the same behavior.) >=20 > Hm, it's somewhat slow to spinup but sounds credible that some drives > would need so much time. I only have one comparison setup. On a T60 the laptop drive Hitachi HTS7210=E2=80=A6 seems to only take five seconds for spin-up. Thanks, Paul [1] http://review.coreboot.org/gitweb?p=3Dseabios.git;a=3Dblob;f=3Dtools/re= adserial.py;h=3Dd85392eba67933e85ff58ab1ad53db6dd3759b29;hb=3DHEAD --=-m/TYl/tNW4cZXtvaKMqq Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEABECAAYFAlF9EEUACgkQPX1aK2wOHVhDeACbBeUIh0JsJREtIulVtgfKTQwp LUgAn3RtYsnmpdQUv3TlAst0AKPARzrs =cxVT -----END PGP SIGNATURE----- --=-m/TYl/tNW4cZXtvaKMqq--