[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#737580: marked as done (ufsutils-udeb: mkfs.ufs: DIOCGMEDIASIZE: Inappropriate ioctl for device)



Your message dated Sat, 08 Mar 2014 13:18:39 +0000
with message-id <E1WMH9D-0002FM-EX@franck.debian.org>
and subject line Bug#737580: fixed in ufsutils 9.2-3.1
has caused the Debian Bug report #737580,
regarding ufsutils-udeb: mkfs.ufs: DIOCGMEDIASIZE: Inappropriate ioctl for device
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
737580: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737580
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: ufsutils-udeb
Version: 9.2-3
Severity: grave
Tags: jessie sid d-i
Affects: debian-installer
User: debian-bsd@lists.debian.org
Usertags: kfreebsd
X-Debbugs-Cc: kibi@debian.org

Image:
http://d-i.debian.org/daily-images/kfreebsd-amd64/20140203-00:50/netboot-9/mini.iso

Can reproduce this by trying to format an msdos partition on an IDE disk
as UFS (with kfreebsd-9 9.2-1-amd64):

> Feb  4 00:21:34 partman: mkfs.ufs: 
> Feb  4 00:21:34 partman: DIOCGMEDIASIZE
> Feb  4 00:21:34 partman: : 
> Feb  4 00:21:34 partman: Inappropriate ioctl for device

Running `mkfs.ufs /dev/ada0` at an installer shell curiously tells me
the size of the partition right before it fails with the above error.

> /dev/ada0s1: 510.0MB (1044480 sectors) block size 32768, fragment size 4096
> 	using 4 cylinder groups of 127.53MB, 4081 blks, 16384 inodes.
> mkfs.ufs: DIOCGMEDIASIZE: Inappropriate ioctl for device

So this is likely a problem in ufsutils-udeb and may be kernel-specific.

udeb versions are:

> Feb  4 00:18:12 anna[2082]: DEBUG: retrieving apt-mirror-setup 1:0.85
> Feb  4 00:18:13 anna[2082]: DEBUG: retrieving apt-setup-udeb 1:0.85
> Feb  4 00:18:15 anna[2082]: DEBUG: retrieving base-installer 1.141
> Feb  4 00:18:16 anna[2082]: DEBUG: retrieving bootstrap-base 1.141
> Feb  4 00:18:19 anna[2082]: DEBUG: retrieving clock-setup 0.119
> Feb  4 00:18:20 anna[2082]: DEBUG: retrieving di-utils-mapdevfs 1.102
> Feb  4 00:18:21 anna[2082]: DEBUG: retrieving debootstrap-udeb 1.0.56
> Feb  4 00:18:41 anna[2082]: DEBUG: retrieving e2fsprogs-udeb 1.42.9-2
> Feb  4 00:18:42 anna[2082]: DEBUG: retrieving libc0.1-udeb 2.17-97
> Feb  4 00:18:44 anna[2082]: DEBUG: retrieving finish-install 2.46
> Feb  4 00:18:45 anna[2082]: DEBUG: retrieving libfuse2-udeb 2.9.2-4
> Feb  4 00:18:46 anna[2082]: DEBUG: retrieving grub-installer 1.91
> Feb  4 00:18:48 anna[2082]: DEBUG: retrieving grub-mount-udeb 2.00-22
> Feb  4 00:18:49 anna[2082]: DEBUG: retrieving disk-detect 1.98
> Feb  4 00:18:53 anna[2082]: DEBUG: retrieving ext2-modules-9.2-1-amd64-di 9.2-2
> Feb  4 00:18:54 anna[2082]: DEBUG: retrieving isofs-modules-9.2-1-amd64-di 9.2-2
> Feb  4 00:18:54 anna[2082]: DEBUG: retrieving loop-modules-9.2-1-amd64-di 9.2-2
> Feb  4 00:18:55 anna[2082]: DEBUG: retrieving md-modules-9.2-1-amd64-di 9.2-2
> Feb  4 00:18:56 anna[2082]: DEBUG: retrieving nullfs-modules-9.2-1-amd64-di 9.2-2
> Feb  4 00:18:56 anna[2082]: DEBUG: retrieving sata-modules-9.2-1-amd64-di 9.2-2
> Feb  4 00:18:58 anna[2082]: DEBUG: retrieving scsi-core-modules-9.2-1-amd64-di 9.2-2
> Feb  4 00:18:59 anna[2082]: DEBUG: retrieving scsi-extra-modules-9.2-1-amd64-di 9.2-2
> Feb  4 00:18:59 anna[2082]: DEBUG: retrieving scsi-modules-9.2-1-amd64-di 9.2-2
> Feb  4 00:19:00 anna[2082]: DEBUG: retrieving xfs-modules-9.2-1-amd64-di 9.2-2
> Feb  4 00:19:01 anna[2082]: DEBUG: retrieving zfs-modules-9.2-1-amd64-di 9.2-2
> Feb  4 00:19:02 anna[2082]: DEBUG: retrieving zlib-modules-9.2-1-amd64-di 9.2-2
> Feb  4 00:19:03 anna[2082]: DEBUG: retrieving kickseed-common 0.60
> Feb  4 00:19:04 anna[2082]: DEBUG: retrieving ntfsprogs-udeb 2.0.0-1+b2
> Feb  4 00:19:04 anna[2082]: DEBUG: retrieving nobootloader 1.43
> Feb  4 00:19:07 anna[2082]: DEBUG: retrieving os-prober-udeb 1.63
> Feb  4 00:19:07 anna[2082]: DEBUG: retrieving libparted0-udeb 2.3-16
> Feb  4 00:19:08 anna[2082]: DEBUG: retrieving partman-auto 118
> Feb  4 00:19:11 anna[2082]: DEBUG: retrieving partman-auto-raid 24
> Feb  4 00:19:13 anna[2082]: DEBUG: retrieving partman-base 172
> Feb  4 00:19:15 anna[2082]: DEBUG: retrieving partman-utils 172
> Feb  4 00:19:15 anna[2082]: DEBUG: retrieving partman-basicfilesystems 90
> Feb  4 00:19:19 anna[2082]: DEBUG: retrieving partman-basicmethods 58
> Feb  4 00:19:21 anna[2082]: DEBUG: retrieving partman-btrfs 14
> Feb  4 00:19:23 anna[2082]: DEBUG: retrieving partman-ext3 81
> Feb  4 00:19:25 anna[2082]: DEBUG: retrieving partman-iscsi 21
> Feb  4 00:19:27 anna[2082]: DEBUG: retrieving partman-jfs 42
> Feb  4 00:19:29 anna[2082]: DEBUG: retrieving partman-md 67
> Feb  4 00:19:32 anna[2082]: DEBUG: retrieving partman-partitioning 99
> Feb  4 00:19:35 anna[2082]: DEBUG: retrieving partman-target 90
> Feb  4 00:19:37 anna[2082]: DEBUG: retrieving partman-ufs 17
> Feb  4 00:19:38 anna[2082]: DEBUG: retrieving partman-xfs 53
> Feb  4 00:19:40 anna[2082]: DEBUG: retrieving partman-zfs 31
> Feb  4 00:19:42 anna[2082]: DEBUG: retrieving libpcre3-udeb 1:8.31-2
> Feb  4 00:19:45 anna[2082]: DEBUG: retrieving pkgsel 0.41
> Feb  4 00:19:48 anna[2082]: DEBUG: retrieving rdate-udeb 1:1.2-5
> Feb  4 00:19:49 anna[2082]: DEBUG: retrieving tzsetup-udeb 1:0.50
> Feb  4 00:19:52 anna[2082]: DEBUG: retrieving ufsutils-udeb 9.2-3
> Feb  4 00:19:53 anna[2082]: DEBUG: retrieving user-setup-udeb 1.55
> Feb  4 00:19:56 anna[2082]: DEBUG: retrieving libblkid1-udeb 2.20.1-5.6
> Feb  4 00:19:57 anna[2082]: DEBUG: retrieving libuuid1-udeb 2.20.1-5.6
> Feb  4 00:19:58 anna[2082]: DEBUG: retrieving libnvpair1-udeb 9.2-4
> Feb  4 00:19:58 anna[2082]: DEBUG: retrieving libumem1-udeb 9.2-4
> Feb  4 00:19:59 anna[2082]: DEBUG: retrieving libuutil1-udeb 9.2-4
> Feb  4 00:19:59 anna[2082]: DEBUG: retrieving libzfs1-udeb 9.2-4
> Feb  4 00:20:01 anna[2082]: DEBUG: retrieving libzpool1-udeb 9.2-4
> Feb  4 00:20:02 anna[2082]: DEBUG: retrieving zfsutils-udeb 9.2-4

Regards,
-- 
Steven Chamberlain
steven@pyro.eu.org

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: ufsutils
Source-Version: 9.2-3.1

We believe that the bug you reported is fixed in the latest version of
ufsutils, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 737580@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Cyril Brulebois <kibi@debian.org> (supplier of updated ufsutils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 08 Mar 2014 14:02:51 +0100
Source: ufsutils
Binary: ufsutils ufsutils-udeb
Architecture: source kfreebsd-amd64
Version: 9.2-3.1
Distribution: unstable
Urgency: high
Maintainer: GNU/kFreeBSD Maintainers <debian-bsd@lists.debian.org>
Changed-By: Cyril Brulebois <kibi@debian.org>
Description: 
 ufsutils   - UFS filesystems utilities
 ufsutils-udeb - stripped-down versions of ufsutils, for debian-installer (udeb)
Closes: 737580 741088
Changes: 
 ufsutils (9.2-3.1) unstable; urgency=high
 .
   * Non-maintainer upload.
   * Steal the following patch from the 10 branch, fixing failures to run
     mkfs.ufs, notably from d-i (Closes: #737580):
     05_wipe_otherfs.patch: Handle DIOCGMEDIASIZE failure gracefully.
   * Fix FTBFS due to missing <libutil.h> by adding a libutil-freebsd-dev
     build-dep (Closes: #741088).
Checksums-Sha1: 
 029e8e80ddaea0fb2b064e2a6ec94da7fd07eb19 2094 ufsutils_9.2-3.1.dsc
 be792e1a1949b56bb0eed326cfe57d7426052a63 9052 ufsutils_9.2-3.1.debian.tar.xz
 6b8d0852aeda061ba2fc26d88f3207ee5279605c 150296 ufsutils_9.2-3.1_kfreebsd-amd64.deb
 fffac9a5879b547bebb7e66a380509de16e2875d 92290 ufsutils-udeb_9.2-3.1_kfreebsd-amd64.udeb
Checksums-Sha256: 
 031de799c381fabdc6aad79fed3a953a01a79e2716fe74d0e9ffe12077d1212d 2094 ufsutils_9.2-3.1.dsc
 2b3f3189dbaf0cacd2f6fcc820f974579e8912f2694b848c995611d163d957d8 9052 ufsutils_9.2-3.1.debian.tar.xz
 6b0f0c47c9f28d392a15cd77e57bfe2f5bc793851d5d886a9c50c8d84b61bc60 150296 ufsutils_9.2-3.1_kfreebsd-amd64.deb
 e61fe2bca6c17c67fceec156e24b4ce2040d1ceda50ab3cd1d39c45ff82f6765 92290 ufsutils-udeb_9.2-3.1_kfreebsd-amd64.udeb
Files: 
 ef75ba4ef947345cc2ebbad11b1d88ea 2094 utils optional ufsutils_9.2-3.1.dsc
 bd5e1ce96006184c9e15b9bc12da8341 9052 utils optional ufsutils_9.2-3.1.debian.tar.xz
 5427b0df853a0616a0f4e01f7e897459 150296 utils optional ufsutils_9.2-3.1_kfreebsd-amd64.deb
 ef9ad6438e117545a4c78d34212865bd 92290 debian-installer optional ufsutils-udeb_9.2-3.1_kfreebsd-amd64.udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJTGxXBAAoJEP+RSvDCs1UgaAkP/0sm+OZjqWFOUoqPeYwCDbk7
gOW4soapH1OLdJ+J/Ek17G++qFiF69uKCBLL7XhvGjcKiozFqjuWGaNoyQXGpFgU
HyWKlggpGfBET936SJQaWTTfWb2Qzt34x0IdtFOis1DM3ZLertChg7MHKyplYtw6
s/E+Klza+07G5IYLk5RAkDGNDxDGKhx4DEwc4u6rgV8a1O0L0tq4gFMilukDHk0d
PM4aipRaqZ1ArMGyfMfC3dDgurIcVd/T8vbharUEiGJyFnwFigbv9E0Pt+v5jwRl
R0EooFa/+vhGB1Zi/LZGOA1sGRjIv+mretyf3NBHrGctMaPbPyjNgYYXxNyyHfUb
FqbS6x6KRGk0DzHuIpfRTuiKjoC3JRGhqWd7BymetEuueKGJYTEI7uRKaSFkbsS1
0YN8og3mRYecwouU3A2fvHyvjB7zcS2kgs68uoJ20L5T7pnKa1afTbwAfUARiawX
yeVaTTW5+iqIYZINO2DibvV1Hy50CrUwNYqnQM5ByJQ52UgYbgCSLX0j9VW1jEI2
XupYT+RtSSYrfv1x6u6eEQkYV1Juj9LWKp/Y68LnLzanhJ3Dh+ukE7a3Pre1Vkka
HQRnzazxxJGIhVlkXJImVQrsWmO0g8432m/iSf11vnIGvmQXr0utVJYSKBznO97w
NSFeaHGDCnJap2j86avX
=pVa0
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: