Chinaunix

标题: devices with zero units are not likely to be correct [打印本页]

作者: goat    时间: 2004-10-25 00:24
标题: devices with zero units are not likely to be correct
内核配置如下:

  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.
复制代码

作者: goat    时间: 2004-10-26 17:09
标题: devices with zero units are not likely to be correct
难道大家都没见过这个问题吗?

如果删除一些行,可以看到行号变化,但无论删除掉哪一行,都不行的。
作者: goat    时间: 2004-10-27 00:10
标题: devices with zero units are not likely to be correct
不知道是什么原因,重装一下系统就OK了
作者: goat    时间: 2004-10-27 09:45
标题: devices with zero units are not likely to be correct
安装系统后先不要升级源码,如里升级了就会出现上面的情况。
作者: YouRDj    时间: 2004-10-27 12:49
标题: devices with zero units are not likely to be correct
好象今天是5的STABLE源码出现了问题

我的情况跟你一样




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2