Date: Thu, 22 Feb 2007 12:10:33 +0100 From: Fabian Keil <freebsd-listen@fabiankeil.de> To: "Petr Holub" <hopet@ics.muni.cz> Cc: stable@freebsd.org Subject: Re: 6.2-RELEASE panic when blanking CD-RW media Message-ID: <20070222121033.2697861c@localhost> In-Reply-To: <008401c75543$7ee539b0$5317fb93@KLOBOUCEK> References: <008401c75543$7ee539b0$5317fb93@KLOBOUCEK>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_cWheQhVfW=9ZN.=/f==Dhkl Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable "Petr Holub" <hopet@ics.muni.cz> wrote: > I've encountered a deterministic kernel panic when > blanking one specific CD-RW media using cdrecord. > The kernel panic details follow and dmesg is at the end of this > email. Though I understand there's something wrong with the media, > I think it shouldn't panic the kernel either. > # kgdb /boot/kernel/kernel vmcore.9 > (kgdb) bt > #0 0xc067262e in doadump () > #1 0xc0672afe in boot () > #2 0xc0672d94 in panic () > #3 0xc0885a04 in trap_fatal () > #4 0xc088576b in trap_pfault () > #5 0xc08853a9 in trap () > #6 0xc0873a7a in calltrap () > #7 0xc04e5e2e in acd_geom_detach () > #8 0xc06388f9 in one_event () > #9 0xc06389d1 in g_run_events () > #10 0xc0639de5 in g_event_procbody () > #11 0xc065cd34 in fork_exit () > #12 0xc0873adc in fork_trampoline () > (kgdb) x 0xc067262e > 0xc04e5e2e <acd_geom_detach+18>: 0x03b0b0ff > (kgdb) q You could give the following patch a try:=20 http://www.fabiankeil.de/sourcecode/freebsd/atapi-cd.c.patch It prevents a panic if a disc drive gets "lost" without FreeBSD noticing it (for example because the firmware is buggy). See: http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern/99017 for details. Note that the patch simply prevents the panic, your drive will probably still be "lost" until you reboot. Fabian --Sig_cWheQhVfW=9ZN.=/f==Dhkl Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF3XotBYqIVf93VJ0RAsi9AKC0+YqvdWiPrRf3VssKRv/9SYeWEQCeNoF0 CiOD6YjlgU41ydka5X0/UZ8= =XiSO -----END PGP SIGNATURE----- --Sig_cWheQhVfW=9ZN.=/f==Dhkl--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070222121033.2697861c>