LinuxSir.cn,穿越时空的Linuxsir!

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

大家编译的内核有多大和lsmod

[复制链接]
发表于 2008-5-14 16:17:49 | 显示全部楼层 |阅读模式
对着教程配置了好多次,一步步往下试,将需要的都编译进内核
现在终于达到了一定的平衡

和之前的对比一下,确实有一定的进步,启动速度快了不少
现在内核大小:


  1. pjq@localhost ~ $ ls -l /boot/kernel-2.6.24-r8
  2. -rw-r--r-- 1 root root 2111928 2008-05-25 14:46 /boot/kernel-2.6.24-r8
  3. pjq@localhost ~ $ lsmod
  4. Module                  Size  Used by
  5. drcom                   9504  0
  6. nvidia               7803776  24

复制代码


dmesg信息

  1. [    0.000000] ACPI: RSDT 3FFF3040, 0038 (r1 Nvidia NVDAACPI 42302E31 NVDA        0)
  2. [    0.000000] ACPI: FACP 3FFF30C0, 0074 (r1 Nvidia NVDAACPI 42302E31 NVDA        0)
  3. [    0.000000] ACPI Warning (tbfadt-0442): Optional field "Pm2ControlBlock" has zero address or length: 0000000000000000/1 [20070126]
  4. [    0.000000] ACPI: DSDT 3FFF3180, 6401 (r1 NVIDIA NVDAACPI     1000 MSFT  100000E)
  5. [    0.000000] ACPI: FACS 3FFF0000, 0040
  6. [    0.000000] ACPI: SSDT 3FFF96C0, 00D3 (r1 PTLTD  POWERNOW        1  LTP        1)
  7. [    0.000000] ACPI: HPET 3FFF9800, 0038 (r1 Nvidia NVDAACPI 42302E31 NVDA       98)
  8. [    0.000000] ACPI: MCFG 3FFF9880, 003C (r1 Nvidia NVDAACPI 42302E31 NVDA        0)
  9. [    0.000000] ACPI: APIC 3FFF9600, 007C (r1 Nvidia NVDAACPI 42302E31 NVDA        0)
  10. [    0.000000] ACPI: PM-Timer IO Port: 0x1008
  11. [    0.000000] ACPI: HPET id: 0x10de8201 base: 0xfeff0000
  12. [    0.000000] Allocating PCI resources starting at 50000000 (gap: 40000000:b0000000)
  13. [    0.000000] swsusp: Registered nosave memory region: 000000000009f000 - 00000000000a0000
  14. [    0.000000] swsusp: Registered nosave memory region: 00000000000a0000 - 00000000000f0000
  15. [    0.000000] swsusp: Registered nosave memory region: 00000000000f0000 - 0000000000100000
  16. [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 227584
  17. [    0.000000] Kernel command line: root=/dev/sda9 plash=silent,fadein,theme:gentoo vga=791  CONSOLE=/dev/tty1  init=/linuxrc ramdisk=8192
  18. [    0.000000] Enabling fast FPU save and restore... done.
  19. [    0.000000] Enabling unmasked SIMD FPU exception support... done.
  20. [    0.000000] Initializing CPU#0
  21. [    0.000000] PID hash table entries: 4096 (order: 12, 16384 bytes)
  22. [    0.000000] Detected 1809.303 MHz processor.
  23. [   18.252406] spurious 8259A interrupt: IRQ7.
  24. [   18.252431] Console: colour dummy device 80x25
  25. [   18.252434] console [tty0] enabled
  26. [   18.252951] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
  27. [   18.253449] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
  28. [   18.268094] Memory: 904616k/917504k available (2632k kernel code, 12408k reserved, 1169k data, 224k init, 0k highmem)
  29. [   18.268109] virtual kernel memory layout:
  30. [   18.268110]     fixmap  : 0xffff6000 - 0xfffff000   (  36 kB)
  31. [   18.268111]     vmalloc : 0xf8800000 - 0xffff4000   ( 119 MB)
  32. [   18.268113]     lowmem  : 0xc0000000 - 0xf8000000   ( 896 MB)
  33. [   18.268114]       .init : 0xc04ba000 - 0xc04f2000   ( 224 kB)
  34. [   18.268115]       .data : 0xc03923d7 - 0xc04b6824   (1169 kB)
  35. [   18.268116]       .text : 0xc0100000 - 0xc03923d7   (2632 kB)
  36. [   18.268142] Checking if this processor honours the WP bit even in supervisor mode... Ok.
  37. [   18.268177] SLUB: Genslabs=11, HWalign=64, Order=0-1, MinObjects=4, CPUs=1, Nodes=1
  38. [   18.268316] hpet clockevent registered
  39. [   18.328214] Calibrating delay using timer specific routine.. 3620.62 BogoMIPS (lpj=1810314)
  40. [   18.328237] Mount-cache hash table entries: 512
  41. [   18.328317] CPU: After generic identify, caps: 078bfbff ebd3fbff 00000000 00000000 00002001 00000000 0000001d 00000000
  42. [   18.328324] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
  43. [   18.328330] CPU: L2 Cache: 512K (64 bytes/line)
  44. [   18.328336] CPU: After all inits, caps: 078bfbff ebd3fbff 00000000 00000410 00002001 00000000 0000001d 00000000
  45. [   18.328341] Intel machine check architecture supported.
  46. [   18.328347] Intel machine check reporting enabled on CPU#0.
  47. [   18.328354] Compat vDSO mapped to ffffe000.
  48. [   18.328364] CPU: AMD Athlon(tm) 64 Processor 3000+ stepping 02
  49. [   18.328372] Checking 'hlt' instruction... OK.
  50. [   18.332751] Freeing SMP alternatives: 0k freed
  51. [   18.332756] ACPI: Core revision 20070126
  52. [   18.336139] Parsing all Control Methods:
  53. [   18.336274] Table [DSDT](id 0001) - 1001 Objects with 92 Devices 300 Methods 38 Regions
  54. [   18.336306] Parsing all Control Methods:
  55. [   18.336425] Table [SSDT](id 0002) - 4 Objects with 0 Devices 0 Methods 0 Regions
  56. [   18.336434]  tbxface-0598 [00] tb_load_namespace     : ACPI Tables successfully acquired
  57. [   18.336446] ACPI: setting ELCR to 0200 (from 0c20)
  58. [   18.337347] evxfevnt-0091 [00] enable                : Transition to ACPI mode successful
  59. [   18.337485] net_namespace: 64 bytes
  60. [   18.337833] NET: Registered protocol family 16
  61. [   18.337932] ACPI: bus type pci registered
  62. [   18.337945] PCI: Using MMCONFIG
  63. [   18.337949] Setting up standard PCI resources
  64. [   18.341615] evgpeblk-0956 [00] ev_create_gpe_block   : GPE 00 to 1F [_GPE] 4 regs on int 0x9
  65. [   18.341651] evgpeblk-0956 [00] ev_create_gpe_block   : GPE 20 to 5F [_GPE] 8 regs on int 0x9
  66. [   18.341921] evgpeblk-1052 [00] ev_initialize_gpe_bloc: Found 7 Wake, Enabled 1 Runtime GPEs in this block
  67. [   18.342093] evgpeblk-1052 [00] ev_initialize_gpe_bloc: Found 1 Wake, Enabled 0 Runtime GPEs in this block
  68. [   18.342104] ACPI: EC: Look up EC in DSDT
  69. [   18.346232] Completing Region/Field/Buffer/Package initialization:..............................................................................................
  70. [   18.347816] Initialized 34/38 Regions 9/9 Fields 36/36 Buffers 15/24 Packages (1014 nodes)
  71. [   18.347826] Initializing Device/Processor/Thermal objects by executing _INI methods:..
  72. [   18.348986] Executed 2 _INI methods requiring 1 _STA executions (examined 97 objects)
  73. [   18.349000] ACPI: Interpreter enabled
  74. [   18.349005] ACPI: (supports S0 S1 S4 S5)
  75. [   18.349023] ACPI: Using PIC for interrupt routing
  76. [   18.358872] ACPI: PCI Root Bridge [PCI0] (0000:00)
  77. [   18.359426] PCI: Transparent bridge - 0000:00:06.0
  78. [   18.359686] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
  79. [   18.359949] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB0._PRT]
  80. [   18.433961] ACPI: PCI Interrupt Link [LNK1] (IRQs 5 7 9 10 11 14 15) *0, disabled.
  81. [   18.434169] ACPI: PCI Interrupt Link [LNK2] (IRQs 5 7 9 10 11 14 15) *0, disabled.
  82. [   18.434366] ACPI: PCI Interrupt Link [LNK3] (IRQs 5 7 9 10 11 14 15) *0, disabled.
  83. [   18.434563] ACPI: PCI Interrupt Link [LNK4] (IRQs 5 7 9 10 11 14 15) *0, disabled.
  84. [   18.434760] ACPI: PCI Interrupt Link [LNK5] (IRQs 5 7 9 10 11 14 15) *0, disabled.
  85. [   18.434959] ACPI: PCI Interrupt Link [LNK6] (IRQs *5 7 9 10 11 14 15)
  86. [   18.435162] ACPI: PCI Interrupt Link [LNK7] (IRQs 5 7 9 10 11 14 15) *0, disabled.
  87. [   18.435360] ACPI: PCI Interrupt Link [LNK8] (IRQs 5 7 9 10 11 14 15) *0, disabled.
  88. [   18.435556] ACPI: PCI Interrupt Link [LP2P] (IRQs 5 7 9 10 11 14 15) *0, disabled.
  89. [   18.435755] ACPI: PCI Interrupt Link [LUBA] (IRQs 5 7 9 *10 11 14 15)
  90. [   18.435952] ACPI: PCI Interrupt Link [LMAC] (IRQs 5 7 9 *10 11 14 15)
  91. [   18.436156] ACPI: PCI Interrupt Link [LAZA] (IRQs 5 7 9 10 *11 14 15)
  92. [   18.436355] ACPI: PCI Interrupt Link [LPMU] (IRQs *5 7 9 10 11 14 15)
  93. [   18.436551] ACPI: PCI Interrupt Link [LSMB] (IRQs *5 7 9 10 11 14 15)
  94. [   18.436748] ACPI: PCI Interrupt Link [LUB2] (IRQs 5 7 9 10 *11 14 15)
  95. [   18.436943] ACPI: PCI Interrupt Link [LIDE] (IRQs 5 7 9 10 11 14 15) *0, disabled.
  96. [   18.437149] ACPI: PCI Interrupt Link [LSID] (IRQs 5 7 9 10 *11 14 15)
  97. [   18.437346] ACPI: PCI Interrupt Link [LFID] (IRQs 5 7 9 *10 11 14 15)
  98. [   18.437585] ACPI: PCI Interrupt Link [APC1] (IRQs 16) *0, disabled.
  99. [   18.437816] ACPI: PCI Interrupt Link [APC2] (IRQs 17) *0, disabled.
  100. [   18.438054] ACPI: PCI Interrupt Link [APC3] (IRQs 18) *0, disabled.
  101. [   18.438286] ACPI: PCI Interrupt Link [APC4] (IRQs 19) *0, disabled.
  102. [   18.438516] ACPI: PCI Interrupt Link [APC5] (IRQs 16) *0, disabled.
  103. [   18.438746] ACPI: PCI Interrupt Link [APC6] (IRQs 16) *0, disabled.
  104. [   18.438977] ACPI: PCI Interrupt Link [APC7] (IRQs 16) *0, disabled.
  105. [   18.439216] ACPI: PCI Interrupt Link [APC8] (IRQs 16) *0, disabled.
  106. [   18.439447] ACPI: PCI Interrupt Link [APCF] (IRQs 20 21 22 23) *0, disabled.
  107. [   18.439679] ACPI: PCI Interrupt Link [APCH] (IRQs 20 21 22 23) *0, disabled.
  108. [   18.439911] ACPI: PCI Interrupt Link [APMU] (IRQs 20 21 22 23) *0, disabled.
  109. [   18.440151] ACPI: PCI Interrupt Link [AAZA] (IRQs 20 21 22 23) *0, disabled.
  110. [   18.440384] ACPI: PCI Interrupt Link [APCS] (IRQs 20 21 22 23) *0, disabled.
  111. [   18.440616] ACPI: PCI Interrupt Link [APCL] (IRQs 20 21 22 23) *0, disabled.
  112. [   18.440848] ACPI: PCI Interrupt Link [APCM] (IRQs 20 21 22 23) *0, disabled.
  113. [   18.441088] ACPI: PCI Interrupt Link [APCZ] (IRQs 20 21 22 23) *0, disabled.
  114. [   18.441322] ACPI: PCI Interrupt Link [APSI] (IRQs 20 21 22 23) *0, disabled.
  115. [   18.441554] ACPI: PCI Interrupt Link [APSJ] (IRQs 20 21 22 23) *0, disabled.
  116. [   18.441676] Linux Plug and Play Support v0.97 (c) Adam Belay
  117. [   18.441701] pnp: PnP ACPI init
  118. [   18.441710] ACPI: bus type pnp registered
  119. [   18.447680] pnpacpi: exceeded the max number of mem resources: 12
  120. [   18.447741] pnp: PnP ACPI: found 14 devices
  121. [   18.447746] ACPI: ACPI bus type pnp unregistered
  122. [   18.447862] SCSI subsystem initialized
  123. [   18.447883] libata version 3.00 loaded.
  124. [   18.447959] usbcore: registered new interface driver usbfs
  125. [   18.447988] usbcore: registered new interface driver hub
  126. [   18.448028] usbcore: registered new device driver usb
  127. [   18.448091] PCI: Using ACPI for IRQ routing
  128. [   18.448099] PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
  129. [   18.451013] hpet0: at MMIO 0xfeff0000, IRQs 2, 8, 31
  130. [   18.451021] hpet0: 3 32-bit timers, 25000000 Hz
  131. [   18.452993] Time: tsc clocksource has been installed.
  132. [   18.455023] system 00:01: ioport range 0x1000-0x107f has been reserved
  133. [   18.455030] system 00:01: ioport range 0x1080-0x10ff has been reserved
  134. [   18.455037] system 00:01: ioport range 0x1400-0x147f has been reserved
  135. [   18.455043] system 00:01: ioport range 0x1480-0x14ff has been reserved
  136. [   18.455050] system 00:01: ioport range 0x1800-0x187f has been reserved
  137. [   18.455056] system 00:01: ioport range 0x1880-0x18ff has been reserved
  138. [   18.455064] system 00:01: iomem range 0xfec80000-0xfecbffff could not be reserved
  139. [   18.455075] system 00:02: ioport range 0x4d0-0x4d1 has been reserved
  140. [   18.455081] system 00:02: ioport range 0x800-0x87f has been reserved
  141. [   18.455087] system 00:02: ioport range 0x290-0x29f has been reserved
  142. [   18.455094] system 00:02: ioport range 0x290-0x297 has been reserved
  143. [   18.455106] system 00:0c: iomem range 0xf0000000-0xf3ffffff could not be reserved
  144. [   18.455117] system 00:0d: iomem range 0x636500-0xd1ccff could not be reserved
  145. [   18.455124] system 00:0d: iomem range 0xf0000-0xf7fff could not be reserved
  146. [   18.455130] system 00:0d: iomem range 0xf8000-0xfbfff could not be reserved
  147. [   18.455137] system 00:0d: iomem range 0xfc000-0xfffff could not be reserved
  148. [   18.455144] system 00:0d: iomem range 0xfeff0000-0xfeff00ff could not be reserved
  149. [   18.455152] system 00:0d: iomem range 0x3fff0000-0x3fffffff could not be reserved
  150. [   18.455160] system 00:0d: iomem range 0xffff0000-0xffffffff could not be reserved
  151. [   18.455168] system 00:0d: iomem range 0x0-0x9ffff could not be reserved
  152. [   18.455174] system 00:0d: iomem range 0x100000-0x3ffeffff could not be reserved
  153. [   18.455182] system 00:0d: iomem range 0xfec00000-0xfec00fff could not be reserved
  154. [   18.455190] system 00:0d: iomem range 0xfee00000-0xfeefffff could not be reserved
  155. [   18.455198] system 00:0d: iomem range 0xfefff000-0xfeffffff could not be reserved
  156. [   18.485259] PCI: Bridge: 0000:00:06.0
  157. [   18.485264]   IO window: b000-bfff
  158. [   18.485270]   MEM window: fde00000-fdefffff
  159. [   18.485275]   PREFETCH window: fdd00000-fddfffff
  160. [   18.485281] PCI: Bridge: 0000:00:0b.0
  161. [   18.485285]   IO window: a000-afff
  162. [   18.485290]   MEM window: fdc00000-fdcfffff
  163. [   18.485296]   PREFETCH window: fdb00000-fdbfffff
  164. [   18.485301] PCI: Bridge: 0000:00:0c.0
  165. [   18.485305]   IO window: 9000-9fff
  166. [   18.485310]   MEM window: fda00000-fdafffff
  167. [   18.485316]   PREFETCH window: fd900000-fd9fffff
  168. [   18.485321] PCI: Bridge: 0000:00:0d.0
  169. [   18.485326]   IO window: 8000-8fff
  170. [   18.485331]   MEM window: fd800000-fd8fffff
  171. [   18.485336]   PREFETCH window: fd700000-fd7fffff
  172. [   18.485341] PCI: Bridge: 0000:00:0e.0
  173. [   18.485346]   IO window: 7000-7fff
  174. [   18.485351]   MEM window: fd600000-fd6fffff
  175. [   18.485356]   PREFETCH window: fd500000-fd5fffff
  176. [   18.485364] PCI: Bridge: 0000:00:0f.0
  177. [   18.485368]   IO window: 6000-6fff
  178. [   18.485373]   MEM window: fa000000-fcffffff
  179. [   18.485378]   PREFETCH window: e0000000-efffffff
  180. [   18.485390] PCI: Setting latency timer of device 0000:00:06.0 to 64
  181. [   18.485396] PCI: Setting latency timer of device 0000:00:0b.0 to 64
  182. [   18.485402] PCI: Setting latency timer of device 0000:00:0c.0 to 64
  183. [   18.485410] PCI: Setting latency timer of device 0000:00:0d.0 to 64
  184. [   18.485416] PCI: Setting latency timer of device 0000:00:0e.0 to 64
  185. [   18.485423] PCI: Setting latency timer of device 0000:00:0f.0 to 64
  186. [   18.485432] NET: Registered protocol family 2
  187. [   18.494967] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
  188. [   18.495242] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
  189. [   18.496160] TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
  190. [   18.496398] TCP: Hash tables configured (established 131072 bind 65536)
  191. [   18.496404] TCP reno registered
  192. [   18.499200] Machine check exception polling timer started.
  193. [   18.499444] Total HugeTLB memory allocated, 0
  194. [   18.501230] NTFS driver 2.1.29 [Flags: R/W].
  195. [   18.501322] fuse init (API version 7.9)
  196. [   18.501510] io scheduler noop registered
  197. [   18.501559] io scheduler cfq registered (default)
  198. [   18.501592] Boot video device is 0000:06:00.0
  199. [   18.501662] PCI: Setting latency timer of device 0000:00:0b.0 to 64
  200. [   18.501683] assign_interrupt_mode Found MSI capability
  201. [   18.501689] Allocate Port Service[0000:00:0b.0:pcie00]
  202. [   18.501715] Allocate Port Service[0000:00:0b.0:pcie03]
  203. [   18.501759] PCI: Setting latency timer of device 0000:00:0c.0 to 64
  204. [   18.501779] assign_interrupt_mode Found MSI capability
  205. [   18.501785] Allocate Port Service[0000:00:0c.0:pcie00]
  206. [   18.501808] Allocate Port Service[0000:00:0c.0:pcie03]
  207. [   18.501851] PCI: Setting latency timer of device 0000:00:0d.0 to 64
  208. [   18.501871] assign_interrupt_mode Found MSI capability
  209. [   18.501876] Allocate Port Service[0000:00:0d.0:pcie00]
  210. [   18.501900] Allocate Port Service[0000:00:0d.0:pcie03]
  211. [   18.502006] PCI: Setting latency timer of device 0000:00:0e.0 to 64
  212. [   18.502026] assign_interrupt_mode Found MSI capability
  213. [   18.502032] Allocate Port Service[0000:00:0e.0:pcie00]
  214. [   18.502055] Allocate Port Service[0000:00:0e.0:pcie03]
  215. [   18.502098] PCI: Setting latency timer of device 0000:00:0f.0 to 64
  216. [   18.502118] assign_interrupt_mode Found MSI capability
  217. [   18.502124] Allocate Port Service[0000:00:0f.0:pcie00]
  218. [   18.502147] Allocate Port Service[0000:00:0f.0:pcie03]
  219. [   18.522895] Real Time Clock Driver v1.12ac
  220. [   18.523106] hpet_resources: 0xfeff0000 is busy
  221. [   18.523123] Linux agpgart interface v0.102
  222. [   18.523276] vesafb: framebuffer at 0xe0000000, mapped to 0xf8880000, using 3072k, total 131072k
  223. [   18.523285] vesafb: mode is 1024x768x16, linelength=2048, pages=1
  224. [   18.523291] vesafb: protected mode interface info at c000:c340
  225. [   18.523297] vesafb: pmi: set display start = c00cc376, set palette = c00cc3e0
  226. [   18.523302] vesafb: pmi: ports = 3b4 3b5 3ba 3c0 3c1 3c4 3c5 3c6 3c7 3c8 3c9 3cc 3ce 3cf 3d0 3d1 3d2 3d3 3d4 3d5 3da
  227. [   18.523320] vesafb: scrolling: redraw
  228. [   18.523325] vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
  229. [   18.523367] fbcon: VESA VGA (fb0) is primary device
  230. [   18.531968] Console: switching to colour frame buffer device 128x48
  231. [   18.539818] fb0: VESA VGA frame buffer device
  232. [   18.540056] input: Power Button (FF) as /devices/virtual/input/input0
  233. [   18.542841] ACPI: Power Button (FF) [PWRF]
  234. [   18.542975] input: Power Button (CM) as /devices/virtual/input/input1
  235. [   18.545832] ACPI: Power Button (CM) [PWRB]
  236. [   18.545960] input: Sleep Button (CM) as /devices/virtual/input/input2
  237. [   18.548831] ACPI: Sleep Button (CM) [SLPB]
  238. [   18.548944] ACPI: Fan [FAN] (on)
  239. [   18.553496] ACPI: Thermal Zone [THRM] (38 C)
  240. [   18.553573] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
  241. [   18.553802] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
  242. [   18.554446] 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
  243. [   18.555047] RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
  244. [   18.555359] loop: module loaded
  245. [   18.555441] forcedeth: Reverse Engineered nForce ethernet driver. Version 0.61.
  246. [   18.555873] ACPI: PCI Interrupt Link [LMAC] enabled at IRQ 10
  247. [   18.555971] PCI: setting IRQ 10 as level-triggered
  248. [   18.555975] ACPI: PCI Interrupt 0000:00:08.0[A] -> Link [LMAC] -> GSI 10 (level, low) -> IRQ 10
  249. [   18.556129] PCI: Setting latency timer of device 0000:00:08.0 to 64
  250. [   18.768448] Switched to high resolution mode on CPU 0
  251. [   19.067402] forcedeth 0000:00:08.0: ifname eth0, PHY OUI 0x5043 @ 1, addr 00:e0:4d:1b:76:9c
  252. [   19.070628] forcedeth 0000:00:08.0: highdma csum vlan pwrctl mgmt timirq gbit lnktim msi desc-v3
  253. [   19.073888] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
  254. [   19.077146] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
  255. [   19.080524] NFORCE-MCP55: IDE controller (0x10de:0x036e rev 0xa1) at  PCI slot 0000:00:04.0
  256. [   19.083946] NFORCE-MCP55: not 100% native mode: will probe irqs later
  257. [   19.087377] NFORCE-MCP55: BIOS didn't set cable bits correctly. Enabling workaround.
  258. [   19.090869] NFORCE-MCP55: 0000:00:04.0 (rev a1) UDMA133 controller
  259. [   19.094363]     ide0: BM-DMA at 0xf400-0xf407, BIOS settings: hda:DMA, hdb:DMA
  260. [   19.097967] NFORCE-MCP55: IDE port disabled
  261. [   19.101603] Probing IDE interface ide0...
  262. [   20.383019] hda: ASUS DVD-E616A3, ATAPI CD/DVD-ROM drive
  263. [   20.386757] hda: host max PIO5 wanted PIO255(auto-tune) selected PIO4
  264. [   20.390883] hda: drive side 80-wire cable detection failed, limiting max speed to UDMA33
  265. [   20.394739] hda: UDMA/33 mode selected
  266. [   20.401934] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
  267. [   20.409218] Probing IDE interface ide1...
  268. [   20.925049] hda: ATAPI 48X DVD-ROM drive, 198kB Cache
  269. [   20.928904] Uniform CD-ROM driver Revision: 3.20
  270. [   20.938043] 3ware Storage Controller device driver for Linux v1.26.02.002.
  271. [   20.941900] Driver 'sd' needs updating - please use bus_type methods
  272. [   20.945749] Driver 'sr' needs updating - please use bus_type methods
  273. [   20.949567] sata_nv 0000:00:05.0: version 3.5
  274. [   20.949849] ACPI: PCI Interrupt Link [LSID] enabled at IRQ 11
  275. [   20.953611] PCI: setting IRQ 11 as level-triggered
  276. [   20.953614] ACPI: PCI Interrupt 0000:00:05.0[A] -> Link [LSID] -> GSI 11 (level, low) -> IRQ 11
  277. [   20.957456] PCI: Setting latency timer of device 0000:00:05.0 to 64
  278. [   20.957504] scsi0 : sata_nv
  279. [   20.961304] scsi1 : sata_nv
  280. [   20.965191] ata1: SATA max UDMA/133 cmd 0x9f0 ctl 0xbf0 bmdma 0xe000 irq 11
  281. [   20.968986] ata2: SATA max UDMA/133 cmd 0x970 ctl 0xb70 bmdma 0xe008 irq 11
  282. [   21.425334] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
  283. [   21.470363] ata1.00: ATA-7: ST3160812AS                 41N3268 LEN, 3.AAK, max UDMA/133
  284. [   21.474123] ata1.00: 312581808 sectors, multi 16: LBA48 NCQ (depth 0/32)
  285. [   21.528579] ata1.00: configured for UDMA/133
  286. [   21.834690] ata2: SATA link down (SStatus 0 SControl 300)
  287. [   21.848742] scsi 0:0:0:0: Direct-Access     ATA      ST3160812AS      3.AA PQ: 0 ANSI: 5
  288. [   21.852573] sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
  289. [   21.856335] sd 0:0:0:0: [sda] Write Protect is off
  290. [   21.860081] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
  291. [   21.860094] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
  292. [   21.863983] sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
  293. [   21.867817] sd 0:0:0:0: [sda] Write Protect is off
  294. [   21.871580] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
  295. [   21.871591] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
  296. [   21.875435]  sda: sda1 sda2 < sda5 sda6 sda7 sda8 sda9 sda10 sda11 >
  297. [   21.973128] sd 0:0:0:0: [sda] Attached SCSI disk
  298. [   21.976964] sd 0:0:0:0: Attached scsi generic sg0 type 0
  299. [   21.981011] ACPI: PCI Interrupt Link [LFID] enabled at IRQ 10
  300. [   21.984761] ACPI: PCI Interrupt 0000:00:05.1[b] -> Link [LFID] -> GSI 10 (level, low) -> IRQ 10
  301. [   21.988590] PCI: Setting latency timer of device 0000:00:05.1 to 64
  302. [   21.988623] scsi2 : sata_nv
  303. [   21.992348] scsi3 : sata_nv
  304. [   21.996119] ata3: SATA max UDMA/133 cmd 0x9e0 ctl 0xbe0 bmdma 0xcc00 irq 10
  305. [   21.999759] ata4: SATA max UDMA/133 cmd 0x960 ctl 0xb60 bmdma 0xcc08 irq 10
  306. [   22.304961] ata3: SATA link down (SStatus 0 SControl 300)
  307. [   22.620470] ata4: SATA link down (SStatus 0 SControl 300)
  308. [   22.634196] Fusion MPT base driver 3.04.06
  309. [   22.637561] Copyright (c) 1999-2007 LSI Corporation
  310. [   22.640914] Fusion MPT SPI Host driver 3.04.06
  311. [   22.644255] usbmon: debugfs is not available
  312. [   22.647813] ACPI: PCI Interrupt Link [LUB2] enabled at IRQ 11
  313. [   22.651110] ACPI: PCI Interrupt 0000:00:02.1[b] -> Link [LUB2] -> GSI 11 (level, low) -> IRQ 11
  314. [   22.654448] PCI: Setting latency timer of device 0000:00:02.1 to 64
  315. [   22.654450] ehci_hcd 0000:00:02.1: EHCI Host Controller
  316. [   22.657775] ehci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 1
  317. [   22.661133] ehci_hcd 0000:00:02.1: debug port 1
  318. [   22.664420] PCI: cache line size of 64 is not supported by device 0000:00:02.1
  319. [   22.664424] ehci_hcd 0000:00:02.1: irq 11, io mem 0xfe02e000
  320. [   22.673387] ehci_hcd 0000:00:02.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
  321. [   22.676803] usb usb1: configuration #1 chosen from 1 choice
  322. [   22.680098] hub 1-0:1.0: USB hub found
  323. [   22.683391] hub 1-0:1.0: 10 ports detected
  324. [   22.787261] ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
  325. [   22.787552] ACPI: PCI Interrupt Link [LUBA] enabled at IRQ 10
  326. [   22.790809] ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LUBA] -> GSI 10 (level, low) -> IRQ 10
  327. [   22.794105] PCI: Setting latency timer of device 0000:00:02.0 to 64
  328. [   22.794107] ohci_hcd 0000:00:02.0: OHCI Host Controller
  329. [   22.797465] ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 2
  330. [   22.800816] ohci_hcd 0000:00:02.0: irq 10, io mem 0xfe02f000
  331. [   22.857191] usb usb2: configuration #1 chosen from 1 choice
  332. [   22.860580] hub 2-0:1.0: USB hub found
  333. [   22.863884] hub 2-0:1.0: 10 ports detected
  334. [   22.967987] USB Universal Host Controller Interface driver v3.0
  335. [   23.187591] usb 2-4: new low speed USB device using ohci_hcd and address 2
  336. [   23.332385] usb 2-4: configuration #1 chosen from 1 choice
  337. [   23.337381] usbcore: registered new interface driver usblp
  338. [   23.340625] Initializing USB Mass Storage driver...
  339. [   23.343872] usbcore: registered new interface driver usb-storage
  340. [   23.347104] USB Mass Storage support registered.
  341. [   23.350352] PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
  342. [   23.353574] PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
  343. [   23.356954] serio: i8042 KBD port at 0x60,0x64 irq 1
  344. [   23.360273] mice: PS/2 mouse device common for all mice
  345. [   23.392758] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input3
  346. [   23.402325] device-mapper: ioctl: 4.12.0-ioctl (2007-10-02) initialised: dm-devel@redhat.com
  347. [   23.411342] input: USB Mouse as /devices/pci0000:00/0000:00:02.0/usb2/2-4/2-4:1.0/input/input4
  348. [   23.421246] input: USB HID v1.10 Mouse [USB Mouse] on usb-0000:00:02.0-4
  349. [   23.424656] usbcore: registered new interface driver usbhid
  350. [   23.428105] drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
  351. [   23.431586] Advanced Linux Sound Architecture Driver Version 1.0.15 (Tue Nov 20 19:16:42 2007 UTC).
  352. [   23.435678] ACPI: PCI Interrupt Link [LAZA] enabled at IRQ 11
  353. [   23.439272] ACPI: PCI Interrupt 0000:00:06.1[b] -> Link [LAZA] -> GSI 11 (level, low) -> IRQ 11
  354. [   23.442998] PCI: Setting latency timer of device 0000:00:06.1 to 64
  355. [   23.676932] ALSA device list:
  356. [   23.680594]   #0: HDA NVidia at 0xfe024000 irq 11
  357. [   23.684303] TCP cubic registered
  358. [   23.687957] NET: Registered protocol family 1
  359. [   23.691635] NET: Registered protocol family 17
  360. [   23.695247] powernow-k8: Found 1 AMD Athlon(tm) 64 Processor 3000+ processors (1 cpu cores) (version 2.20.00)
  361. [   23.699007] powernow-k8:    0 : fid 0xa (1800 MHz), vid 0x6
  362. [   23.702681] powernow-k8:    1 : fid 0x2 (1000 MHz), vid 0x12
  363. [   23.706353] Using IPI Shortcut mode
  364. [   23.740443] kjournald starting.  Commit interval 5 seconds
  365. [   23.744107] EXT3-fs: mounted filesystem with ordered data mode.
  366. [   23.747784] VFS: Mounted root (ext3 filesystem) readonly.
  367. [   23.751588] Freeing unused kernel memory: 224k freed
  368. [   23.785491] Failed to execute /linuxrc.  Attempting defaults...
  369. [   27.104716] nvidia: module license 'NVIDIA' taints kernel.
  370. [   27.360004] ACPI: PCI Interrupt Link [LNK6] enabled at IRQ 5
  371. [   27.360009] PCI: setting IRQ 5 as level-triggered
  372. [   27.360013] ACPI: PCI Interrupt 0000:06:00.0[A] -> Link [LNK6] -> GSI 5 (level, low) -> IRQ 5
  373. [   27.360021] PCI: Setting latency timer of device 0000:06:00.0 to 64
  374. [   27.360264] NVRM: loading NVIDIA UNIX x86 Kernel Module  169.09  Fri Jan 11 14:38:28 PST 2008
  375. [   28.483213] EXT3 FS on sda9, internal journal
  376. [   29.221504] FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
  377. [   29.245853] FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
  378. [   29.285355] kjournald starting.  Commit interval 5 seconds
  379. [   29.285360] EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
  380. [   29.285476] EXT3 FS on sda11, internal journal
  381. [   29.285479] EXT3-fs: mounted filesystem with ordered data mode.
  382. [   30.677232] Adding 2144636k swap on /dev/sda10.  Priority:-1 extents:1 across:2144636k
  383. [   38.024176] Drcom-Kernel 0.0.1 module loaded
  384. [   38.061372] Drcom-Kernel: Authentication Started.
  385. [  107.939841] Marking TSC unstable due to: cpufreq changes.
  386. [  107.945722] Time: hpet clocksource has been installed.
  387. [  108.238134] Clocksource tsc unstable (delta = -132811706 ns)

复制代码




这是之前的内核大小


  1. 这是我的:2.3M


  2. pjq@localhost ~ $ ls -l /boot/kernel-2.6.24-r*
  3. -rw-r--r-- 1 root root 2389816 2008-04-03 19:25 /boot/kernel-2.6.24-r3
  4. -rw-r--r-- 1 root root 2325016 2008-04-09 12:31 /boot/kernel-2.6.24-r4
  5. -rw-r--r-- 1 root root 2324920 2008-05-06 20:40 /boot/kernel-2.6.24-r7
  6. -rw-r--r-- 1 root root 2324888 2008-05-13 21:00 /boot/kernel-2.6.24-r8


  7. pjq@localhost ~ $ lsmod
  8. Module                  Size  Used by
  9. vboxdrv                31104  0
  10. drcom                   9504  0
  11. snd_seq_oss            24640  0
  12. snd_seq_midi_event      5248  1 snd_seq_oss
  13. snd_seq                37456  4 snd_seq_oss,snd_seq_midi_event
  14. snd_seq_device          5708  2 snd_seq_oss,snd_seq
  15. snd_pcm_oss            31200  0
  16. snd_mixer_oss          12416  1 snd_pcm_oss
  17. nvidia               7803776  24
  18. snd_hda_intel         216928  5
  19. snd_pcm                52296  3 snd_pcm_oss,snd_hda_intel
  20. snd_timer              15364  3 snd_seq,snd_pcm
  21. snd_page_alloc          6984  2 snd_hda_intel,snd_pcm
  22. snd_hwdep               5892  1 snd_hda_intel
复制代码
发表于 2008-5-14 21:34:10 | 显示全部楼层
月经贴。。。
lrwxrwxrwx 1 root root   24 2008-05-10 11:38 vmlinuz -> vmlinuz-2.6.24-gentoo-r7
-rw-r--r-- 1 root root 2.0M 2008-03-31 16:29 vmlinuz-2.6.23-gentoo-r9
-rw-r--r-- 1 root root 2.1M 2008-05-10 11:38 vmlinuz-2.6.24-gentoo-r7
回复 支持 反对

使用道具 举报

发表于 2008-5-14 21:53:58 | 显示全部楼层
-rw-r--r-- 1 root root 735K 04-19 18:22 initramfs-genkernel-x86-2.6.24-gentoo-r4
-rw-r--r-- 1 root root 2.1M 04-09 20:35 kernel-genkernel-x86-2.6.24-gentoo-r4

花了一天配置内核。。。。
回复 支持 反对

使用道具 举报

发表于 2008-5-14 22:04:25 | 显示全部楼层
晕, 我的4M
回复 支持 反对

使用道具 举报

发表于 2008-5-14 22:08:16 | 显示全部楼层
呵呵。。。
由于最近染上了洁癖症,所以不用genkernel
回复 支持 反对

使用道具 举报

发表于 2008-5-14 23:48:22 | 显示全部楼层
可以genkernel --menuconfig all的呀,也是自我配置。
回复 支持 反对

使用道具 举报

发表于 2008-5-15 00:18:05 | 显示全部楼层
我的1.7M,把所有的都编译进了内核,没有模块。

-rw-r--r-- 1 root root 1.7M 05-14 23:32 vmlinuz
回复 支持 反对

使用道具 举报

发表于 2008-5-15 12:49:29 | 显示全部楼层
我的1.4M
-rw-r--r-- 1 root root 1.4M 2008-05-12 02:16 kernel-2.6.24-gentoo-r7
回复 支持 反对

使用道具 举报

发表于 2008-5-15 18:45:11 | 显示全部楼层
2.7。
不会配  好像还能用
回复 支持 反对

使用道具 举报

发表于 2008-5-15 22:47:06 | 显示全部楼层
$ ls /boot/kernel-genkernel-x86-2.6.25-gentoo-r3 -lh
-rw-r--r-- 1 root root 3.0M 05-11 23:21 /boot/kernel-genkernel-x86-2.6.25-gentoo-r3
跟配置关系很大,我有很多都直接编进内核里面的,很多弄成<M> 会小很多
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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