Re: 編譯核心出問題

看板FreeBSD作者時間21年前 (2005/02/17 10:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串9/20 (看更多)
※ 引述《pychang.bbs@bbs.cse.yzu.edu.tw (Linux~ 讚! Linux~ 屌!)》之銘言: > ※ 引述《pig.bbs@ptt.cc (歡迎加入豬頭黨)》之銘言: > > /usr/src/sys/i386/conf/GENERIC > > 裡面有一行 > > # Bus support. Do not remove isa, even if you have no isa slots > > device isa > 那就奇怪了~~ 我的GENERIC沒有那行註解ㄝ~~ > 而且我被黑皮書誤倒了 它上面寫說 > "isa匯流排現在i386機器上已經很少見了" 即使沒有 isa slot 你要 compile atapi (ad?) 也需要 isa 這個是你的 dependency 問題所在. 如果要一個最簡短的簡化過的 kernel config file. (當 server, 該閹的都閹了. XD) 下面這個是個例子: PS: 一些特殊需求,請自行增加刪減. 謝謝 -- # Modified by eintisy. 2002/08/14 # Basic machine i386 ident Craps maxusers 0 # CPU OPTIONS cpu I686_CPU #options NO_F00F_HACK # COMPATIBILITY OPTIONS options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options USER_LDT #allow user-level control of i386 ldt options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options GPL_MATH_EMULATE #Support for x87 emulation via #new math emulator # NETWORKING OPTIONS options INET #InterNETworking # EXTRA OPTIONS options UFS_DIRHASH #Improve performance on big directories options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options NFS #Network File System options SOFTUPDATES #Enable FFS soft updates support options PROCFS #Process filesystem options P1003_1B #Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options KBD_INSTALL_CDEV # install a CDEV entry in /dev options SUIDDIR device isa device pci # ATA and ATAPI devices device ata device atadisk # ATA disk drives options ATA_STATIC_ID #Static device numbering # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x1 device vga0 at isa? # syscons is the default console driver, resembling an SCO console device sc0 at isa? flags 0x100 # Floating point support - do not disable. #device npx0 at nexus? port IO_NPX flags 0x0 irq 13 device npx0 at nexus? port IO_NPX irq 13 # Power management support (see LINT for more options) #device apm0 at nexus? disable flags 0x20 # Advanced Power Management device apm0 # PCI Ethernet NICs. # 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! #options DEVICE_POLLING # achieve smoother behaviour #options HZ=1000 device miibus # MII bus support device fxp # Network adapter # Gigabit Ethernet NICs. device em # Intel Pro/1000 (82542,82543,82544,82540) device gx # Intel Pro/1000 (82542, 82543) device bge # Broadcom BCM570x (``Tigon III'') # Pseudo devices - the number indicates how many units to allocate. pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device pty #256 # Pseudo-ttys (telnet etc) pseudo-device gzip # Exec gzipped a.out's pseudo-device snp #4 # Snoop device - to look at pty/vty/etc.. pseudo-device vn #4 # Vnode driver (turns a file into a device) #pseudo-device md # Memory "disks" #pseudo-device gre # IP over IP tunneling pseudo-device snp # Snoop device - to look at pty/vty/etc.. pseudo-device tun # Tunnel driver (ppp(8), nos-tun(8)) # The `bpf' pseudo-device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! pseudo-device bpf #4 #Berkeley packet filter # Firewall Configuration options IPFW2 options IPFIREWALL #firewall options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default options IPFIREWALL_FORWARD #enable transparent proxy support options IPSTEALTH #support for stealth forwarding options RANDOM_IP_ID options TCP_DROP_SYNFIN #drop TCP packets with SYN+FIN options DUMMYNET options ICMP_BANDLIM #Rate limit bad replies # Statically link in accept filters options NMBCLUSTERS=32768 # Samba #options NETSMB #options NETSMBCRYPTO #options LIBMCHAIN #options LIBICONV #options SMBFS -- Origin: 中正大學˙闇黑國度 bbs.cna.ccu.edu.tw Author: Eintisy FreeBSD.NCTU.edu.tw 發表
文章代碼(AID): #124_hX00 (FreeBSD)
文章代碼(AID): #124_hX00 (FreeBSD)