From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YwaYv-0003cU-2P for mharc-grub-devel@gnu.org; Sun, 24 May 2015 14:23:49 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53284) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwaYs-0003cE-MY for grub-devel@gnu.org; Sun, 24 May 2015 14:23:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YwaYp-00082y-Fp for grub-devel@gnu.org; Sun, 24 May 2015 14:23:46 -0400 Received: from mail-lb0-x22b.google.com ([2a00:1450:4010:c04::22b]:35137) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwaYp-00082n-7Z for grub-devel@gnu.org; Sun, 24 May 2015 14:23:43 -0400 Received: by lbbuc2 with SMTP id uc2so40217105lbb.2 for ; Sun, 24 May 2015 11:23:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type; bh=yY057u4KpXAQtzfHJPLcdSV+/eBHw5UJx02pd1hpkS4=; b=Z5ajVgFAXu+57ZM+VNUIb2Cob2FHxI/b1WsmOnIQ6Is4DIz6xq0XTmT2Tg2VmD9Yc1 zWt8vCbQHjR7m6D6aa7sIUYVqwWpoWo3N4nk3bG1mgsjwtra8bQ85uYyrQyMr/9o1fQR 9M0qSD77ieAAL0WjZRJMnWInlaLWskVsrJDs+Dtg7LIvfA1A3TV8IfxMmqqo9SMvvqY0 gaFK71hVvFV5SLxpkbo7PTyeuoTVMWPI7sx7mSY7A0EP5Iz5YW1fxvqgdhtyDAKCKI2N 53gpp27Bfi9RLujDJHxnAqM8Exxw2Vj+P860WNM4eFcdug05Z41mjPAD1VQpi4jVlCkl Z2cA== X-Received: by 10.112.242.40 with SMTP id wn8mr15114199lbc.57.1432491822368; Sun, 24 May 2015 11:23:42 -0700 (PDT) Received: from opensuse.site (ppp91-76-14-38.pppoe.mtu-net.ru. [91.76.14.38]) by mx.google.com with ESMTPSA id xh4sm1889400lac.19.2015.05.24.11.23.40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 May 2015 11:23:41 -0700 (PDT) Date: Sun, 24 May 2015 21:23:39 +0300 From: Andrei Borzenkov To: Paul Menzel Subject: Re: disk/ahci: Unaligned pointer with old commit as coreboot payload Message-ID: <20150524212339.6bb1cac0@opensuse.site> In-Reply-To: <1432470628.2492.1.camel@users.sourceforge.net> References: <1432451020.3711.13.camel@users.sourceforge.net> <20150524131559.5cd2fe94@opensuse.site> <1432470628.2492.1.camel@users.sourceforge.net> X-Mailer: Claws Mail 3.11.0 (GTK+ 2.24.27; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/zpeetfFNegB.wZVc686PeUr"; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::22b Cc: grub-devel@gnu.org 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, 24 May 2015 18:23:47 -0000 --Sig_/zpeetfFNegB.wZVc686PeUr Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =D0=92 Sun, 24 May 2015 14:30:28 +0200 Paul Menzel =D0=BF=D0=B8=D1=88=D0=B5=D1= =82: > Dear Andrei, >=20 >=20 > Am Sonntag, den 24.05.2015, 13:15 +0300 schrieb Andrei Borzenkov: > > =D0=92 Sun, 24 May 2015 09:03:40 +0200 Paul Menzel =D0=BF=D0=B8=D1=88= =D0=B5=D1=82: > > > > > further trying to bisect the AHCI regression on, that the GRUB payload > > > does not detect the AHCI drive [1], I tried to build GRUB from commits > > > changing `grub-core/disk/ahci.c`, I built commit dc2a6c8b (Improve AH= CI > > > detection and command issuing.), but it it fails to boot with > > >=20 > > > Unaligned pointer =E2=80=A6 > > > Aborted. > > >=20 > > > The same happens, when I just checkout that revision for `ahci.c` and > > > leave the rest as is. > > >=20 > > > $ git checkout dc2a6c8b0e3dfe3bce78dbe0febcd9d4d9038411 -- gr= ub-core/disk/ahci.c > > > $ ./autogen.sh > > > $ ./configure --with-plattform=3Dcoreboot > > > $ make -j > > > $ make default_payload.elf > > >=20 > > > I=E2=80=99ll attach that version of `ahci.c` to this message. Do you = see what > > > could be causing that unaligned pointer? > > >=20 > >=20 > > It is not clear - do you mean that this specific revision has this > > problem and others not? Or that this problem happens since this > > revision? >=20 > It=E2=80=99s happening whenever `ahci.c` from commit dc2a6c8b is used (wi= th > commit dc2a6c8b and master). >=20 It does not really answer my question - do you get this unaligned access with current master? --Sig_/zpeetfFNegB.wZVc686PeUr Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlViFysACgkQR6LMutpd94z3dwCcCppYl/+ThF6omZVCNchMsRgC yjUAnjjENKkVENZo6AvOOAseu8oCBaZZ =i7jP -----END PGP SIGNATURE----- --Sig_/zpeetfFNegB.wZVc686PeUr--