HAL on FreeBSD 5.5 redux
Michael Nottebrock
lofi at freebsd.org
Sat Feb 10 03:40:59 UTC 2007
On Friday, 9. February 2007 22:02, Jean-Yves Lefort wrote:
> On Fri, 9 Feb 2007 09:52:18 +0100
>
> Michael Nottebrock <lofi at 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 at 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,
--
,_, | Michael Nottebrock | lofi at freebsd.org
(/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
\u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20070210/fad59a25/attachment-0001.pgp
More information about the freebsd-gnome
mailing list