From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YwSwz-0008No-Ed for mharc-grub-devel@gnu.org; Sun, 24 May 2015 06:16:09 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50389) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwSww-0008NG-CW for grub-devel@gnu.org; Sun, 24 May 2015 06:16:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YwSwt-0005ag-29 for grub-devel@gnu.org; Sun, 24 May 2015 06:16:06 -0400 Received: from mail-lb0-x232.google.com ([2a00:1450:4010:c04::232]:34175) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwSws-0005aX-Pu for grub-devel@gnu.org; Sun, 24 May 2015 06:16:02 -0400 Received: by lbcmx3 with SMTP id mx3so36823262lbc.1 for ; Sun, 24 May 2015 03:16:01 -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=4ninv++5/GvWbNra6FXfQV0Wg0ECKalk2/53RMO+kVQ=; b=eFA8ktmuC0eM5vmKVkqMjiLIU60ial5UvcHD+hFE5zJskeEakolSoyzvycIadlEAV4 Aa0WwxK8ir/bJpXQNQXzRqY3OFssS00S3Hd6Xne23LcClQcKAe8GfKOjlkxw6ME1wTFq X8fQK5aAeoy/jvGaaPC1iRwrPB2D+PsnttabYIse08E6XJku6Ufie/5obEIjztTe1ZiB LlLyGVYlwGNsR9Z3IrK8y8kROUNL5iMYfo7mzz3J7JLhVF/sV5Bh2ia2ouMKXzNopw6Q YpixvG0rQTId9Hf8H0MCBCM0c9kV9SbIuzggAeOeapTr9Ej3CZVtAlHy9GrjQ+uCTGFi vV0g== X-Received: by 10.112.139.130 with SMTP id qy2mr13747881lbb.33.1432462561732; Sun, 24 May 2015 03:16:01 -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 v6sm1668944laa.23.2015.05.24.03.15.59 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 May 2015 03:16:00 -0700 (PDT) Date: Sun, 24 May 2015 13:15:59 +0300 From: Andrei Borzenkov To: Paul Menzel Subject: Re: disk/ahci: Unaligned pointer with old commit as coreboot payload Message-ID: <20150524131559.5cd2fe94@opensuse.site> In-Reply-To: <1432451020.3711.13.camel@users.sourceforge.net> References: <1432451020.3711.13.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_/UscHkugyCt9d6X0_BbwDBkN"; 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::232 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 10:16:07 -0000 --Sig_/UscHkugyCt9d6X0_BbwDBkN Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =D0=92 Sun, 24 May 2015 09:03:40 +0200 Paul Menzel =D0=BF=D0=B8=D1=88=D0=B5=D1= =82: > Dear GRUB folks, >=20 >=20 > 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 AHCI > 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 -- grub-c= ore/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 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 > Thanks, >=20 > Paul >=20 >=20 > [1] https://lists.gnu.org/archive/html/grub-devel/2014-11/msg00026.html --Sig_/UscHkugyCt9d6X0_BbwDBkN Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlVhpN8ACgkQR6LMutpd94ydxwCgz5w9wInc/KfkynwW7HkAGklJ fUIAn2e0BKg/DLSlsdz5hDtfU4LAOC8l =FfN6 -----END PGP SIGNATURE----- --Sig_/UscHkugyCt9d6X0_BbwDBkN--