Received: from list by lists.gnu.org with archive (Exim 4.71) id 1c7nha-00084w-GU for mharc-grub-devel@gnu.org; Fri, 18 Nov 2016 13:15:54 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57520) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c7nhY-00083x-OB for grub-devel@gnu.org; Fri, 18 Nov 2016 13:15:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c7nhT-0004in-Pk for grub-devel@gnu.org; Fri, 18 Nov 2016 13:15:52 -0500 Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]:37751) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c7nhT-0004hf-DI for grub-devel@gnu.org; Fri, 18 Nov 2016 13:15:47 -0500 Received: by mail-wm0-x22a.google.com with SMTP id t79so53651198wmt.0 for ; Fri, 18 Nov 2016 10:15:47 -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=F6uKtBDQeS30zsGpua27h9xRaZ2HpCNSD2Wk8k7eqd4=; b=VvoDD7lg9a4GGSA3Lk4uFZ3u0v0TOvDCYIUKbqyjIHkFA44qTfx+fWf9XEoeRcsE+r BHE3e37rn+E80tl1Fq9gMuAXJRG9xDsoAivxMd2+RqvZH4lRYhbI4rTgbmCUKKa9AYoz 9DZvRRE16m0rmFinjooXavDFFcTCtFm2l6cHRX6QTRh1RtI2DD3phk5prPHrpkKDGxfc FZWwiqIYkP3Db9w63ReJCBu7YrJ8inS1OZhT/uC9qEy79pjYIYRO6MX3utUh6t4LDAUK cG1OL3PpgOkPqq4PbQuPvzGDrwOOv+PrGsU8DzH8SOk+OeclRuPYCptxjVwpSb2EaBSR 2q8w== 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=F6uKtBDQeS30zsGpua27h9xRaZ2HpCNSD2Wk8k7eqd4=; b=Hn/Szr7K6aY9KO8UZhYJt2pIn1MoQPQqIcNJYXu9FEiS1UiZZrsX6PlnjO9sknm3aC 2GUiDCsVyK3dAGejtnuLDN5jn+HIsk3XNbW5IvwBzsKqLCXy/i0HtuZdyzcRPcfvIMh4 k2axqRLpmSAyJGoitMLOuzkGiCYWf0HB1QKZmquPFDjWT+Y6KfMzEWHrM+SkyQ4Ok9ZJ Cfxn/FmlBdzbe39wpqhqF7beMCyl67rasN3GON/1bq7Xt+jMl1rriGF/U3tHvqq0esuQ YGAvfzVqtsk9SKEW4FyuA0RsXTiRkv4vloJvZYrBDcwqr/HTdGZcpHwNGaFYOKQVuzXX 42Nw== X-Gm-Message-State: AKaTC03123H924QrYIw/rzMa9fX/VB62/6CwiADOgLyLewkjuUTfAoEYTNo/rTTbAUgcFA== X-Received: by 10.25.215.208 with SMTP id q77mr254000lfi.126.1479492944469; Fri, 18 Nov 2016 10:15:44 -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 f124sm2536098lff.34.2016.11.18.10.15.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Nov 2016 10:15:43 -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:15:43 +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::22a 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:15:53 -0000 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.