LinuxSir.cn,穿越时空的Linuxsir!

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

谁动了我的内存

[复制链接]
发表于 2008-3-11 13:12:01 | 显示全部楼层 |阅读模式
说见鬼了一点都不过分:)
和往常一下,我放下手边的工作,跑去楼下吃饭。上来以后发现内存被占用了很多,习惯性的将firefox关掉,没什么效果,从top上查看,没有特别惹人注意的地方,觉得很奇怪,准备细查下去。
我把xserver关掉,default服务全部关掉。出人意料,还有400多M的占用。接着我把boot服务都关了(udev没关), 汗到底谁动了我的内存?

从syslog里查看发现
firefox-bin[30511]: segfault at 0000009c eip b6f05058 esp bfb27b50 error 4
这个是在我看一个flash的时候,syslog记录下的,并且当时firefox并没有关闭,也没有出现异常,除了这个,我实在找不到其他可疑的地方了。把swap关掉,把buffer和cache清掉还有402M的占用……我从来没有遇到过这样的情况,也不知道以后是否能重现 =.=|||

重启以后,系统自动把所有服务打开,占用内存:30M,一切正常
以下是我重启前的状态:

  1. free -m
  2.              total       used       free     shared    buffers     cached
  3. Mem:          1010        408        602          0          3          2
  4. -/+ buffers/cache:        402        608
  5. Swap:            0          0          0
复制代码


  1. ps aux
  2. USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
  3. root         1  0.0  0.0   1768   608 ?        Ss   10:35   0:00 init [3]  
  4. root         2  0.0  0.0      0     0 ?        S<   10:35   0:00 [kthreadd]
  5. root         3  0.0  0.0      0     0 ?        S<   10:35   0:00 [migration/0]
  6. root         4  0.0  0.0      0     0 ?        S<   10:35   0:00 [ksoftirqd/0]
  7. root         5  0.0  0.0      0     0 ?        S<   10:35   0:00 [migration/1]
  8. root         6  0.0  0.0      0     0 ?        S<   10:35   0:01 [ksoftirqd/1]
  9. root         7  0.0  0.0      0     0 ?        S<   10:35   0:00 [events/0]
  10. root         8  0.0  0.0      0     0 ?        R<   10:35   0:00 [events/1]
  11. root         9  0.0  0.0      0     0 ?        S<   10:35   0:00 [khelper]
  12. root        62  0.0  0.0      0     0 ?        S<   10:35   0:00 [kblockd/0]
  13. root        63  0.0  0.0      0     0 ?        S<   10:35   0:00 [kblockd/1]
  14. root        67  1.6  0.0      0     0 ?        S<   10:35   2:11 [kacpid]
  15. root        68  1.4  0.0      0     0 ?        S<   10:35   1:50 [kacpi_notify]
  16. root       138  0.0  0.0      0     0 ?        S<   10:35   0:00 [cqueue/0]
  17. root       139  0.0  0.0      0     0 ?        S<   10:35   0:00 [cqueue/1]
  18. root       143  0.0  0.0      0     0 ?        S<   10:35   0:00 [ata/0]
  19. root       144  0.0  0.0      0     0 ?        S<   10:35   0:00 [ata/1]
  20. root       145  0.0  0.0      0     0 ?        S<   10:35   0:00 [ata_aux]
  21. root       146  0.0  0.0      0     0 ?        S<   10:35   0:00 [ksuspend_usbd]
  22. root       151  0.0  0.0      0     0 ?        S<   10:35   0:00 [khubd]
  23. root       154  0.0  0.0      0     0 ?        S<   10:35   0:00 [kseriod]
  24. root       187  0.0  0.0      0     0 ?        S    10:35   0:00 [pdflush]
  25. root       189  0.0  0.0      0     0 ?        S<   10:35   0:00 [kswapd0]
  26. root       229  0.0  0.0      0     0 ?        S<   10:35   0:00 [aio/0]
  27. root       230  0.0  0.0      0     0 ?        S<   10:35   0:00 [aio/1]
  28. root       832  0.0  0.0    364    56 ?        Ss   10:35   0:00 /sbin/v86d
  29. root       877  0.0  0.0      0     0 ?        S<   10:36   0:00 [scsi_eh_0]
  30. root       879  0.0  0.0      0     0 ?        S<   10:36   0:00 [scsi_eh_1]
  31. root       950  0.0  0.0      0     0 ?        S<   10:36   0:00 [rpciod/0]
  32. root       951  0.0  0.0      0     0 ?        S<   10:36   0:00 [rpciod/1]
  33. root       952  0.0  0.0      0     0 ?        S<   10:36   0:00 [kirqd]
  34. root       953  0.0  0.0      0     0 ?        S<   10:36   0:00 [reiserfs/0]
  35. root       954  0.0  0.0      0     0 ?        S<   10:36   0:00 [reiserfs/1]
  36. root      1042  0.0  0.0   2172   712 ?        S<s  10:36   0:00 /sbin/udevd --daemon
  37. root      5278  0.0  0.1   2676  1296 tty1     Ss   10:36   0:00 /bin/login --      
  38. root      5280  0.0  0.0   1768   604 tty3     Ss+  10:36   0:00 /sbin/agetty 38400 tty3 linux
  39. root      5281  0.0  0.0   1768   600 tty4     Ss+  10:36   0:00 /sbin/agetty 38400 tty4 linux
  40. root      5282  0.0  0.0   1768   604 tty5     Ss+  10:36   0:00 /sbin/agetty 38400 tty5 linux
  41. root      5283  0.0  0.0   1768   600 tty6     Ss+  10:36   0:00 /sbin/agetty 38400 tty6 linux
  42. user      5294  0.0  0.1   3300  1644 tty1     S+   10:36   0:00 -bash
  43. root      8791  0.0  0.0      0     0 ?        S    11:16   0:01 [pdflush]
  44. root     22100  0.0  0.1   2676  1296 tty2     Ss   12:42   0:00 /bin/login --     
  45. root     22111  0.0  0.1   3036  1620 tty2     S    12:42   0:00 -bash
  46. root     22175  0.0  0.0   2420   916 tty2     R+   12:45   0:00 ps aux
复制代码


  1. dmesg
  2. Linux version 2.6.24-gentoo-r3 (root@office) (gcc version 4.2.3 (Gentoo 4.2.3 p1.0)) #4 SMP Sat Mar 1 23:40:26 CST 2008
  3. BIOS-provided physical RAM map:
  4. BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
  5. BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
  6. BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
  7. BIOS-e820: 0000000000100000 - 000000003fff0000 (usable)
  8. BIOS-e820: 000000003fff0000 - 000000003fff3000 (ACPI NVS)
  9. BIOS-e820: 000000003fff3000 - 0000000040000000 (ACPI data)
  10. BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
  11. 127MB HIGHMEM available.
  12. 896MB LOWMEM available.
  13. found SMP MP-table at 000f5d10
  14. Entering add_active_range(0, 0, 262128) 0 entries of 256 used
  15. Zone PFN ranges:
  16.   DMA             0 ->     4096
  17.   Normal       4096 ->   229376
  18.   HighMem    229376 ->   262128
  19. Movable zone start PFN for each node
  20. early_node_map[1] active PFN ranges
  21.     0:        0 ->   262128
  22. On node 0 totalpages: 262128
  23.   DMA zone: 32 pages used for memmap
  24.   DMA zone: 0 pages reserved
  25.   DMA zone: 4064 pages, LIFO batch:0
  26.   Normal zone: 1760 pages used for memmap
  27.   Normal zone: 223520 pages, LIFO batch:31
  28.   HighMem zone: 255 pages used for memmap
  29.   HighMem zone: 32497 pages, LIFO batch:7
  30.   Movable zone: 0 pages used for memmap
  31. DMI 2.2 present.
  32. ACPI: RSDP 000F95E0, 0014 (r0 IntelR)
  33. ACPI: RSDT 3FFF3000, 002C (r1 IntelR AWRDACPI 42302E31 AWRD        0)
  34. ACPI: FACP 3FFF3040, 0074 (r1 IntelR AWRDACPI 42302E31 AWRD        0)
  35. ACPI: DSDT 3FFF30C0, 496A (r1 INTELR AWRDACPI     1000 MSFT  100000E)
  36. ACPI: FACS 3FFF0000, 0040
  37. ACPI: APIC 3FFF7A40, 0068 (r1 IntelR AWRDACPI 42302E31 AWRD        0)
  38. ACPI: PM-Timer IO Port: 0x408
  39. ACPI: Local APIC address 0xfee00000
  40. ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
  41. Processor #0 15:2 APIC version 20
  42. ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
  43. Processor #1 15:2 APIC version 20
  44. ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
  45. ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
  46. ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
  47. IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
  48. ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
  49. ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
  50. ACPI: IRQ0 used by override.
  51. ACPI: IRQ2 used by override.
  52. ACPI: IRQ9 used by override.
  53. Enabling APIC mode:  Flat.  Using 1 I/O APICs
  54. Using ACPI (MADT) for SMP configuration information
  55. Allocating PCI resources starting at 50000000 (gap: 40000000:bec00000)
  56. Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260081
  57. Kernel command line: root=/dev/sda1 quiet video=uvesafb:1024x768-32,mtrr:3,ywrap
  58. mapped APIC to ffffb000 (fee00000)
  59. mapped IOAPIC to ffffa000 (fec00000)
  60. Enabling fast FPU save and restore... done.
  61. Enabling unmasked SIMD FPU exception support... done.
  62. Initializing CPU#0
  63. PID hash table entries: 4096 (order: 12, 16384 bytes)
  64. Detected 2806.505 MHz processor.
  65. Console: colour VGA+ 80x25
  66. console [tty0] enabled
  67. Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
  68. Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
  69. Memory: 1034604k/1048512k available (2464k kernel code, 13344k reserved, 1056k data, 240k init, 131008k highmem)
  70. virtual kernel memory layout:
  71.     fixmap  : 0xfff9b000 - 0xfffff000   ( 400 kB)
  72.     pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
  73.     vmalloc : 0xf8800000 - 0xff7fe000   ( 111 MB)
  74.     lowmem  : 0xc0000000 - 0xf8000000   ( 896 MB)
  75.       .init : 0xc0478000 - 0xc04b4000   ( 240 kB)
  76.       .data : 0xc0368110 - 0xc0470384   (1056 kB)
  77.       .text : 0xc0100000 - 0xc0368110   (2464 kB)
  78. Checking if this processor honours the WP bit even in supervisor mode... Ok.
  79. SLUB: Genslabs=11, HWalign=64, Order=0-1, MinObjects=4, CPUs=2, Nodes=1
  80. Calibrating delay using timer specific routine.. 5616.76 BogoMIPS (lpj=11233537)
  81. Mount-cache hash table entries: 512
  82. CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000 00004400 00000000 00000000 00000000
  83. CPU: Trace cache: 12K uops, L1 D cache: 8K
  84. CPU: L2 cache: 512K
  85. CPU: Physical Processor ID: 0
  86. CPU: After all inits, caps: bfebfbff 00000000 00000000 0000b080 00004400 00000000 00000000 00000000
  87. Intel machine check architecture supported.
  88. Intel machine check reporting enabled on CPU#0.
  89. CPU0: Intel P4/Xeon Extended MCE MSRs (12) available
  90. CPU0: Thermal monitoring enabled
  91. Compat vDSO mapped to ffffe000.
  92. Checking 'hlt' instruction... OK.
  93. Freeing SMP alternatives: 13k freed
  94. ACPI: Core revision 20070126
  95. CPU0: Intel(R) Pentium(R) 4 CPU 2.80GHz stepping 09
  96. Booting processor 1/1 eip 2000
  97. Initializing CPU#1
  98. Calibrating delay using timer specific routine.. 5613.17 BogoMIPS (lpj=11226347)
  99. CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000 00004400 00000000 00000000 00000000
  100. CPU: Trace cache: 12K uops, L1 D cache: 8K
  101. CPU: L2 cache: 512K
  102. CPU: Physical Processor ID: 0
  103. CPU: After all inits, caps: bfebfbff 00000000 00000000 0000b080 00004400 00000000 00000000 00000000
  104. Intel machine check architecture supported.
  105. Intel machine check reporting enabled on CPU#1.
  106. CPU1: Intel P4/Xeon Extended MCE MSRs (12) available
  107. CPU1: Thermal monitoring enabled
  108. CPU1: Intel(R) Pentium(R) 4 CPU 2.80GHz stepping 09
  109. Total of 2 processors activated (11229.94 BogoMIPS).
  110. ENABLING IO-APIC IRQs
  111. ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
  112. checking TSC synchronization [CPU#0 -> CPU#1]: passed.
  113. Brought up 2 CPUs
  114. net_namespace: 64 bytes
  115. NET: Registered protocol family 16
  116. ACPI: bus type pci registered
  117. PCI: PCI BIOS revision 2.10 entry at 0xfb720, last bus=2
  118. PCI: Using configuration type 1
  119. Setting up standard PCI resources
  120. ACPI: EC: Look up EC in DSDT
  121. ACPI: Interpreter enabled
  122. ACPI: (supports S0 S5)
  123. ACPI: Using IOAPIC for interrupt routing
  124. ACPI: PCI Root Bridge [PCI0] (0000:00)
  125. Force enabled HPET at base address 0xfed00000
  126. PCI quirk: region 0400-047f claimed by ICH4 ACPI/GPIO/TCO
  127. PCI quirk: region 0480-04bf claimed by ICH4 GPIO
  128. PCI: Transparent bridge - 0000:00:1e.0
  129. ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
  130. ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB0._PRT]
  131. ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 9 10 11 *12 14 15)
  132. ACPI: PCI Interrupt Link [LNKB] (IRQs *3 4 5 7 9 10 11 12 14 15)
  133. ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 9 10 *11 12 14 15)
  134. ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 9 10 *11 12 14 15)
  135. ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 9 *10 11 12 14 15)
  136. ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 *7 9 10 11 12 14 15)
  137. ACPI: PCI Interrupt Link [LNK0] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.
  138. ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 5 7 *9 10 11 12 14 15)
  139. ACPI: Power Resource [PFAN] (off)
  140. Linux Plug and Play Support v0.97 (c) Adam Belay
  141. pnp: PnP ACPI init
  142. ACPI: bus type pnp registered
  143. pnpacpi: exceeded the max number of mem resources: 12
  144. pnp: PnP ACPI: found 12 devices
  145. ACPI: ACPI bus type pnp unregistered
  146. SCSI subsystem initialized
  147. libata version 3.00 loaded.
  148. usbcore: registered new interface driver usbfs
  149. usbcore: registered new interface driver hub
  150. usbcore: registered new device driver usb
  151. PCI: Using ACPI for IRQ routing
  152. PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
  153. hpet clockevent registered
  154. hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
  155. hpet0: 3 64-bit timers, 14318180 Hz
  156. Time: tsc clocksource has been installed.
  157. system 00:01: ioport range 0xb78-0xb7b has been reserved
  158. system 00:01: ioport range 0xf78-0xf7b has been reserved
  159. system 00:01: ioport range 0xa78-0xa7b has been reserved
  160. system 00:01: ioport range 0xe78-0xe7b has been reserved
  161. system 00:01: ioport range 0xbbc-0xbbf has been reserved
  162. system 00:01: ioport range 0xfbc-0xfbf has been reserved
  163. system 00:01: ioport range 0x4d0-0x4d1 has been reserved
  164. system 00:01: ioport range 0x294-0x297 has been reserved
  165. system 00:09: ioport range 0x400-0x4bf could not be reserved
  166. system 00:0b: iomem range 0xcf800-0xcffff has been reserved
  167. system 00:0b: iomem range 0xf0000-0xf7fff could not be reserved
  168. system 00:0b: iomem range 0xf8000-0xfbfff could not be reserved
  169. system 00:0b: iomem range 0xfc000-0xfffff could not be reserved
  170. system 00:0b: iomem range 0x3fff0000-0x3fffffff could not be reserved
  171. system 00:0b: iomem range 0x0-0x9ffff could not be reserved
  172. system 00:0b: iomem range 0x100000-0x3ffeffff could not be reserved
  173. system 00:0b: iomem range 0xfec00000-0xfec00fff could not be reserved
  174. system 00:0b: iomem range 0xfec01000-0xfed8ffff could not be reserved
  175. system 00:0b: iomem range 0xfee00000-0xfee00fff could not be reserved
  176. system 00:0b: iomem range 0xffb00000-0xffb7ffff could not be reserved
  177. system 00:0b: iomem range 0xfff00000-0xffffffff could not be reserved
  178. PCI: Bridge: 0000:00:01.0
  179.   IO window: disabled.
  180.   MEM window: f8000000-f9ffffff
  181.   PREFETCH window: f0000000-f7ffffff
  182. PCI: Bridge: 0000:00:1e.0
  183.   IO window: a000-afff
  184.   MEM window: fa000000-fa0fffff
  185.   PREFETCH window: disabled.
  186. PCI: Setting latency timer of device 0000:00:1e.0 to 64
  187. NET: Registered protocol family 2
  188. IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
  189. TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
  190. TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
  191. TCP: Hash tables configured (established 131072 bind 65536)
  192. TCP reno registered
  193. Machine check exception polling timer started.
  194. highmem bounce pool size: 64 pages
  195. fuse init (API version 7.9)
  196. io scheduler noop registered
  197. io scheduler cfq registered (default)
  198. Boot video device is 0000:01:00.0
  199. PCI: Firmware left 0000:02:04.0 e100 interrupts enabled, disabling
  200. Real Time Clock Driver v1.12ac
  201. uvesafb: NVIDIA Corporation, NV35 Board - p177h-4n, Chip Rev   , OEM: NVIDIA, VBE v3.0
  202. uvesafb: protected mode interface info at c000:e4c0
  203. uvesafb: pmi: set display start = c00ce4f6, set palette = c00ce560
  204. uvesafb: pmi: ports = 3b4 3b5 3ba 3c0 3c1 3c4 3c5 3c6 3c7 3c8 3c9 3cc 3ce 3cf 3d0 3d1 3d2 3d3 3d4 3d5 3da
  205. uvesafb: VBIOS/hardware supports DDC2 transfers
  206. uvesafb: monitor limits: vf = 85 Hz, hf = 82 kHz, clk = 140 MHz
  207. uvesafb: scrolling: ywrap using protected mode interface, yres_virtual=6144
  208. uvesafb: framebuffer at 0xf0000000, mapped to 0xf8880000, using 24576k, total 131072k
  209. fb0: VESA VGA frame buffer device
  210. input: Power Button (FF) as /devices/virtual/input/input0
  211. ACPI: Power Button (FF) [PWRF]
  212. input: Power Button (CM) as /devices/virtual/input/input1
  213. ACPI: Power Button (CM) [PWRB]
  214. ACPI: Transitioning device [FAN] to D3
  215. ACPI: Transitioning device [FAN] to D3
  216. ACPI: Fan [FAN] (off)
  217. Switched to NOHz mode on CPU #1
  218. Switched to NOHz mode on CPU #0
  219. ACPI: Invalid passive threshold
  220. ACPI: Thermal Zone [THRM] (55 C)
  221. Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
  222. serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
  223. 00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
  224. Floppy drive(s): fd0 is 1.44M
  225. FDC 0 is a post-1991 82077
  226. loop: module loaded
  227. e100: Intel(R) PRO/100 Network Driver, 3.5.23-k4-NAPI
  228. e100: Copyright(c) 1999-2006 Intel Corporation
  229. ACPI: PCI Interrupt 0000:02:04.0[A] -> GSI 20 (level, low) -> IRQ 16
  230. e100: eth0: e100_probe: addr 0xfa020000, irq 16, MAC addr 00:02:b3:bc:81:88
  231. Linux video capture interface: v2.00
  232. Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
  233. ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
  234. ICH5: IDE controller (0x8086:0x24db rev 0x02) at  PCI slot 0000:00:1f.1
  235. ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 17
  236. ICH5: not 100% native mode: will probe irqs later
  237.     ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:pio, hdb:pio
  238.     ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
  239. Probing IDE interface ide0...
  240. Probing IDE interface ide1...
  241. hdd: Pioneer DVD-ROM ATAPIModel DVD-121S 010, ATAPI CD/DVD-ROM drive
  242. hdc: WDC WD3200JB-00KFA0, ATA DISK drive
  243. hdc: host max PIO4 wanted PIO255(auto-tune) selected PIO4
  244. hdc: host side 80-wire cable detection failed, limiting max speed to UDMA33
  245. hdc: UDMA/33 mode selected
  246. hdd: host max PIO4 wanted PIO255(auto-tune) selected PIO4
  247. hdd: host side 80-wire cable detection failed, limiting max speed to UDMA33
  248. hdd: UDMA/33 mode selected
  249. ide1 at 0x170-0x177,0x376 on irq 15
  250. hdc: max request size: 512KiB
  251. hdc: 625142448 sectors (320072 MB) w/8192KiB Cache, CHS=38913/255/63
  252. hdc: cache flushes supported
  253. hdc: hdc1
  254. hdd: ATAPI 126X DVD-ROM drive, 256kB Cache
  255. Uniform CD-ROM driver Revision: 3.20
  256. Driver 'sd' needs updating - please use bus_type methods
  257. ata_piix 0000:00:1f.2: version 2.12
  258. ata_piix 0000:00:1f.2: MAP [ P0 -- P1 -- ]
  259. ACPI: PCI Interrupt 0000:00:1f.2[A] -> GSI 18 (level, low) -> IRQ 17
  260. PCI: Setting latency timer of device 0000:00:1f.2 to 64
  261. scsi0 : ata_piix
  262. scsi1 : ata_piix
  263. ata1: SATA max UDMA/133 cmd 0xc000 ctl 0xc400 bmdma 0xd000 irq 17
  264. ata2: SATA max UDMA/133 cmd 0xc800 ctl 0xcc00 bmdma 0xd008 irq 17
  265. ata1.00: ATA-6: ST380013AS, 3.18, max UDMA/133
  266. ata1.00: 156301488 sectors, multi 16: LBA48
  267. ata1.00: configured for UDMA/133
  268. ata2.00: ATA-6: ST380013AS, 3.18, max UDMA/133
  269. ata2.00: 156301488 sectors, multi 16: LBA48
  270. ata2.00: configured for UDMA/133
  271. scsi 0:0:0:0: Direct-Access     ATA      ST380013AS       3.18 PQ: 0 ANSI: 5
  272. sd 0:0:0:0: [sda] 156301488 512-byte hardware sectors (80026 MB)
  273. sd 0:0:0:0: [sda] Write Protect is off
  274. sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
  275. sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
  276. sd 0:0:0:0: [sda] 156301488 512-byte hardware sectors (80026 MB)
  277. sd 0:0:0:0: [sda] Write Protect is off
  278. sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
  279. sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
  280. sda: sda1 sda2 sda3 sda4
  281. sd 0:0:0:0: [sda] Attached SCSI disk
  282. scsi 1:0:0:0: Direct-Access     ATA      ST380013AS       3.18 PQ: 0 ANSI: 5
  283. sd 1:0:0:0: [sdb] 156301488 512-byte hardware sectors (80026 MB)
  284. sd 1:0:0:0: [sdb] Write Protect is off
  285. sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
  286. sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
  287. sd 1:0:0:0: [sdb] 156301488 512-byte hardware sectors (80026 MB)
  288. sd 1:0:0:0: [sdb] Write Protect is off
  289. sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
  290. sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
  291. sdb: sdb1 sdb2 < sdb5 >
  292. sd 1:0:0:0: [sdb] Attached SCSI disk
  293. Initializing USB Mass Storage driver...
  294. usbcore: registered new interface driver usb-storage
  295. USB Mass Storage support registered.
  296. PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
  297. PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
  298. serio: i8042 KBD port at 0x60,0x64 irq 1
  299. mice: PS/2 mouse device common for all mice
  300. ACPI: PCI Interrupt 0000:00:1f.3[b] -> GSI 17 (level, low) -> IRQ 18
  301. usbcore: registered new interface driver usbhid
  302. drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
  303. Advanced Linux Sound Architecture Driver Version 1.0.15 (Tue Nov 20 19:16:42 2007 UTC).
  304. ACPI: PCI Interrupt 0000:02:05.0[A] -> GSI 21 (level, low) -> IRQ 19
  305. input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2
  306. ACPI: PCI Interrupt 0000:00:1f.5[b] -> GSI 17 (level, low) -> IRQ 18
  307. PCI: Setting latency timer of device 0000:00:1f.5 to 64
  308. intel8x0_measure_ac97_clock: measured 52715 usecs
  309. intel8x0: clocking to 48000
  310. ALSA device list:
  311.   #0: Ensoniq AudioPCI ENS1371 at 0xa400, irq 19
  312.   #1: Intel ICH5 with ALC650F at irq 18
  313. TCP cubic registered
  314. NET: Registered protocol family 1
  315. NET: Registered protocol family 17
  316. RPC: Registered udp transport module.
  317. RPC: Registered tcp transport module.
  318. Starting balanced_irq
  319. Using IPI Shortcut mode
  320. ReiserFS: sda1: found reiserfs format "3.6" with standard journal
  321. ReiserFS: sda1: using ordered data mode
  322. ReiserFS: sda1: journal params: device sda1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
  323. ReiserFS: sda1: checking transaction log (sda1)
  324. ReiserFS: sda1: Using r5 hash to sort names
  325. VFS: Mounted root (reiserfs filesystem) readonly.
  326. Freeing unused kernel memory: 240k freed
  327. input: PC Speaker as /devices/platform/pcspkr/input/input3
  328. USB Universal Host Controller Interface driver v3.0
  329. ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 16 (level, low) -> IRQ 20
  330. PCI: Setting latency timer of device 0000:00:1d.0 to 64
  331. uhci_hcd 0000:00:1d.0: UHCI Host Controller
  332. uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
  333. uhci_hcd 0000:00:1d.0: irq 20, io base 0x0000bc00
  334. usb usb1: configuration #1 chosen from 1 choice
  335. hub 1-0:1.0: USB hub found
  336. hub 1-0:1.0: 2 ports detected
  337. ACPI: PCI Interrupt 0000:00:1d.1[b] -> GSI 19 (level, low) -> IRQ 21
  338. PCI: Setting latency timer of device 0000:00:1d.1 to 64
  339. uhci_hcd 0000:00:1d.1: UHCI Host Controller
  340. uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
  341. uhci_hcd 0000:00:1d.1: irq 21, io base 0x0000b000
  342. usb usb2: configuration #1 chosen from 1 choice
  343. hub 2-0:1.0: USB hub found
  344. hub 2-0:1.0: 2 ports detected
  345. ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 17
  346. PCI: Setting latency timer of device 0000:00:1d.2 to 64
  347. uhci_hcd 0000:00:1d.2: UHCI Host Controller
  348. uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3
  349. uhci_hcd 0000:00:1d.2: irq 17, io base 0x0000b400
  350. usb usb3: configuration #1 chosen from 1 choice
  351. hub 3-0:1.0: USB hub found
  352. hub 3-0:1.0: 2 ports detected
  353. ACPI: PCI Interrupt 0000:00:1d.3[A] -> GSI 16 (level, low) -> IRQ 20
  354. PCI: Setting latency timer of device 0000:00:1d.3 to 64
  355. uhci_hcd 0000:00:1d.3: UHCI Host Controller
  356. uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 4
  357. uhci_hcd 0000:00:1d.3: irq 20, io base 0x0000b800
  358. usb usb4: configuration #1 chosen from 1 choice
  359. hub 4-0:1.0: USB hub found
  360. hub 4-0:1.0: 2 ports detected
  361. usb 1-2: new low speed USB device using uhci_hcd and address 2
  362. ACPI: PCI Interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 22
  363. PCI: Setting latency timer of device 0000:00:1d.7 to 64
  364. ehci_hcd 0000:00:1d.7: EHCI Host Controller
  365. ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 5
  366. PCI: cache line size of 128 is not supported by device 0000:00:1d.7
  367. ehci_hcd 0000:00:1d.7: irq 22, io mem 0xfa100000
  368. usb 1-2: string descriptor 0 read error: -71
  369. ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
  370. usb usb5: configuration #1 chosen from 1 choice
  371. hub 5-0:1.0: USB hub found
  372. hub 5-0:1.0: 8 ports detected
  373. usb 1-2: string descriptor 0 read error: -71
  374. usb 1-2: configuration #1 chosen from 1 choice
  375. usb 1-2: can't set config #1, error -71
  376. nvidia: module license 'NVIDIA' taints kernel.
  377. ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 20
  378. NVRM: loading NVIDIA UNIX x86 Kernel Module  169.12  Thu Feb 14 17:53:07 PST 2008
  379. usb 1-2: USB disconnect, address 2
  380. usb 1-2: new low speed USB device using uhci_hcd and address 3
  381. w83627hf: Found W83627HF chip at 0x290
  382. usb 1-2: configuration #1 chosen from 1 choice
  383. ReiserFS: sda2: found reiserfs format "3.6" with standard journal
  384. ReiserFS: sda2: using ordered data mode
  385. ReiserFS: sda2: journal params: device sda2, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
  386. ReiserFS: sda2: checking transaction log (sda2)
  387. input: Logitech USB-PS/2 Optical Mouse as /devices/pci0000:00/0000:00:1d.0/usb1/1-2/1-2:1.0/input/input4
  388. input: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:1d.0-2
  389. ReiserFS: sda2: Using r5 hash to sort names
  390. ReiserFS: sda3: found reiserfs format "3.6" with standard journal
  391. ReiserFS: sda3: using ordered data mode
  392. ReiserFS: sda3: journal params: device sda3, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
  393. ReiserFS: sda3: checking transaction log (sda3)
  394. ReiserFS: sda3: Using r5 hash to sort names
  395. ReiserFS: sda4: found reiserfs format "3.6" with standard journal
  396. ReiserFS: sda4: using ordered data mode
  397. ReiserFS: sda4: journal params: device sda4, size 8125, journal first block 66, max trans len 256, max batch 225, max commit age 30, max trans age 30
  398. ReiserFS: sda4: checking transaction log (sda4)
  399. ReiserFS: sda4: Using r5 hash to sort names
  400. usb 2-1: new low speed USB device using uhci_hcd and address 2
  401. FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
  402. FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
  403. usb 2-1: configuration #1 chosen from 1 choice
  404. input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1d.1/usb2/2-1/2-1:1.0/input/input5
  405. input: USB HID v1.10 Keyboard [Logitech USB Receiver] on usb-0000:00:1d.1-1
  406. Fixing up Logitech keyboard report descriptor
  407. input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1d.1/usb2/2-1/2-1:1.1/input/input6
  408. input: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-0000:00:1d.1-1
  409. Adding 1048568k swap on /mnt/fat32/linux/swap.  Priority:-1 extents:528 across:6125112k
  410. ip_tables: (C) 2000-2006 Netfilter Core Team
  411. nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
  412. e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
  413. e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
  414. ACPI: Transitioning device [FAN] to D3
  415. ACPI: Transitioning device [FAN] to D3
  416. ACPI: Unable to turn cooling device [f7c155a0] 'off'
  417. ACPI: Transitioning device [FAN] to D3
  418. ACPI: Transitioning device [FAN] to D3
  419. ACPI: Unable to turn cooling device [f7c155a0] 'off'
  420. ACPI: Transitioning device [FAN] to D3
  421. ACPI: Transitioning device [FAN] to D3
  422. ACPI: Unable to turn cooling device [f7c155a0] 'off'
  423. ACPI: Transitioning device [FAN] to D3
  424. ACPI: Transitioning device [FAN] to D3
  425. ACPI: Unable to turn cooling device [f7c155a0] 'off'
  426. ACPI: Transitioning device [FAN] to D3
  427. ACPI: Transitioning device [FAN] to D3
  428. ACPI: Unable to turn cooling device [f7c155a0] 'off'
  429. ACPI: Transitioning device [FAN] to D3
  430. ACPI: Transitioning device [FAN] to D3
  431. ACPI: Unable to turn cooling device [f7c155a0] 'off'
  432. ACPI: Transitioning device [FAN] to D3
  433. ACPI: Transitioning device [FAN] to D3
  434. ACPI: Unable to turn cooling device [f7c155a0] 'off'
  435. ACPI: Transitioning device [FAN] to D3
  436. ACPI: Transitioning device [FAN] to D3
  437. ACPI: Unable to turn cooling device [f7c155a0] 'off'
  438. firefox-bin[30511]: segfault at 0000009c eip b6f05058 esp bfb27b50 error 4
  439. ACPI: Transitioning device [FAN] to D3
  440. ACPI: Transitioning device [FAN] to D3
  441. ACPI: Unable to turn cooling device [f7c155a0] 'off'
  442. ACPI: Transitioning device [FAN] to D3
  443. ACPI: Transitioning device [FAN] to D3
  444. ACPI: Unable to turn cooling device [f7c155a0] 'off'
复制代码
发表于 2008-3-11 18:37:21 | 显示全部楼层
问一下楼主,怎么把buffer和cache清掉?我一直没有找到办法。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-3-12 10:31:58 | 显示全部楼层
echo 1 >/proc/sys/vm/drop_caches
回复 支持 反对

使用道具 举报

发表于 2008-3-12 11:11:39 | 显示全部楼层
Post by yggdrasil;1825586
echo 1 >/proc/sys/vm/drop_caches



还有这招?哈哈,收下....
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-3-12 13:09:11 | 显示全部楼层
我用了一切办法重现那被吃掉的400M,到现在也没有成功,看来那天的人品真是……难道是kernel忘记free了?
回复 支持 反对

使用道具 举报

发表于 2008-3-12 15:48:31 | 显示全部楼层
Post by yggdrasil;1825586
echo 1 >/proc/sys/vm/drop_caches

太爽了,终于可以轻松休眠了
多谢,多谢!
回复 支持 反对

使用道具 举报

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

本版积分规则

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