From owner-freebsd-gnome@FreeBSD.ORG Sun Jan 18 04:23:17 2009 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C23E106564A for ; Sun, 18 Jan 2009 04:23:17 +0000 (UTC) (envelope-from oberman@es.net) Received: from postal1.es.net (postal3.es.net [198.128.3.207]) by mx1.freebsd.org (Postfix) with ESMTP id 86EB38FC08 for ; Sun, 18 Jan 2009 04:23:17 +0000 (UTC) (envelope-from oberman@es.net) Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by postal3.es.net (Postal Node 3) with ESMTP (SSL) id ZFP89816 for ; Sat, 17 Jan 2009 20:23:16 -0800 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 5C6D31CC0B for ; Sat, 17 Jan 2009 20:23:16 -0800 (PST) To: gnome@freebsd.org Date: Sat, 17 Jan 2009 20:23:16 -0800 From: "Kevin Oberman" Message-Id: <20090118042316.5C6D31CC0B@ptavv.es.net> X-Sender-IP: 198.128.4.29 X-Sender-Domain: es.net X-Recipent: ; X-Sender: X-To_Name: X-To_Domain: freebsd.org X-To: gnome@freebsd.org X-To_Email: gnome@freebsd.org X-To_Alias: gnome Cc: Subject: Problems with HAL, gnome-mount and removable ATA GELI disk 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: Sun, 18 Jan 2009 04:23:18 -0000 I have a problem with hald and a removable ATA disk. This is complicated because the fact that the partition is geli encrypted. I think one issue is that this is not treated as removable. Is the any way to make hald treat an ATA disk as removable? But there may be another issue as lshal does not even show the partition. It does see the drive, /dev/ad2, the slice, /dev/ad2a1, and the encrypted partition, /dev/ad2a1d, but not the decrypted partition, /dev/ad2s1d.eli. I assume it should show up. I have other disks (USB) where the slice is encrypted and it works just fine (/dev/da0s1.elid), so maybe it's the fixed disk issue. Here is the lshal output for that disk: udi = '/org/freedesktop/Hal/devices/storage_serial_WD_WXC606029004' block.device = '/dev/ad2' (string) block.is_volume = false (bool) block.major = 0 (0x0) (int) block.minor = 88 (0x58) (int) block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_WD_WXC606029004' (string) freebsd.device_file = '/dev/ad2' (string) freebsd.driver = 'ad' (string) freebsd.unit = 2 (0x2) (int) info.capabilities = {'block', 'storage'} (string list) info.category = 'storage' (string) info.parent = '/org/freedesktop/Hal/devices/ide_1_0' (string) info.product = 'WDC WD1200UE-00KVT0' (string) info.subsystem = 'block' (string) info.udi = '/org/freedesktop/Hal/devices/storage_serial_WD_WXC606029004' (string) info.vendor = 'WDC' (string) storage.automount_enabled_hint = true (bool) storage.bus = 'ide' (string) storage.drive_type = 'disk' (string) storage.firmware_revision = '01.03K01' (string) storage.hotpluggable = false (bool) storage.media_check_enabled = false (bool) storage.model = 'WDC WD1200UE-00KVT0' (string) storage.no_partitions_hint = false (bool) storage.originating_device = '/org/freedesktop/Hal/devices/ide_1_0' (string) storage.removable = false (bool) storage.removable.support_async_notification = false (bool) storage.requires_eject = false (bool) storage.serial = 'WD-WXC606029004' (string) storage.vendor = 'WDC' (string) udi = '/org/freedesktop/Hal/devices/volume_part1_size_120031478784' block.device = '/dev/ad2s1' (string) block.is_volume = true (bool) block.major = 0 (0x0) (int) block.minor = 97 (0x61) (int) block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_WD_WXC606029004' (string) info.capabilities = {'block', 'volume'} (string list) info.category = 'volume' (string) info.parent = '/org/freedesktop/Hal/devices/storage_serial_WD_WXC606029004' (string) info.product = 'Volume' (string) info.subsystem = 'block' (string) info.udi = '/org/freedesktop/Hal/devices/volume_part1_size_120031478784' (string) volume.block_size = 512 (0x200) (uint64) volume.fstype = '' (string) volume.fsusage = 'partitiontable' (string) volume.ignore = true (bool) volume.is_disc = false (bool) volume.is_mounted = false (bool) volume.is_mounted_read_only = false (bool) volume.is_partition = true (bool) volume.label = '' (string) volume.mount_point = '' (string) volume.num_blocks = 234436482 (0xdf93782) (uint64) volume.partition.media_size = 120031478784 (0x1bf26f0400) (uint64) volume.partition.number = 1 (0x1) (int) volume.partition.scheme = 'mbr' (string) volume.partition.start = 32256 (0x7e00) (uint64) volume.partition.type = '0xa5' (string) volume.size = 120031478784 (0x1bf26f0400) (uint64) volume.uuid = '' (string) udi = '/org/freedesktop/Hal/devices/temp/192' block.device = '/dev/ad2s1d' (string) block.major = 0 (0x0) (int) block.minor = 99 (0x63) (int) info.ignore = true (bool) info.parent = '/org/freedesktop/Hal/devices/volume_part1_size_120031478784' (string) info.product = 'Ignored Device' (string) info.subsystem = 'block' (string) info.udi = '/org/freedesktop/Hal/devices/ignored-device' (string) Any suggestions for making the drive automount? -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751