HAL on FreeBSD 5.5 redux

Michael Nottebrock lofi at freebsd.org
Fri Feb 9 06:30:56 UTC 2007


On Friday, 9. February 2007 06:52, Joe Marcus Clarke wrote:
> On Fri, 2007-02-09 at 06:34 +0100, Michael Nottebrock wrote:
> > While regression testing a few new patches for KDE's media kioslave, I
> > found out that the FreeBSD 5.5 fix for cdroms as committed to ports
> > doesn't actually work - because of this code:
> >
> > /* Better to assert here than panic the machine. */
> > /* XXX Should this be a conditional?  How likely is this? */
> > assert(cdrom->channel >= 0);
> > assert(cdrom->device >= 0 && cdrom->device < 2);
>
> Which assertion is actually failing?

Assertion failed: (cdrom->channel >= 0), function hfp_cdrom_send_ccb, file 
hfp-cdrom.c, line 177.

> There was a recent change that went into HAL to favor atapicam
> installations over those without.  I wonder if this could be causing
> problems.

Like I said - I tried downgrading to 20061224 and the behaviour is the same.

> Please provide an lshal.

http://people.freebsd.org/~lofi/lshal-out.txt

-- 
   ,_,   | 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/20070209/fcef422d/attachment.pgp


More information about the freebsd-gnome mailing list