kern/139549: [firewire] reconnecting a firewire disk does not cause the disklabel to update correctly/invalidate the cache

Dirk-Willem van Gulik Dirk-Willem.van.Gulik at bbc.co.uk
Sat Oct 31 18:00:15 UTC 2009


The following reply was made to PR kern/139549; it has been noted by GNATS.

From: Dirk-Willem van Gulik <Dirk-Willem.van.Gulik at bbc.co.uk>
To: FreeBSD-gnats-submit at FreeBSD.org, freebsd-firewire at FreeBSD.org
Cc:  
Subject: kern/139549: [firewire] reconnecting a firewire disk does not cause
 the disklabel to update correctly/invalidate the cache
Date: Sat, 31 Oct 2009 18:29:55 +0100

 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.
 					


More information about the freebsd-firewire mailing list