[Bug 187015] [panic] make_dev_credv: bad si_name (error=17, si_name=agpgart)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 4 02:50:45 UTC 2016


Geoff Mottram <geoff at minaret.biz> changed:

           What    |Removed                     |Added
                 CC|                            |geoff at minaret.biz

--- Comment #13 from Geoff Mottram <geoff at minaret.biz> ---
Created attachment 176606
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=176606&action=edit
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=1

Once booted, the following line is added to /boot/loader.conf:

These fixes have been tested with X11 and a dual monitor setup.

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list