免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1336 | 回复: 0
打印 上一主题 下一主题

内核编译用不了,FB5.3 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-02-04 23:56 |只看该作者 |倒序浏览
http://www.freebsdchina.org/forum/viewtopic.php?p=103719#103719
  1. #
  2. # GENERIC -- Generic kernel configuration file for FreeBSD/i386
  3. #
  4. # For more information on this file, please read the handbook section on
  5. # Kernel Configuration Files:
  6. #
  7. #    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
  8. #
  9. # The handbook is also available locally in /usr/share/doc/handbook
  10. # if you've installed the doc distribution, otherwise always see the
  11. # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
  12. # latest information.
  13. #
  14. # An exhaustive list of options and more detailed explanations of the
  15. # device lines is also present in the ../../conf/NOTES and NOTES files.
  16. # If you are in doubt as to the purpose or necessity of a line, check first
  17. # in NOTES.
  18. #
  19. # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.413.2.6.2.2 2004/10/24 18:02:52 scottl Exp $

  20. machine      i386
  21. #cpu      I486_CPU
  22. #cpu      I586_CPU
  23. cpu      I686_CPU
  24. ident      Durian

  25. # To statically compile in device wiring instead of /boot/device.hints
  26. #hints      "GENERIC.hints"      # Default places to look for devices.

  27. options    SCHED_4BSD      # 4BSD scheduler
  28. options    INET         # InterNETworking
  29. #options    INET6         # IPv6 communications protocols
  30. options    FFS         # Berkeley Fast Filesystem
  31. options    SOFTUPDATES      # Enable FFS soft updates support
  32. options    UFS_ACL         # Support for access control lists
  33. options    UFS_DIRHASH      # Improve performance on big directories
  34. options    MD_ROOT         # MD is a potential root device
  35. #options    NFSCLIENT      # Network Filesystem Client
  36. #options    NFSSERVER      # Network Filesystem Server
  37. #options    NFS_ROOT      # NFS usable as /, requires NFSCLIENT
  38. #options    MSDOSFS         # MSDOS Filesystem
  39. #options    CD9660         # ISO 9660 Filesystem
  40. options    PROCFS         # Process filesystem (requires PSEUDOFS)
  41. options    PSEUDOFS      # Pseudo-filesystem framework
  42. #options    GEOM_GPT      # GUID Partition Tables.
  43. options    COMPAT_43      # Compatible with BSD 4.3 [KEEP THIS!]
  44. options    COMPAT_FREEBSD4      # Compatible with FreeBSD4
  45. #options    SCSI_DELAY=15000   # Delay (in ms) before probing SCSI
  46. options    KTRACE         # ktrace(1) support
  47. options    SYSVSHM         # SYSV-style shared memory
  48. options    SYSVMSG         # SYSV-style message queues
  49. options    SYSVSEM         # SYSV-style semaphores
  50. options    _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
  51. options    KBD_INSTALL_CDEV   # install a CDEV entry in /dev
  52. #options    AHC_REG_PRETTY_PRINT   # Print register bitfields in debug
  53.                # output.  Adds ~128k to driver.
  54. #options    AHD_REG_PRETTY_PRINT   # Print register bitfields in debug
  55.                # output.  Adds ~215k to driver.
  56. options    ADAPTIVE_GIANT      # Giant mutex is adaptive.

  57. device      apic      # I/O APIC

  58. # Bus support.  Do not remove isa, even if you have no isa slots
  59. device      isa
  60. device      eisa
  61. device      pci

  62. # Floppy drives
  63. #device      fdc

  64. # ATA and ATAPI devices
  65. device      ata
  66. device      atadisk      # ATA disk drives
  67. #device      ataraid      # ATA RAID drives
  68. #device      atapicd      # ATAPI CDROM drives
  69. #device      atapifd      # ATAPI floppy drives
  70. #device      atapist      # ATAPI tape drives
  71. #options    ATA_STATIC_ID   # Static device numbering

  72. # SCSI Controllers
  73. #device      ahb      # EISA AHA1742 family
  74. #device      ahc      # AHA2940 and onboard AIC7xxx devices
  75. #device      ahd      # AHA39320/29320 and onboard AIC79xx devices
  76. #device      amd      # AMD 53C974 (Tekram DC-390(T))
  77. #device      isp      # Qlogic family
  78. #device      mpt      # LSI-Logic MPT-Fusion
  79. #device      ncr      # NCR/Symbios Logic
  80. #device      sym      # NCR/Symbios Logic (newer chipsets + those of `ncr')
  81. #device      trm      # Tekram DC395U/UW/F DC315U adapters

  82. #device      adv      # Advansys SCSI adapters
  83. #device      adw      # Advansys wide SCSI adapters
  84. #device      aha      # Adaptec 154x SCSI adapters
  85. #device      aic      # Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
  86. #device      bt      # Buslogic/Mylex MultiMaster SCSI adapters

  87. #device      ncv      # NCR 53C500
  88. #device      nsp      # Workbit Ninja SCSI-3
  89. #device      stg      # TMC 18C30/18C50

  90. # SCSI peripherals
  91. #device      scbus      # SCSI bus (required for SCSI)
  92. #device      ch      # SCSI media changers
  93. #device      da      # Direct Access (disks)
  94. #device      sa      # Sequential Access (tape etc)
  95. #device      cd      # CD
  96. #device      pass      # Passthrough device (direct SCSI access)
  97. #device      ses      # SCSI Environmental Services (and SAF-TE)

  98. # RAID controllers interfaced to the SCSI subsystem
  99. #device      amr      # AMI MegaRAID
  100. #device      asr      # DPT SmartRAID V, VI and Adaptec SCSI RAID
  101. #device      ciss      # Compaq Smart RAID 5*
  102. #device      dpt      # DPT Smartcache III, IV - See NOTES for options
  103. #device      hptmv      # Highpoint RocketRAID 182x
  104. #device      iir      # Intel Integrated RAID
  105. #device      ips      # IBM (Adaptec) ServeRAID
  106. #device      mly      # Mylex AcceleRAID/eXtremeRAID
  107. #device      twa      # 3ware 9000 series PATA/SATA RAID

  108. # RAID controllers
  109. #device      aac      # Adaptec FSA RAID
  110. #device      aacp      # SCSI passthrough for aac (requires CAM)
  111. #device      ida      # Compaq Smart RAID
  112. #device      mlx      # Mylex DAC960 family
  113. #device      pst      # Promise Supertrak SX6000
  114. #device      twe      # 3ware ATA RAID

  115. # atkbdc0 controls both the keyboard and the PS/2 mouse
  116. device      atkbdc      # AT keyboard controller
  117. device      atkbd      # AT keyboard
  118. device      psm      # PS/2 mouse

  119. device      vga      # VGA video card driver

  120. device      splash      # Splash screen and screen saver support

  121. # syscons is the default console driver, resembling an SCO console
  122. #device      sc

  123. # Enable this for the pcvt (VT220 compatible) console driver
  124. #device      vt
  125. #options    XSERVER      # support for X server on a vt console
  126. #options    FAT_CURSOR   # start with block cursor

  127. device      agp      # support several AGP chipsets

  128. # Floating point support - do not disable.
  129. device      npx

  130. # Power management support (see NOTES for more options)
  131. #device      apm
  132. # Add suspend/resume support for the i8254.
  133. #device      pmtimer

  134. # PCCARD (PCMCIA) support
  135. # PCMCIA and cardbus bridge support
  136. #device      cbb      # cardbus (yenta) bridge
  137. #device      pccard      # PC Card (16-bit) bus
  138. #device      cardbus      # CardBus (32-bit) bus

  139. # Serial (COM) ports
  140. #device      sio      # 8250, 16[45]50 based serial ports

  141. # Parallel port
  142. #device      ppc
  143. #device      ppbus      # Parallel port bus (required)
  144. #device      lpt      # Printer
  145. #device      plip      # TCP/IP over parallel
  146. #device      ppi      # Parallel port interface device
  147. #device      vpo      # Requires scbus and da

  148. # If you've got a "dumb" serial or parallel PCI card that is
  149. # supported by the puc(4) glue driver, uncomment the following
  150. # line to enable it (connects to the sio and/or ppc drivers):
  151. #device         puc

  152. # PCI Ethernet NICs.
  153. #device      de      # DEC/Intel DC21x4x (``Tulip'')
  154. #device      em      # Intel PRO/1000 adapter Gigabit Ethernet Card
  155. #device      ixgb      # Intel PRO/10GbE Ethernet Card
  156. #device      txp      # 3Com 3cR990 (``Typhoon'')
  157. #device      vx      # 3Com 3c590, 3c595 (``Vortex'')

  158. # PCI Ethernet NICs that use the common MII bus controller code.
  159. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
  160. device      miibus      # MII bus support
  161. #device      bfe      # Broadcom BCM440x 10/100 Ethernet
  162. #device      bge      # Broadcom BCM570xx Gigabit Ethernet
  163. #device      dc      # DEC/Intel 21143 and various workalikes
  164. #device      fxp      # Intel EtherExpress PRO/100B (82557, 82558)
  165. #device      lge      # Level 1 LXT1001 gigabit ethernet
  166. #device      nge      # NatSemi DP83820 gigabit ethernet
  167. #device      pcn      # AMD Am79C97x PCI 10/100 (precedence over 'lnc')
  168. #device      re      # RealTek 8139C+/8169/8169S/8110S
  169. #device      rl      # RealTek 8129/8139
  170. #device      sf      # Adaptec AIC-6915 (``Starfire'')
  171. #device      sis      # Silicon Integrated Systems SiS 900/SiS 7016
  172. #device      sk      # SysKonnect SK-984x & SK-982x gigabit Ethernet
  173. #device      ste      # Sundance ST201 (D-Link DFE-550TX)
  174. #device      ti      # Alteon Networks Tigon I/II gigabit Ethernet
  175. #device      tl      # Texas Instruments ThunderLAN
  176. #device      tx      # SMC EtherPower II (83c170 ``EPIC'')
  177. #device      vge      # VIA VT612x gigabit ethernet
  178. #device      vr      # VIA Rhine, Rhine II
  179. #device      wb      # Winbond W89C840F
  180. #device      xl      # 3Com 3c90x (``Boomerang'', ``Cyclone'')

  181. # ISA Ethernet NICs.  pccard NICs included.
  182. #device      cs      # Crystal Semiconductor CS89x0 NIC
  183. # 'device ed' requires 'device miibus'
  184. #device      ed      # NE[12]000, SMC Ultra, 3c503, DS8390 cards
  185. #device      ex      # Intel EtherExpress Pro/10 and Pro/10+
  186. #device      ep      # Etherlink III based cards
  187. #device      fe      # Fujitsu MB8696x based cards
  188. #device      ie      # EtherExpress 8/16, 3C507, StarLAN 10 etc.
  189. device      lnc      # NE2100, NE32-VL Lance Ethernet cards
  190. #device      sn      # SMC's 9000 series of Ethernet chips
  191. #device      xe      # Xircom pccard Ethernet

  192. # ISA devices that use the old ISA shims
  193. #device      le

  194. # Wireless NIC cards
  195. #device      wlan      # 802.11 support
  196. #device      an      # Aironet 4500/4800 802.11 wireless NICs.
  197. #device      awi      # BayStack 660 and others
  198. #device      wi      # WaveLAN/Intersil/Symbol 802.11 wireless NICs.
  199. #device      wl      # Older non 802.11 Wavelan wireless NIC.

  200. # Pseudo devices.
  201. device      loop      # Network loopback
  202. device      mem      # Memory and kernel memory devices
  203. device      io      # I/O device
  204. device      random      # Entropy device
  205. device      ether      # Ethernet support
  206. #device      sl      # Kernel SLIP
  207. device      ppp      # Kernel PPP
  208. device      tun      # Packet tunnel.
  209. device      pty      # Pseudo-ttys (telnet etc)
  210. #device      md      # Memory "disks"
  211. #device      gif      # IPv6 and IPv4 tunneling
  212. #device      faith      # IPv6-to-IPv4 relaying (translation)

  213. # The `bpf' device enables the Berkeley Packet Filter.
  214. # Be aware of the administrative consequences of enabling this!
  215. device      bpf      # Berkeley packet filter

  216. # USB support
  217. #device      uhci      # UHCI PCI->;USB interface
  218. #device      ohci      # OHCI PCI->;USB interface
  219. #device      usb      # USB Bus (required)
  220. #device      udbp      # USB Double Bulk Pipe devices
  221. #device      ugen      # Generic
  222. #device      uhid      # "Human Interface Devices"
  223. #device      ukbd      # Keyboard
  224. #device      ulpt      # Printer
  225. #device      umass      # Disks/Mass storage - Requires scbus and da
  226. #device      ums      # Mouse
  227. #device      urio      # Diamond Rio 500 MP3 player
  228. #device      uscanner   # Scanners
  229. # USB Ethernet, requires mii
  230. #device      aue      # ADMtek USB Ethernet
  231. #device      axe      # ASIX Electronics USB Ethernet
  232. #device      cue      # CATC USB Ethernet
  233. #device      kue      # Kawasaki LSI USB Ethernet
  234. #device      rue      # RealTek RTL8150 USB Ethernet

  235. # FireWire support
  236. #device      firewire   # FireWire bus code
  237. #device      sbp      # SCSI over FireWire (Requires scbus and da)
  238. #device      fwe      # Ethernet over FireWire (non-standard!)
复制代码

重启,用新内核
倒计时后死了~~~
就像倒计时宣布你的死刑一样的~~!~!
数到0了就死了~!~
这里面出现那个/,
本来会/|\-这样动的它就定在/
CPU占用100%
编译内核是用
config Durian
cd ../complite/Durian/
make depend
make
make install
reboot
这样的
用户是su成root完成上面命令的
没有加任何东西进去~~~
然后有兄弟说,
  1. options    ATA_STATIC_ID   # Static device numbering
复制代码

加这行,但我试了,加了也没有用
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP