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

Bug#737580: ufsutils-udeb: mkfs.ufs: DIOCGMEDIASIZE: Inappropriate ioctl for device



On 04/02/2014 00:34, Steven Chamberlain wrote:
> 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.

Can this still be reproduced with any of the following?

- ufsutils (the non-udeb version)
- kfreebsd-10
- ufsutils-udeb 10.0

-- 
Robert Millan


Reply to: