GNU bug report logs - #18314
[bug] fail to print device info

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: parted; Reported by: lumin <cdluminate@HIDDEN>; dated Fri, 22 Aug 2014 01:53:01 UTC; Maintainer for parted is bug-parted@HIDDEN.

Message received at 18314 <at> debbugs.gnu.org:


Received: (at 18314) by debbugs.gnu.org; 8 Oct 2014 14:25:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 08 10:25:07 2014
Received: from localhost ([127.0.0.1]:38165 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1XbsAs-0000O5-Hu
	for submit <at> debbugs.gnu.org; Wed, 08 Oct 2014 10:25:07 -0400
Received: from mail-pd0-f169.google.com ([209.85.192.169]:44286)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <cdluminate@HIDDEN>) id 1XbsAq-0000Nv-62
 for 18314 <at> debbugs.gnu.org; Wed, 08 Oct 2014 10:25:04 -0400
Received: by mail-pd0-f169.google.com with SMTP id w10so6972799pde.14
 for <18314 <at> debbugs.gnu.org>; Wed, 08 Oct 2014 07:25:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=message-id:subject:from:to:cc:date:in-reply-to:references
 :content-type:mime-version:content-transfer-encoding;
 bh=zBF+HCKxwBAYaSzFJKhz1AzF7Bs+xhSfiduyxU09GbM=;
 b=jd5h4sneowQ6u+PDTSQ3W+EIe/Z6uHe/A4a4nHywryLYELHSltc/pMskjx/TSFE3aH
 9/tskDAbu0YRS/KWAKph84rVQnLwl6oOkRgRpPBCiQHi55gMhUMUVkMmAk1cWMc30Gpe
 KEa1YevZ+WxXFouz+fFdkNH3QArj02/YDHQjG2vN2qu4a43hLjMEgpS6mZWY9Ug3dKrC
 fFXls7L0++L4xX1VKSOWLcoi469o+71dHjkbXjGmj7Wgrle9pHX6gj/vDvvuVfyVLo2+
 aRysPhPETdo0ir4vdDPgIr2XEYaNYdNzp8u34YXH6uRE48Jc4Z0BQpjSvN6skh4NJ1KC
 y8jQ==
X-Received: by 10.66.165.4 with SMTP id yu4mr1917746pab.157.1412778303048;
 Wed, 08 Oct 2014 07:25:03 -0700 (PDT)
Received: from int ([117.35.57.93])
 by mx.google.com with ESMTPSA id ha10sm223885pbd.7.2014.10.08.07.24.56
 for <multiple recipients>
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Wed, 08 Oct 2014 07:25:02 -0700 (PDT)
Message-ID: <1412778288.6204.1.camel@HIDDEN>
Subject: Re: bug#18314: [bug] fail to print device info
From: lumin <cdluminate@HIDDEN>
To: 18314 <at> debbugs.gnu.org, bug-parted <bug-parted@HIDDEN>
Date: Wed, 08 Oct 2014 14:24:48 +0000
In-Reply-To: <handler.18314.B.140867236229147.ack <at> debbugs.gnu.org>
References: <1408671081.2906.14.camel@int>
 <handler.18314.B.140867236229147.ack <at> debbugs.gnu.org>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.12.6-1 
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 18314
Cc: bcl@HIDDEN
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: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://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 (/)

Sorry to reply after so long time.
I tried to replay it, then I dd'ed a iso file into the flash disk,
But it doesn't happen again, even if partprobe said :

Warning: The driver descriptor says the physical block size is 2048
bytes, but Linux says it is 512 bytes.

NO ANY PROBLEM even if I choose "Ignore" always.
Jessie updated its kernel to 3.16 recently,
Maybe it is kernel-related... I don't know.
-- 
Regards,
  C.D.Luminate





Information forwarded to bug-parted@HIDDEN:
bug#18314; Package parted. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 8 Oct 2014 14:25:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 08 10:25:37 2014
Received: from localhost ([127.0.0.1]:38168 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1XbsBL-0000Op-NP
	for submit <at> debbugs.gnu.org; Wed, 08 Oct 2014 10:25:36 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41785)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <cdluminate@HIDDEN>) id 1XbsBI-0000Oh-SV
 for submit <at> debbugs.gnu.org; Wed, 08 Oct 2014 10:25:33 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <cdluminate@HIDDEN>) id 1XbsB9-0000pF-E9
 for submit <at> debbugs.gnu.org; Wed, 08 Oct 2014 10:25:32 -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.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:54943)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <cdluminate@HIDDEN>) id 1XbsB9-0000p9-BK
 for submit <at> debbugs.gnu.org; Wed, 08 Oct 2014 10:25:23 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:43452)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <cdluminate@HIDDEN>) id 1XbsB0-0004k6-5G
 for bug-parted@HIDDEN; Wed, 08 Oct 2014 10:25:23 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <cdluminate@HIDDEN>) id 1XbsAq-0000di-W5
 for bug-parted@HIDDEN; Wed, 08 Oct 2014 10:25:14 -0400
Received: from mail-pd0-x231.google.com ([2607:f8b0:400e:c02::231]:38883)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <cdluminate@HIDDEN>) id 1XbsAq-0000a5-O1
 for bug-parted@HIDDEN; Wed, 08 Oct 2014 10:25:04 -0400
Received: by mail-pd0-f177.google.com with SMTP id v10so6940684pde.36
 for <bug-parted@HIDDEN>; Wed, 08 Oct 2014 07:25:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=message-id:subject:from:to:cc:date:in-reply-to:references
 :content-type:mime-version:content-transfer-encoding;
 bh=zBF+HCKxwBAYaSzFJKhz1AzF7Bs+xhSfiduyxU09GbM=;
 b=jd5h4sneowQ6u+PDTSQ3W+EIe/Z6uHe/A4a4nHywryLYELHSltc/pMskjx/TSFE3aH
 9/tskDAbu0YRS/KWAKph84rVQnLwl6oOkRgRpPBCiQHi55gMhUMUVkMmAk1cWMc30Gpe
 KEa1YevZ+WxXFouz+fFdkNH3QArj02/YDHQjG2vN2qu4a43hLjMEgpS6mZWY9Ug3dKrC
 fFXls7L0++L4xX1VKSOWLcoi469o+71dHjkbXjGmj7Wgrle9pHX6gj/vDvvuVfyVLo2+
 aRysPhPETdo0ir4vdDPgIr2XEYaNYdNzp8u34YXH6uRE48Jc4Z0BQpjSvN6skh4NJ1KC
 y8jQ==
X-Received: by 10.66.165.4 with SMTP id yu4mr1917746pab.157.1412778303048;
 Wed, 08 Oct 2014 07:25:03 -0700 (PDT)
Received: from int ([117.35.57.93])
 by mx.google.com with ESMTPSA id ha10sm223885pbd.7.2014.10.08.07.24.56
 for <multiple recipients>
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Wed, 08 Oct 2014 07:25:02 -0700 (PDT)
Message-ID: <1412778288.6204.1.camel@HIDDEN>
Subject: Re: bug#18314: [bug] fail to print device info
From: lumin <cdluminate@HIDDEN>
To: 18314 <at> debbugs.gnu.org, bug-parted <bug-parted@HIDDEN>
Date: Wed, 08 Oct 2014 14:24:48 +0000
In-Reply-To: <handler.18314.B.140867236229147.ack <at> debbugs.gnu.org>
References: <1408671081.2906.14.camel@int>
 <handler.18314.B.140867236229147.ack <at> debbugs.gnu.org>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.12.6-1 
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
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
Cc: bcl@HIDDEN
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: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://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 (----)

Sorry to reply after so long time.
I tried to replay it, then I dd'ed a iso file into the flash disk,
But it doesn't happen again, even if partprobe said :

Warning: The driver descriptor says the physical block size is 2048
bytes, but Linux says it is 512 bytes.

NO ANY PROBLEM even if I choose "Ignore" always.
Jessie updated its kernel to 3.16 recently,
Maybe it is kernel-related... I don't know.
-- 
Regards,
  C.D.Luminate





Information forwarded to bug-parted@HIDDEN:
bug#18314; Package parted. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 22 Aug 2014 15:31:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 22 11:31:47 2014
Received: from localhost ([127.0.0.1]:49672 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1XKqoc-0004nb-Rx
	for submit <at> debbugs.gnu.org; Fri, 22 Aug 2014 11:31:47 -0400
Received: from eggs.gnu.org ([208.118.235.92]:55844)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <bcl@HIDDEN>) id 1XKqob-0004nO-EG
 for submit <at> debbugs.gnu.org; Fri, 22 Aug 2014 11:31:46 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <bcl@HIDDEN>) id 1XKqoM-00023H-UK
 for submit <at> debbugs.gnu.org; Fri, 22 Aug 2014 11:31:40 -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.0 required=5.0 tests=BAYES_20 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:38431)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <bcl@HIDDEN>) id 1XKqoM-00023A-Rw
 for submit <at> debbugs.gnu.org; Fri, 22 Aug 2014 11:31:30 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:57310)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <bcl@HIDDEN>) id 1XKqoG-00033n-7H
 for bug-parted@HIDDEN; Fri, 22 Aug 2014 11:31:30 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <bcl@HIDDEN>) id 1XKqo9-0001z3-Sp
 for bug-parted@HIDDEN; Fri, 22 Aug 2014 11:31:24 -0400
Received: from mx1.redhat.com ([209.132.183.28]:42697)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <bcl@HIDDEN>) id 1XKqo9-0001yw-L7
 for bug-parted@HIDDEN; Fri, 22 Aug 2014 11:31:17 -0400
Received: from int-mx11.intmail.prod.int.phx2.redhat.com
 (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24])
 by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s7MFVFgl018892
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK)
 for <bug-parted@HIDDEN>; Fri, 22 Aug 2014 11:31:16 -0400
Received: from lister.brianlane.com (ovpn-113-96.phx2.redhat.com [10.3.113.96])
 by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id
 s7MFVDo8024989
 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO)
 for <bug-parted@HIDDEN>; Fri, 22 Aug 2014 11:31:15 -0400
Date: Fri, 22 Aug 2014 08:31:13 -0700
From: "Brian C. Lane" <bcl@HIDDEN>
To: bug-parted@HIDDEN
Subject: Re: bug#18314: [bug] fail to print device info
Message-ID: <20140822153113.GF27864@HIDDEN>
References: <1408671081.2906.14.camel@int>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1408671081.2906.14.camel@int>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
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: -5.0 (-----)
X-Debbugs-Envelope-To: submit
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: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://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: -5.0 (-----)

On Fri, Aug 22, 2014 at 01:31:21AM +0000, lumin wrote:
 
> Error: SEGV_MAPERR (Address not mapped to object)
> Backtrace has 16 calls on stack:
>   16: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x31)
> [0x7ffbda65f5f1]
>   15: parted() [0x40a684]
>   14: /lib/x86_64-linux-gnu/libc.so.6(+0x35480) [0x7ffbd9e6a480]
>   13: /lib/x86_64-linux-gnu/libc.so.6(+0x90875) [0x7ffbd9ec5875]
>   12: /lib/x86_64-linux-gnu/libparted.so.2(+0x1817e) [0x7ffbda66a17e]
>   11: /lib/x86_64-linux-gnu/libparted.so.2(ped_geometry_read+0x35)
> [0x7ffbda665a85]
>   10: /lib/x86_64-linux-gnu/libparted.so.2(+0x1ce16) [0x7ffbda66ee16]
>   9: /lib/x86_64-linux-gnu/libparted.so.2(ped_file_system_probe_specific
> +0x37) [0x7ffbda660a07]
>   8: /lib/x86_64-linux-gnu/libparted.so.2(ped_file_system_probe+0x4e)
> [0x7ffbda660ace]
>   7: /lib/x86_64-linux-gnu/libparted.so.2(+0x2954c) [0x7ffbda67b54c]
>   6: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_new+0x48)
> [0x7ffbda6644b8]
>   5: parted() [0x407659]
>   4: parted(interactive_mode+0xff) [0x40c6ef]
>   3: parted(main+0x1175) [0x405f45]
>   2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)
> [0x7ffbd9e56b45]
>   1: parted() [0x405f98]
> ```
> 
> then I erased the first sector of the disk:
> sudo dd if=/dev/zero of=/dev/sdc bs=512 count=1
> then ALL things went back to normal.
> seems like matter of Device driver.

Did you happen to make a copy of the sector? If not there isn't much we
can do to reproduce this.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)




Information forwarded to bug-parted@HIDDEN:
bug#18314; Package parted. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 22 Aug 2014 01:52:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 21 21:52:42 2014
Received: from localhost ([127.0.0.1]:49231 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1XKe1x-0007a2-7g
	for submit <at> debbugs.gnu.org; Thu, 21 Aug 2014 21:52:42 -0400
Received: from eggs.gnu.org ([208.118.235.92]:39994)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <cdluminate@HIDDEN>) id 1XKdiA-00075J-7i
 for submit <at> debbugs.gnu.org; Thu, 21 Aug 2014 21:32:15 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <cdluminate@HIDDEN>) id 1XKdhw-0007SW-33
 for submit <at> debbugs.gnu.org; Thu, 21 Aug 2014 21:32:09 -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,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:60237)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <cdluminate@HIDDEN>) id 1XKdhv-0007SS-Vr
 for submit <at> debbugs.gnu.org; Thu, 21 Aug 2014 21:32:00 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:41696)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <cdluminate@HIDDEN>) id 1XKdhm-0001hP-Re
 for bug-parted@HIDDEN; Thu, 21 Aug 2014 21:31:59 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <cdluminate@HIDDEN>) id 1XKdhd-0007Qg-Pk
 for bug-parted@HIDDEN; Thu, 21 Aug 2014 21:31:50 -0400
Received: from mail-pd0-x232.google.com ([2607:f8b0:400e:c02::232]:38612)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <cdluminate@HIDDEN>) id 1XKdhd-0007Qa-HL
 for bug-parted@HIDDEN; Thu, 21 Aug 2014 21:31:41 -0400
Received: by mail-pd0-f178.google.com with SMTP id w10so15027727pde.9
 for <bug-parted@HIDDEN>; Thu, 21 Aug 2014 18:31:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=message-id:subject:from:to:date:content-type:mime-version
 :content-transfer-encoding;
 bh=DtUihEUCXmC2kx+xhEnRa6Y6r4ULOImvGxEbhexr5zI=;
 b=AJhNfokOl7cxU85cKfelbxdVa7wEJuh/y+/L0pCUWcv6vl7bxyR19l4MfALWoO1RTD
 SxYM6RiYMAx4SH5vDvSRZGUF4cUJ3YkayvYvf7WMNWVKIkk6ubG7GAf5o2TU/3QB4lWF
 ewzNaE7n9TDBvrVoPM5eX2mC/3P/w0kRBG57uOH1hZLJS299VYvZya9lDD2jut7ppnX7
 Dab/NdA7l064MbOcATlo0y/y3t/qcAAb97UqeZMycIgkVWDMxtX24chc735jhIZ2QHO9
 Z8+FpBn3FjvSkFqmX1DZMfeQ2+I9/eg8rFJ44dy2q1jYfn9eyHwniW35Rb1IcKFm19I+
 Q5fw==
X-Received: by 10.70.64.196 with SMTP id q4mr2295000pds.131.1408671099921;
 Thu, 21 Aug 2014 18:31:39 -0700 (PDT)
Received: from int ([182.240.154.161])
 by mx.google.com with ESMTPSA id ps8sm26823742pbb.38.2014.08.21.18.31.36
 for <bug-parted@HIDDEN>
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Thu, 21 Aug 2014 18:31:39 -0700 (PDT)
Message-ID: <1408671081.2906.14.camel@int>
Subject: [bug] fail to print device info
From: lumin <cdluminate@HIDDEN>
To: bug-parted@HIDDEN
Date: Fri, 22 Aug 2014 01:31:21 +0000
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.12.2-1+b1 
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
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: Thu, 21 Aug 2014 21:52:40 -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: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://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 (----)

parted version: 3.2 (debian jessie)
debian package version: 
> parted/testing,testing,now 3.2-4 amd64

hello,
I am new at bug reporting, and I am trying to provide enough information
about the BUG I have encountered.

I have dd'ed a debian 7.6 DVD installation media(iso) directly into my
USB stick(USB3.0). I am sure there is no damage on this device. 
Then I'd like to make a new partition table,then I typed 'print' first:

```
(parted) print
Warning: The driver descriptor says the physical block size is 2048
bytes, but Linux says it is 512 bytes.
Ignore/Cancel? I
```

then the bug occured.
this is device info required by the program:
```
(parted)
print                                                            
Warning: The driver descriptor says the physical block size is 2048
bytes, but
Linux says it is 512 bytes.
Ignore/Cancel?
C                                                          
Model: Kingston DataTraveler 3.0 (scsi)
Disk /dev/sdc: 15356160s
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags: 
```
when I say Ignore:
```
***
Command History:
unit
s
print
I

Error: A general SIGSEGV signal was encountered.
```
 
this is the original BUG:
(parted /dev/sdc)
```
Command History:
print
I

Error: SEGV_MAPERR (Address not mapped to object)
Backtrace has 16 calls on stack:
  16: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x31)
[0x7ffbda65f5f1]
  15: parted() [0x40a684]
  14: /lib/x86_64-linux-gnu/libc.so.6(+0x35480) [0x7ffbd9e6a480]
  13: /lib/x86_64-linux-gnu/libc.so.6(+0x90875) [0x7ffbd9ec5875]
  12: /lib/x86_64-linux-gnu/libparted.so.2(+0x1817e) [0x7ffbda66a17e]
  11: /lib/x86_64-linux-gnu/libparted.so.2(ped_geometry_read+0x35)
[0x7ffbda665a85]
  10: /lib/x86_64-linux-gnu/libparted.so.2(+0x1ce16) [0x7ffbda66ee16]
  9: /lib/x86_64-linux-gnu/libparted.so.2(ped_file_system_probe_specific
+0x37) [0x7ffbda660a07]
  8: /lib/x86_64-linux-gnu/libparted.so.2(ped_file_system_probe+0x4e)
[0x7ffbda660ace]
  7: /lib/x86_64-linux-gnu/libparted.so.2(+0x2954c) [0x7ffbda67b54c]
  6: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_new+0x48)
[0x7ffbda6644b8]
  5: parted() [0x407659]
  4: parted(interactive_mode+0xff) [0x40c6ef]
  3: parted(main+0x1175) [0x405f45]
  2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)
[0x7ffbd9e56b45]
  1: parted() [0x405f98]
```

then I erased the first sector of the disk:
sudo dd if=/dev/zero of=/dev/sdc bs=512 count=1
then ALL things went back to normal.
seems like matter of Device driver.

-- 
Regards,
  C.D.Luminate





Acknowledgement sent to lumin <cdluminate@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-parted@HIDDEN. Full text available.
Report forwarded to bug-parted@HIDDEN:
bug#18314; Package parted. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.