Date: Fri, 09 Feb 2007 00:52:14 -0500 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Michael Nottebrock <lofi@freebsd.org> Cc: gnome@freebsd.org Subject: Re: HAL on FreeBSD 5.5 redux Message-ID: <1171000334.67014.18.camel@shumai.marcuscom.com> In-Reply-To: <200702090634.56455.lofi@freebsd.org> References: <200702090634.56455.lofi@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-gxQmHN4AayAsp4DfidVr Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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 fo= und=20 > out that the FreeBSD 5.5 fix for cdroms as committed to ports doesn't=20 > actually work - because of this code: >=20 > /* Better to assert here than panic the machine. */ > /* XXX Should this be a conditional? How likely is this? */ > assert(cdrom->channel >=3D 0); > assert(cdrom->device >=3D 0 && cdrom->device < 2); Which assertion is actually failing? What are the values of cdrom->channel and cdrom->device? These assertions are to prevent a bad value from being passed to the kernel thus resulting in a panic. If these assertions are being hit, then the probe should terminate on a SIGABRT. >=20 > I don't know what this is supposed to do (avoid using both atapicam & ata= picd=20 > devices?), but it does prevent detection of any cdrom volumes here when=20 > atapicam is disabled. I have two cd/dvd writers (acd0 and acd1) in this=20 > machine.=20 >=20 > I didn't notice this earlier because I skipped hal-0.5.8-20061224, but I = did=20 > go back to it now and can confirm that that version doesn't work either=20 > unless those lines are removed. 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. Joe >=20 >=20 > Cheers, --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-gxQmHN4AayAsp4DfidVr Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQBFzAwOb2iPiv4Uz4cRApkNAKCOsnXQxUcnACKEit9kjYJJGB5QBACcCEwV oKMDAxeaftsuTJ4bV90e5/c= =Z3bu -----END PGP SIGNATURE----- --=-gxQmHN4AayAsp4DfidVr--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1171000334.67014.18.camel>