From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1c7nq5-0002R7-Ta for mharc-grub-devel@gnu.org; Fri, 18 Nov 2016 13:24:41 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58771) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c7nq3-0002On-9W for grub-devel@gnu.org; Fri, 18 Nov 2016 13:24:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c7nq0-0007T1-6r for grub-devel@gnu.org; Fri, 18 Nov 2016 13:24:39 -0500 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]:36033) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c7npz-0007SW-RY for grub-devel@gnu.org; Fri, 18 Nov 2016 13:24:36 -0500 Received: by mail-wm0-x244.google.com with SMTP id m203so8765291wma.3 for ; Fri, 18 Nov 2016 10:24:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=iJjh2ksBZrMnkW/iqM7Xq3wvgoCgPiCQkLzZmWltm3M=; b=vs1G1HKNeWvDodGsjMSWV6K1wDFujkhTon93edIeErh4jXFfQavk28qHRqIcA7gROp 57Tu+FDd2iF4RU2+KdIksa9tFTb9TvslSijGUZT1z1nNbVvkivXxXWne0edv/AAzggER 3YmdLsn3uau3UKrIIE7cKv5lwvcYK+y81AgL3nUU12urU75D41TLTPXNB5/IzEcUL+7E Wzf7SyhFuRM1PNIX1d/wSer9hba8PM4d1HLNSTXro7n39fbrYuVM04frJVnyUjTLFkEr jr2HrbQ4NKR+XrW67H4a/AvpOMp83FOwuHNXEj5uTXXvKZ9iMkqYpV9x6yjJCu2U3oeq qLPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=iJjh2ksBZrMnkW/iqM7Xq3wvgoCgPiCQkLzZmWltm3M=; b=QlvPxxEcDZ4rJBAEZtoQ38/adzjcXoIg3D2iZriEAUNSnxHfVGA1e5FE+9mfhm3rIo RLq2UnKrU736xi1z6QEcBNS5IvnUOf64bdjFq00aYtvKdv+m6Rfvj/NK5pqmGt8ODSqX VuWEGZ3G22zIWpfFx3ScEj8AMn5A59eY5kUvOA9TdCRv9MCmAIDygEhTWAqB1MlaJ2uj c9KxkfOJ1d+BR1uzEu9pnb5CFLG3mpC6iQdXEbb0xoGK+pD4Ty++ot6TYeR9YLm78zk1 NmGcTH6tcOiQM7AIHluxp+Fo3B7H1wNCBVHZCxixTM2C6Prdr347oP5/4CcwgUvcBPeh cKeA== X-Gm-Message-State: AKaTC01EZqCJu9tYSmCpSJmzIZLrzFr4aCVKqgzE5ENt1qHMjHBMXYDcG1P/aCINcrA2Nw== X-Received: by 10.25.207.148 with SMTP id f142mr274581lfg.117.1479493473495; Fri, 18 Nov 2016 10:24:33 -0800 (PST) Received: from [192.168.1.44] (ppp109-252-90-55.pppoe.spdop.ru. [109.252.90.55]) by smtp.gmail.com with ESMTPSA id z68sm2558189lff.35.2016.11.18.10.24.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Nov 2016 10:24:32 -0800 (PST) Subject: Re: [PATCH] disk/mdraid1x: Fix >2TB RAID detection with BIOS To: Robert LeBlanc References: <20161117200907.18342-1-robert@leblancnet.us> <3d20e6ef-8c14-fea3-84a7-96b28c648fef@gmail.com> Cc: The development of GNU GRUB From: Andrei Borzenkov Message-ID: Date: Fri, 18 Nov 2016 21:24:32 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::244 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Nov 2016 18:24:40 -0000 18.11.2016 21:19, Robert LeBlanc пишет: > Do you want this with or without my patch? It does not matter, I want to see what grub thinks about physical disks and their partitions. > ---------------- > Robert LeBlanc > PGP Fingerprint 79A2 9CA4 6CC4 45DD A904 C70E E654 3BB2 FA62 B9F1 > > > On Fri, Nov 18, 2016 at 11:15 AM, Andrei Borzenkov wrote: >> 18.11.2016 21:06, Robert LeBlanc пишет: >>> On Fri, Nov 18, 2016 at 10:31 AM, Andrei Borzenkov wrote: >>>> 18.11.2016 19:49, Robert LeBlanc пишет: >>>>> Based on debug info, GRUB is requesting to read the end of the drive >>>>> to read the mdadm 1.0 superblock and gets the following message: >>>>> >>>>> kern/disk.c:421: Read out of range: sector 0x27fffffc8 (attempt to >>>>> read or write outside of disk 'hd0'). >>>>> >>>> >>>> Is MD RAID on whole disk or partition? What partition label - MBR or >>>> GPT? Could you post fdisk -l from Linux (if your fdisk does not support >>>> GPT, use "gdisk -l /dev/sdX")? >>> >>> # gdisk -l /dev/sda >>> GPT fdisk (gdisk) version 1.0.1 >>> >>> Partition table scan: >>> MBR: protective >>> BSD: not present >>> APM: not present >>> GPT: present >>> >>> Found valid GPT with protective MBR; using GPT. >>> Disk /dev/sda: 10737418240 sectors, 5.0 TiB >>> Logical sector size: 512 bytes >>> Disk identifier (GUID): 939F7AAD-AADD-481D-8896-DA0B4033C70C >>> Partition table holds up to 128 entries >>> First usable sector is 2048, last usable sector is 10737418206 >>> Partitions will be aligned on 2048-sector boundaries >>> Total free space is 0 sectors (0 bytes) >>> >>> Number Start (sector) End (sector) Size Code Name >>> 1 2048 4095 1024.0 KiB EF02 >>> 2 4096 10737418206 5.0 TiB FD00 >>> >>> partition # is a mdadm RAID 1 member partitioned as follows... >>> >>> # sgdisk -l /dev/md123 >>> # parted /dev/md123 print free >>> Model: Linux Software RAID Array (md) >>> Disk /dev/md123: 5497GB >>> Sector size (logical/physical): 512B/512B >>> Partition Table: gpt >>> Disk Flags: >>> >>> Number Start End Size File system Name Flags >>> 17.4kB 1049kB 1031kB Free Space >>> 1 1049kB 2097kB 1049kB bios_grub >>> 2 2097kB 5371MB 5369MB linux-swap(v1) >>> 3 5371MB 6371MB 1000MB ext2 >>> 4 6371MB 5497GB 5491GB ext4 >>> 5497GB 5497GB 966kB Free Space >>> >>> /dev/sdb is partitioned identically to /dev/sda >>> >> >> OK, could you please also show "ls -l" in grub CLI; if you cannot >> capture serial console, attach screenshot(s). You may want to "set >> pager=1" so output does not scroll off screen. >> >>