[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Patch to fix kldstat(2) / dtrace when booting FreeBSD
From: |
Kris Moore |
Subject: |
Patch to fix kldstat(2) / dtrace when booting FreeBSD |
Date: |
Fri, 09 Jan 2015 11:31:26 -0500 |
User-agent: |
Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 |
The following patch fixes an important issue when booting FreeBSD.
FreeBSD's kldstat(2) function expects that the full pathname will be
provided to kernel / modules. The current GRUB was striping this out and
only leaving the filename itself. This broke dtrace and other things
which used the full pathname to locate the kernel or modules on disk.
The attached patch fixes this behavior.
--
Kris Moore
PC-BSD Software
iXsystems
patch-grub-core_loader_i386_bsd.c
Description: Text Data
- Patch to fix kldstat(2) / dtrace when booting FreeBSD,
Kris Moore <=