免费注册 查看新帖 |

Chinaunix

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

devices with zero units are not likely to be correct [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-10-25 00:24 |只看该作者 |倒序浏览
内核配置如下:

  1. machine         i386
  2. cpu             I686_CPU
  3. ident           MSEN
  4. maxusers        0

  5. options         IPFIREWALL
  6. options         IPDIVERT
  7. options         IPFIREWALL_DEFAULT_TO_ACCEPT
  8. options         IPFIREWALL_VERBOSE
  9. options         IPFIREWALL_VERBOSE_LIMIT=100

  10. options         MATH_EMULATE            #Support for x87 emulation
  11. options         INET                    #InterNETworking
  12. options         FFS                     #Berkeley Fast Filesystem
  13. options         FFS_ROOT                #FFS usable as root device [keep this!]
  14. options         SOFTUPDATES             #Enable FFS soft updates support
  15. options         UFS_DIRHASH             #Improve performance on big directories
  16. options         MFS                     #Memory Filesystem
  17. options         MD_ROOT                 #MD is a potential root device
  18. options         MSDOSFS                 #MSDOS Filesystem
  19. options         CD9660                  #ISO 9660 Filesystem
  20. options         PROCFS                  #Process filesystem
  21. options         COMPAT_43               #Compatible with BSD 4.3 [KEEP THIS!]
  22. options         UCONSOLE                #Allow users to grab the console
  23. options         USERCONFIG              #boot -c editor
  24. options         VISUAL_USERCONFIG       #visual boot -c editor
  25. options         KTRACE                  #ktrace(1) support
  26. options         SYSVSHM                 #SYSV-style shared memory
  27. options         SYSVMSG                 #SYSV-style message queues
  28. options         SYSVSEM                 #SYSV-style semaphores
  29. options         P1003_1B                #Posix P1003_1B real-time extensions
  30. options         _KPOSIX_PRIORITY_SCHEDULING
  31. options         ICMP_BANDLIM            #Rate limit bad replies
  32. options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
  33. options         AHC_REG_PRETTY_PRINT    # Print register bitfields in debug
  34.                                         # output.  Adds ~128k to driver.
  35. options         AHD_REG_PRETTY_PRINT    # Print register bitfields in debug
  36.                                         # output.  Adds ~215k to driver.

  37. device          isa
  38. device          pci
  39. device          fdc0    at isa? port IO_FD1 irq 6 drq 2
  40. device          fd0     at fdc0 drive 0
  41. device          fd1     at fdc0 drive 1
  42. device          ata0    at isa? port IO_WD1 irq 14
  43. device          ata1    at isa? port IO_WD2 irq 15
  44. device          ata
  45. device          atadisk                 # ATA disk drives
  46. device          atapicd                 # ATAPI CDROM drives
  47. device          scbus           # SCSI bus (required)
  48. device          da              # Direct Access (disks)
  49. device          atkbdc0 at isa? port IO_KBD
  50. device          atkbd0  at atkbdc? irq 1 flags 0x1
  51. device          psm0    at atkbdc? irq 12
  52. device          vga0    at isa?
  53. pseudo-device   splash
  54. device          sc0     at isa? flags 0x100
  55. device          agp             # support several AGP chipsets
  56. device          pcm
  57. device          npx0    at nexus? port IO_NPX irq 13
  58. device          apm0    at nexus? disable flags 0x20 # Advanced Power Management
  59. device          miibus          # MII bus support
  60. device          fxp             # Intel EtherExpress PRO/100B (82557, 82558)
  61. device          rl              # RealTek 8129/8139
  62. pseudo-device   loop            # Network loopback
  63. pseudo-device   ether           # Ethernet support
  64. pseudo-device   tun             # Packet tunnel.
  65. pseudo-device   pty             # Pseudo-ttys (telnet etc)
  66. pseudo-device   bpf             #Berkeley packet filter
  67. device          uhci            # UHCI PCI->;USB interface
  68. device          ohci            # OHCI PCI->;USB interface
  69. device          usb             # USB Bus (required)
  70. device          ugen            # Generic
  71. device          umass           # Disks/Mass storage - Requires scbus and da
复制代码

不知这个错误是什么意思?
  1. msen# make buildkernel KERNCONF=MSEN

  2. --------------------------------------------------------------
  3. >;>;>; Kernel build for MSEN started on Mon Oct 25 00:23:41 CST 2004
  4. --------------------------------------------------------------
  5. ===>; MSEN
  6. mkdir -p /usr/obj/usr/src/sys
  7. cd /usr/src/sys/i386/conf;  PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin  config  -d /usr/obj/usr/src/sys/MSEN  /usr/src/sys/i386/conf/MSEN
  8. config: /usr/src/sys/i386/conf/MSEN:41: devices with zero units are not likely to be correct
  9. *** Error code 1

  10. Stop in /usr/src.
  11. *** Error code 1

  12. Stop in /usr/src.
复制代码

论坛徽章:
0
2 [报告]
发表于 2004-10-26 17:09 |只看该作者

devices with zero units are not likely to be correct

难道大家都没见过这个问题吗?

如果删除一些行,可以看到行号变化,但无论删除掉哪一行,都不行的。

论坛徽章:
0
3 [报告]
发表于 2004-10-27 00:10 |只看该作者

devices with zero units are not likely to be correct

不知道是什么原因,重装一下系统就OK了

论坛徽章:
0
4 [报告]
发表于 2004-10-27 09:45 |只看该作者

devices with zero units are not likely to be correct

安装系统后先不要升级源码,如里升级了就会出现上面的情况。

论坛徽章:
0
5 [报告]
发表于 2004-10-27 12:49 |只看该作者

devices with zero units are not likely to be correct

好象今天是5的STABLE源码出现了问题

我的情况跟你一样
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP