Debian Bug report logs - #583589
util-linux: fdisk does not detect the disksize

version graph

Package: util-linux; Maintainer for util-linux is LaMont Jones <lamont@debian.org>; Source for util-linux is src:util-linux.

Reported by: Steve Schnepp <steve.schnepp@gmail.com>

Date: Fri, 28 May 2010 14:39:02 UTC

Severity: important

Found in version util-linux/2.16.2-0

Done: LaMont Jones <lamont@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, LaMont Jones <lamont@debian.org>:
Bug#583589; Package util-linux. (Fri, 28 May 2010 14:39:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Steve Schnepp <steve.schnepp@gmail.com>:
New Bug report received and forwarded. Copy sent to LaMont Jones <lamont@debian.org>. (Fri, 28 May 2010 14:39:05 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Steve Schnepp <steve.schnepp@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: util-linux: fdisk does not detect the disksize
Date: Fri, 28 May 2010 16:35:45 +0200
Subject: util-linux: fdisk does not detect the disksize
Package: util-linux
Version: 2.16.2-0
Severity: important

*** Please type your report below this line ***

I installed successfully kfreebsd-i386 on ad0 on VMWare with an old
debian-installer version :
http://d-i.debian.org/daily-images/kfreebsd-i386/20090903-19:49/monolithic/mini.iso


But when I want to add a new disk, i cannot create a partition, since
fdisk doesn't manage to read the disk size :

-----------------------------
# fdisk /dev/ad1
last_lba(): I don't know how to handle files with mode 20660
You will not be able to write the partition table.
You must set cylinders.
You can do this from the extra functions menu.

Command (m for help): p

Disk /dev/ad1: 0 MB, 0 bytes
255 heads, 63 sectors/track, 0 cylinders
-----------------------------

fdisk cannot read the size for ad0 either, but it manages to print the
partition table.

-- Dmesg extract :
ad0: 4096MB <VMware Virtual IDE Hard Drive 00000001> at ata0-master UDMA33
ad1: 4096MB <VMware Virtual IDE Hard Drive 00000001> at ata0-slave UDMA33


-- System Information:
Debian Release: squeeze/sid
Architecture: kfreebsd-i386 (i686)

Kernel: kFreeBSD 8.0-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages util-linux depends on:
ii  dpkg                    1.15.5.6         Debian package management system
ii  initscripts             2.87dsf-10       scripts for initializing and shutt
ii  install-info            4.13a.dfsg.1-5   Manage installed documentation in
ii  libblkid1               2.16.2-0         block device id library
ii  libc0.1                 2.10.2-6         Embedded GNU C Library: Shared lib
ii  libncurses5             5.7+20100313-2   shared libraries for terminal hand
ii  libuuid1                2.16.2-0         Universally Unique ID library
ii  lsb-base                3.2-23           Linux Standard Base 3.2 init scrip
ii  tzdata                  2010f-2          time zone and daylight-saving time
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

util-linux recommends no packages.

Versions of packages util-linux suggests:
pn  dosfstools                    <none>     (no description available)
pn  kbd | console-tools           <none>     (no description available)
pn  util-linux-locales            <none>     (no description available)

-- no debconf information




Reply sent to LaMont Jones <lamont@debian.org>:
You have taken responsibility. (Fri, 28 May 2010 15:33:09 GMT) Full text and rfc822 format available.

Notification sent to Steve Schnepp <steve.schnepp@gmail.com>:
Bug acknowledged by developer. (Fri, 28 May 2010 15:33:09 GMT) Full text and rfc822 format available.

Message #10 received at 583589-done@bugs.debian.org (full text, mbox):

From: LaMont Jones <lamont@debian.org>
To: Steve Schnepp <steve.schnepp@gmail.com>, 583589-done@bugs.debian.org
Subject: Re: Bug#583589: util-linux: fdisk does not detect the disksize
Date: Fri, 28 May 2010 09:22:42 -0600
On Fri, May 28, 2010 at 04:35:45PM +0200, Steve Schnepp wrote:
> -----------------------------
> # fdisk /dev/ad1
> last_lba(): I don't know how to handle files with mode 20660
> You will not be able to write the partition table.

So the error message could be a bit better here...

/dev/ad1 is a character device, mode 660, and fdisk deals with block
devices.  properly creating a block device file should fix things for
fdisk.

lamont




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 26 Jun 2010 07:39:26 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 24 02:56:22 2014; Machine Name: buxtehude.debian.org

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