免费注册 查看新帖 |

Chinaunix

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

晕倒,编译内核后键盘不能使用 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-06-08 12:06 |只看该作者 |倒序浏览
不论是usb还是ps2键盘都不能用
奇怪啦

  1. machine         i386
  2. cpu             I686_CPU
  3. ident           mykernel


  4. options         SCHED_4BSD              # 4BSD scheduler
  5. options         INET                    # InterNETworking
  6. options         FFS                     # Berkeley Fast Filesystem
  7. options         SOFTUPDATES             # Enable FFS soft updates support
  8. options         UFS_ACL                 # Support for access control lists options      UFS_DIRHASH# Improve performance on big directories
  9. options         NFSCLIENT               # Network Filesystem Client
  10. options         NFSSERVER               # Network Filesystem Server
  11. options         NFS_ROOT                # NFS usable as /, requires NFSCLIENT
  12. options         CD9660                  # ISO 9660 Filesystem
  13. options         PROCFS                  # Process filesystem (requires PSEUDOFS)
  14. options         PSEUDOFS                # Pseudo-filesystem framework
  15. options         GEOM_GPT                # GUID Partition Tables.
  16. options         COMPAT_43               # Compatible with BSD 4.3 [KEEP THIS!]
  17. options         COMPAT_FREEBSD4         # Compatible with FreeBSD4
  18. options         SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
  19. options         KTRACE                  # ktrace(1) support
  20. options         SYSVSHM                 # SYSV-style shared memory
  21. options         SYSVMSG                 # SYSV-style message queues
  22. options         SYSVSEM                 # SYSV-style semaphores
  23. options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
  24. options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
  25. options         AHC_REG_PRETTY_PRINT    # Print register bitfields in debug
  26.                                         # output.  Adds ~128k to driver.
  27. options         AHD_REG_PRETTY_PRINT    # Print register bitfields in debug
  28.                                         # output.  Adds ~215k to driver.
  29. options         ADAPTIVE_GIANT          # Giant mutex is adaptive.
  30. options         SMP
  31. options         PAE                     # Physical Address Extensions Kernel
  32. device          apic                    # I/O APIC
  33. device          acpi                    # Power management support

  34. device          isa
  35. device          eisa
  36. device          pci


  37. device          ata
  38. device          atadisk         # ATA disk drives
  39. device          atapicd         # ATAPI CDROM drives

  40. device          aic             # Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
  41. device          ahc             #Adaptec 7xxxx
  42. device          ahd             # AHA39320/29320 and onboard AIC79xx devices

  43. device          scbus           # SCSI bus (required for SCSI)
  44. device          ch              # SCSI media changers
  45. device          da              # Direct Access (disks)
  46. device          sa              # Sequential Access (tape etc)
  47. device          cd              # CD
  48. device          pass            # Passthrough device (direct SCSI access)
  49. device          ses             # SCSI Environmental Services (and SAF-TE)


  50. device          mfi             # LSI MegaRAID SAS
  51. device          amr             # AMI MegaRAID
  52. device          aac             # Adaptec FSA RAID
  53. device          aacp            # SCSI passthrough for aac (requires CAM)
  54. device          mpt             # LSI-Logic MPT-Fusion
  55. device          mfi             # LSI MegaRAID SAS
  56. device          ciss            # Compaq Smart RAID 5*

  57. device          atkbdc          # AT keyboard controller
  58. device          atkbd           # AT keyboard
  59. device          psm             # PS/2 mouse

  60. device          vga             # VGA video card driver


  61. device          sc
  62. device          agp             # support several AGP chipsets

  63. device          npx

  64. device          pmtimer

  65. device          sio             # 8250, 16[45]50 based serial ports

  66. device          miibus          # MII bus support
  67. device          fxp             # Intel EtherExpress PRO/100B (82557, 82558)
  68. device          bce             # Broadcom BCM5706/BCM5708 Gigabit Ethernet
  69. device          em              # Intel PRO/1000 adapter Gigabit Ethernet Card

  70. device          loop            # Network loopback
  71. device          mem             # Memory and kernel memory devices
  72. device          io              # I/O device
  73. device          random          # Entropy device
  74. device          ether           # Ethernet support
  75. device          pty             # Pseudo-ttys (telnet etc)
  76. device          md              # Memory "disks"

  77. device          bpf             # Berkeley packet filter

  78. device          uhci            # UHCI PCI->USB interface
  79. device          ohci            # OHCI PCI->USB interface
  80. device          usb             # USB Bus (required)
  81. device          ugen            # Generic
  82. device          uhid            # "Human Interface Devices"
  83. device          ukbd            # Keyboard
  84. device          umass           # Disks/Mass storage - Requires scbus and da
  85. device          ums             # Mouse

  86. options      IPFIREWALL
  87. options      IPFIREWALL_DEFAULT_TO_ACCEPT
  88. options      IPDIVERT      #  IPDIVERT enables the divert IP sockets, used by ''ipfw divert''
  89. options      IPFIREWALL_VERBOSE
  90. options      IPFIREWALL_VERBOSE_LIMIT=30
  91. options      DUMMYNET         # enables the "dummynet" bandwidth limiter. You need IPFIREWALL as well.
  92. options      ACCEPT_FILTER_DATA
  93. options      ACCEPT_FILTER_HTTP
  94. options      IPSTEALTH         #To hide firewall from traceroute

  95. device          pf              #PF OpenBSD packet-filter firewall
  96. device          pflog               #logging support interface for PF

  97. options        HZ=4000
  98. options        DEVICE_POLLING
  99. options         ZERO_COPY_SOCKETS
  100. options         AUTO_EOI_1
复制代码

论坛徽章:
0
2 [报告]
发表于 2007-06-08 12:28 |只看该作者

回复 1楼 LnBSD 的帖子

远程登录呢?

论坛徽章:
0
3 [报告]
发表于 2007-06-08 12:47 |只看该作者
楼主,你太有才了

论坛徽章:
0
4 [报告]
发表于 2007-06-08 13:22 |只看该作者
原帖由 dangk 于 2007-6-8 12:28 发表
远程登录呢?

远程是可以的

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
5 [报告]
发表于 2007-06-08 13:23 |只看该作者
难道和这个有关

device          kbdmux        # keyboard multiplexer

把这个加上试试

论坛徽章:
0
6 [报告]
发表于 2007-06-08 13:23 |只看该作者
原帖由 Tiere 于 2007-6-8 12:47 发表
楼主,你太有才了

:em12::em12::em12::em12:

论坛徽章:
0
7 [报告]
发表于 2007-06-08 13:23 |只看该作者

我也想知道是为什么

上次我编译内核时也碰到这个情况,搞不懂是为什么,看贴子好像说是跟限制了控制台数量有关,我现在也还不知道是怎么回事

论坛徽章:
0
8 [报告]
发表于 2007-06-08 14:01 |只看该作者
原帖由 大大狗 于 2007-6-8 13:23 发表
难道和这个有关

device          kbdmux        # keyboard multiplexer

把这个加上试试

有点气色啦,ps2键盘能用了
usb键盘还是不行
什么时候必须加这个鬼设备了,更新日志里也不说一下

论坛徽章:
1
寅虎
日期:2013-09-29 23:15:15
9 [报告]
发表于 2007-06-08 17:08 |只看该作者
估计在升级时候用老的内核配置文件,这个参数在通用里.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP