Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jan 2009 23:15:15 -0800
From:      "Kevin Oberman" <oberman@es.net>
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        gnome@freebsd.org
Subject:   Re: Problems with HAL, gnome-mount and removable ATA GELI disk 
Message-ID:  <20090118071515.357861CC0B@ptavv.es.net>
In-Reply-To: Your message of "Sun, 18 Jan 2009 01:28:22 EST." <1232260102.51752.20.camel@shumai.marcuscom.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> From: Joe Marcus Clarke <marcus@marcuscom.com>
> Date: Sun, 18 Jan 2009 01:28:22 -0500
> 
> On Sat, 2009-01-17 at 20:23 -0800, Kevin Oberman wrote:
> > 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?
> 
> The device's ata_params struct support command1 should indicate that the
> device is removable.  I'm not sure how else to tell a device is
> removable.

OK. I'm out of my depth. I've looked at ata-all.h and did not see what
might be involved. Guess I just need to set hal to mount fixed disks,
too. Last time I tried this I hit some annoying side effects, but I can
work around those.

> > 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.
> > 
> 
> Have you defined any hal FDI files that might be ignoring this device?
> I don't see where else it would be ignored.

Ack! I'd forgotten about an old FDI file. That takes care of that
one. Thanks. 
-- 
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



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