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

Bug#693510: kfreebsd: Could not get identity of device (was: Fwd: Bug#693510: installation report)



Control: clone -1
Control: retitle -1 kfreebsd: Could not get identity of device
Control: reassign -1 src:parted
Control: found -1 2.3-11
Control: user debian-bsd@lists.debian.org
Control: usertags -1 kfreebsd

Hi!

On 19/11/12 17:23, Arno Töll wrote:
> It might be helpful to know which ioctl d-i tries to call down the bus,
> as I suspect it is one not supported by the FreeBSD kernel. Hence,
> bypassing that code may help.

It's probably this, in parted-2.3 debian/patches/kfreebsd-gnu.patch:
> +++ b/libparted/arch/freebsd.c
[...]
> +       if (ioctl (arch_specific->fd, IOCATAGPARM, &params) != 0) {
> +               ex_status = ped_exception_throw (
> +                       PED_EXCEPTION_WARNING,
> +                       PED_EXCEPTION_IGNORE_CANCEL,
> +                       _("Could not get identity of device %s - %s"),
> +                       dev->path, strerror (errno));

This would normally look up the IDE drive model/revision to identify it
in the partition editor.  It will fall back to 'Generic IDE' if the user
selects 'Ignore' in the dialog and is otherwise harmless.

I can't guess from upstream's SVN changelog why it would have stopped
working, so maybe we we can try old kfreebsd-8 installer images to see
when the problem started.  (Or does it only affect kfreebsd-9?)

If somehow it's not fixable before release, the Ignore/Cancel dialog
might be removed, to avoid confusing users, and it could always return
'Generic IDE' without attempting the ioctl.

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

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: