Date: Tue, 11 Nov 2008 12:25:08 +0000 (UTC) From: Andrew Gallatin <gallatin@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern subr_firmware.c Message-ID: <200811111225.mABCPBfo054186@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
gallatin 2008-11-11 12:25:08 UTC FreeBSD src repository Modified files: sys/kern subr_firmware.c Log: SVN rev 184842 on 2008-11-11 12:25:08Z by gallatin Avoid scheduling firmware taskqs when cold. This prevents a panic which occurs when a driver attempts to load firmware at boot via firmware_get() when the firmware module has not been preloaded. firmware_get() will enqueue a task using a struct taskqueue allocated on the stack, and the machine will crash much later in the firmware taskq thread when taskqs are started and the struct taskqueue is garbage. Not objected to by: sam Revision Changes Path 1.12 +7 -3 src/sys/kern/subr_firmware.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811111225.mABCPBfo054186>