Date: Fri, 04 Nov 2016 02:50:44 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 187015] [panic] make_dev_credv: bad si_name (error=17, si_name=agpgart) Message-ID: <bug-187015-8-rDEbM7hSlS@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-187015-8@https.bugs.freebsd.org/bugzilla/> References: <bug-187015-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D187015 Geoff Mottram <geoff@minaret.biz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |geoff@minaret.biz --- Comment #13 from Geoff Mottram <geoff@minaret.biz> --- Created attachment 176606 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D176606&action= =3Dedit Patch for FreeBSD 11 to remove kernel panic and number agpgart devices I was affected when I installed FreeBSD 11 on a 2004 Toshiba laptop with an Intel 855 graphics chip and an external VGA port. There was a kernel panic = as the PCI bus was checked for devices. Each graphics port has a separate set = of memory addresses and shows up separately during the PCI probe. The patch uses make_dev_s with MAKEDEV_CHECKNAME to prevent a kernel panic = if something goes wrong but includes logging and state cleanup on error. The patch creates /dev/agpgart for the first AGP device found on the bus and numbers each unit after that (/dev/agpgart2, ...). Without the patch, the work-around is to stop the boot loader and enter the following commands: set hint.agp.1.disabled=3D1 boot Once booted, the following line is added to /boot/loader.conf: hint.agp.1.disabled=3D1 These fixes have been tested with X11 and a dual monitor setup. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-187015-8-rDEbM7hSlS>