Received: (at 20746) by debbugs.gnu.org; 9 Jun 2015 18:29:28 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 09 14:29:28 2015 Received: from localhost ([127.0.0.1]:46462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1Z2OH9-0004pk-Qg for submit <at> debbugs.gnu.org; Tue, 09 Jun 2015 14:29:28 -0400 Received: from mail-yh0-f68.google.com ([209.85.213.68]:33407) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <phillsusi@HIDDEN>) id 1Z2OH8-0004pX-5W for 20746 <at> debbugs.gnu.org; Tue, 09 Jun 2015 14:29:26 -0400 Received: by yhab6 with SMTP id b6so2245557yha.0 for <20746 <at> debbugs.gnu.org>; Tue, 09 Jun 2015 11:29:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=qXHWWFyEZp4iwtCFk/pWSfMjNon3235B5v6PzpHBilE=; b=MkEPjQEjcCZkm9u7IV65NPsxPY4erCF63XF1ewUGqFhoRSln4hXFE6tcJ/WtEaRGB0 cAg/H607zx33EU0hC9pZ4gNoji9dfQ9GhP5pFrAN7OV6S95sJPEfaHRBWe5TUTqjJp3+ gxARKoA15xpYsaPp+Nv03xemS+cbshXhx5HYK0qDml1Ottb9q5wIPJl0M2q7ApXCcOUq qMyGypUTWfc89QHfYmvBE2mLuOC5BamteXe9WqDqJDPtVPU7BwkKXkE6pA+QfU+/F3Sf awyzJ7PwQfuLImVlzhKGgGiH5avUua5U9mySeD4OL7jsw0T1TkuF22SwgCdlrHzpqoM/ d2LA== X-Received: by 10.13.199.195 with SMTP id j186mr24969172ywd.112.1433874121706; Tue, 09 Jun 2015 11:22:01 -0700 (PDT) Received: from [10.1.1.233] (fl-67-77-88-12.sta.embarqhsd.net. [67.77.88.12]) by mx.google.com with ESMTPSA id a127sm4708744ywc.19.2015.06.09.11.22.01 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Jun 2015 11:22:01 -0700 (PDT) Message-ID: <55772E93.2000301@HIDDEN> Date: Tue, 09 Jun 2015 14:21:07 -0400 From: Phil Susi <psusi@HIDDEN> User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: George Hicken <george.hicken@HIDDEN>, 20746 <at> debbugs.gnu.org Subject: Re: bug#20746: problem with non-LBA fat16 References: <CANBE-PKnQRmuukbTXHDdMYsuc5KXnR1or7Lqvf24cj4gTP+1Pg@HIDDEN> In-Reply-To: <CANBE-PKnQRmuukbTXHDdMYsuc5KXnR1or7Lqvf24cj4gTP+1Pg@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20746 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) On 6/5/2015 1:36 PM, George Hicken wrote: > Requested output prior to partitioning > > Error: /dev/sdb: unrecognised disk label > Error: /dev/sdb: unrecognised disk label > Error: /dev/sdb: unrecognised disk label > Model: VMware Virtual disk (scsi) > Disk /dev/sdb: 8590MB > Sector size (logical/physical): 512B/512B > Partition Table: unknown > Disk Flags: > Model: VMware Virtual disk (scsi) > Disk /dev/sdb: 16777216s > Sector size (logical/physical): 512B/512B > Partition Table: unknown > Disk Flags: > Model: VMware Virtual disk (scsi) > Disk /dev/sdb: 1044,85,0 > Sector size (logical/physical): 512B/512B > BIOS cylinder,head,sector geometry: 1044,255,63. Each cylinder is 8225kB. > Partition Table: unknown > Disk Flags: What are the exact commands that lead to this? What does parted /dev/sdb print show? What does fdisk show? > Using the parted supplied with tinycorelinux 6.x (reports as 3.1) to create Please try again with 3.2. > an MBT, create a primary fat16 parition with non-lba addressing > /usr/local/sbin/parted -a cylinder -s /dev/sdb -- mklabel msdos mkpart > primary fat16 1cyl 40MiB Do you mean to say that this is the command that produced the above output? > This produces a partition of type 0xe, but otherwise it's what we want - > interestingly parted print command doesn't detail the parition type, it's > all blank. Using "set 1 lba off" then does something entirely unexpected. > Using fdisk to inspect the partition table the type has switched to 0x83. > > I took a quick look at the code and 0x83 appears to be the default fstype > if none is set. Why this happens when setting lba off on a fat16 partition > I have no idea. This is because as you noted, 0x83 is the default type. Since you did not actually format a fat16 filesystem within the partition, parted can't detect any filesystem there and so does not know that it should use the type code for fat16.
bug-parted@HIDDEN
:bug#20746
; Package parted
.
Full text available.Received: (at submit) by debbugs.gnu.org; 5 Jun 2015 17:52:40 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 05 13:52:40 2015 Received: from localhost ([127.0.0.1]:42049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1Z0vnL-00019u-3m for submit <at> debbugs.gnu.org; Fri, 05 Jun 2015 13:52:40 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38340) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <george.hicken@HIDDEN>) id 1Z0vXP-0000ln-7t for submit <at> debbugs.gnu.org; Fri, 05 Jun 2015 13:36:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <george.hicken@HIDDEN>) id 1Z0vXJ-0004Kq-0b for submit <at> debbugs.gnu.org; Fri, 05 Jun 2015 13:36:05 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37572) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <george.hicken@HIDDEN>) id 1Z0vXI-0004Kh-UZ for submit <at> debbugs.gnu.org; Fri, 05 Jun 2015 13:36:04 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51832) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <george.hicken@HIDDEN>) id 1Z0vXH-0008CP-NG for bug-parted@HIDDEN; Fri, 05 Jun 2015 13:36:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <george.hicken@HIDDEN>) id 1Z0vXG-0004K2-Hd for bug-parted@HIDDEN; Fri, 05 Jun 2015 13:36:03 -0400 Received: from mail-ig0-x234.google.com ([2607:f8b0:4001:c05::234]:37690) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <george.hicken@HIDDEN>) id 1Z0vXG-0004Jt-7I for bug-parted@HIDDEN; Fri, 05 Jun 2015 13:36:02 -0400 Received: by igbsb11 with SMTP id sb11so19898800igb.0 for <bug-parted@HIDDEN>; Fri, 05 Jun 2015 10:36:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=o4tmJDK/hhQFMQDkqBxlWsqUXTGkO6MVe1VZ42l8Q8s=; b=pYPI6dXZzWIew0U5zkfiBs6DSqZ1dsJ6n2p9h4dGBUzs5Yhf3PB0EfsvXGShfzY8v4 JwFqYdIJuDeM4fUrax3ygTvUhT/FzkIjYD28gJ+e4oG2AR0+kZlEtWGSVqU5g2wnTfoi OsGKzGdkYaBqwqRmt42pI7GWPJZUhHC6uG+rwzQdVffCCcY9UuhOooCacgAh8PcE7O6E Y/oA9pB/kyST7OZa0fKmWi1gszi5j7FzC/KakkgP62a9K0gPhkBw6a8Wv/WzqLg26+E+ F+XhQ6WTYNvkovya9+Iq312nRuXsrSgjOdfozlwP2z8JLcH8uD5Y2A2FUTAzPg6PT1OL YFSg== MIME-Version: 1.0 X-Received: by 10.50.4.67 with SMTP id i3mr13690023igi.47.1433525761341; Fri, 05 Jun 2015 10:36:01 -0700 (PDT) Received: by 10.36.54.195 with HTTP; Fri, 5 Jun 2015 10:36:01 -0700 (PDT) Date: Fri, 5 Jun 2015 10:36:01 -0700 Message-ID: <CANBE-PKnQRmuukbTXHDdMYsuc5KXnR1or7Lqvf24cj4gTP+1Pg@HIDDEN> Subject: problem with non-LBA fat16 From: George Hicken <george.hicken@HIDDEN> To: bug-parted@HIDDEN Content-Type: multipart/alternative; boundary=001a11c2a13ec801600517c8b97a X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 05 Jun 2015 13:52:36 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -4.0 (----) --001a11c2a13ec801600517c8b97a Content-Type: text/plain; charset=UTF-8 Requested output prior to partitioning Error: /dev/sdb: unrecognised disk label Error: /dev/sdb: unrecognised disk label Error: /dev/sdb: unrecognised disk label Model: VMware Virtual disk (scsi) Disk /dev/sdb: 8590MB Sector size (logical/physical): 512B/512B Partition Table: unknown Disk Flags: Model: VMware Virtual disk (scsi) Disk /dev/sdb: 16777216s Sector size (logical/physical): 512B/512B Partition Table: unknown Disk Flags: Model: VMware Virtual disk (scsi) Disk /dev/sdb: 1044,85,0 Sector size (logical/physical): 512B/512B BIOS cylinder,head,sector geometry: 1044,255,63. Each cylinder is 8225kB. Partition Table: unknown Disk Flags: Using the parted supplied with tinycorelinux 6.x (reports as 3.1) to create an MBT, create a primary fat16 parition with non-lba addressing /usr/local/sbin/parted -a cylinder -s /dev/sdb -- mklabel msdos mkpart primary fat16 1cyl 40MiB This produces a partition of type 0xe, but otherwise it's what we want - interestingly parted print command doesn't detail the parition type, it's all blank. Using "set 1 lba off" then does something entirely unexpected. Using fdisk to inspect the partition table the type has switched to 0x83. I took a quick look at the code and 0x83 appears to be the default fstype if none is set. Why this happens when setting lba off on a fat16 partition I have no idea. Thanks. George --001a11c2a13ec801600517c8b97a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Requested output prior to partitioning<div><br><div><div>E= rror: /dev/sdb: unrecognised disk label</div><div>Error: /dev/sdb: unrecogn= ised disk label</div><div>Error: /dev/sdb: unrecognised disk label</div><di= v>Model: VMware Virtual disk (scsi)</div><div>Disk /dev/sdb: 8590MB</div><d= iv>Sector size (logical/physical): 512B/512B</div><div>Partition Table: unk= nown</div><div>Disk Flags:</div><div>Model: VMware Virtual disk (scsi)</div= ><div>Disk /dev/sdb: 16777216s</div><div>Sector size (logical/physical): 51= 2B/512B</div><div>Partition Table: unknown</div><div>Disk Flags:</div><div>= Model: VMware Virtual disk (scsi)</div><div>Disk /dev/sdb: 1044,85,0</div><= div>Sector size (logical/physical): 512B/512B</div><div>BIOS cylinder,head,= sector geometry: 1044,255,63.=C2=A0 Each cylinder is 8225kB.</div><div>Part= ition Table: unknown</div><div>Disk Flags:</div></div><div><br></div></div>= <div>Using the parted supplied with tinycorelinux 6.x (reports as 3.1) to c= reate an MBT, create a primary fat16 parition with non-lba addressing</div>= <div>=C2=A0 =C2=A0/usr/local/sbin/parted -a cylinder -s /dev/sdb -- =C2=A0m= klabel msdos mkpart primary fat16 1cyl 40MiB=C2=A0<br></div><div><br></div>= <div>This produces a partition of type 0xe, but otherwise it's what we = want - interestingly parted print command doesn't detail the parition t= ype, it's all blank. Using "set 1 lba off" then does somethin= g entirely unexpected. Using fdisk to inspect the partition table the type = has switched to 0x83.</div><div><br></div><div>I took a quick look at the c= ode and 0x83 appears to be the default fstype if none is set. Why this happ= ens when setting lba off on a fat16 partition I have no idea.</div><div><br= ></div><div>Thanks.</div><div><br></div><div>George</div></div> --001a11c2a13ec801600517c8b97a--
George Hicken <george.hicken@HIDDEN>
:bug-parted@HIDDEN
.
Full text available.bug-parted@HIDDEN
:bug#20746
; Package parted
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.