Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Oct 2009 18:29:55 +0100
From:      Dirk-Willem van Gulik <Dirk-Willem.van.Gulik@bbc.co.uk>
To:        FreeBSD-gnats-submit@FreeBSD.org, freebsd-firewire@FreeBSD.org
Subject:   kern/139549: [firewire] reconnecting a firewire disk does not cause the disklabel to update correctly/invalidate the cache
Message-ID:  <4AEC7413.4020304@bbc.co.uk>

next in thread | raw e-mail | index | archive | help

Sean wrote:

> pre-8.0 has a default of "3" set to the sysctl "firewire.hold_count" or
> some such thing that keeps the disconnect/removal of a firewire device
> from doing "things".
>
> Try setting that value to "1" and see if the problem manifests itself.

Regardless of the setting - it seems that the disklabel continues to be 
cached - and thus no updating of the /dev's (e.g. matching the actual 
slices/partitions) happens.

I guess that we need a

	firewire.force_update_on_reconnect

which completley wacks any disklabel/da -or- perhaps abandons trying to 
use the lowest number possible; but keeps on counting it as a higher one.

Thanks,

Dw

http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
					



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AEC7413.4020304>