From owner-freebsd-gnome@FreeBSD.ORG Thu Feb 28 20:51:18 2008 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC5C01065673 for ; Thu, 28 Feb 2008 20:51:18 +0000 (UTC) (envelope-from marcus@freebsd.org) Received: from av-tac-rtp.cisco.com (hen.cisco.com [64.102.19.198]) by mx1.freebsd.org (Postfix) with ESMTP id 491578FC2D for ; Thu, 28 Feb 2008 20:51:18 +0000 (UTC) (envelope-from marcus@freebsd.org) X-TACSUNS: Virus Scanned Received: from rooster.cisco.com (localhost [127.0.0.1]) by av-tac-rtp.cisco.com (8.11.7p3+Sun/8.11.7) with ESMTP id m1SKeoX27833; Thu, 28 Feb 2008 15:40:50 -0500 (EST) Received: from [64.102.221.145] (dhcp-64-102-221-145.cisco.com [64.102.221.145]) by rooster.cisco.com (8.11.7p3+Sun/8.11.7) with ESMTP id m1SKfRu02723; Thu, 28 Feb 2008 15:41:28 -0500 (EST) Message-ID: <47C71C53.8030809@freebsd.org> Date: Thu, 28 Feb 2008 15:40:51 -0500 From: Joe Marcus Clarke Organization: FreeBSD, Inc. User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Andriy Gapon References: <47C71B42.1010402@icyb.net.ua> In-Reply-To: <47C71B42.1010402@icyb.net.ua> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-gnome@freebsd.org Subject: Re: hal vs. fat32 formatted dvd-ram X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Feb 2008 20:51:18 -0000 Andriy Gapon wrote: > Using a path described in the following PR I formatted complete DVD-RAM > disk with FAT32: > http://www.freebsd.org/cgi/query-pr.cgi?pr=121182 > > Now when I insert the disk hald tastes it for a very long time (much > longer that I've seen ever before) and in the end it can not detect the > filesystem. > > lshal shows this "volume.disk" device, but nothing under it: > udi = '/org/freedesktop/Hal/devices/storage_model_DVDRAM_GSA_4163B_block' > block.storage_device = > '/org/freedesktop/Hal/devices/storage_model_DVDRAM_GSA_4163B' (string) > info.product = 'Block Device' (string) > info.udi = > '/org/freedesktop/Hal/devices/storage_model_DVDRAM_GSA_4163B_block' > (string) > block.is_volume = false (bool) > volume.disc.capacity = 4580769792 (0x111090000) (uint64) > volume.disc.type = 'dvd_ram' (string) > volume.disc.is_rewritable = true (bool) > volume.disc.is_blank = false (bool) > volume.disc.is_appendable = false (bool) > volume.disc.is_videodvd = false (bool) > volume.disc.is_svcd = false (bool) > volume.disc.is_vcd = false (bool) > volume.disc.has_data = true (bool) > volume.disc.has_audio = false (bool) > block.minor = 94 (0x5e) (int) > block.major = 0 (0x0) (int) > block.device = '/dev/cd1' (string) > info.category = 'volume.disc' (string) > info.bus = 'block' (string) > info.capabilities = {'block', 'volume', 'volume.disc'} (string list) > info.parent = > '/org/freedesktop/Hal/devices/storage_model_DVDRAM_GSA_4163B' (string) > > And: > $ file -s /dev/cd1 > /dev/cd1: x86 boot sector, code offset 0x58, OEM-ID "BSD 4.4", > Bytes/sector 2048, sectors/cluster 2, heads 255, sectors 2236704 > (volumes > 32 MB) , FAT (32 bit), sectors/FAT 2181, Backup boot sector > 2, serial number 0x7fbf1210, label: "SHUTTLE32 " > > I can provide any additional required debugging info. HAL will wait 60 seconds before it times out the volume probe helper. If it takes longer for the probe to determine the file system, then the detection will fail. You can increase this in hald/freebsd/hf-volume.c by increasing the PROBE_VOLUME_TIMEOUT multiplier. The HAL_HELPER_TIMEOUT is 10 seconds. Joe > -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome