## Identity. # IBM ThinkPad T42 2373-5TU kernel machine i386 cpu I686_CPU ident "T42-23735TU" ## Debugging. #makeoptions DEBUG=-g #options DDB #options KDB #options KDB_TRACE #options KDB_UNATTENDED # INVARIANT_SUPPORT is needed along w/ INVARIANTS. #options INVARIANTS #options INVARIANT_SUPPORT #options WITNESS #options WITNESS_KDB #options WITNESS_SKIPSPIN # To extract configuration ... # strings -n 3 /boot/kernel/kernel | grep -v ____ | sed -n 's/^___//p' options INCLUDE_CONFIG_FILE # Adds ~128k to ahc driver. #options AHC_REG_PRETTY_PRINT # Adds ~215k to ahd driver #options AHD_REG_PRETTY_PRINT # FreeBSD 6-2006.03.18.23.37.36 cvsup is having problem in keeping a # connection. Let's try if we anything. # UPDATE: Did not anything obvious. #options SOCKBUF_DEBUG ## File systems, compatibility layers. options FFS # Berkeley Fast Filesystem options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options SOFTUPDATES # Enable FFS soft updates support options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFS_ROOT # NFS usable as /, requires NFSCLIENT options PSEUDOFS # Pseudo-filesystem framework options PROCFS # Process filesystem (requires PSEUDOFS) options LINPROCFS # requires COMPAT_LINUX and PSEUDOFS options MD_ROOT # MD is a potential root device device md # Memory "disks" options CD9660 # ISO 9660 Filesystem options MSDOSFS # MSDOS Filesystem options NTFS # NTFS Filesystem options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_LINUX #device gzip # Exec gzipped a.out's. REQUIRES COMPAT_AOUT! #options COMPAT_AOUT options GEOM_GPT # GUID Partition Tables. options KBD_INSTALL_CDEV # install a CDEV entry in /dev #options FB_INSTALL_CDEV # install a CDEV entry in /dev options SCHED_4BSD # 4BSD scheduler options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options ADAPTIVE_GIANT # Giant mutex is adaptive. options KTRACE # ktrace(1) support device crypto options GEOM_ELI # Bus support. device eisa device pci # System Management Bus (SMB) device smbus device smb device ichsmb options ENABLE_ALART # Control alarm on Intel intpm driver device apic # I/O APIC # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives #device atapifd # ATAPI floppy drives #device atapist # ATAPI tape drives #device ataraid # ATA RAID drives options ATA_STATIC_ID # Static device numbering # SCSI peripherals options SCSI_DELAY=15000 # Delay (in ms) before probing SCSI device scbus # SCSI bus (required for SCSI) device ch # SCSI media changers device da # Direct Access (disks) device sa # Sequential Access (tape etc) device pass # Passthrough device (direct SCSI access) device cd # CD device ses # SCSI Environmental Services (and SAF-TE) # Use ATA CD or DVD as SCSI device. device atapicam # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse # No internal floppy drive #device fdc device random # Entropy device # Mixer does not see speaker device regardless of being compiled here # or loaded outside. device speaker # Play IBM BASIC-style noises out your speaker ## PORTS # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports #device sl # Kernel SLIP # Parallel port device ppbus # Parallel port bus (required) device ppc device ppi # Parallel port interface device device lpt # Printer device plip # TCP/IP over parallel # USB support #device uhci # UHCI PCI->USB interface #device ehci # USB 2.0 devices #device udbp # USB Double Bulk Pipe devices; needs NETGRAPH #device usb # USB Bus (required) #device ugen # Generic #device uhid # "Human Interface Devices" #device umass # Disks/Mass storage - Requires scbus and da # PCCARD (PCMCIA) support # PCMCIA and cardbus bridge support device cbb # cardbus (yenta) bridge device cardbus # CardBus (32-bit) bus device pccard # PC Card (16-bit) bus # ## OLDCARD #nodevice cbb # cardbus (yenta) bridge #nodevice cardbus # CardBus (32-bit) bus #nodevice pccard # PC Card (16-bit) bus #device card # pccard bus #device pcic # PCMCIA bridge # If you've got a "dumb" serial or parallel PCI card that is # supported by the puc(4) glue driver, uncomment the following # line to enable it (connects to the sio and/or ppc drivers): #device puc # Zip drive; requires scbus and da #device vpo ## CONSOLE, VIDEO # Console resolution does not change regardless presence of SC_PIXEL_MODE, # VESA, or VGA_WIDTH90. device sc #options SC_DISABLE_DDBKEY #options SC_DISABLE_REBOOT options SC_HISTORY_SIZE=1500 options SC_TWOBUTTON_MOUSE options SC_ALT_MOUSE_IMAGE #options SC_DFLT_FONT #makeoptions SC_DFLT_FONT=iso #options SC_NO_FONT_LOADING #options SC_PIXEL_MODE options SC_NORM_ATTR="(FG_CYAN|BG_BLACK)" options SC_NORM_REV_ATTR="(FG_YELLOW|BG_BLUE)" options SC_KERNEL_CONS_ATTR="(FG_YELLOW|BG_RED)" options SC_KERNEL_CONS_REV_ATTR="(FG_GREEN|BG_BLACK)" device pty # Pseudo-ttys (telnet etc) #device splash device vga # VGA video card driver options VGA_WIDTH90 #options VESA #options VESA_DEBUG # DRM options: # mgadrm: AGP Matrox G200, G400, G450, G550 # radeondrm: ATI Radeon up to 9000/9100 # DRM_DEBUG: include debug printfs, very slow # # mga requires AGP in the kernel, and it is recommended for AGP radeon # cards. The actual card is "ATI Radeon Lf R250 Mobility 9000 # M9". device agp # support several AGP chipsets device drm device radeondrm #options DRM_DEBUG # Listes as being SLOW (in NOTES). ## POWER MANAGEMENT # Add suspend/resume support for the i8254. device pmtimer # It is strongly recommended to use HZ=1000 or 2000 with DEVICE_POLLING # to achieve smoother behaviour. # Additionally, you can enable/disable polling at runtime with the # sysctl variable kern.polling.enable (defaults off), and select # the CPU fraction reserved to userland with the sysctl variable # kern.polling.user_frac (default 50, range 0..100). # # Not all device drivers support this mode of operation at the time of # this writing. See polling(4) for more details. #options DEVICE_POLLING #options HZ=1500 # ACPI support using the Intel ACPI Component Architecture reference # implementation. # # ACPI_DEBUG enables the use of the debug.acpi.level and debug.acpi.layer # kernel environment variables to select initial debugging levels for the # Intel ACPICA code. (Note that the Intel code must also have USE_DEBUGGER # defined when it is built). # # ACPI_MAX_THREADS sets the number of task threads started. # # ACPI_NO_SEMAPHORES makes the AcpiOs*Semaphore routines a no-op. # # ACPICA_PEDANTIC enables strict checking of AML. Our default is to # relax these checks to allow code generated by the Microsoft compiler # to still execute. #device acpi #options ACPI_DEBUG #options ACPI_MAX_THREADS=1 #!options ACPI_NO_SEMAPHORES #!options ACPICA_PEDANTIC # device acpi_video # - IBM ThinkPad T42 (23735TU) - When (ACPI was disabled and) apm was # - enabled and Fn+F4 key sequence was pressed in order to suspend, in X # - (Xorg 6.7.0), system seemingly froze. Trackpad was not responding, but # - TrackPoint was; pressing any 2 sets of buttons -- 3-button cluster or # - 2-button cluster -- did not respond. # - # - Further, Ctrl+Alt+Backspace did not kill X; VT-switching did not work # - either. If it makes any difference, hw.syscons.sc_no_suspend_vtswitch=1 # - was in effect. # - # - There is no problem in suspend/resume, in X or console, when time period # - in between the cycle was about <10 minutes. # Power management support (see NOTES for more options) # - In 5.4, enabling apm dev & setting acpi in loader.conf allowed acpi to be # - loaded in favor of apm. As of 5-stable-2005.10.04.18.00.43, this has # - changed such that, enabling apm loads apm w/ loader.conf acpi instruction # - having no effect. Apparently. #device apm ##device apm_saver # Needs splash device ## NETWORKING # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support device tun # Packet tunnel. device loop # Network loopback device ether # Ethernet support # PCI Ethernet NICs. #device em # Intel PRO/1000 adapter Gigabit Ethernet Card #device fxp # Intel PRO/100 SR adapter #device ed # Linksys PCMLM56 # Wireless NIC cards device wlan # 802.11 support # As of Jan 16 2006, wlan_(wep|tkip) needs to be either compiled in or loaded # as module via manual setup. #device wlan_wep #device wlan_tkip #device iwi # NDIS w/ WPA-PSk is no good as of Jan 16 2006, may work w/ WEP. #device ndis #options NDISAPI # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! device bpf # Berkeley packet filter # Dec 25 2005 - Do not where/how BSDCOMP & DEFLATE afre used in my case. options PPP_BSDCOMP options PPP_DEFLATE #options PPP_FILTER #options NETATALK # appletalk options NETGRAPH # Needed for udbp options INET # InterNETworking #options INET6 # IPv6 communications protocols #device gif # IPv6 and IPv4 tunneling #device faith # IPv6-to-IPv4 relaying (translation) #options IPSEC #options IPSEC_ESP #options IPSEC_DEBUG options IPSTEALTH options TCP_DROP_SYNFIN #options ALTQ #options ALTQ_DEBUG #options ALTQ_HFSC # Hierarchical Faur Service Curve - scheduler #options ALTQ_CBQ # Class Based Queuing - scheduler #options ALTQ_PRIQ # Priority Queuing - scheduler #options ALTQ_RED # Random Early (Detetction|Drop) (extension) #options ALTQ_RIO # Random Early (Detetction|Drop) for I/O #options ALTQ_CDNR # Build the traffic conditioner. ##options ALTQ_NOPCC # required for SMP builds. options IPFILTER options IPFILTER_LOG options IPFILTER_DEFAULT_BLOCK # pf requires altq. #device pf #device pflog #device pfsync #options IPDIVERT #options IPFIREWALL #options IPFIREWALL_VERBOSE #options IPFIREWALL_VERBOSE_LIMIT=100 #options IPFIREWALL_FORWARD #options IPFIREWALL_DEFAULT_TO_ACCEPT #options IPV6FIREWALL_VERBOSE #options IPV6FIREWALL_VERBOSE_LIMIT=100 #options IPV6FIREWALL_DEFAULT_TO_ACCEPT #options DUMMYNET #options BRIDGE