Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Feb 2007 04:40:46 +0100
From:      Michael Nottebrock <lofi@freebsd.org>
To:        Jean-Yves Lefort <jylefort@freebsd.org>
Cc:        gnome@freebsd.org
Subject:   Re: HAL on FreeBSD 5.5 redux
Message-ID:  <200702100440.50613.lofi@freebsd.org>
In-Reply-To: <20070209220253.9f6b6d28.jylefort@FreeBSD.org>
References:  <200702090634.56455.lofi@freebsd.org> <200702090952.27005.lofi@freebsd.org> <20070209220253.9f6b6d28.jylefort@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart3514187.RRL3NfkXdR
Content-Type: text/plain;
  charset="iso-8859-6"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Friday, 9. February 2007 22:02, Jean-Yves Lefort wrote:
> On Fri, 9 Feb 2007 09:52:18 +0100
>
> Michael Nottebrock <lofi@freebsd.org> wrote:
> > On Friday, 9. February 2007 08:46, Joe Marcus Clarke wrote:
> > > On Fri, 2007-02-09 at 07:58 +0100, Michael Nottebrock wrote:
> > > > On Friday, 9. February 2007 06:52, Joe Marcus Clarke wrote:
> > > > > There was a recent change that went into HAL to favor atapicam
> > > > > installations over those without.  I wonder if this could be
> > > > > causing problems.  Please provide an lshal.
> > > >
> > > > Oh, and I really should mention this, the atapicam devices work fine
> > > > with the current HAL, the problems are just with the atapicd devices
> > > > (i.e. with atapicam turned off, that was the regression testing I
> > > > did).
> > >
> > > Something just occurred to me.  Give this patch a try, and see if it
> > > helps.
> >
> > That patch fixes the probing of the atapicd devices. Excellent!
> >
> > It uncovers a different problem though: HAL appears to only hide/ignore
> > acd0 if both atapicam and atapicd are enabled - when I boot with a cdrom
> > loaded into my second drive, the volume shows up in the media manager
> > twice, for cd1 *and* acd1. The volume on acd1 disappears though when I
> > eject and reload the disc.
> >
> > There is also an hald-addon-storage process of acd1:
> >
> > [lofi@kiste]:0:~ > ps auxwww | grep hald-addon
> > root         942  0,0  0,1  2776  1468  ??  S     9:40am   0:00,16
> > hald-addon-storage: /dev/cd0 (hald-addon-storage)
> > root         947  0,0  0,1  2780  1476  ??  S     9:40am   0:00,15
> > hald-addon-storage: /dev/cd1 (hald-addon-storage)
> > root         969  0,0  0,1  2776  1472  ??  S     9:40am   0:00,21
> > hald-addon-storage: /dev/acd1 (hald-addon-storage)
>
> I think I should map atapicam devices to SCSI devices by target ID,
> not by target LUN. Please test the attached patch.

That gets rid of the problem nicely. Thanks!


Cheers,
=2D-=20
   ,_,   | Michael Nottebrock               | lofi@freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org

--nextPart3514187.RRL3NfkXdR
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQBFzT7CXhc68WspdLARAg8KAKCUalubO9mEYTHbbBkeIwc9AflRoACeNj9h
Y5hIHuA1Hynp0wQEKtZrVcE=
=ezLe
-----END PGP SIGNATURE-----

--nextPart3514187.RRL3NfkXdR--



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