--- On Thu, 5/13/10, Heshmat Ismail wrote:
From: Heshmat Ismail
Subject: Re: startx couldn't create cookie with custom kernel
To: "Yuri Pankov"
Date: Thursday, May 13, 2010, 1:19 PM
# cd /usr/src/sys/i386/conf
# diff -u GENERIC MYKERNEL
--- GENERIC 2009-11-09 23:48:01.0 +
+++ MYKERNEL 2010-05-12 17:06:41.0 +
@@ -1,4 +1,4 @@
-#
+
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the config(5) manual page,
@@ -18,10 +18,10 @@
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.519.2.4.2.2 2009/11/09 23:48:01
kensmith Exp $
-cpu I486_CPU
-cpu I586_CPU
+#cpu I486_CPU
+#cpu
I586_CPU
cpu I686_CPU
-ident GENERIC
+ident MYKERNEL
# To statically compile in device wiring instead of /boot/device.hints
#hints "GENERIC.hints" # Default places to look for devices.
@@ -42,30 +42,30 @@
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options
UFS_ACL # Support for access control lists
-options UFS_DIRHASH # Improve performance on big directories
+#options UFS_DIRHASH # Improve performance on big directories
options UFS_GJOURNAL # Enable gjournal-based UFS journaling
options MD_ROOT # MD is a potential root device
-options
NFSCLIENT # Network Filesystem Client
-options NFSSERVER # Network Filesystem Server
-options NFSLOCKD # Network Lock Manager
-options NFS_ROOT # NFS usable as /, requires NFSCLIENT
-options MSDOSFS # MSDOS Filesystem
-options
CD9660 # ISO 9660 Filesystem
-options PROCFS # Process filesystem (requires PSEUDOFS)
-options PSEUDOFS # Pseudo-filesystem framework
+#options NFSCLIENT # Network Filesystem Client
+#options NFSSERVER # Network Filesystem Server
+#options
NFSLOCKD # Network Lock Manager
+#options NFS_ROOT # NFS usable as /, requires NFSCLIENT
+#options MSDOSFS # MSDOS Filesystem
+#options CD9660 # ISO 9660 Filesystem
+#options PROCFS # Process filesystem (requires PSEUDOFS)
+#options
PSEUDOFS # Pseudo-filesystem framework
options GEOM_PART_GPT # GUID Partition Tables.
options GEOM_LABEL # Provides labelization
options COMPAT_43TTY # BSD 4.3 TTY compat (sgtty)
-options COMPAT_FREEBSD4 # Compatible with FreeBSD4
-options COMPAT_FREEBSD5 # Compatible with
FreeBSD5
-options COMPAT_FREEBSD6 # Compatible with FreeBSD6
+#options COMPAT_FREEBSD4 # Compatible with FreeBSD4
+#options COMPAT_FREEBSD5 # Compatible with FreeBSD5
+#options COMPAT_FREEBSD6 # Compatible with FreeBSD6
options COMPAT_FREEBSD7 # Compatible with FreeBSD7
-options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
-options
KTRACE # ktrace(1) support
+#options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
+#options KTRACE # ktrace(1) support
options STACK # stack(9) support
options SYSVSHM # SYSV-style shared memory
-options
SYSVMSG # SYSV-style message queues
-options SYSVSEM # SYSV-style semaphores
+#options SYSVMSG # SYSV-style message queues
+#options SYSVSEM # SYSV-style semaphores
options P1003_1B_SEMAPHORES # POSIX-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time
extensions
options PRINTF_BUFR_SIZE=128 # Prevent printf output being
interspersed.
@@ -84,86 +84,86 @@
device cpufreq
# Bus support.
-device acpi
-device eisa
+#device acpi
+#device eisa
device pci
# Floppy drives
-device fdc
+#device fdc
# ATA and ATAPI
devices
device ata
device atadisk # ATA disk drives
-device ataraid # ATA RAID drives
+#device ataraid # ATA RAID drives
device atapicd # ATAPI CDROM drives
-device atapifd # ATAPI floppy drives
-device atapist # ATAPI tape
drives
+#device atapifd # ATAPI floppy drives
+#device atapist # ATAPI tape drives
options ATA_STATIC_ID # Static device numbering
#