LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 4654|回复: 11

我的unstable debian安装历程[五][原创:JiRen兄]

[复制链接]
发表于 2002-10-18 00:09:11 | 显示全部楼层 |阅读模式
五.重编内核
apt-get install kernel-source-2.4.18
cd /usr/src/解压 得到目录kernel-source-2.4.18
ln -s /usr/src/kernel-source-2.4.18   /usr/src/linux

cd linux
make mrproper
make menuconfig
make dep
make clean
make bzImage
make modules
make moduels_install

编译内核的难点在于配置内核,恐怕你得多次尝试,以支持你所需的各种软硬件,一旦配好可存成内核配置文件,下次重编时直接从文件加载配置。

我的配置文件:mykern.conf

  1. #
  2. # Automatically generated by make menuconfig: don't edit
  3. #
  4. CONFIG_X86=y
  5. CONFIG_ISA=y
  6. # CONFIG_SBUS is not set
  7. CONFIG_UID16=y

  8. #
  9. # Code maturity level options
  10. #
  11. # CONFIG_EXPERIMENTAL is not set

  12. #
  13. # Loadable module support
  14. #
  15. CONFIG_MODULES=y
  16. CONFIG_MODVERSIONS=y
  17. CONFIG_KMOD=y

  18. #
  19. # Processor type and features
  20. #
  21. # CONFIG_M386 is not set
  22. # CONFIG_M486 is not set
  23. # CONFIG_M586 is not set
  24. # CONFIG_M586TSC is not set
  25. # CONFIG_M586MMX is not set
  26. # CONFIG_M686 is not set
  27. # CONFIG_MPENTIUMIII is not set
  28. # CONFIG_MPENTIUM4 is not set
  29. # CONFIG_MK6 is not set
  30. CONFIG_MK7=y
  31. # CONFIG_MELAN is not set
  32. # CONFIG_MCRUSOE is not set
  33. # CONFIG_MWINCHIPC6 is not set
  34. # CONFIG_MWINCHIP2 is not set
  35. # CONFIG_MWINCHIP3D is not set
  36. # CONFIG_MCYRIXIII is not set
  37. CONFIG_X86_WP_WORKS_OK=y
  38. CONFIG_X86_INVLPG=y
  39. CONFIG_X86_CMPXCHG=y
  40. CONFIG_X86_XADD=y
  41. CONFIG_X86_BSWAP=y
  42. CONFIG_X86_POPAD_OK=y
  43. # CONFIG_RWSEM_GENERIC_SPINLOCK is not set
  44. CONFIG_RWSEM_XCHGADD_ALGORITHM=y
  45. CONFIG_X86_L1_CACHE_SHIFT=6
  46. CONFIG_X86_TSC=y
  47. CONFIG_X86_GOOD_APIC=y
  48. CONFIG_X86_USE_3DNOW=y
  49. CONFIG_X86_PGE=y
  50. CONFIG_X86_USE_PPRO_CHECKSUM=y
  51. # CONFIG_TOSHIBA is not set
  52. # CONFIG_I8K is not set
  53. # CONFIG_MICROCODE is not set
  54. # CONFIG_X86_MSR is not set
  55. # CONFIG_X86_CPUID is not set
  56. # CONFIG_NOHIGHMEM is not set
  57. CONFIG_HIGHMEM4G=y
  58. # CONFIG_HIGHMEM64G is not set
  59. CONFIG_HIGHMEM=y
  60. # CONFIG_MATH_EMULATION is not set
  61. CONFIG_MTRR=y
  62. # CONFIG_SMP is not set
  63. # CONFIG_X86_UP_APIC is not set
  64. # CONFIG_X86_UP_IOAPIC is not set

  65. #
  66. # General setup
  67. #
  68. CONFIG_NET=y
  69. CONFIG_PCI=y
  70. # CONFIG_PCI_GOBIOS is not set
  71. # CONFIG_PCI_GODIRECT is not set
  72. CONFIG_PCI_GOANY=y
  73. CONFIG_PCI_BIOS=y
  74. CONFIG_PCI_DIRECT=y
  75. CONFIG_PCI_NAMES=y
  76. CONFIG_EISA=y
  77. # CONFIG_MCA is not set
  78. CONFIG_HOTPLUG=y

  79. #
  80. # PCMCIA/CardBus support
  81. #
  82. # CONFIG_PCMCIA is not set

  83. #
  84. # PCI Hotplug Support
  85. #
  86. # CONFIG_HOTPLUG_PCI is not set
  87. # CONFIG_HOTPLUG_PCI_COMPAQ is not set
  88. # CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM is not set
  89. CONFIG_SYSVIPC=y
  90. # CONFIG_BSD_PROCESS_ACCT is not set
  91. CONFIG_SYSCTL=y
  92. CONFIG_KCORE_ELF=y
  93. # CONFIG_KCORE_AOUT is not set
  94. CONFIG_BINFMT_AOUT=y
  95. CONFIG_BINFMT_ELF=y
  96. CONFIG_BINFMT_MISC=y
  97. CONFIG_PM=y
  98. CONFIG_APM=y
  99. CONFIG_APM_IGNORE_USER_SUSPEND=y
  100. CONFIG_APM_DO_ENABLE=y
  101. CONFIG_APM_CPU_IDLE=y
  102. CONFIG_APM_DISPLAY_BLANK=y
  103. # CONFIG_APM_RTC_IS_GMT is not set
  104. CONFIG_APM_ALLOW_INTS=y
  105. CONFIG_APM_REAL_MODE_POWER_OFF=y

  106. #
  107. # Memory Technology Devices (MTD)
  108. #
  109. # CONFIG_MTD is not set

  110. #
  111. # Parallel port support
  112. #
  113. # CONFIG_PARPORT is not set

  114. #
  115. # Plug and Play configuration
  116. #
  117. CONFIG_PNP=y
  118. CONFIG_ISAPNP=y

  119. #
  120. # Block devices
  121. #
  122. CONFIG_BLK_DEV_FD=y
  123. # CONFIG_BLK_DEV_XD is not set
  124. # CONFIG_PARIDE is not set
  125. # CONFIG_BLK_CPQ_DA is not set
  126. # CONFIG_BLK_CPQ_CISS_DA is not set
  127. # CONFIG_BLK_DEV_DAC960 is not set
  128. # CONFIG_BLK_DEV_LOOP is not set
  129. # CONFIG_BLK_DEV_NBD is not set
  130. CONFIG_BLK_DEV_RAM=y
  131. CONFIG_BLK_DEV_RAM_SIZE=4096
  132. CONFIG_BLK_DEV_INITRD=y

  133. #
  134. # Multi-device support (RAID and LVM)
  135. #
  136. # CONFIG_MD is not set
  137. # CONFIG_BLK_DEV_MD is not set
  138. # CONFIG_MD_LINEAR is not set
  139. # CONFIG_MD_RAID0 is not set
  140. # CONFIG_MD_RAID1 is not set
  141. # CONFIG_MD_RAID5 is not set
  142. # CONFIG_MD_MULTIPATH is not set
  143. # CONFIG_BLK_DEV_LVM is not set

  144. #
  145. # Networking options
  146. #
  147. CONFIG_PACKET=y
  148. CONFIG_PACKET_MMAP=y
  149. # CONFIG_NETLINK_DEV is not set
  150. # CONFIG_NETFILTER is not set
  151. # CONFIG_FILTER is not set
  152. CONFIG_UNIX=y
  153. CONFIG_INET=y
  154. CONFIG_IP_MULTICAST=y
  155. # CONFIG_IP_ADVANCED_ROUTER is not set
  156. # CONFIG_IP_PNP is not set
  157. # CONFIG_NET_IPIP is not set
  158. # CONFIG_NET_IPGRE is not set
  159. # CONFIG_IP_MROUTE is not set
  160. # CONFIG_INET_ECN is not set
  161. # CONFIG_SYN_COOKIES is not set
  162. # CONFIG_IPX is not set
  163. # CONFIG_ATALK is not set
  164. # CONFIG_DECNET is not set
  165. # CONFIG_BRIDGE is not set

  166. #
  167. # QoS and/or fair queueing
  168. #
  169. # CONFIG_NET_SCHED is not set

  170. #
  171. # Telephony Support
  172. #
  173. # CONFIG_PHONE is not set
  174. # CONFIG_PHONE_IXJ is not set
  175. # CONFIG_PHONE_IXJ_PCMCIA is not set

  176. #
  177. # ATA/IDE/MFM/RLL support
  178. #
  179. CONFIG_IDE=y

  180. #
  181. # IDE, ATA and ATAPI Block devices
  182. #
  183. CONFIG_BLK_DEV_IDE=y
  184. # CONFIG_BLK_DEV_HD_IDE is not set
  185. # CONFIG_BLK_DEV_HD is not set
  186. CONFIG_BLK_DEV_IDEDISK=y
  187. CONFIG_IDEDISK_MULTI_MODE=y
  188. # CONFIG_BLK_DEV_IDEDISK_VENDOR is not set
  189. # CONFIG_BLK_DEV_IDEDISK_FUJITSU is not set
  190. # CONFIG_BLK_DEV_IDEDISK_IBM is not set
  191. # CONFIG_BLK_DEV_IDEDISK_MAXTOR is not set
  192. # CONFIG_BLK_DEV_IDEDISK_QUANTUM is not set
  193. # CONFIG_BLK_DEV_IDEDISK_SEAGATE is not set
  194. # CONFIG_BLK_DEV_IDEDISK_WD is not set
  195. # CONFIG_BLK_DEV_COMMERIAL is not set
  196. # CONFIG_BLK_DEV_TIVO is not set
  197. # CONFIG_BLK_DEV_IDECS is not set
  198. CONFIG_BLK_DEV_IDECD=y
  199. # CONFIG_BLK_DEV_IDETAPE is not set
  200. # CONFIG_BLK_DEV_IDEFLOPPY is not set
  201. # CONFIG_BLK_DEV_IDESCSI is not set
  202. # CONFIG_BLK_DEV_CMD640 is not set
  203. # CONFIG_BLK_DEV_CMD640_ENHANCED is not set
  204. CONFIG_BLK_DEV_ISAPNP=y
  205. # CONFIG_BLK_DEV_RZ1000 is not set
  206. CONFIG_BLK_DEV_IDEPCI=y
  207. CONFIG_IDEPCI_SHARE_IRQ=y
  208. CONFIG_BLK_DEV_IDEDMA_PCI=y
  209. CONFIG_BLK_DEV_ADMA=y
  210. # CONFIG_BLK_DEV_OFFBOARD is not set
  211. CONFIG_IDEDMA_PCI_AUTO=y
  212. CONFIG_BLK_DEV_IDEDMA=y
  213. # CONFIG_IDEDMA_PCI_WIP is not set
  214. # CONFIG_IDEDMA_NEW_DRIVE_LISTINGS is not set
  215. # CONFIG_BLK_DEV_AEC62XX is not set
  216. # CONFIG_AEC62XX_TUNING is not set
  217. # CONFIG_BLK_DEV_ALI15X3 is not set
  218. # CONFIG_WDC_ALI15X3 is not set
  219. # CONFIG_BLK_DEV_AMD74XX is not set
  220. # CONFIG_AMD74XX_OVERRIDE is not set
  221. # CONFIG_BLK_DEV_CMD64X is not set
  222. # CONFIG_BLK_DEV_CY82C693 is not set
  223. # CONFIG_BLK_DEV_CS5530 is not set
  224. # CONFIG_BLK_DEV_HPT34X is not set
  225. # CONFIG_HPT34X_AUTODMA is not set
  226. # CONFIG_BLK_DEV_HPT366 is not set
  227. # CONFIG_BLK_DEV_PIIX is not set
  228. # CONFIG_PIIX_TUNING is not set
  229. # CONFIG_BLK_DEV_NS87415 is not set
  230. # CONFIG_BLK_DEV_OPTI621 is not set
  231. # CONFIG_BLK_DEV_PDC202XX is not set
  232. # CONFIG_PDC202XX_BURST is not set
  233. # CONFIG_PDC202XX_FORCE is not set
  234. # CONFIG_BLK_DEV_SVWKS is not set
  235. # CONFIG_BLK_DEV_SIS5513 is not set
  236. # CONFIG_BLK_DEV_SLC90E66 is not set
  237. # CONFIG_BLK_DEV_TRM290 is not set
  238. CONFIG_BLK_DEV_VIA82CXXX=y
  239. # CONFIG_IDE_CHIPSETS is not set
  240. CONFIG_IDEDMA_AUTO=y
  241. # CONFIG_IDEDMA_IVB is not set
  242. # CONFIG_DMA_NONPCI is not set
  243. CONFIG_BLK_DEV_IDE_MODES=y
  244. # CONFIG_BLK_DEV_ATARAID is not set
  245. # CONFIG_BLK_DEV_ATARAID_PDC is not set
  246. # CONFIG_BLK_DEV_ATARAID_HPT is not set

  247. #
  248. # SCSI support
  249. #
  250. CONFIG_SCSI=y
  251. CONFIG_BLK_DEV_SD=y
  252. CONFIG_SD_EXTRA_DEVS=40
  253. # CONFIG_CHR_DEV_ST is not set
  254. # CONFIG_CHR_DEV_OSST is not set
  255. # CONFIG_BLK_DEV_SR is not set
  256. CONFIG_CHR_DEV_SG=y
  257. # CONFIG_SCSI_DEBUG_QUEUES is not set
  258. # CONFIG_SCSI_MULTI_LUN is not set
  259. # CONFIG_SCSI_CONSTANTS is not set
  260. # CONFIG_SCSI_LOGGING is not set

  261. #
  262. # SCSI low-level drivers
  263. #
  264. # CONFIG_BLK_DEV_3W_XXXX_RAID is not set
  265. # CONFIG_SCSI_7000FASST is not set
  266. # CONFIG_SCSI_ACARD is not set
  267. # CONFIG_SCSI_AHA152X is not set
  268. # CONFIG_SCSI_AHA1542 is not set
  269. # CONFIG_SCSI_AHA1740 is not set
  270. # CONFIG_SCSI_AIC7XXX is not set
  271. # CONFIG_SCSI_AIC7XXX_OLD is not set
  272. # CONFIG_SCSI_DPT_I2O is not set
  273. # CONFIG_SCSI_ADVANSYS is not set
  274. # CONFIG_SCSI_IN2000 is not set
  275. # CONFIG_SCSI_AM53C974 is not set
  276. # CONFIG_SCSI_MEGARAID is not set
  277. # CONFIG_SCSI_BUSLOGIC is not set
  278. # CONFIG_SCSI_CPQFCTS is not set
  279. # CONFIG_SCSI_DMX3191D is not set
  280. # CONFIG_SCSI_DTC3280 is not set
  281. # CONFIG_SCSI_EATA is not set
  282. # CONFIG_SCSI_EATA_DMA is not set
  283. # CONFIG_SCSI_EATA_PIO is not set
  284. # CONFIG_SCSI_FUTURE_DOMAIN is not set
  285. # CONFIG_SCSI_GDTH is not set
  286. # CONFIG_SCSI_GENERIC_NCR5380 is not set
  287. # CONFIG_SCSI_IPS is not set
  288. # CONFIG_SCSI_INITIO is not set
  289. # CONFIG_SCSI_INIA100 is not set
  290. # CONFIG_SCSI_NCR53C406A is not set
  291. # CONFIG_SCSI_NCR53C7xx is not set
  292. # CONFIG_SCSI_SYM53C8XX_2 is not set
  293. # CONFIG_SCSI_NCR53C8XX is not set
  294. # CONFIG_SCSI_SYM53C8XX is not set
  295. # CONFIG_SCSI_PAS16 is not set
  296. # CONFIG_SCSI_PCI2000 is not set
  297. # CONFIG_SCSI_PCI2220I is not set
  298. # CONFIG_SCSI_PSI240I is not set
  299. # CONFIG_SCSI_QLOGIC_FAS is not set
  300. # CONFIG_SCSI_QLOGIC_ISP is not set
  301. # CONFIG_SCSI_QLOGIC_FC is not set
  302. # CONFIG_SCSI_QLOGIC_1280 is not set
  303. # CONFIG_SCSI_SEAGATE is not set
  304. # CONFIG_SCSI_SIM710 is not set
  305. # CONFIG_SCSI_SYM53C416 is not set
  306. # CONFIG_SCSI_DC390T is not set
  307. # CONFIG_SCSI_T128 is not set
  308. # CONFIG_SCSI_U14_34F is not set
  309. # CONFIG_SCSI_ULTRASTOR is not set

  310. #
  311. # Fusion MPT device support
  312. #
  313. # CONFIG_FUSION is not set
  314. # CONFIG_FUSION_BOOT is not set
  315. # CONFIG_FUSION_ISENSE is not set
  316. # CONFIG_FUSION_CTL is not set
  317. # CONFIG_FUSION_LAN is not set

  318. #
  319. # I2O device support
  320. #
  321. # CONFIG_I2O is not set
  322. # CONFIG_I2O_PCI is not set
  323. # CONFIG_I2O_BLOCK is not set
  324. # CONFIG_I2O_LAN is not set
  325. # CONFIG_I2O_SCSI is not set
  326. # CONFIG_I2O_PROC is not set

  327. #
  328. # Network device support
  329. #
  330. CONFIG_NETDEVICES=y

  331. #
  332. # ARCnet devices
  333. #
  334. # CONFIG_ARCNET is not set
  335. # CONFIG_DUMMY is not set
  336. # CONFIG_BONDING is not set
  337. # CONFIG_EQUALIZER is not set
  338. # CONFIG_TUN is not set
  339. # CONFIG_NET_SB1000 is not set

  340. #
  341. # Ethernet (10 or 100Mbit)
  342. #
  343. CONFIG_NET_ETHERNET=y
  344. # CONFIG_SUNLANCE is not set
  345. # CONFIG_HAPPYMEAL is not set
  346. # CONFIG_SUNBMAC is not set
  347. # CONFIG_SUNQE is not set
  348. # CONFIG_SUNGEM is not set
  349. # CONFIG_NET_VENDOR_3COM is not set
  350. # CONFIG_LANCE is not set
  351. # CONFIG_NET_VENDOR_SMC is not set
  352. # CONFIG_NET_VENDOR_RACAL is not set
  353. # CONFIG_AT1700 is not set
  354. # CONFIG_DEPCA is not set
  355. # CONFIG_HP100 is not set
  356. # CONFIG_NET_ISA is not set
  357. CONFIG_NET_PCI=y
  358. # CONFIG_PCNET32 is not set
  359. # CONFIG_ADAPTEC_STARFIRE is not set
  360. # CONFIG_AC3200 is not set
  361. # CONFIG_APRICOT is not set
  362. # CONFIG_CS89x0 is not set
  363. # CONFIG_TULIP is not set
  364. # CONFIG_DE4X5 is not set
  365. # CONFIG_DGRS is not set
  366. # CONFIG_DM9102 is not set
  367. # CONFIG_EEPRO100 is not set
  368. # CONFIG_LNE390 is not set
  369. # CONFIG_FEALNX is not set
  370. # CONFIG_NATSEMI is not set
  371. # CONFIG_NE2K_PCI is not set
  372. # CONFIG_NE3210 is not set
  373. # CONFIG_ES3210 is not set
  374. # CONFIG_8139CP is not set
  375. # CONFIG_8139TOO is not set
  376. # CONFIG_8139TOO_PIO is not set
  377. # CONFIG_8139TOO_TUNE_TWISTER is not set
  378. # CONFIG_8139TOO_8129 is not set
  379. # CONFIG_8139_NEW_RX_RESET is not set
  380. # CONFIG_SIS900 is not set
  381. # CONFIG_EPIC100 is not set
  382. # CONFIG_SUNDANCE is not set
  383. # CONFIG_TLAN is not set
  384. CONFIG_VIA_RHINE=y
  385. # CONFIG_VIA_RHINE_MMIO is not set
  386. # CONFIG_WINBOND_840 is not set
  387. # CONFIG_NET_POCKET is not set

  388. #
  389. # Ethernet (1000 Mbit)
  390. #
  391. # CONFIG_ACENIC is not set
  392. # CONFIG_DL2K is not set
  393. # CONFIG_MYRI_SBUS is not set
  394. # CONFIG_NS83820 is not set
  395. # CONFIG_HAMACHI is not set
  396. # CONFIG_YELLOWFIN is not set
  397. # CONFIG_SK98LIN is not set
  398. # CONFIG_FDDI is not set
  399. # CONFIG_PLIP is not set
  400. # CONFIG_PPP is not set
  401. # CONFIG_SLIP is not set

  402. #
  403. # Wireless LAN (non-hamradio)
  404. #
  405. # CONFIG_NET_RADIO is not set

  406. #
  407. # Token Ring devices
  408. #
  409. # CONFIG_TR is not set
  410. # CONFIG_NET_FC is not set

  411. #
  412. # Wan interfaces
  413. #
  414. # CONFIG_WAN is not set

  415. #
  416. # Amateur Radio support
  417. #
  418. # CONFIG_HAMRADIO is not set

  419. #
  420. # IrDA (infrared) support
  421. #
  422. # CONFIG_IRDA is not set

  423. #
  424. # ISDN subsystem
  425. #
  426. # CONFIG_ISDN is not set

  427. #
  428. # Old CD-ROM drivers (not SCSI, not IDE)
  429. #
  430. # CONFIG_CD_NO_IDESCSI is not set

  431. #
  432. # Input core support
  433. #
  434. # CONFIG_INPUT is not set
  435. # CONFIG_INPUT_KEYBDEV is not set
  436. # CONFIG_INPUT_MOUSEDEV is not set
  437. # CONFIG_INPUT_JOYDEV is not set
  438. # CONFIG_INPUT_EVDEV is not set

  439. #
  440. # Character devices
  441. #
  442. CONFIG_VT=y
  443. CONFIG_VT_CONSOLE=y
  444. CONFIG_SERIAL=y
  445. # CONFIG_SERIAL_CONSOLE is not set
  446. # CONFIG_SERIAL_EXTENDED is not set
  447. # CONFIG_SERIAL_NONSTANDARD is not set
  448. CONFIG_UNIX98_PTYS=y
  449. CONFIG_UNIX98_PTY_COUNT=256

  450. #
  451. # I2C support
  452. #
  453. # CONFIG_I2C is not set

  454. #
  455. # Mice
  456. #
  457. # CONFIG_BUSMOUSE is not set
  458. CONFIG_MOUSE=y
  459. CONFIG_PSMOUSE=y
  460. # CONFIG_82C710_MOUSE is not set
  461. # CONFIG_PC110_PAD is not set

  462. #
  463. # Joysticks
  464. #
  465. # CONFIG_INPUT_GAMEPORT is not set
  466. # CONFIG_QIC02_TAPE is not set

  467. #
  468. # Watchdog Cards
  469. #
  470. # CONFIG_WATCHDOG is not set
  471. # CONFIG_INTEL_RNG is not set
  472. # CONFIG_NVRAM is not set
  473. # CONFIG_RTC is not set
  474. # CONFIG_DTLK is not set
  475. # CONFIG_R3964 is not set
  476. # CONFIG_APPLICOM is not set

  477. #
  478. # Ftape, the floppy tape device driver
  479. #
  480. # CONFIG_FTAPE is not set
  481. CONFIG_AGP=y
  482. # CONFIG_AGP_INTEL is not set
  483. # CONFIG_AGP_I810 is not set
  484. CONFIG_AGP_VIA=y
  485. # CONFIG_AGP_AMD is not set
  486. # CONFIG_AGP_SIS is not set
  487. # CONFIG_AGP_ALI is not set
  488. # CONFIG_AGP_SWORKS is not set
  489. CONFIG_DRM=y
  490. # CONFIG_DRM_OLD is not set
  491. CONFIG_DRM_NEW=y
  492. # CONFIG_DRM_TDFX is not set
  493. # CONFIG_DRM_R128 is not set
  494. # CONFIG_DRM_RADEON is not set
  495. # CONFIG_DRM_I810 is not set
  496. # CONFIG_DRM_MGA is not set
  497. # CONFIG_DRM_SIS is not set
  498. # CONFIG_MWAVE is not set

  499. #
  500. # Multimedia devices
  501. #
  502. # CONFIG_VIDEO_DEV is not set

  503. #
  504. # File systems
  505. #
  506. # CONFIG_QUOTA is not set
  507. # CONFIG_AUTOFS_FS is not set
  508. CONFIG_AUTOFS4_FS=y
  509. CONFIG_REISERFS_FS=y
  510. # CONFIG_REISERFS_CHECK is not set
  511. # CONFIG_REISERFS_PROC_INFO is not set
  512. # CONFIG_ADFS_FS is not set
  513. # CONFIG_ADFS_FS_RW is not set
  514. # CONFIG_AFFS_FS is not set
  515. # CONFIG_HFS_FS is not set
  516. # CONFIG_BFS_FS is not set
  517. CONFIG_EXT3_FS=y
  518. CONFIG_JBD=y
  519. # CONFIG_JBD_DEBUG is not set
  520. CONFIG_FAT_FS=y
  521. CONFIG_MSDOS_FS=y
  522. # CONFIG_UMSDOS_FS is not set
  523. CONFIG_VFAT_FS=y
  524. # CONFIG_EFS_FS is not set
  525. # CONFIG_JFFS_FS is not set
  526. # CONFIG_JFFS2_FS is not set
  527. # CONFIG_CRAMFS is not set
  528. CONFIG_TMPFS=y
  529. CONFIG_RAMFS=y
  530. CONFIG_ISO9660_FS=y
  531. CONFIG_JOLIET=y
  532. CONFIG_ZISOFS=y
  533. # CONFIG_MINIX_FS is not set
  534. # CONFIG_VXFS_FS is not set
  535. CONFIG_NTFS_FS=y
  536. # CONFIG_NTFS_RW is not set
  537. # CONFIG_HPFS_FS is not set
  538. CONFIG_PROC_FS=y
  539. # CONFIG_DEVFS_FS is not set
  540. # CONFIG_DEVFS_MOUNT is not set
  541. # CONFIG_DEVFS_DEBUG is not set
  542. CONFIG_DEVPTS_FS=y
  543. # CONFIG_QNX4FS_FS is not set
  544. # CONFIG_QNX4FS_RW is not set
  545. # CONFIG_ROMFS_FS is not set
  546. CONFIG_EXT2_FS=y
  547. # CONFIG_SYSV_FS is not set
  548. CONFIG_UDF_FS=y
  549. # CONFIG_UDF_RW is not set
  550. CONFIG_UFS_FS=y
  551. # CONFIG_UFS_FS_WRITE is not set

  552. #
  553. # Network File Systems
  554. #
  555. # CONFIG_CODA_FS is not set
  556. # CONFIG_INTERMEZZO_FS is not set
  557. # CONFIG_NFS_FS is not set
  558. # CONFIG_NFS_V3 is not set
  559. # CONFIG_ROOT_NFS is not set
  560. # CONFIG_NFSD is not set
  561. # CONFIG_NFSD_V3 is not set
  562. # CONFIG_SUNRPC is not set
  563. # CONFIG_LOCKD is not set
  564. # CONFIG_SMB_FS is not set
  565. # CONFIG_NCP_FS is not set
  566. # CONFIG_NCPFS_PACKET_SIGNING is not set
  567. # CONFIG_NCPFS_IOCTL_LOCKING is not set
  568. # CONFIG_NCPFS_STRONG is not set
  569. # CONFIG_NCPFS_NFS_NS is not set
  570. # CONFIG_NCPFS_OS2_NS is not set
  571. # CONFIG_NCPFS_SMALLDOS is not set
  572. # CONFIG_NCPFS_NLS is not set
  573. # CONFIG_NCPFS_EXTRAS is not set
  574. CONFIG_ZISOFS_FS=y
  575. CONFIG_ZLIB_FS_INFLATE=y

  576. #
  577. # Partition Types
  578. #
  579. CONFIG_PARTITION_ADVANCED=y
  580. CONFIG_ACORN_PARTITION=y
  581. CONFIG_ACORN_PARTITION_ICS=y
  582. CONFIG_ACORN_PARTITION_ADFS=y
  583. CONFIG_ACORN_PARTITION_POWERTEC=y
  584. CONFIG_ACORN_PARTITION_RISCIX=y
  585. CONFIG_OSF_PARTITION=y
  586. CONFIG_AMIGA_PARTITION=y
  587. CONFIG_ATARI_PARTITION=y
  588. CONFIG_MAC_PARTITION=y
  589. CONFIG_MSDOS_PARTITION=y
  590. CONFIG_BSD_DISKLABEL=y
  591. CONFIG_MINIX_SUBPARTITION=y
  592. CONFIG_SOLARIS_X86_PARTITION=y
  593. CONFIG_UNIXWARE_DISKLABEL=y
  594. # CONFIG_LDM_PARTITION is not set
  595. CONFIG_SGI_PARTITION=y
  596. CONFIG_ULTRIX_PARTITION=y
  597. CONFIG_SUN_PARTITION=y
  598. # CONFIG_SMB_NLS is not set
  599. CONFIG_NLS=y

  600. #
  601. # Native Language Support
  602. #
  603. CONFIG_NLS_DEFAULT="gb2312"
  604. CONFIG_NLS_CODEPAGE_437=y
  605. # CONFIG_NLS_CODEPAGE_737 is not set
  606. # CONFIG_NLS_CODEPAGE_775 is not set
  607. # CONFIG_NLS_CODEPAGE_850 is not set
  608. # CONFIG_NLS_CODEPAGE_852 is not set
  609. # CONFIG_NLS_CODEPAGE_855 is not set
  610. # CONFIG_NLS_CODEPAGE_857 is not set
  611. # CONFIG_NLS_CODEPAGE_860 is not set
  612. # CONFIG_NLS_CODEPAGE_861 is not set
  613. # CONFIG_NLS_CODEPAGE_862 is not set
  614. # CONFIG_NLS_CODEPAGE_863 is not set
  615. # CONFIG_NLS_CODEPAGE_864 is not set
  616. # CONFIG_NLS_CODEPAGE_865 is not set
  617. # CONFIG_NLS_CODEPAGE_866 is not set
  618. # CONFIG_NLS_CODEPAGE_869 is not set
  619. CONFIG_NLS_CODEPAGE_936=y
  620. CONFIG_NLS_CODEPAGE_950=y
  621. # CONFIG_NLS_CODEPAGE_932 is not set
  622. # CONFIG_NLS_CODEPAGE_949 is not set
  623. # CONFIG_NLS_CODEPAGE_874 is not set
  624. # CONFIG_NLS_ISO8859_8 is not set
  625. # CONFIG_NLS_CODEPAGE_1250 is not set
  626. # CONFIG_NLS_CODEPAGE_1251 is not set
  627. # CONFIG_NLS_ISO8859_1 is not set
  628. # CONFIG_NLS_ISO8859_2 is not set
  629. # CONFIG_NLS_ISO8859_3 is not set
  630. # CONFIG_NLS_ISO8859_4 is not set
  631. # CONFIG_NLS_ISO8859_5 is not set
  632. # CONFIG_NLS_ISO8859_6 is not set
  633. # CONFIG_NLS_ISO8859_7 is not set
  634. # CONFIG_NLS_ISO8859_9 is not set
  635. # CONFIG_NLS_ISO8859_13 is not set
  636. # CONFIG_NLS_ISO8859_14 is not set
  637. # CONFIG_NLS_ISO8859_15 is not set
  638. # CONFIG_NLS_KOI8_R is not set
  639. # CONFIG_NLS_KOI8_U is not set
  640. # CONFIG_NLS_UTF8 is not set

  641. #
  642. # Console drivers
  643. #
  644. CONFIG_VGA_CONSOLE=y
  645. CONFIG_VIDEO_SELECT=y

  646. #
  647. # Sound
  648. #
  649. CONFIG_SOUND=y
  650. # CONFIG_SOUND_BT878 is not set
  651. # CONFIG_SOUND_CMPCI is not set
  652. # CONFIG_SOUND_EMU10K1 is not set
  653. # CONFIG_MIDI_EMU10K1 is not set
  654. # CONFIG_SOUND_FUSION is not set
  655. # CONFIG_SOUND_CS4281 is not set
  656. # CONFIG_SOUND_ES1370 is not set
  657. # CONFIG_SOUND_ES1371 is not set
  658. # CONFIG_SOUND_ESSSOLO1 is not set
  659. # CONFIG_SOUND_MAESTRO is not set
  660. # CONFIG_SOUND_MAESTRO3 is not set
  661. # CONFIG_SOUND_ICH is not set
  662. # CONFIG_SOUND_RME96XX is not set
  663. # CONFIG_SOUND_SONICVIBES is not set
  664. # CONFIG_SOUND_TRIDENT is not set
  665. # CONFIG_SOUND_MSNDCLAS is not set
  666. # CONFIG_SOUND_MSNDPIN is not set
  667. # CONFIG_SOUND_VIA82CXXX is not set
  668. # CONFIG_MIDI_VIA82CXXX is not set
  669. # CONFIG_SOUND_OSS is not set
  670. # CONFIG_SOUND_TVMIXER is not set

  671. #
  672. # USB support
  673. #
  674. CONFIG_USB=y
  675. # CONFIG_USB_DEBUG is not set
  676. CONFIG_USB_DEVICEFS=y
  677. # CONFIG_USB_BANDWIDTH is not set
  678. # CONFIG_USB_LONG_TIMEOUT is not set
  679. CONFIG_USB_UHCI_ALT=y
  680. # CONFIG_USB_OHCI is not set
  681. # CONFIG_USB_AUDIO is not set
  682. # CONFIG_USB_BLUETOOTH is not set
  683. CONFIG_USB_STORAGE=y
  684. # CONFIG_USB_STORAGE_DEBUG is not set
  685. # CONFIG_USB_STORAGE_DATAFAB is not set
  686. CONFIG_USB_STORAGE_FREECOM=y
  687. CONFIG_USB_STORAGE_ISD200=y
  688. CONFIG_USB_STORAGE_DPCM=y
  689. # CONFIG_USB_STORAGE_HP8200e is not set
  690. # CONFIG_USB_STORAGE_SDDR09 is not set
  691. # CONFIG_USB_STORAGE_JUMPSHOT is not set
  692. # CONFIG_USB_ACM is not set
  693. # CONFIG_USB_PRINTER is not set
  694. # CONFIG_USB_DC2XX is not set
  695. # CONFIG_USB_MDC800 is not set
  696. # CONFIG_USB_SCANNER is not set
  697. # CONFIG_USB_MICROTEK is not set
  698. # CONFIG_USB_HPUSBSCSI is not set
  699. # CONFIG_USB_PEGASUS is not set
  700. # CONFIG_USB_KAWETH is not set
  701. # CONFIG_USB_CATC is not set
  702. # CONFIG_USB_CDCETHER is not set
  703. # CONFIG_USB_USBNET is not set
  704. # CONFIG_USB_USS720 is not set

  705. #
  706. # USB Serial Converter support
  707. #
  708. CONFIG_USB_SERIAL=y
  709. # CONFIG_USB_SERIAL_DEBUG is not set
  710. CONFIG_USB_SERIAL_GENERIC=y
  711. # CONFIG_USB_SERIAL_BELKIN is not set
  712. # CONFIG_USB_SERIAL_WHITEHEAT is not set
  713. # CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
  714. # CONFIG_USB_SERIAL_EMPEG is not set
  715. # CONFIG_USB_SERIAL_FTDI_SIO is not set
  716. # CONFIG_USB_SERIAL_VISOR is not set
  717. # CONFIG_USB_SERIAL_IPAQ is not set
  718. # CONFIG_USB_SERIAL_IR is not set
  719. # CONFIG_USB_SERIAL_EDGEPORT is not set
  720. # CONFIG_USB_SERIAL_KEYSPAN_PDA is not set
  721. # CONFIG_USB_SERIAL_KEYSPAN is not set
  722. # CONFIG_USB_SERIAL_MCT_U232 is not set
  723. # CONFIG_USB_SERIAL_KLSI is not set
  724. # CONFIG_USB_SERIAL_PL2303 is not set
  725. # CONFIG_USB_SERIAL_CYBERJACK is not set
  726. # CONFIG_USB_SERIAL_XIRCOM is not set
  727. # CONFIG_USB_SERIAL_OMNINET is not set
  728. # CONFIG_USB_RIO500 is not set

  729. #
  730. # Kernel hacking
  731. #
  732. CONFIG_DEBUG_KERNEL=y
  733. # CONFIG_DEBUG_HIGHMEM is not set
  734. # CONFIG_DEBUG_SLAB is not set
  735. # CONFIG_DEBUG_IOVIRT is not set
  736. CONFIG_MAGIC_SYSRQ=y
  737. # CONFIG_DEBUG_SPINLOCK is not set
  738. # CONFIG_DEBUG_BUGVERBOSE is not set

复制代码
发表于 2002-10-18 13:16:40 | 显示全部楼层

我想知道一下你的机器配置

编译内核应该是跟机器对应的。
另外我建议把block devices中的CONFIG_BLK_DEV_LOOP 设为模块或是直接编译进内核,因为这样才可以挂载iso文件。
发表于 2002-10-18 14:18:56 | 显示全部楼层
make menuconfig
||
V
make dep && make clean bzImage  modules modules_install
||
V
喝茶
||
V
完成
发表于 2003-2-28 20:21:41 | 显示全部楼层
编译之后还有很多的事情要做吧?cp 什么的。。。
新编译的内核的模块放在哪里?怎么起作用?
发表于 2003-3-1 00:51:08 | 显示全部楼层
嘿嘿~~ 这么传统的做法不够debian..
这样编内核:

make menuconfig (xconfig)
make dep
make-kpkg kernel_image

这样在你的linux源码目录的上层目录里就有了一个做好的内核影像deb包。然后:

dpkg -i your_kernel.deb

;)  方便以后卸载和管理包...
发表于 2003-3-3 19:06:09 | 显示全部楼层
安装内核以后,lilo得配置还一样吗?
发表于 2003-3-3 21:55:21 | 显示全部楼层
dpkg -i 按照以后,会提示帮你更新lilo.conf

不过还是自己改吧~ 保险些。
发表于 2003-10-17 15:53:46 | 显示全部楼层
最初由 cclnw 发表
make menuconfig
||
V
make dep && make clean bzImage  modules modules_install
||
V
喝茶
||
V
完成


两步?能不能解释一下
发表于 2004-8-9 16:50:47 | 显示全部楼层
make-kpkg 命令在哪个包里?
发表于 2004-8-9 16:55:05 | 显示全部楼层
一般来说,安装基系统时就有了,若没的话就apt-get install dpkg吧
也可以先apt-cache search dpkg,然后找找安装一下就可以了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表