Ticket #380: pcbsd-load-nonessential-modules-later.patch

File pcbsd-load-nonessential-modules-later.patch, 2.2 KB (added by gcooper, 3 years ago)
  • system-overlay/boot/loader.conf

     
    77atapicam_load="YES" 
    88 
    99# Load Wireless Support 
    10 if_bwi_load="YES" 
    11 bwi_v3_ucode_load="YES" 
    12 if_bwn_load="YES" 
    13 bwn_v4_ucode_load="YES" 
    14 runfw_load="YES" 
     10#if_bwi_load="YES" 
     11#bwi_v3_ucode_load="YES" 
     12#if_bwn_load="YES" 
     13#bwn_v4_ucode_load="YES" 
     14#runfw_load="YES" 
    1515legal.intel_ipw.license_ack=1 
    1616legal.intel_iwi.license_ack=1 
    1717 
    1818# Load Bluetooth Drivers 
    19 ng_ubt_load="YES" 
     19#ng_ubt_load="YES" 
    2020 
    2121# Enable usb Webcam Support 
    22 cuse4bsd_load="YES" 
    23 pwc_load="YES" 
     22#cuse4bsd_load="YES" 
     23#pwc_load="YES" 
    2424 
    2525# Load mmc card-reader support 
    26 mmc_load="YES" 
    27 mmcsd_load="YES" 
     26#mmc_load="YES" 
     27#mmcsd_load="YES" 
    2828 
    2929# Load additional sata device support 
    3030siis_load="YES" 
    3131sdhci_load="YES" 
    3232 
    3333# Load support for scd 
    34 scd_load="YES" 
     34#scd_load="YES" 
    3535 
    3636# Load geom support 
    3737geom_journal_load="YES" 
     
    4343sbp_load="YES" 
    4444 
    4545# Load File-System Support 
    46 libiconv_load="YES" 
    47 libmchain_load="YES" 
     46#libiconv_load="YES" 
     47#libmchain_load="YES" 
    4848cd9660_iconv_load="YES" 
    4949msdosfs_iconv_load="YES" 
    50 ntfs_load="YES" 
    51 ntfs_iconv_load="YES" 
     50#ntfs_load="YES" 
     51#ntfs_iconv_load="YES" 
    5252udf_load="YES" 
    5353udf_iconv_load="YES" 
    5454zfs_load="YES" 
    5555tmpfs_load="YES" 
    5656 
    5757# Load u3g support 
    58 u3g_load="YES" 
     58#u3g_load="YES" 
    5959 
    6060# Disable acpi throttle by default, fixes issues with powerd and later AMDs 
    6161hint.acpi_throttle.0.disabled="1" 
     
    6464machdep.disable_mtrrs=1 
    6565 
    6666# Enable POSIX semaphores 
    67 sem_load="YES" 
     67#sem_load="YES" 
    6868 
    6969# Show keystokes for passphrases 
    7070kern.geom.eli.visible_passphrase=2  
  • system-overlay/etc/rc.conf

     
    8484# Enable BlueTooth 
    8585hcsecd_enable="YES" 
    8686sdpd_enable="YES" 
     87 
     88# Don't load non-essential modules until after the kernel has mounted the 
     89# local filesystems. See descriptions in /boot/loader.conf for more details. 
     90kld_list="cuse4bsd if_bwi bwi_v3_ucode if_bwn bwn_v4_ucode libiconv libmchain mmc mmcsd ntfs_iconv ng_ubt runfw scd sem u3g"