From owner-freebsd-firewire@FreeBSD.ORG Sat Oct 31 17:58:47 2009 Return-Path: Delivered-To: freebsd-firewire@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2C2C106566C; Sat, 31 Oct 2009 17:58:47 +0000 (UTC) (envelope-from Dirk-willem.Van.gulik@bbc.co.uk) Received: from mailgw3.thls.bbc.co.uk (mailgw3.thls.bbc.co.uk [132.185.240.143]) by mx1.freebsd.org (Postfix) with ESMTP id 783F08FC20; Sat, 31 Oct 2009 17:58:46 +0000 (UTC) Received: from bbcxm1005.national.core.bbc.co.uk ([10.161.130.188]) by mailgw3.thls.bbc.co.uk (8.13.8/8.13.7) with ESMTP id n9VHSldM005828; Sat, 31 Oct 2009 17:28:47 GMT Received: from beeb.local ([10.152.8.189]) by bbcxm1005.national.core.bbc.co.uk over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Sat, 31 Oct 2009 17:30:00 +0000 Message-ID: <4AEC7413.4020304@bbc.co.uk> Date: Sat, 31 Oct 2009 18:29:55 +0100 From: Dirk-Willem van Gulik User-Agent: Postbox 1.0.2 (Macintosh/2009102216) MIME-Version: 1.0 To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-firewire@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 31 Oct 2009 17:30:00.0803 (UTC) FILETIME=[C6392330:01CA5A4F] Cc: Subject: kern/139549: [firewire] reconnecting a firewire disk does not cause the disklabel to update correctly/invalidate the cache X-BeenThere: freebsd-firewire@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Firewire support in FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Oct 2009 17:58:48 -0000 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.