public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* swsusp intermittent failures in 2.6.15-rc3-mm1
@ 2005-12-01 17:36 Andy Isaacson
  2005-12-01 21:42 ` Rafael J. Wysocki
  0 siblings, 1 reply; 11+ messages in thread
From: Andy Isaacson @ 2005-12-01 17:36 UTC (permalink / raw)
  To: linux-kernel, Pavel Machek

[-- Attachment #1: Type: text/plain, Size: 11101 bytes --]

My Thinkpad X40 (1.25 GB, ipw2200) has had fairly reliable swsusp since
2.6.13 or thereabouts, and as recently as 2.6.15-rc1-mm1 I had about 20
successful suspend/resume cycles.  But now that I'm running
2.6.15-rc3-mm1 I'm seeing intermittent failures like this:

...
[17212376.112000] Suspending device 0000:00:00.0
[17212376.112000] Suspending device pci0000:00
[17212376.112000] Suspending device platform
[17212376.112000] cpufreq: suspend failed to assert current frequency is what timing core thinks it is.
[17212376.112000] ................................................................................................swsusp: Need to copy 120410 pages
[17212376.112000] sh: page allocation failure. order:0, mode:0x8120
[17212376.112000]  [__alloc_pages+572/816] __alloc_pages+0x23c/0x330
[17212376.112000]  [get_zeroed_page+39/80] get_zeroed_page+0x27/0x50
[17212376.112000]  [alloc_data_pages+201/208] alloc_data_pages+0xc9/0xd0
[17212376.112000]  [swsusp_alloc+63/128] swsusp_alloc+0x3f/0x80
[17212376.112000]  [swsusp_save+55/144] swsusp_save+0x37/0x90
[17212376.112000]  [swsusp_arch_suspend+42/44] swsusp_arch_suspend+0x2a/0x2c
[17212376.112000]  [swsusp_suspend+72/176] swsusp_suspend+0x48/0xb0
[17212376.112000]  [pm_suspend_disk+85/176] pm_suspend_disk+0x55/0xb0
[17212376.112000]  [enter_state+141/176] enter_state+0x8d/0xb0
[17212376.112000]  [state_store+146/158] state_store+0x92/0x9e
[17212376.112000]  [subsys_attr_store+61/80] subsys_attr_store+0x3d/0x50
[17212376.112000]  [flush_write_buffer+62/80] flush_write_buffer+0x3e/0x50
[17212376.112000]  [sysfs_write_file+84/128] sysfs_write_file+0x54/0x80
[17212376.112000]  [vfs_write+233/432] vfs_write+0xe9/0x1b0
[17212376.112000]  [sys_write+81/128] sys_write+0x51/0x80
[17212376.112000]  [sysenter_past_esp+84/117] sysenter_past_esp+0x54/0x75

(The "suspend failed to assert current frequency..." messages have been
present since .14 or somesuch, and don't seem to have any deleterious
effects.)

This has happened 3 times so far, always on the second suspend after
boot.  (boot, suspend, resume, suspend <fails>).  Once it's failed I
have not managed to get it to succeed; attempting to suspend again
results in the same failure.  But on my most recent boot I have not been
able to get it to fail through 4 suspend-resume cycles.

I suspend with a shell script that does

sudo sh -c 'echo shutdown > /sys/power/disk; echo disk > /sys/power/state'

On one of the failing cases I looked at memory usage and did not see
anything remarkable; there was about 400 MB free.

Full dmesg from failure below, and .config attached.

-andy

[17212374.240000] Stopping tasks: ===============================================================|
[17212374.252000] Shrinking memory...  ^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^Hdone (188889 pages freed)
[17212375.900000] Suspending device 1-1:unknown codec
[17212375.900000] Suspending device 0-0:AD1981B
[17212375.900000] Suspending device 4-0:1.0
[17212375.900000] Suspending device usb4
[17212375.900000] Suspending device 3-0:1.0
[17212375.900000] Suspending device usb3
[17212375.900000] Suspending device 2-0:1.0
[17212375.900000] Suspending device usb2
[17212375.900000] Suspending device 1-0:1.0
[17212375.900000] Suspending device usb1
[17212375.900000] Suspending device 0.0
[17212375.900000] Suspending device ide0
[17212375.900000] Suspending device serio1
[17212375.900000] Suspending device serio0
[17212375.900000] Suspending device serial8250
[17212375.900000] Suspending device i8042
[17212375.900000] Suspending device 0000:02:02.0
[17212375.900000] Suspending device 0000:02:01.0
[17212376.080000] ACPI: PCI interrupt for device 0000:02:01.0 disabled
[17212376.096000] Suspending device 0000:02:00.1
[17212376.096000] Suspending device 0000:02:00.0
[17212376.096000] ACPI: PCI interrupt for device 0000:02:00.0 disabled
[17212376.096000] Suspending device 0000:00:1f.6
[17212376.096000] ACPI: PCI interrupt for device 0000:00:1f.6 disabled
[17212376.096000] Suspending device 0000:00:1f.5
[17212376.096000] ACPI: PCI interrupt for device 0000:00:1f.5 disabled
[17212376.096000] Suspending device 0000:00:1f.3
[17212376.096000] Suspending device 0000:00:1f.1
[17212376.096000] Suspending device 0000:00:1f.0
[17212376.096000] Suspending device 0000:00:1e.0
[17212376.096000] Suspending device 0000:00:1d.7
[17212376.096000] ACPI: PCI interrupt for device 0000:00:1d.7 disabled
[17212376.112000] Suspending device 0000:00:1d.2
[17212376.112000] ACPI: PCI interrupt for device 0000:00:1d.2 disabled
[17212376.112000] Suspending device 0000:00:1d.1
[17212376.112000] ACPI: PCI interrupt for device 0000:00:1d.1 disabled
[17212376.112000] Suspending device 0000:00:1d.0
[17212376.112000] ACPI: PCI interrupt for device 0000:00:1d.0 disabled
[17212376.112000] Suspending device 0000:00:02.1
[17212376.112000] Suspending device 0000:00:02.0
[17212376.112000] Suspending device 0000:00:00.3
[17212376.112000] Suspending device 0000:00:00.1
[17212376.112000] Suspending device 0000:00:00.0
[17212376.112000] Suspending device pci0000:00
[17212376.112000] Suspending device platform
[17212376.112000] cpufreq: suspend failed to assert current frequency is what timing core thinks it is.
[17212376.112000] ................................................................................................swsusp: Need to copy 120410 pages
[17212376.112000] sh: page allocation failure. order:0, mode:0x8120
[17212376.112000]  [__alloc_pages+572/816] __alloc_pages+0x23c/0x330
[17212376.112000]  [get_zeroed_page+39/80] get_zeroed_page+0x27/0x50
[17212376.112000]  [alloc_data_pages+201/208] alloc_data_pages+0xc9/0xd0
[17212376.112000]  [swsusp_alloc+63/128] swsusp_alloc+0x3f/0x80
[17212376.112000]  [swsusp_save+55/144] swsusp_save+0x37/0x90
[17212376.112000]  [swsusp_arch_suspend+42/44] swsusp_arch_suspend+0x2a/0x2c
[17212376.112000]  [swsusp_suspend+72/176] swsusp_suspend+0x48/0xb0
[17212376.112000]  [pm_suspend_disk+85/176] pm_suspend_disk+0x55/0xb0
[17212376.112000]  [enter_state+141/176] enter_state+0x8d/0xb0
[17212376.112000]  [state_store+146/158] state_store+0x92/0x9e
[17212376.112000]  [subsys_attr_store+61/80] subsys_attr_store+0x3d/0x50
[17212376.112000]  [flush_write_buffer+62/80] flush_write_buffer+0x3e/0x50
[17212376.112000]  [sysfs_write_file+84/128] sysfs_write_file+0x54/0x80
[17212376.112000]  [vfs_write+233/432] vfs_write+0xe9/0x1b0
[17212376.112000]  [sys_write+81/128] sys_write+0x51/0x80
[17212376.112000]  [sysenter_past_esp+84/117] sysenter_past_esp+0x54/0x75
[17212376.112000] Mem-info:
[17212376.112000] DMA per-cpu:
[17212376.112000] cpu 0 hot: high 12, batch 2 used:0
[17212376.112000] cpu 0 cold: high 4, batch 1 used:0
[17212376.112000] DMA32 per-cpu: empty
[17212376.112000] Normal per-cpu:
[17212376.112000] cpu 0 hot: high 384, batch 64 used:0
[17212376.112000] cpu 0 cold: high 128, batch 32 used:0
[17212376.112000] HighMem per-cpu:
[17212376.112000] cpu 0 hot: high 384, batch 64 used:0
[17212376.112000] cpu 0 cold: high 128, batch 32 used:0
[17212376.112000] Free pages:      279928kB (274968kB HighMem)
[17212376.112000] Active:19941 inactive:41880 dirty:0 writeback:0 unstable:0 free:69982 slab:47006 mapped:19466 pagetables: 230
[17212376.112000] DMA free:3548kB min:68kB low:84kB high:100kB active:4kB inactive:8kB present:16384kB pages_scanned:0 all_unreclaimable? no
[17212376.112000] lowmem_reserve[]: 0 0 880 1254
[17212376.112000] DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
[17212376.112000] lowmem_reserve[]: 0 0 880 1254
[17212376.112000] Normal free:1412kB min:3756kB low:4692kB high:5632kB active:0kB inactive:140676kB present:901120kB pages_scanned:0 all_unreclaimable? no
[17212376.112000] lowmem_reserve[]: 0 0 0 2999
[17212376.112000] HighMem free:274968kB min:372kB low:772kB high:1172kB active:79760kB inactive:26836kB present:383872kB pages_scanned:0 all_unreclaimable? no
[17212376.112000] lowmem_reserve[]: 0 0 0 0
[17212376.112000] DMA: 1*4kB 1*8kB 1*16kB 0*32kB 1*64kB 1*128kB 1*256kB 0*512kB 1*1024kB 1*2048kB 0*4096kB = 3548kB
[17212376.112000] DMA32: empty
[17212376.112000] Normal: 1*4kB 0*8kB 0*16kB 0*32kB 0*64kB 1*128kB 1*256kB 0*512kB 1*1024kB 0*2048kB 0*4096kB = 1412kB
[17212376.112000] HighMem: 2130*4kB 1170*8kB 720*16kB 398*32kB 184*64kB 91*128kB 60*256kB 37*512kB 15*1024kB 16*2048kB 31*4096kB = 274968kB
[17212376.112000] Swap cache: add 0, delete 0, find 0/0, race 0+0
[17212376.112000] Free swap  = 500432kB
[17212376.112000] Total swap = 500432kB
[17212376.112000] Free swap:       500432kB
[17212376.112000] 325344 pages of RAM
[17212376.112000] 95968 pages of HIGHMEM
[17212376.112000] 3657 reserved pages
[17212376.112000] 65501 pages shared
[17212376.112000] 0 pages swap cached
[17212376.112000] 0 pages dirty
[17212376.112000] 0 pages writeback
[17212376.112000] 19466 pages mapped
[17212376.112000] 47006 pages slab
[17212376.112000] 230 pages pagetables
[17212376.112000] suspend: Allocating image pages failed.
[17212376.112000] Error -12 suspending
[17212376.112000] Intel machine check architecture supported.
[17212376.112000] Intel machine check reporting enabled on CPU#0.
[17212376.112000] swsusp: Restoring Highmem
[17212376.112000] cpufreq: resume failed to assert current frequency is what timing core thinks it is.
[17212379.120000] ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 169
[17212379.120000] ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 16 (level, low) -> IRQ 169
[17212379.120000] PCI: Setting latency timer of device 0000:00:1d.0 to 64
[17212379.120000] ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 193
[17212379.120000] PCI: Setting latency timer of device 0000:00:1d.1 to 64
[17212379.120000] ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 185
[17212379.120000] PCI: Setting latency timer of device 0000:00:1d.2 to 64
[17212379.140000] PCI: Enabling device 0000:00:1d.7 (0000 -> 0002)
[17212379.140000] ACPI: PCI Interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 201
[17212379.140000] PCI: Setting latency timer of device 0000:00:1d.7 to 64
[17212379.140000] usb usb4: root hub lost power or was reset
[17212379.144000] ehci_hcd 0000:00:1d.7: debug port 1
[17212379.144000] PCI: cache line size of 32 is not supported by device 0000:00:1d.7
[17212379.148000] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[17212379.148000] PCI: Setting latency timer of device 0000:00:1e.0 to 64
[17212379.148000] ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 185
[17212379.148000] ACPI: PCI Interrupt 0000:00:1f.5[B] -> GSI 17 (level, low) -> IRQ 177
[17212379.148000] PCI: Setting latency timer of device 0000:00:1f.5 to 64
[17212379.400000] ACPI: PCI Interrupt 0000:00:1f.6[B] -> GSI 17 (level, low) -> IRQ 177
[17212379.400000] PCI: Setting latency timer of device 0000:00:1f.6 to 64
[17212380.404000] ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 169
[17212380.456000] ACPI: PCI Interrupt 0000:02:01.0[A] -> GSI 20 (level, low) -> IRQ 209
[17212381.244000] Restarting tasks... done

[-- Attachment #2: .config --]
[-- Type: text/plain, Size: 45297 bytes --]

#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.15-rc3-mm1
# Wed Nov 30 08:48:14 2005
#
CONFIG_X86_32=y
CONFIG_SEMAPHORE_SLEEPERS=y
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
# CONFIG_CLEAN_COMPILE is not set
CONFIG_BROKEN=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_INIT_ENV_ARG_LIMIT=32

#
# General setup
#
CONFIG_LOCALVERSION=""
CONFIG_LOCALVERSION_AUTO=y
CONFIG_SWAP=y
CONFIG_SWAP_PREFETCH=y
CONFIG_SYSVIPC=y
CONFIG_POSIX_MQUEUE=y
CONFIG_BSD_PROCESS_ACCT=y
# CONFIG_BSD_PROCESS_ACCT_V3 is not set
CONFIG_SYSCTL=y
# CONFIG_AUDIT is not set
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_INITRAMFS_SOURCE=""
# CONFIG_EMBEDDED is not set
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_ALL is not set
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_DOUBLEFAULT=y
CONFIG_ELF_CORE=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SHMEM=y
CONFIG_CC_ALIGN_FUNCTIONS=0
CONFIG_CC_ALIGN_LABELS=0
CONFIG_CC_ALIGN_LOOPS=0
CONFIG_CC_ALIGN_JUMPS=0
CONFIG_SLAB=y
CONFIG_SERIAL_PCI=y
# CONFIG_TINY_SHMEM is not set
CONFIG_BASE_SMALL=0
# CONFIG_SLOB is not set

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
CONFIG_OBSOLETE_MODPARM=y
CONFIG_MODVERSIONS=y
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_KMOD=y

#
# Block layer
#
CONFIG_LBD=y
CONFIG_BLK_DEV_IO_TRACE=y

#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
CONFIG_DEFAULT_AS=y
# CONFIG_DEFAULT_DEADLINE is not set
# CONFIG_DEFAULT_CFQ is not set
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="anticipatory"

#
# Processor type and features
#
CONFIG_X86_PC=y
# CONFIG_X86_ELAN is not set
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_X86_GENERICARCH is not set
# CONFIG_X86_ES7000 is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
CONFIG_MPENTIUMM=y
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MGEODEGX1 is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_X86_GENERIC is not set
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_CMPXCHG64=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_X86_TSC=y
CONFIG_HPET_TIMER=y
# CONFIG_SMP is not set
CONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not set
CONFIG_X86_UP_APIC=y
CONFIG_X86_UP_IOAPIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_MCE=y
CONFIG_X86_MCE_NONFATAL=m
CONFIG_X86_MCE_P4THERMAL=y
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_X86_REBOOTFIXUPS is not set
CONFIG_MICROCODE=m
CONFIG_X86_MSR=m
CONFIG_X86_CPUID=m

#
# Firmware Drivers
#
# CONFIG_EDD is not set
# CONFIG_DELL_RBU is not set
# CONFIG_DCDBAS is not set
# CONFIG_NOHIGHMEM is not set
CONFIG_HIGHMEM4G=y
# CONFIG_HIGHMEM64G is not set
CONFIG_HIGHMEM=y
CONFIG_ARCH_FLATMEM_ENABLE=y
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_SELECT_MEMORY_MODEL=y
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
# CONFIG_DISCONTIGMEM_MANUAL is not set
# CONFIG_SPARSEMEM_MANUAL is not set
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
CONFIG_SPARSEMEM_STATIC=y
CONFIG_SPLIT_PTLOCK_CPUS=4
# CONFIG_HIGHPTE is not set
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
# CONFIG_EFI is not set
# CONFIG_REGPARM is not set
CONFIG_SECCOMP=y
# CONFIG_HZ_100 is not set
CONFIG_HZ_250=y
# CONFIG_HZ_1000 is not set
CONFIG_HZ=250
CONFIG_PHYSICAL_START=0x100000
# CONFIG_KEXEC is not set

#
# Power management options (ACPI, APM)
#
CONFIG_PM=y
CONFIG_PM_LEGACY=y
# CONFIG_PM_DEBUG is not set
CONFIG_SOFTWARE_SUSPEND=y
CONFIG_PM_STD_PARTITION=""

#
# ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
# CONFIG_ACPI_SLEEP_PROC_SLEEP is not set
CONFIG_ACPI_AC=m
CONFIG_ACPI_BATTERY=m
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_VIDEO=m
CONFIG_ACPI_HOTKEY=m
CONFIG_ACPI_FAN=m
CONFIG_ACPI_PROCESSOR=m
CONFIG_ACPI_THERMAL=m
# CONFIG_ACPI_ASUS is not set
CONFIG_ACPI_IBM=m
# CONFIG_ACPI_TOSHIBA is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SYSTEM=y
CONFIG_X86_PM_TIMER=y
# CONFIG_ACPI_CONTAINER is not set

#
# APM (Advanced Power Management) BIOS Support
#
# CONFIG_APM is not set

#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=y
# CONFIG_CPU_FREQ_DEBUG is not set
CONFIG_CPU_FREQ_STAT=y
# CONFIG_CPU_FREQ_STAT_DETAILS is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=m
CONFIG_CPU_FREQ_GOV_USERSPACE=m
# CONFIG_CPU_FREQ_GOV_ONDEMAND is not set
# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set

#
# CPUFreq processor drivers
#
CONFIG_X86_ACPI_CPUFREQ=m
# CONFIG_X86_POWERNOW_K6 is not set
# CONFIG_X86_POWERNOW_K7 is not set
# CONFIG_X86_POWERNOW_K8 is not set
# CONFIG_X86_GX_SUSPMOD is not set
CONFIG_X86_SPEEDSTEP_CENTRINO=m
CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI=y
CONFIG_X86_SPEEDSTEP_CENTRINO_TABLE=y
CONFIG_X86_SPEEDSTEP_ICH=m
# CONFIG_X86_SPEEDSTEP_SMI is not set
CONFIG_X86_P4_CLOCKMOD=m
# CONFIG_X86_CPUFREQ_NFORCE2 is not set
# CONFIG_X86_LONGRUN is not set
# CONFIG_X86_LONGHAUL is not set

#
# shared options
#
# CONFIG_X86_ACPI_CPUFREQ_PROC_INTF is not set
CONFIG_X86_SPEEDSTEP_LIB=m
CONFIG_X86_SPEEDSTEP_RELAXED_CAP_CHECK=y

#
# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
#
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GOMMCONFIG is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_MMCONFIG=y
# CONFIG_PCIEPORTBUS is not set
CONFIG_PCI_MSI=y
# CONFIG_PCI_LEGACY_PROC is not set
# CONFIG_PCI_DEBUG is not set
CONFIG_ISA_DMA_API=y
CONFIG_ISA=y
# CONFIG_EISA is not set
# CONFIG_MCA is not set
# CONFIG_SCx200 is not set

#
# PCCARD (PCMCIA/CardBus) support
#
CONFIG_PCCARD=m
# CONFIG_PCMCIA_DEBUG is not set
CONFIG_PCMCIA=m
CONFIG_PCMCIA_LOAD_CIS=y
CONFIG_PCMCIA_IOCTL=y
CONFIG_CARDBUS=y

#
# PC-card bridges
#
CONFIG_YENTA=m
CONFIG_YENTA_O2=y
CONFIG_YENTA_RICOH=y
CONFIG_YENTA_TI=y
CONFIG_YENTA_ENE_TUNE=y
CONFIG_YENTA_TOSHIBA=y
# CONFIG_PD6729 is not set
# CONFIG_I82092 is not set
# CONFIG_I82365 is not set
# CONFIG_TCIC is not set
CONFIG_PCMCIA_PROBE=y
CONFIG_PCCARD_NONSTATIC=m

#
# PCI Hotplug Support
#
# CONFIG_HOTPLUG_PCI is not set

#
# Executable file formats
#
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_AOUT=m
CONFIG_BINFMT_MISC=m

#
# Networking
#
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=m
CONFIG_PACKET_MMAP=y
CONFIG_UNIX=m
CONFIG_XFRM=y
CONFIG_XFRM_USER=m
CONFIG_NET_KEY=m
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_ASK_IP_FIB_HASH=y
# CONFIG_IP_FIB_TRIE is not set
CONFIG_IP_FIB_HASH=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_ROUTE_FWMARK=y
CONFIG_IP_ROUTE_MULTIPATH=y
# CONFIG_IP_ROUTE_MULTIPATH_CACHED is not set
CONFIG_IP_ROUTE_VERBOSE=y
# CONFIG_IP_PNP is not set
CONFIG_NET_IPIP=m
CONFIG_NET_IPGRE=m
CONFIG_NET_IPGRE_BROADCAST=y
CONFIG_IP_MROUTE=y
CONFIG_IP_PIMSM_V1=y
CONFIG_IP_PIMSM_V2=y
# CONFIG_ARPD is not set
CONFIG_SYN_COOKIES=y
CONFIG_INET_AH=m
CONFIG_INET_ESP=m
CONFIG_INET_IPCOMP=m
CONFIG_INET_TUNNEL=m
CONFIG_INET_DIAG=y
CONFIG_INET_TCP_DIAG=y
# CONFIG_TCP_CONG_ADVANCED is not set
CONFIG_TCP_CONG_BIC=y

#
# IP: Virtual Server Configuration
#
# CONFIG_IP_VS is not set
CONFIG_IPV6=m
CONFIG_IPV6_PRIVACY=y
CONFIG_INET6_AH=m
CONFIG_INET6_ESP=m
CONFIG_INET6_IPCOMP=m
CONFIG_INET6_TUNNEL=m
CONFIG_IPV6_TUNNEL=m
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
CONFIG_BRIDGE_NETFILTER=y

#
# Core Netfilter Configuration
#
# CONFIG_NETFILTER_NETLINK is not set

#
# IP: Netfilter Configuration
#
CONFIG_IP_NF_CONNTRACK=m
# CONFIG_IP_NF_CT_ACCT is not set
# CONFIG_IP_NF_CONNTRACK_MARK is not set
# CONFIG_IP_NF_CONNTRACK_EVENTS is not set
# CONFIG_IP_NF_CT_PROTO_SCTP is not set
CONFIG_IP_NF_FTP=m
CONFIG_IP_NF_IRC=m
# CONFIG_IP_NF_NETBIOS_NS is not set
CONFIG_IP_NF_TFTP=m
CONFIG_IP_NF_AMANDA=m
# CONFIG_IP_NF_PPTP is not set
CONFIG_IP_NF_QUEUE=m
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP_NF_MATCH_LIMIT=m
CONFIG_IP_NF_MATCH_IPRANGE=m
CONFIG_IP_NF_MATCH_MAC=m
CONFIG_IP_NF_MATCH_PKTTYPE=m
CONFIG_IP_NF_MATCH_MARK=m
CONFIG_IP_NF_MATCH_MULTIPORT=m
CONFIG_IP_NF_MATCH_TOS=m
CONFIG_IP_NF_MATCH_RECENT=m
CONFIG_IP_NF_MATCH_ECN=m
CONFIG_IP_NF_MATCH_DSCP=m
CONFIG_IP_NF_MATCH_AH_ESP=m
CONFIG_IP_NF_MATCH_LENGTH=m
CONFIG_IP_NF_MATCH_TTL=m
CONFIG_IP_NF_MATCH_TCPMSS=m
CONFIG_IP_NF_MATCH_HELPER=m
CONFIG_IP_NF_MATCH_STATE=m
CONFIG_IP_NF_MATCH_CONNTRACK=m
CONFIG_IP_NF_MATCH_OWNER=m
CONFIG_IP_NF_MATCH_PHYSDEV=m
CONFIG_IP_NF_MATCH_ADDRTYPE=m
CONFIG_IP_NF_MATCH_REALM=m
# CONFIG_IP_NF_MATCH_SCTP is not set
# CONFIG_IP_NF_MATCH_DCCP is not set
# CONFIG_IP_NF_MATCH_COMMENT is not set
# CONFIG_IP_NF_MATCH_HASHLIMIT is not set
# CONFIG_IP_NF_MATCH_STRING is not set
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_TARGET_REJECT=m
CONFIG_IP_NF_TARGET_LOG=m
CONFIG_IP_NF_TARGET_ULOG=m
CONFIG_IP_NF_TARGET_TCPMSS=m
# CONFIG_IP_NF_TARGET_NFQUEUE is not set
CONFIG_IP_NF_NAT=m
CONFIG_IP_NF_NAT_NEEDED=y
CONFIG_IP_NF_TARGET_MASQUERADE=m
CONFIG_IP_NF_TARGET_REDIRECT=m
CONFIG_IP_NF_TARGET_NETMAP=m
CONFIG_IP_NF_TARGET_SAME=m
CONFIG_IP_NF_NAT_SNMP_BASIC=m
CONFIG_IP_NF_NAT_IRC=m
CONFIG_IP_NF_NAT_FTP=m
CONFIG_IP_NF_NAT_TFTP=m
CONFIG_IP_NF_NAT_AMANDA=m
CONFIG_IP_NF_MANGLE=m
CONFIG_IP_NF_TARGET_TOS=m
CONFIG_IP_NF_TARGET_ECN=m
CONFIG_IP_NF_TARGET_DSCP=m
CONFIG_IP_NF_TARGET_MARK=m
CONFIG_IP_NF_TARGET_CLASSIFY=m
# CONFIG_IP_NF_TARGET_TTL is not set
CONFIG_IP_NF_RAW=m
CONFIG_IP_NF_TARGET_NOTRACK=m
CONFIG_IP_NF_ARPTABLES=m
CONFIG_IP_NF_ARPFILTER=m
CONFIG_IP_NF_ARP_MANGLE=m

#
# IPv6: Netfilter Configuration (EXPERIMENTAL)
#
CONFIG_IP6_NF_QUEUE=m
CONFIG_IP6_NF_IPTABLES=m
CONFIG_IP6_NF_MATCH_LIMIT=m
CONFIG_IP6_NF_MATCH_MAC=m
CONFIG_IP6_NF_MATCH_RT=m
CONFIG_IP6_NF_MATCH_OPTS=m
CONFIG_IP6_NF_MATCH_FRAG=m
CONFIG_IP6_NF_MATCH_HL=m
CONFIG_IP6_NF_MATCH_MULTIPORT=m
CONFIG_IP6_NF_MATCH_OWNER=m
CONFIG_IP6_NF_MATCH_MARK=m
CONFIG_IP6_NF_MATCH_IPV6HEADER=m
CONFIG_IP6_NF_MATCH_AHESP=m
CONFIG_IP6_NF_MATCH_LENGTH=m
CONFIG_IP6_NF_MATCH_EUI64=m
# CONFIG_IP6_NF_MATCH_PHYSDEV is not set
CONFIG_IP6_NF_FILTER=m
CONFIG_IP6_NF_TARGET_LOG=m
# CONFIG_IP6_NF_TARGET_REJECT is not set
# CONFIG_IP6_NF_TARGET_NFQUEUE is not set
CONFIG_IP6_NF_MANGLE=m
CONFIG_IP6_NF_TARGET_MARK=m
# CONFIG_IP6_NF_TARGET_HL is not set
CONFIG_IP6_NF_RAW=m

#
# Bridge: Netfilter Configuration
#
CONFIG_BRIDGE_NF_EBTABLES=m
CONFIG_BRIDGE_EBT_BROUTE=m
CONFIG_BRIDGE_EBT_T_FILTER=m
CONFIG_BRIDGE_EBT_T_NAT=m
CONFIG_BRIDGE_EBT_802_3=m
CONFIG_BRIDGE_EBT_AMONG=m
CONFIG_BRIDGE_EBT_ARP=m
CONFIG_BRIDGE_EBT_IP=m
CONFIG_BRIDGE_EBT_LIMIT=m
CONFIG_BRIDGE_EBT_MARK=m
CONFIG_BRIDGE_EBT_PKTTYPE=m
CONFIG_BRIDGE_EBT_STP=m
CONFIG_BRIDGE_EBT_VLAN=m
CONFIG_BRIDGE_EBT_ARPREPLY=m
CONFIG_BRIDGE_EBT_DNAT=m
CONFIG_BRIDGE_EBT_MARK_T=m
CONFIG_BRIDGE_EBT_REDIRECT=m
CONFIG_BRIDGE_EBT_SNAT=m
CONFIG_BRIDGE_EBT_LOG=m
# CONFIG_BRIDGE_EBT_ULOG is not set

#
# DCCP Configuration (EXPERIMENTAL)
#
# CONFIG_IP_DCCP is not set

#
# SCTP Configuration (EXPERIMENTAL)
#
CONFIG_IP_SCTP=m
# CONFIG_SCTP_DBG_MSG is not set
# CONFIG_SCTP_DBG_OBJCNT is not set
# CONFIG_SCTP_HMAC_NONE is not set
# CONFIG_SCTP_HMAC_SHA1 is not set
CONFIG_SCTP_HMAC_MD5=y
# CONFIG_ATM is not set
CONFIG_BRIDGE=m
CONFIG_VLAN_8021Q=m
# CONFIG_DECNET is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_NET_DIVERT is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set

#
# QoS and/or fair queueing
#
CONFIG_NET_SCHED=y
CONFIG_NET_SCH_CLK_JIFFIES=y
# CONFIG_NET_SCH_CLK_GETTIMEOFDAY is not set
# CONFIG_NET_SCH_CLK_CPU is not set

#
# Queueing/Scheduling
#
CONFIG_NET_SCH_CBQ=m
CONFIG_NET_SCH_HTB=m
CONFIG_NET_SCH_HFSC=m
CONFIG_NET_SCH_PRIO=m
CONFIG_NET_SCH_RED=m
CONFIG_NET_SCH_SFQ=m
CONFIG_NET_SCH_TEQL=m
CONFIG_NET_SCH_TBF=m
CONFIG_NET_SCH_GRED=m
CONFIG_NET_SCH_DSMARK=m
CONFIG_NET_SCH_NETEM=m
CONFIG_NET_SCH_INGRESS=m

#
# Classification
#
CONFIG_NET_CLS=y
# CONFIG_NET_CLS_BASIC is not set
CONFIG_NET_CLS_TCINDEX=m
CONFIG_NET_CLS_ROUTE4=m
CONFIG_NET_CLS_ROUTE=y
CONFIG_NET_CLS_FW=m
CONFIG_NET_CLS_U32=m
# CONFIG_CLS_U32_PERF is not set
# CONFIG_CLS_U32_MARK is not set
CONFIG_NET_CLS_RSVP=m
CONFIG_NET_CLS_RSVP6=m
# CONFIG_NET_EMATCH is not set
# CONFIG_NET_CLS_ACT is not set
CONFIG_NET_CLS_POLICE=y
# CONFIG_NET_CLS_IND is not set
CONFIG_NET_ESTIMATOR=y

#
# Network testing
#
CONFIG_NET_PKTGEN=m
# CONFIG_HAMRADIO is not set
# CONFIG_IRDA is not set
CONFIG_BT=m
CONFIG_BT_L2CAP=m
CONFIG_BT_SCO=m
CONFIG_BT_RFCOMM=m
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_BNEP=m
CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y
CONFIG_BT_HIDP=m

#
# Bluetooth device drivers
#
CONFIG_BT_HCIUSB=m
CONFIG_BT_HCIUSB_SCO=y
CONFIG_BT_HCIUART=m
CONFIG_BT_HCIUART_H4=y
CONFIG_BT_HCIUART_BCSP=y
CONFIG_BT_HCIBCM203X=m
# CONFIG_BT_HCIBPA10X is not set
CONFIG_BT_HCIBFUSB=m
# CONFIG_BT_HCIDTL1 is not set
# CONFIG_BT_HCIBT3C is not set
# CONFIG_BT_HCIBLUECARD is not set
# CONFIG_BT_HCIBTUART is not set
CONFIG_BT_HCIVHCI=m
CONFIG_IEEE80211=m
CONFIG_IEEE80211_DEBUG=y
CONFIG_IEEE80211_CRYPT_WEP=m
CONFIG_IEEE80211_CRYPT_CCMP=m
CONFIG_IEEE80211_CRYPT_TKIP=m

#
# Device Drivers
#

#
# Generic Driver Options
#
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=m
# CONFIG_DEBUG_DRIVER is not set

#
# Connector - unified userspace <-> kernelspace linker
#
CONFIG_CONNECTOR=m

#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set

#
# Parallel port support
#
# CONFIG_PARPORT is not set

#
# Plug and Play support
#
# CONFIG_PNP is not set

#
# Block devices
#
# CONFIG_BLK_DEV_FD is not set
# CONFIG_BLK_DEV_XD is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
# CONFIG_BLK_DEV_COW_COMMON is not set
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_CRYPTOLOOP=m
CONFIG_BLK_DEV_NBD=m
# CONFIG_BLK_DEV_SX8 is not set
# CONFIG_BLK_DEV_UB is not set
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_BLK_DEV_RAM_SIZE=8192
CONFIG_BLK_DEV_INITRD=y
# CONFIG_CDROM_PKTCDVD is not set
# CONFIG_ATA_OVER_ETH is not set

#
# ATA/ATAPI/MFM/RLL support
#
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_IDE_SATA is not set
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDEDISK=y
# CONFIG_IDEDISK_MULTI_MODE is not set
CONFIG_BLK_DEV_IDECS=m
CONFIG_BLK_DEV_IDECD=m
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
CONFIG_BLK_DEV_IDESCSI=m
# CONFIG_IDE_TASK_IOCTL is not set

#
# IDE chipset support/bugfixes
#
CONFIG_IDE_GENERIC=y
# CONFIG_BLK_DEV_CMD640 is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
# CONFIG_BLK_DEV_OFFBOARD is not set
CONFIG_BLK_DEV_GENERIC=y
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_BLK_DEV_ATIIXP is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5520 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_CS5535 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_SC1200 is not set
CONFIG_BLK_DEV_PIIX=y
# CONFIG_BLK_DEV_IT821X is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
# CONFIG_IDE_ARM is not set
# CONFIG_IDE_CHIPSETS is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_BLK_DEV_HD is not set

#
# SCSI device support
#
# CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=m
CONFIG_SCSI_PROC_FS=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=m
CONFIG_CHR_DEV_ST=m
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=m
# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_CHR_DEV_SG=m
# CONFIG_CHR_DEV_SCH is not set

#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_LOGGING=y

#
# SCSI Transport Attributes
#
CONFIG_SCSI_SPI_ATTRS=m
CONFIG_SCSI_FC_ATTRS=m
CONFIG_SCSI_ISCSI_ATTRS=m
# CONFIG_SCSI_SAS_ATTRS is not set

#
# SCSI Transport Layers
#
# CONFIG_SAS_CLASS is not set

#
# SCSI low-level drivers
#
CONFIG_ISCSI_TCP=m
# CONFIG_SCSI_ARCMSR is not set
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
# CONFIG_SCSI_3W_9XXX is not set
# CONFIG_SCSI_7000FASST is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AHA152X is not set
# CONFIG_SCSI_AHA1542 is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_IN2000 is not set
# CONFIG_MEGARAID_NEWGEN is not set
# CONFIG_MEGARAID_LEGACY is not set
# CONFIG_MEGARAID_SAS is not set
# CONFIG_SCSI_SATA is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_DTC3280 is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_EATA_PIO is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_GENERIC_NCR5380 is not set
# CONFIG_SCSI_GENERIC_NCR5380_MMIO is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_NCR53C406A is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_IPR is not set
# CONFIG_SCSI_PAS16 is not set
# CONFIG_SCSI_PSI240I is not set
# CONFIG_SCSI_QLOGIC_FAS is not set
# CONFIG_SCSI_QLOGIC_FC is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
CONFIG_SCSI_QLA2XXX=m
# CONFIG_SCSI_QLA21XX is not set
# CONFIG_SCSI_QLA22XX is not set
# CONFIG_SCSI_QLA2300 is not set
# CONFIG_SCSI_QLA2322 is not set
# CONFIG_SCSI_QLA6312 is not set
# CONFIG_SCSI_QLA24XX is not set
# CONFIG_SCSI_LPFC is not set
# CONFIG_SCSI_SEAGATE is not set
# CONFIG_SCSI_SYM53C416 is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_T128 is not set
# CONFIG_SCSI_U14_34F is not set
# CONFIG_SCSI_ULTRASTOR is not set
# CONFIG_SCSI_NSP32 is not set
# CONFIG_SCSI_DEBUG is not set

#
# PCMCIA SCSI adapter support
#
# CONFIG_PCMCIA_AHA152X is not set
# CONFIG_PCMCIA_FDOMAIN is not set
# CONFIG_PCMCIA_NINJA_SCSI is not set
# CONFIG_PCMCIA_QLOGIC is not set
# CONFIG_PCMCIA_SYM53C500 is not set

#
# Old CD-ROM drivers (not SCSI, not IDE)
#
# CONFIG_CD_NO_IDESCSI is not set

#
# Multi-device support (RAID and LVM)
#
CONFIG_MD=y
CONFIG_BLK_DEV_MD=m
CONFIG_MD_LINEAR=m
CONFIG_MD_RAID0=m
CONFIG_MD_RAID1=m
# CONFIG_MD_RAID10 is not set
CONFIG_MD_RAID5=m
CONFIG_MD_RAID6=m
CONFIG_MD_MULTIPATH=m
# CONFIG_MD_FAULTY is not set
CONFIG_BLK_DEV_DM=m
CONFIG_DM_CRYPT=m
CONFIG_DM_SNAPSHOT=m
CONFIG_DM_MIRROR=m
CONFIG_DM_ZERO=m
# CONFIG_DM_MULTIPATH is not set

#
# Fusion MPT device support
#
# CONFIG_FUSION is not set
# CONFIG_FUSION_SPI is not set
# CONFIG_FUSION_FC is not set
# CONFIG_FUSION_SAS is not set

#
# IEEE 1394 (FireWire) support
#
# CONFIG_IEEE1394 is not set

#
# I2O device support
#
# CONFIG_I2O is not set

#
# Network device support
#
CONFIG_NETDEVICES=y
CONFIG_DUMMY=m
CONFIG_BONDING=m
CONFIG_EQUALIZER=m
CONFIG_TUN=m

#
# ARCnet devices
#
# CONFIG_ARCNET is not set

#
# PHY device support
#
# CONFIG_PHYLIB is not set

#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
CONFIG_MII=m
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
# CONFIG_CASSINI is not set
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_VENDOR_RACAL is not set

#
# Tulip family network device support
#
# CONFIG_NET_TULIP is not set
# CONFIG_AT1700 is not set
# CONFIG_DEPCA is not set
# CONFIG_HP100 is not set
# CONFIG_NET_ISA is not set
CONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_AMD8111_ETH is not set
# CONFIG_ADAPTEC_STARFIRE is not set
# CONFIG_AC3200 is not set
# CONFIG_APRICOT is not set
# CONFIG_B44 is not set
# CONFIG_FORCEDETH is not set
# CONFIG_CS89x0 is not set
# CONFIG_DGRS is not set
# CONFIG_EEPRO100 is not set
# CONFIG_E100 is not set
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
# CONFIG_8139CP is not set
# CONFIG_8139TOO is not set
# CONFIG_SIS900 is not set
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE is not set
# CONFIG_TLAN is not set
# CONFIG_VIA_RHINE is not set

#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
CONFIG_E1000=m
# CONFIG_E1000_NAPI is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
# CONFIG_SIS190 is not set
# CONFIG_SKGE is not set
# CONFIG_SKY2 is not set
# CONFIG_SK98LIN is not set
# CONFIG_VIA_VELOCITY is not set
# CONFIG_TIGON3 is not set
# CONFIG_BNX2 is not set

#
# Ethernet (10000 Mbit)
#
# CONFIG_CHELSIO_T1 is not set
# CONFIG_IXGB is not set
# CONFIG_S2IO is not set

#
# Token Ring devices
#
# CONFIG_TR is not set

#
# Wireless LAN (non-hamradio)
#
CONFIG_NET_RADIO=y

#
# Obsolete Wireless cards support (pre-802.11)
#
# CONFIG_STRIP is not set
# CONFIG_ARLAN is not set
# CONFIG_WAVELAN is not set
# CONFIG_PCMCIA_WAVELAN is not set
# CONFIG_PCMCIA_NETWAVE is not set

#
# Wireless 802.11 Frequency Hopping cards support
#
# CONFIG_PCMCIA_RAYCS is not set

#
# Wireless 802.11b ISA/PCI cards support
#
CONFIG_IPW2100=m
CONFIG_IPW2100_MONITOR=y
# CONFIG_IPW2100_DEBUG is not set
CONFIG_IPW2200=m
CONFIG_IPW2200_DEBUG=y
# CONFIG_AIRO is not set
CONFIG_HERMES=m
# CONFIG_PLX_HERMES is not set
# CONFIG_TMD_HERMES is not set
# CONFIG_NORTEL_HERMES is not set
# CONFIG_PCI_HERMES is not set
CONFIG_ATMEL=m
# CONFIG_PCI_ATMEL is not set

#
# Wireless 802.11b Pcmcia/Cardbus cards support
#
# CONFIG_PCMCIA_HERMES is not set
# CONFIG_PCMCIA_SPECTRUM is not set
# CONFIG_AIRO_CS is not set
# CONFIG_PCMCIA_ATMEL is not set
# CONFIG_PCMCIA_WL3501 is not set

#
# Prism GT/Duette 802.11(a/b/g) PCI/Cardbus support
#
CONFIG_PRISM54=m
CONFIG_HOSTAP=m
CONFIG_HOSTAP_FIRMWARE=y
# CONFIG_HOSTAP_PLX is not set
# CONFIG_HOSTAP_PCI is not set
# CONFIG_HOSTAP_CS is not set
# CONFIG_ACX is not set
CONFIG_NET_WIRELESS=y

#
# PCMCIA network device support
#
# CONFIG_NET_PCMCIA is not set

#
# Wan interfaces
#
# CONFIG_WAN is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
CONFIG_PPP=m
CONFIG_PPP_MULTILINK=y
CONFIG_PPP_FILTER=y
CONFIG_PPP_ASYNC=m
CONFIG_PPP_SYNC_TTY=m
CONFIG_PPP_DEFLATE=m
CONFIG_PPP_BSDCOMP=m
# CONFIG_PPP_MPPE is not set
CONFIG_PPPOE=m
CONFIG_SLIP=m
CONFIG_SLIP_COMPRESSED=y
CONFIG_SLIP_SMART=y
CONFIG_SLIP_MODE_SLIP6=y
CONFIG_NET_FC=y
CONFIG_SHAPER=m
CONFIG_NETCONSOLE=y
# CONFIG_KGDBOE is not set
CONFIG_NETPOLL=y
# CONFIG_NETPOLL_RX is not set
# CONFIG_NETPOLL_TRAP is not set
CONFIG_NET_POLL_CONTROLLER=y

#
# ISDN subsystem
#
# CONFIG_ISDN is not set

#
# Telephony Support
#
# CONFIG_PHONE is not set

#
# Input device support
#
CONFIG_INPUT=y

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_JOYDEV=m
CONFIG_INPUT_TSDEV=m
CONFIG_INPUT_TSDEV_SCREEN_X=240
CONFIG_INPUT_TSDEV_SCREEN_Y=320
CONFIG_INPUT_EVDEV=m
CONFIG_INPUT_EVBUG=m

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
CONFIG_KEYBOARD_SUNKBD=m
CONFIG_KEYBOARD_LKKBD=m
CONFIG_KEYBOARD_XTKBD=m
CONFIG_KEYBOARD_NEWTON=m
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=m
CONFIG_MOUSE_SERIAL=m
CONFIG_MOUSE_INPORT=m
# CONFIG_MOUSE_ATIXL is not set
CONFIG_MOUSE_LOGIBM=m
CONFIG_MOUSE_PC110PAD=m
CONFIG_MOUSE_VSXXXAA=m
# CONFIG_INPUT_JOYSTICK is not set
CONFIG_INPUT_TOUCHSCREEN=y
# CONFIG_TOUCHSCREEN_ADS7846 is not set
CONFIG_TOUCHSCREEN_GUNZE=m
# CONFIG_TOUCHSCREEN_ELO is not set
# CONFIG_TOUCHSCREEN_MTOUCH is not set
# CONFIG_TOUCHSCREEN_MK712 is not set
CONFIG_INPUT_MISC=y
CONFIG_INPUT_PCSPKR=m
# CONFIG_INPUT_WISTRON_BTNS is not set
CONFIG_INPUT_UINPUT=m

#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
CONFIG_SERIO_SERPORT=m
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PCIPS2 is not set
CONFIG_SERIO_LIBPS2=y
# CONFIG_SERIO_RAW is not set
# CONFIG_GAMEPORT is not set

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_SERIAL_NONSTANDARD is not set

#
# Serial drivers
#
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
# CONFIG_SERIAL_8250_CS is not set
# CONFIG_SERIAL_8250_ACPI is not set
CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SERIAL_8250_MANY_PORTS=y
CONFIG_SERIAL_8250_SHARE_IRQ=y
# CONFIG_SERIAL_8250_DETECT_IRQ is not set
CONFIG_SERIAL_8250_RSA=y
# CONFIG_SERIAL_8250_FOURPORT is not set
# CONFIG_SERIAL_8250_ACCENT is not set
# CONFIG_SERIAL_8250_BOCA is not set
# CONFIG_SERIAL_8250_HUB6 is not set

#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_SERIAL_JSM is not set
CONFIG_UNIX98_PTYS=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256

#
# IPMI
#
CONFIG_IPMI_HANDLER=m
# CONFIG_IPMI_PANIC_EVENT is not set
CONFIG_IPMI_DEVICE_INTERFACE=m
CONFIG_IPMI_SI=m
CONFIG_IPMI_WATCHDOG=m
# CONFIG_IPMI_POWEROFF is not set

#
# Watchdog Cards
#
CONFIG_WATCHDOG=y
# CONFIG_WATCHDOG_NOWAYOUT is not set

#
# Watchdog Device Drivers
#
CONFIG_SOFT_WATCHDOG=m
# CONFIG_ACQUIRE_WDT is not set
# CONFIG_ADVANTECH_WDT is not set
# CONFIG_ALIM1535_WDT is not set
# CONFIG_ALIM7101_WDT is not set
# CONFIG_SC520_WDT is not set
# CONFIG_EUROTECH_WDT is not set
# CONFIG_IB700_WDT is not set
# CONFIG_IBMASR is not set
# CONFIG_WAFER_WDT is not set
# CONFIG_I6300ESB_WDT is not set
# CONFIG_I8XX_TCO is not set
# CONFIG_SC1200_WDT is not set
# CONFIG_60XX_WDT is not set
# CONFIG_SBC8360_WDT is not set
# CONFIG_CPU5_WDT is not set
# CONFIG_W83627HF_WDT is not set
# CONFIG_W83877F_WDT is not set
# CONFIG_W83977F_WDT is not set
# CONFIG_MACHZ_WDT is not set

#
# ISA-based Watchdog Cards
#
# CONFIG_PCWATCHDOG is not set
# CONFIG_MIXCOMWD is not set
# CONFIG_WDT is not set

#
# PCI-based Watchdog Cards
#
# CONFIG_PCIPCWATCHDOG is not set
# CONFIG_WDTPCI is not set

#
# USB-based Watchdog Cards
#
# CONFIG_USBPCWATCHDOG is not set
CONFIG_HW_RANDOM=m
CONFIG_NVRAM=m
CONFIG_RTC=m
CONFIG_GEN_RTC=m
CONFIG_GEN_RTC_X=y
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_SONYPI is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
CONFIG_AGP=m
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_ATI is not set
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_AMD64 is not set
CONFIG_AGP_INTEL=m
# CONFIG_AGP_NVIDIA is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_SWORKS is not set
# CONFIG_AGP_VIA is not set
# CONFIG_AGP_EFFICEON is not set
CONFIG_DRM=m
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_I810 is not set
CONFIG_DRM_I830=m
# CONFIG_DRM_I915 is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set

#
# PCMCIA character devices
#
# CONFIG_SYNCLINK_CS is not set
# CONFIG_CARDMAN_4000 is not set
# CONFIG_CARDMAN_4040 is not set
# CONFIG_MWAVE is not set
CONFIG_RAW_DRIVER=m
CONFIG_HPET=y
# CONFIG_HPET_RTC_IRQ is not set
CONFIG_HPET_MMAP=y
CONFIG_MAX_RAW_DEVS=256
CONFIG_HANGCHECK_TIMER=m

#
# TPM devices
#
# CONFIG_TCG_TPM is not set
# CONFIG_TELCLOCK is not set

#
# I2C support
#
CONFIG_I2C=m
CONFIG_I2C_CHARDEV=m

#
# I2C Algorithms
#
CONFIG_I2C_ALGOBIT=m
CONFIG_I2C_ALGOPCF=m
# CONFIG_I2C_ALGOPCA is not set

#
# I2C Hardware Bus support
#
# CONFIG_I2C_ALI1535 is not set
# CONFIG_I2C_ALI1563 is not set
# CONFIG_I2C_ALI15X3 is not set
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set
# CONFIG_I2C_ELEKTOR is not set
# CONFIG_I2C_I801 is not set
CONFIG_I2C_I810=m
CONFIG_I2C_PIIX4=m
# CONFIG_I2C_NFORCE2 is not set
# CONFIG_I2C_PARPORT_LIGHT is not set
# CONFIG_I2C_PROSAVAGE is not set
# CONFIG_I2C_SAVAGE4 is not set
# CONFIG_SCx200_ACB is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
# CONFIG_I2C_SIS96X is not set
# CONFIG_I2C_STUB is not set
# CONFIG_I2C_VIA is not set
# CONFIG_I2C_VIAPRO is not set
# CONFIG_I2C_VOODOO3 is not set
# CONFIG_I2C_PCA_ISA is not set

#
# Miscellaneous I2C Chip support
#
# CONFIG_SENSORS_DS1337 is not set
# CONFIG_SENSORS_DS1374 is not set
CONFIG_SENSORS_EEPROM=m
# CONFIG_SENSORS_PCF8574 is not set
# CONFIG_SENSORS_PCA9539 is not set
# CONFIG_SENSORS_PCF8591 is not set
# CONFIG_SENSORS_RTC8564 is not set
# CONFIG_SENSORS_MAX6875 is not set
# CONFIG_RTC_X1205_I2C is not set
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
# CONFIG_I2C_DEBUG_CHIP is not set

#
# SPI support
#
CONFIG_SPI_ARCH_HAS_MASTER=y
CONFIG_SPI=y
CONFIG_SPI_DEBUG=y
CONFIG_SPI_MASTER=y

#
# SPI Master Controller Drivers
#

#
# SPI Protocol Masters
#

#
# Dallas's 1-wire bus
#
# CONFIG_W1 is not set

#
# Hardware Monitoring support
#
# CONFIG_HWMON is not set
# CONFIG_HWMON_VID is not set

#
# Misc devices
#
# CONFIG_IBM_ASM is not set

#
# Multimedia Capabilities Port drivers
#

#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set

#
# Digital Video Broadcasting Devices
#
# CONFIG_DVB is not set

#
# Graphics support
#
CONFIG_FB=y
CONFIG_FB_CFB_FILLRECT=m
CONFIG_FB_CFB_COPYAREA=m
CONFIG_FB_CFB_IMAGEBLIT=m
# CONFIG_FB_MACMODES is not set
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
# CONFIG_FB_VESA is not set
CONFIG_VIDEO_SELECT=y
# CONFIG_FB_HGA is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I810 is not set
CONFIG_FB_INTEL=m
# CONFIG_FB_INTEL_DEBUG is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON_OLD is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_CYBLA is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_GEODE is not set
# CONFIG_FB_VIRTUAL is not set

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_MDA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=m
# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y

#
# Logo configuration
#
# CONFIG_LOGO is not set
CONFIG_BACKLIGHT_LCD_SUPPORT=y
CONFIG_BACKLIGHT_CLASS_DEVICE=m
CONFIG_BACKLIGHT_DEVICE=y
CONFIG_LCD_CLASS_DEVICE=m
CONFIG_LCD_DEVICE=y

#
# Speakup console speech
#
# CONFIG_SPEAKUP is not set

#
# Sound
#
CONFIG_SOUND=m

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_AC97_BUS=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQ_DUMMY=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=m
CONFIG_SND_SEQ_RTCTIMER_DEFAULT=y
CONFIG_SND_DYNAMIC_MINORS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
CONFIG_SND_DUMMY=m
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set

#
# ISA devices
#
# CONFIG_SND_AD1848 is not set
# CONFIG_SND_CMI8330 is not set
# CONFIG_SND_CS4231 is not set
# CONFIG_SND_CS4232 is not set
# CONFIG_SND_CS4236 is not set
# CONFIG_SND_ES1688 is not set
# CONFIG_SND_ES18XX is not set
# CONFIG_SND_GUSCLASSIC is not set
# CONFIG_SND_GUSEXTREME is not set
# CONFIG_SND_GUSMAX is not set
# CONFIG_SND_OPL3SA2 is not set
# CONFIG_SND_OPTI92X_AD1848 is not set
# CONFIG_SND_OPTI92X_CS4231 is not set
# CONFIG_SND_OPTI93X is not set
# CONFIG_SND_SB8 is not set
# CONFIG_SND_SB16 is not set
# CONFIG_SND_SBAWE is not set
# CONFIG_SND_SGALAXY is not set
# CONFIG_SND_SSCAPE is not set
# CONFIG_SND_WAVEFRONT is not set

#
# PCI devices
#
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS5535AUDIO is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_EMU10K1X is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_HDA_INTEL is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
CONFIG_SND_INTEL8X0=m
CONFIG_SND_INTEL8X0M=m
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_YMFPCI is not set

#
# USB devices
#
# CONFIG_SND_USB_AUDIO is not set
# CONFIG_SND_USB_USX2Y is not set

#
# PCMCIA devices
#
# CONFIG_SND_VXPOCKET is not set
# CONFIG_SND_PDAUDIOCF is not set

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set

#
# USB support
#
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB=m
# CONFIG_USB_DEBUG is not set

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
CONFIG_USB_BANDWIDTH=y
# CONFIG_USB_DYNAMIC_MINORS is not set
# CONFIG_USB_SUSPEND is not set
# CONFIG_USB_OTG is not set

#
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_EHCI_SPLIT_ISO=y
CONFIG_USB_EHCI_ROOT_HUB_TT=y
# CONFIG_USB_ISP116X_HCD is not set
# CONFIG_USB_OHCI_HCD is not set
CONFIG_USB_UHCI_HCD=m
# CONFIG_USB_SL811_HCD is not set

#
# USB Device Class drivers
#
CONFIG_USB_ACM=m
CONFIG_USB_PRINTER=m

#
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
#

#
# may also be needed; see USB_STORAGE Help for more information
#
CONFIG_USB_STORAGE=m
# CONFIG_USB_STORAGE_DEBUG is not set
CONFIG_USB_STORAGE_DATAFAB=y
CONFIG_USB_STORAGE_FREECOM=y
CONFIG_USB_STORAGE_ISD200=y
CONFIG_USB_STORAGE_DPCM=y
# CONFIG_USB_STORAGE_USBAT is not set
CONFIG_USB_STORAGE_SDDR09=y
CONFIG_USB_STORAGE_SDDR55=y
CONFIG_USB_STORAGE_JUMPSHOT=y
# CONFIG_USB_LIBUSUAL is not set

#
# USB Input Devices
#
CONFIG_USB_HID=m
CONFIG_USB_HIDINPUT=y
# CONFIG_HID_FF is not set
CONFIG_USB_HIDDEV=y

#
# USB HID Boot Protocol drivers
#
# CONFIG_USB_KBD is not set
# CONFIG_USB_MOUSE is not set
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_ACECAD is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_MTOUCH is not set
# CONFIG_USB_ITMTOUCH is not set
# CONFIG_USB_EGALAX is not set
# CONFIG_USB_YEALINK is not set
# CONFIG_USB_XPAD is not set
# CONFIG_USB_ATI_REMOTE is not set
# CONFIG_USB_KEYSPAN_REMOTE is not set
# CONFIG_USB_APPLETOUCH is not set

#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set

#
# USB Multimedia devices
#
# CONFIG_USB_DABUSB is not set

#
# Video4Linux support is needed for USB Multimedia device support
#

#
# USB Network Adapters
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set
# CONFIG_USB_ZD1201 is not set
# CONFIG_USB_MON is not set

#
# USB port drivers
#

#
# USB Serial Converter support
#
CONFIG_USB_SERIAL=m
CONFIG_USB_SERIAL_GENERIC=y
# CONFIG_USB_SERIAL_AIRPRIME is not set
# CONFIG_USB_SERIAL_ANYDATA is not set
CONFIG_USB_SERIAL_BELKIN=m
CONFIG_USB_SERIAL_WHITEHEAT=m
CONFIG_USB_SERIAL_DIGI_ACCELEPORT=m
# CONFIG_USB_SERIAL_CP2101 is not set
# CONFIG_USB_SERIAL_CYPRESS_M8 is not set
# CONFIG_USB_SERIAL_EMPEG is not set
# CONFIG_USB_SERIAL_FTDI_SIO is not set
# CONFIG_USB_SERIAL_VISOR is not set
# CONFIG_USB_SERIAL_IPAQ is not set
# CONFIG_USB_SERIAL_IR is not set
# CONFIG_USB_SERIAL_EDGEPORT is not set
# CONFIG_USB_SERIAL_EDGEPORT_TI is not set
CONFIG_USB_SERIAL_GARMIN=m
# CONFIG_USB_SERIAL_IPW is not set
# CONFIG_USB_SERIAL_KEYSPAN_PDA is not set
# CONFIG_USB_SERIAL_KEYSPAN is not set
# CONFIG_USB_SERIAL_KLSI is not set
CONFIG_USB_SERIAL_KOBIL_SCT=m
CONFIG_USB_SERIAL_MCT_U232=m
CONFIG_USB_SERIAL_PL2303=m
# CONFIG_USB_SERIAL_HP4X is not set
CONFIG_USB_SERIAL_SAFE=m
# CONFIG_USB_SERIAL_SAFE_PADDED is not set
CONFIG_USB_SERIAL_TI=m
# CONFIG_USB_SERIAL_CYBERJACK is not set
# CONFIG_USB_SERIAL_XIRCOM is not set
# CONFIG_USB_SERIAL_OMNINET is not set
CONFIG_USB_EZUSB=y

#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_GOTEMP is not set
# CONFIG_USB_PHIDGETKIT is not set
# CONFIG_USB_PHIDGETSERVO is not set
# CONFIG_USB_IDMOUSE is not set
# CONFIG_USB_SISUSBVGA is not set
# CONFIG_USB_LD is not set
CONFIG_USB_TEST=m

#
# USB DSL modem support
#

#
# USB Gadget Support
#
# CONFIG_USB_GADGET is not set

#
# MMC/SD Card support
#
CONFIG_MMC=m
# CONFIG_MMC_DEBUG is not set
CONFIG_MMC_BLOCK=m
# CONFIG_MMC_BULKTRANSFER is not set
# CONFIG_MMC_WBSD is not set

#
# InfiniBand support
#
# CONFIG_INFINIBAND is not set

#
# SN Devices
#

#
# EDAC - error detection and reporting (RAS)
#
CONFIG_EDAC=m

#
# Reporting subsystems
#
# CONFIG_EDAC_DEBUG is not set
CONFIG_EDAC_MM_EDAC=m
# CONFIG_EDAC_AMD76X is not set
# CONFIG_EDAC_E7XXX is not set
# CONFIG_EDAC_E752X is not set
# CONFIG_EDAC_I82875P is not set
# CONFIG_EDAC_I82860 is not set
# CONFIG_EDAC_R82600 is not set
CONFIG_EDAC_POLL=y

#
# Distributed Lock Manager
#
# CONFIG_DLM is not set

#
# File systems
#
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT2_FS_POSIX_ACL=y
CONFIG_EXT2_FS_SECURITY=y
# CONFIG_EXT2_FS_XIP is not set
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_EXT3_FS_SECURITY=y
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=y
# CONFIG_REISER4_FS is not set
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
CONFIG_FS_POSIX_ACL=y
# CONFIG_XFS_FS is not set
# CONFIG_OCFS2_FS is not set
# CONFIG_MINIX_FS is not set
CONFIG_ROMFS_FS=y
CONFIG_INOTIFY=y
CONFIG_QUOTA=y
# CONFIG_QFMT_V1 is not set
CONFIG_QFMT_V2=m
CONFIG_QUOTACTL=y
CONFIG_DNOTIFY=y
CONFIG_AUTOFS_FS=m
CONFIG_AUTOFS4_FS=m
# CONFIG_FUSE_FS is not set

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=m
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_ZISOFS_FS=m
CONFIG_UDF_FS=m
CONFIG_UDF_NLS=y

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=m
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
CONFIG_NTFS_FS=m
# CONFIG_NTFS_DEBUG is not set
# CONFIG_NTFS_RW is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_RAMFS=y
CONFIG_RELAYFS_FS=y
# CONFIG_CONFIGFS_FS is not set

#
# Miscellaneous filesystems
#
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_ASFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
CONFIG_CRAMFS=y
# CONFIG_VXFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set

#
# Network File Systems
#
CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
CONFIG_NFS_V3_ACL=y
CONFIG_NFS_V4=y
CONFIG_NFS_DIRECTIO=y
CONFIG_NFSD=m
CONFIG_NFSD_V2_ACL=y
CONFIG_NFSD_V3=y
CONFIG_NFSD_V3_ACL=y
CONFIG_NFSD_V4=y
CONFIG_NFSD_TCP=y
CONFIG_LOCKD=m
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=m
CONFIG_NFS_ACL_SUPPORT=m
CONFIG_NFS_COMMON=y
CONFIG_SUNRPC=m
CONFIG_SUNRPC_GSS=m
CONFIG_RPCSEC_GSS_KRB5=m
# CONFIG_RPCSEC_GSS_SPKM3 is not set
# CONFIG_SMB_FS is not set
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set
# CONFIG_9P_FS is not set

#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y

#
# Native Language Support
#
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="cp437"
CONFIG_NLS_CODEPAGE_437=m
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
CONFIG_NLS_ASCII=m
CONFIG_NLS_ISO8859_1=m
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
CONFIG_NLS_ISO8859_15=m
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
CONFIG_NLS_UTF8=m

#
# Instrumentation Support
#
CONFIG_PROFILING=y
CONFIG_OPROFILE=m
# CONFIG_KPROBES is not set

#
# Kernel hacking
#
CONFIG_PRINTK_TIME=y
CONFIG_DEBUG_KERNEL=y
CONFIG_MAGIC_SYSRQ=y
CONFIG_LOG_BUF_SHIFT=18
CONFIG_DETECT_SOFTLOCKUP=y
# CONFIG_SCHEDSTATS is not set
# CONFIG_DEBUG_SLAB is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_DEBUG_KOBJECT is not set
# CONFIG_DEBUG_HIGHMEM is not set
CONFIG_DEBUG_BUGVERBOSE=y
# CONFIG_DEBUG_INFO is not set
# CONFIG_PAGE_OWNER is not set
# CONFIG_DEBUG_FS is not set
# CONFIG_DEBUG_VM is not set
# CONFIG_FRAME_POINTER is not set
# CONFIG_RCU_TORTURE_TEST is not set
CONFIG_EARLY_PRINTK=y
# CONFIG_DEBUG_STACKOVERFLOW is not set
# CONFIG_DEBUG_STACK_USAGE is not set

#
# Page alloc debug is incompatible with Software Suspend on i386
#
# CONFIG_DEBUG_RODATA is not set
# CONFIG_4KSTACKS is not set
CONFIG_X86_FIND_SMP_CONFIG=y
CONFIG_X86_MPPARSE=y
# CONFIG_KGDB is not set

#
# Security options
#
# CONFIG_KEYS is not set
CONFIG_SECURITY=y
# CONFIG_SECURITY_NETWORK is not set
CONFIG_SECURITY_CAPABILITIES=m
CONFIG_SECURITY_ROOTPLUG=m
# CONFIG_SECURITY_SECLVL is not set
# CONFIG_SECURITY_SELINUX is not set

#
# Cryptographic options
#
CONFIG_CRYPTO=y
CONFIG_CRYPTO_HMAC=y
CONFIG_CRYPTO_NULL=m
CONFIG_CRYPTO_MD4=m
CONFIG_CRYPTO_MD5=y
CONFIG_CRYPTO_SHA1=m
CONFIG_CRYPTO_SHA256=m
CONFIG_CRYPTO_SHA512=m
# CONFIG_CRYPTO_WP512 is not set
# CONFIG_CRYPTO_TGR192 is not set
CONFIG_CRYPTO_DES=m
CONFIG_CRYPTO_BLOWFISH=m
CONFIG_CRYPTO_TWOFISH=m
CONFIG_CRYPTO_SERPENT=m
CONFIG_CRYPTO_AES=m
CONFIG_CRYPTO_AES_586=m
CONFIG_CRYPTO_CAST5=m
CONFIG_CRYPTO_CAST6=m
CONFIG_CRYPTO_TEA=m
CONFIG_CRYPTO_ARC4=m
CONFIG_CRYPTO_KHAZAD=m
# CONFIG_CRYPTO_ANUBIS is not set
CONFIG_CRYPTO_DEFLATE=m
CONFIG_CRYPTO_MICHAEL_MIC=m
CONFIG_CRYPTO_CRC32C=m
CONFIG_CRYPTO_TEST=m

#
# Hardware crypto devices
#
# CONFIG_CRYPTO_DEV_PADLOCK is not set

#
# Library routines
#
CONFIG_CRC_CCITT=m
# CONFIG_CRC16 is not set
CONFIG_CRC32=m
CONFIG_LIBCRC32C=m
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=m
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_X86_BIOS_REBOOT=y

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: swsusp intermittent failures in 2.6.15-rc3-mm1
  2005-12-01 17:36 swsusp intermittent failures in 2.6.15-rc3-mm1 Andy Isaacson
@ 2005-12-01 21:42 ` Rafael J. Wysocki
  2005-12-02  0:55   ` Pavel Machek
  2005-12-02 18:37   ` Andy Isaacson
  0 siblings, 2 replies; 11+ messages in thread
From: Rafael J. Wysocki @ 2005-12-01 21:42 UTC (permalink / raw)
  To: Andy Isaacson; +Cc: linux-kernel, Pavel Machek

Hi,

On Thursday, 1 of December 2005 18:36, Andy Isaacson wrote:
> My Thinkpad X40 (1.25 GB, ipw2200) has had fairly reliable swsusp since
> 2.6.13 or thereabouts, and as recently as 2.6.15-rc1-mm1 I had about 20
> successful suspend/resume cycles.  But now that I'm running
> 2.6.15-rc3-mm1 I'm seeing intermittent failures like this:

Thanks a lot for the report.

The problem is apparently caused by my recent patch intended to speed up
suspend.  Could you please apply the appended debug patch, try to reproduce
the problem and send full dmesg output back to me?

Rafael


Index: linux-2.6.15-rc3-mm1/kernel/power/swsusp.c
===================================================================
--- linux-2.6.15-rc3-mm1.orig/kernel/power/swsusp.c	2005-12-01 22:13:17.000000000 +0100
+++ linux-2.6.15-rc3-mm1/kernel/power/swsusp.c	2005-12-01 22:24:56.000000000 +0100
@@ -635,12 +635,18 @@
 	printk("Shrinking memory...  ");
 	do {
 #ifdef FAST_FREE
-		tmp = count_data_pages() + count_highmem_pages();
+		tmp = count_data_pages();
+		printk("Data pages: %ld\n", tmp);
+		tmp += count_highmem_pages();
+		printk("Data and highmem pages: %ld\n", tmp);
 		tmp += (tmp + PBES_PER_PAGE - 1) / PBES_PER_PAGE +
 			PAGES_FOR_IO;
+		printk("Total pages: %ld\n", tmp);
 		for_each_zone (zone)
-			if (!is_highmem(zone))
+			if (!is_highmem(zone)) {
 				tmp -= zone->free_pages;
+				printk("Pages to free: %ld\n", tmp);
+			}
 		if (tmp > 0) {
 			tmp = shrink_all_memory(SHRINK_BITE);
 			if (!tmp)
Index: linux-2.6.15-rc3-mm1/kernel/power/snapshot.c
===================================================================
--- linux-2.6.15-rc3-mm1.orig/kernel/power/snapshot.c	2005-12-01 22:13:58.000000000 +0100
+++ linux-2.6.15-rc3-mm1/kernel/power/snapshot.c	2005-12-01 22:39:01.000000000 +0100
@@ -437,8 +437,14 @@
 
 static int enough_free_mem(unsigned int nr_pages)
 {
-	pr_debug("swsusp: available memory: %u pages\n", nr_free_pages());
-	return nr_free_pages() > (nr_pages + PAGES_FOR_IO +
+	struct zone *zone;
+	unsigned int n = 0;
+
+	for_each_zone (zone)
+		if (!is_highmem(zone))
+			n += zone->free_pages;
+	printk("swsusp: available memory: %u pages\n", n);
+	return n > (nr_pages + PAGES_FOR_IO +
 		(nr_pages + PBES_PER_PAGE - 1) / PBES_PER_PAGE);
 }
 


-- 
Beer is proof that God loves us and wants us to be happy - Benjamin Franklin

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: swsusp intermittent failures in 2.6.15-rc3-mm1
  2005-12-01 21:42 ` Rafael J. Wysocki
@ 2005-12-02  0:55   ` Pavel Machek
  2005-12-02  9:54     ` Rafael J. Wysocki
  2005-12-02 18:37   ` Andy Isaacson
  1 sibling, 1 reply; 11+ messages in thread
From: Pavel Machek @ 2005-12-02  0:55 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: Andy Isaacson, linux-kernel

Hi!

> > My Thinkpad X40 (1.25 GB, ipw2200) has had fairly reliable swsusp since
> > 2.6.13 or thereabouts, and as recently as 2.6.15-rc1-mm1 I had about 20
> > successful suspend/resume cycles.  But now that I'm running
> > 2.6.15-rc3-mm1 I'm seeing intermittent failures like this:
> 
> Thanks a lot for the report.
> 
> The problem is apparently caused by my recent patch intended to speed up
> suspend.  Could you please apply the appended debug patch, try to reproduce
> the problem and send full dmesg output back to me?
> 
> Index: linux-2.6.15-rc3-mm1/kernel/power/swsusp.c
> ===================================================================
> --- linux-2.6.15-rc3-mm1.orig/kernel/power/swsusp.c	2005-12-01 22:13:17.000000000 +0100
> +++ linux-2.6.15-rc3-mm1/kernel/power/swsusp.c	2005-12-01 22:24:56.000000000 +0100
> @@ -635,12 +635,18 @@
>  	printk("Shrinking memory...  ");
>  	do {
>  #ifdef FAST_FREE
> -		tmp = count_data_pages() + count_highmem_pages();
> +		tmp = count_data_pages();
> +		printk("Data pages: %ld\n", tmp);
> +		tmp += count_highmem_pages();

You need at least count_data_pages() + 2*count_highmem_pages() free
pages (in lowmem).

								Pavel
-- 
Thanks, Sharp!

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: swsusp intermittent failures in 2.6.15-rc3-mm1
  2005-12-02  0:55   ` Pavel Machek
@ 2005-12-02  9:54     ` Rafael J. Wysocki
  2005-12-02 18:13       ` Pavel Machek
  0 siblings, 1 reply; 11+ messages in thread
From: Rafael J. Wysocki @ 2005-12-02  9:54 UTC (permalink / raw)
  To: Pavel Machek; +Cc: Andy Isaacson, linux-kernel

Hi,

On Friday, 2 of December 2005 01:55, Pavel Machek wrote:
> > > My Thinkpad X40 (1.25 GB, ipw2200) has had fairly reliable swsusp since
> > > 2.6.13 or thereabouts, and as recently as 2.6.15-rc1-mm1 I had about 20
> > > successful suspend/resume cycles.  But now that I'm running
> > > 2.6.15-rc3-mm1 I'm seeing intermittent failures like this:
> > 
> > Thanks a lot for the report.
> > 
> > The problem is apparently caused by my recent patch intended to speed up
> > suspend.  Could you please apply the appended debug patch, try to reproduce
> > the problem and send full dmesg output back to me?
> > 
> > Index: linux-2.6.15-rc3-mm1/kernel/power/swsusp.c
> > ===================================================================
> > --- linux-2.6.15-rc3-mm1.orig/kernel/power/swsusp.c	2005-12-01 22:13:17.000000000 +0100
> > +++ linux-2.6.15-rc3-mm1/kernel/power/swsusp.c	2005-12-01 22:24:56.000000000 +0100
> > @@ -635,12 +635,18 @@
> >  	printk("Shrinking memory...  ");
> >  	do {
> >  #ifdef FAST_FREE
> > -		tmp = count_data_pages() + count_highmem_pages();
> > +		tmp = count_data_pages();
> > +		printk("Data pages: %ld\n", tmp);
> > +		tmp += count_highmem_pages();
> 
> You need at least count_data_pages() + 2*count_highmem_pages() free
> pages (in lowmem).

Do you mean a separate page is needed for each kmalloc() in
save_highmem_zone()?

Rafael


-- 
Beer is proof that God loves us and wants us to be happy - Benjamin Franklin

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: swsusp intermittent failures in 2.6.15-rc3-mm1
  2005-12-02  9:54     ` Rafael J. Wysocki
@ 2005-12-02 18:13       ` Pavel Machek
  2005-12-02 21:58         ` Rafael J. Wysocki
  0 siblings, 1 reply; 11+ messages in thread
From: Pavel Machek @ 2005-12-02 18:13 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: Andy Isaacson, linux-kernel

Hi!

> > > > My Thinkpad X40 (1.25 GB, ipw2200) has had fairly reliable swsusp since
> > > > 2.6.13 or thereabouts, and as recently as 2.6.15-rc1-mm1 I had about 20
> > > > successful suspend/resume cycles.  But now that I'm running
> > > > 2.6.15-rc3-mm1 I'm seeing intermittent failures like this:
> > > 
> > > Thanks a lot for the report.
> > > 
> > > The problem is apparently caused by my recent patch intended to speed up
> > > suspend.  Could you please apply the appended debug patch, try to reproduce
> > > the problem and send full dmesg output back to me?
> > > 
> > > Index: linux-2.6.15-rc3-mm1/kernel/power/swsusp.c
> > > ===================================================================
> > > --- linux-2.6.15-rc3-mm1.orig/kernel/power/swsusp.c	2005-12-01 22:13:17.000000000 +0100
> > > +++ linux-2.6.15-rc3-mm1/kernel/power/swsusp.c	2005-12-01 22:24:56.000000000 +0100
> > > @@ -635,12 +635,18 @@
> > >  	printk("Shrinking memory...  ");
> > >  	do {
> > >  #ifdef FAST_FREE
> > > -		tmp = count_data_pages() + count_highmem_pages();
> > > +		tmp = count_data_pages();
> > > +		printk("Data pages: %ld\n", tmp);
> > > +		tmp += count_highmem_pages();
> > 
> > You need at least count_data_pages() + 2*count_highmem_pages() free
> > pages (in lowmem).
> 
> Do you mean a separate page is needed for each kmalloc() in
> save_highmem_zone()?

No, but notice get_zeroed_page() there, and that still needs to be
atomically copied.

So each higmem page takes:

1 get_zeroed_page()
1 kmalloc(struct(highmem_page))
+ copies of those into snapshot.

								Pavel
-- 
Thanks, Sharp!

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: swsusp intermittent failures in 2.6.15-rc3-mm1
  2005-12-01 21:42 ` Rafael J. Wysocki
  2005-12-02  0:55   ` Pavel Machek
@ 2005-12-02 18:37   ` Andy Isaacson
  2005-12-02 22:02     ` Rafael J. Wysocki
  1 sibling, 1 reply; 11+ messages in thread
From: Andy Isaacson @ 2005-12-02 18:37 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: linux-kernel, Pavel Machek

On Thu, Dec 01, 2005 at 10:42:44PM +0100, Rafael J. Wysocki wrote:
> On Thursday, 1 of December 2005 18:36, Andy Isaacson wrote:
> > My Thinkpad X40 (1.25 GB, ipw2200) has had fairly reliable swsusp since
> > 2.6.13 or thereabouts, and as recently as 2.6.15-rc1-mm1 I had about 20
> > successful suspend/resume cycles.  But now that I'm running
> > 2.6.15-rc3-mm1 I'm seeing intermittent failures like this:
> 
> Thanks a lot for the report.
> 
> The problem is apparently caused by my recent patch intended to speed up
> suspend.  Could you please apply the appended debug patch, try to reproduce
> the problem and send full dmesg output back to me?

Here you go.  This is two suspends; the first one completed
successfully, then I triggered a failure by starting a bunch of
processes until highmem looked full.  (Just firefox wasn't enough, so I
started a bunch of vim -R sessions on a 50MB file until HighFree went
under 1MB.)

-andy

[17179569.184000] Linux version 2.6.15-rc3-mm1 (adi@bobble) (gcc version 3.3.4 (Debian 1:3.3.4-9ubuntu5)) #4 Thu Dec 1 18:01:41 PST 2005
[17179569.184000] BIOS-provided physical RAM map:
[17179569.184000]  BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
[17179569.184000]  BIOS-e820: 000000000009f000 - 00000000000a0000 (reserved)
[17179569.184000]  BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved)
[17179569.184000]  BIOS-e820: 0000000000100000 - 000000004f6e0000 (usable)
[17179569.184000]  BIOS-e820: 000000004f6e0000 - 000000004f6f7000 (ACPI data)
[17179569.184000]  BIOS-e820: 000000004f6f7000 - 000000004f6f9000 (ACPI NVS)
[17179569.184000]  BIOS-e820: 000000004f700000 - 0000000050000000 (reserved)
[17179569.184000]  BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
[17179569.184000]  BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
[17179569.184000]  BIOS-e820: 00000000ff800000 - 0000000100000000 (reserved)
[17179569.184000] 374MB HIGHMEM available.
[17179569.184000] 896MB LOWMEM available.
[17179569.184000] On node 0 totalpages: 325344
[17179569.184000]   DMA zone: 4096 pages, LIFO batch:2
[17179569.184000]   DMA32 zone: 0 pages, LIFO batch:2
[17179569.184000]   Normal zone: 225280 pages, LIFO batch:64
[17179569.184000]   HighMem zone: 95968 pages, LIFO batch:64
[17179569.184000] DMI present.
[17179569.184000] ACPI: RSDP (v002 IBM                                   ) @ 0x000f7020
[17179569.184000] ACPI: XSDT (v001 IBM    TP-1U    0x00001550  LTP 0x00000000) @ 0x4f6e9b7e
[17179569.184000] ACPI: FADT (v003 IBM    TP-1U    0x00001550 IBM  0x00000001) @ 0x4f6e9c00
[17179569.184000] ACPI: SSDT (v001 IBM    TP-1U    0x00001550 MSFT 0x0100000e) @ 0x4f6e9db4
[17179569.184000] ACPI: ECDT (v001 IBM    TP-1U    0x00001550 IBM  0x00000001) @ 0x4f6f6da9
[17179569.184000] ACPI: TCPA (v001 IBM    TP-1U    0x00001550 PTL  0x00000001) @ 0x4f6f6dfb
[17179569.184000] ACPI: MADT (v001 IBM    TP-1U    0x00001550 IBM  0x00000001) @ 0x4f6f6e2d
[17179569.184000] ACPI: BOOT (v001 IBM    TP-1U    0x00001550  LTP 0x00000001) @ 0x4f6f6fd8
[17179569.184000] ACPI: DSDT (v001 IBM    TP-1U    0x00001550 MSFT 0x0100000e) @ 0x00000000
[17179569.184000] ACPI: PM-Timer IO Port: 0x1008
[17179569.184000] ACPI: Local APIC address 0xfee00000
[17179569.184000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
[17179569.184000] Processor #0 6:13 APIC version 20
[17179569.184000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[17179569.184000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
[17179569.184000] IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, GSI 0-23
[17179569.184000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[17179569.184000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[17179569.184000] ACPI: IRQ0 used by override.
[17179569.184000] ACPI: IRQ2 used by override.
[17179569.184000] ACPI: IRQ9 used by override.
[17179569.184000] Enabling APIC mode:  Flat.  Using 1 I/O APICs
[17179569.184000] Using ACPI (MADT) for SMP configuration information
[17179569.184000] Allocating PCI resources starting at 60000000 (gap: 50000000:aec00000)
[17179569.184000] Built 1 zonelists
[17179569.184000] mapped APIC to ffffd000 (fee00000)
[17179569.184000] mapped IOAPIC to ffffc000 (fec00000)
[17179569.184000] Enabling fast FPU save and restore... done.
[17179569.184000] Enabling unmasked SIMD FPU exception support... done.
[17179569.184000] Initializing CPU#0
[17179569.184000] Kernel command line: resume=/dev/hda5
[17179569.184000] PID hash table entries: 4096 (order: 12, 65536 bytes)
[17179569.184000] Detected 598.143 MHz processor.
[17179569.184000] Using pmtmr for high-res timesource
[17179569.184000] Console: colour VGA+ 80x25
[17179570.760000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[17179570.760000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[17179570.836000] Memory: 1283488k/1301376k available (1821k kernel code, 15828k reserved, 614k data, 168k init, 383872k highmem)
[17179570.836000] Checking if this processor honours the WP bit even in supervisor mode... Ok.
[17179570.916000] Calibrating delay using timer specific routine.. 1198.07 BogoMIPS (lpj=2396154)
[17179570.916000] Security Framework v1.0.0 initialized
[17179570.916000] Mount-cache hash table entries: 512
[17179570.916000] CPU: After generic identify, caps: afe9fbbf 00000000 00000000 00000000 00000180 00000000 00000000
[17179570.916000] CPU: After vendor identify, caps: afe9fbbf 00000000 00000000 00000000 00000180 00000000 00000000
[17179570.916000] CPU: L1 I cache: 32K, L1 D cache: 32K
[17179570.916000] CPU: L2 cache: 2048K
[17179570.916000] CPU: After all inits, caps: afe9fbbf 00000000 00000000 00000040 00000180 00000000 00000000
[17179570.916000] Intel machine check architecture supported.
[17179570.916000] Intel machine check reporting enabled on CPU#0.
[17179570.916000] mtrr: v2.0 (20020519)
[17179570.916000] CPU: Intel(R) Pentium(R) M processor 1.40GHz stepping 06
[17179570.916000] Checking 'hlt' instruction... OK.
[17179571.032000] ENABLING IO-APIC IRQs
[17179571.032000] ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
[17179571.176000] checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd
[17179571.176000] Freeing initrd memory: 1684k freed
[17179571.180000] NET: Registered protocol family 16
[17179571.180000] ACPI: bus type pci registered
[17179571.180000] PCI: PCI BIOS revision 2.10 entry at 0xfd8c8, last bus=5
[17179571.180000] PCI: Using configuration type 1
[17179571.180000] ACPI: Subsystem revision 20050916
[17179571.184000] ACPI: Found ECDT
[17179571.336000] ACPI: Interpreter enabled
[17179571.336000] ACPI: Using IOAPIC for interrupt routing
[17179571.340000] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11)
[17179571.340000] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 *11)
[17179571.344000] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 *11)
[17179571.344000] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 *11)
[17179571.344000] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 *11)
[17179571.348000] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 *11)
[17179571.348000] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 11) *0, disabled.
[17179571.352000] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 9 10 *11)
[17179571.352000] ACPI: PCI Root Bridge [PCI0] (0000:00)
[17179571.352000] PCI: Probing PCI hardware (bus 00)
[17179571.364000] Boot video device is 0000:00:02.0
[17179571.364000] PCI quirk: region 1000-107f claimed by ICH4 ACPI/GPIO/TCO
[17179571.364000] PCI quirk: region 1180-11bf claimed by ICH4 GPIO
[17179571.364000] PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1
[17179571.364000] PCI: Transparent bridge - 0000:00:1e.0
[17179571.364000] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[17179571.372000] ACPI: Embedded Controller [EC] (gpe 28)
[17179571.372000] ACPI: Power Resource [PUBS] (on)
[17179571.376000] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
[17179571.384000] PCI: Using ACPI for IRQ routing
[17179571.384000] PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
[17179571.396000] PCI: Ignore bogus resource 6 [0:0] of 0000:00:02.0
[17179571.396000] PCI: Bus 3, cardbus bridge: 0000:02:00.0
[17179571.396000]   IO window: 00003000-000030ff
[17179571.396000]   IO window: 00003400-000034ff
[17179571.396000]   PREFETCH window: f0000000-f1ffffff
[17179571.396000]   MEM window: d2000000-d3ffffff
[17179571.396000] PCI: Bridge: 0000:00:1e.0
[17179571.396000]   IO window: 3000-7fff
[17179571.396000]   MEM window: d0200000-dfffffff
[17179571.396000]   PREFETCH window: f0000000-f7ffffff
[17179571.396000] PCI: Setting latency timer of device 0000:00:1e.0 to 64
[17179571.396000] ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 169
[17179571.396000] Simple Boot Flag at 0x35 set to 0x1
[17179571.396000] highmem bounce pool size: 64 pages
[17179571.396000] VFS: Disk quotas dquot_6.5.1
[17179571.396000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[17179571.396000] Initializing Cryptographic API
[17179571.396000] io scheduler noop registered
[17179571.396000] io scheduler anticipatory registered
[17179571.396000] io scheduler deadline registered
[17179571.396000] io scheduler cfq registered
[17179571.436000] serio: i8042 AUX port at 0x60,0x64 irq 12
[17179571.436000] serio: i8042 KBD port at 0x60,0x64 irq 1
[17179571.436000] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[17179571.436000] ACPI: PCI Interrupt 0000:00:1f.6[B] -> GSI 17 (level, low) -> IRQ 177
[17179571.436000] ACPI: PCI interrupt for device 0000:00:1f.6 disabled
[17179571.436000] mice: PS/2 mouse device common for all mice
[17179571.436000] RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
[17179571.436000] netconsole: not configured, aborting
[17179571.436000] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[17179571.436000] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[17179571.436000] ICH4: IDE controller at PCI slot 0000:00:1f.1
[17179571.436000] PCI: Enabling device 0000:00:1f.1 (0005 -> 0007)
[17179571.436000] ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 185
[17179571.436000] ICH4: chipset revision 1
[17179571.436000] ICH4: not 100% native mode: will probe irqs later
[17179571.436000]     ide0: BM-DMA at 0x1810-0x1817, BIOS settings: hda:DMA, hdb:pio
[17179571.436000]     ide1: BM-DMA at 0x1818-0x181f, BIOS settings: hdc:pio, hdd:pio
[17179571.436000] Probing IDE interface ide0...
[17179571.452000] input: AT Translated Set 2 keyboard as /class/input/input0
[17179571.728000] hda: HTC426040G9AT00, ATA DISK drive
[17179572.400000] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[17179572.400000] Probing IDE interface ide1...
[17179572.968000] Probing IDE interface ide1...
[17179573.536000] hda: max request size: 128KiB
[17179573.632000] hda: 78140160 sectors (40007 MB), CHS=65535/16/63, UDMA(100)
[17179573.632000] hda: cache flushes supported
[17179573.632000]  hda: hda1 hda2 < hda5 >
[17179573.668000] NET: Registered protocol family 2
[17179573.704000] IP route cache hash table entries: 65536 (order: 6, 262144 bytes)
[17179573.704000] TCP established hash table entries: 262144 (order: 8, 1048576 bytes)
[17179573.704000] TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
[17179573.704000] TCP: Hash tables configured (established 262144 bind 65536)
[17179573.704000] TCP reno registered
[17179573.704000] TCP bic registered
[17179573.704000] Using IPI Shortcut mode
[17179573.712000] ACPI wakeup devices: 
[17179573.712000]  LID SLPB PCI0 PCI1 DOCK USB0 USB1 USB2 AC9M 
[17179573.712000] ACPI: (supports S0 S3 S4 S5)
[17179573.712000] RAMDISK: cramfs filesystem found at block 0
[17179573.712000] RAMDISK: Loading 1684KiB [1 disk] into ram disk... |\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\bdone.
[17179573.724000] VFS: Mounted root (cramfs filesystem) readonly.
[17179573.764000] Freeing unused kernel memory: 168k freed
[17179573.808000] ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3] C4[C3])
[17179573.808000] ACPI: Processor [CPU] (supports 8 throttling states)
[17179573.812000] ACPI: Thermal Zone [THM0] (33 C)
[17179573.828000] NET: Registered protocol family 1
[17179573.908000] kjournald starting.  Commit interval 5 seconds
[17179573.908000] EXT3-fs: mounted filesystem with ordered data mode.
[17179622.568000] Adding 500432k swap on /dev/hda5.  Priority:-1 extents:1 across:500432k
[17179622.696000] EXT3 FS on hda1, internal journal
[17179627.952000] IBM TrackPoint firmware: 0x0e, buttons: 3/3
[17179628.004000] input: TPPS/2 IBM TrackPoint as /class/input/input1
[17179628.008000] device-mapper: 4.5.0-ioctl (2005-10-04) initialised: dm-devel@redhat.com
[17179628.280000] ts: Compaq touchscreen protocol output
[17179628.440000] md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
[17179628.440000] md: bitmap version 4.39
[17179630.488000] device-mapper: dm-linear: Device lookup failed
[17179630.488000] device-mapper: error adding target to table
[17179630.496000] device-mapper: dm-linear: Device lookup failed
[17179630.496000] device-mapper: error adding target to table
[17179630.504000] device-mapper: dm-linear: Device lookup failed
[17179630.504000] device-mapper: error adding target to table
[17179630.624000] device-mapper: dm-linear: Device lookup failed
[17179630.624000] device-mapper: error adding target to table
[17179630.672000] device-mapper: dm-linear: Device lookup failed
[17179630.672000] device-mapper: error adding target to table
[17179630.720000] device-mapper: dm-linear: Device lookup failed
[17179630.720000] device-mapper: error adding target to table
[17179630.764000] device-mapper: dm-linear: Device lookup failed
[17179630.764000] device-mapper: error adding target to table
[17179630.808000] device-mapper: dm-linear: Device lookup failed
[17179630.808000] device-mapper: error adding target to table
[17179632.336000] Linux agpgart interface v0.101 (c) Dave Jones
[17179632.384000] agpgart: Detected an Intel 855 Chipset.
[17179632.384000] agpgart: Detected 8060K stolen memory.
[17179632.420000] agpgart: AGP aperture is 128M @ 0xe0000000
[17179633.236000] usbcore: registered new driver usbfs
[17179633.260000] usbcore: registered new driver hub
[17179633.332000] USB Universal Host Controller Interface driver v2.3
[17179633.356000] ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 16 (level, low) -> IRQ 169
[17179633.356000] PCI: Setting latency timer of device 0000:00:1d.0 to 64
[17179633.356000] uhci_hcd 0000:00:1d.0: UHCI Host Controller
[17179633.380000] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
[17179633.380000] uhci_hcd 0000:00:1d.0: irq 169, io base 0x00001820
[17179633.384000] usb usb1: configuration #1 chosen from 1 choice
[17179633.388000] hub 1-0:1.0: USB hub found
[17179633.388000] hub 1-0:1.0: 2 ports detected
[17179633.500000] ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 193
[17179633.500000] PCI: Setting latency timer of device 0000:00:1d.1 to 64
[17179633.500000] uhci_hcd 0000:00:1d.1: UHCI Host Controller
[17179633.576000] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
[17179633.576000] uhci_hcd 0000:00:1d.1: irq 193, io base 0x00001840
[17179633.580000] usb usb2: configuration #1 chosen from 1 choice
[17179633.584000] hub 2-0:1.0: USB hub found
[17179633.584000] hub 2-0:1.0: 2 ports detected
[17179633.884000] ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 185
[17179633.884000] PCI: Setting latency timer of device 0000:00:1d.2 to 64
[17179633.884000] uhci_hcd 0000:00:1d.2: UHCI Host Controller
[17179634.160000] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3
[17179634.160000] uhci_hcd 0000:00:1d.2: irq 185, io base 0x00001860
[17179634.164000] usb usb3: configuration #1 chosen from 1 choice
[17179634.172000] hub 3-0:1.0: USB hub found
[17179634.172000] hub 3-0:1.0: 2 ports detected
[17179636.796000] ACPI: PCI Interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 201
[17179636.796000] PCI: Setting latency timer of device 0000:00:1d.7 to 64
[17179636.796000] ehci_hcd 0000:00:1d.7: EHCI Host Controller
[17179636.796000] ehci_hcd 0000:00:1d.7: debug port 1
[17179636.796000] PCI: cache line size of 32 is not supported by device 0000:00:1d.7
[17179636.820000] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 4
[17179636.820000] ehci_hcd 0000:00:1d.7: irq 201, io mem 0xd0100000
[17179636.824000] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[17179636.832000] usb usb4: configuration #1 chosen from 1 choice
[17179636.836000] hub 4-0:1.0: USB hub found
[17179636.836000] hub 4-0:1.0: 6 ports detected
[17179638.112000] hw_random: RNG not detected
[17179639.460000] ACPI: PCI Interrupt 0000:00:1f.5[B] -> GSI 17 (level, low) -> IRQ 177
[17179639.460000] PCI: Setting latency timer of device 0000:00:1f.5 to 64
[17179640.280000] intel8x0_measure_ac97_clock: measured 55163 usecs
[17179640.280000] intel8x0: clocking to 48000
[17179640.908000] ACPI: PCI Interrupt 0000:00:1f.6[B] -> GSI 17 (level, low) -> IRQ 177
[17179640.908000] PCI: Setting latency timer of device 0000:00:1f.6 to 64
[17179641.012000] MC'97 1 converters and GPIO not ready (0xff00)
[17179641.760000] ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 169
[17179641.760000] Yenta: CardBus bridge found at 0000:02:00.0 [1014:0555]
[17179641.888000] Yenta: ISA IRQ mask 0x04b8, PCI irq 169
[17179641.888000] Socket status: 30000006
[17179641.888000] pcmcia: parent PCI bridge I/O window: 0x3000 - 0x7fff
[17179641.888000] cs: IO port probe 0x3000-0x7fff: clean.
[17179641.888000] pcmcia: parent PCI bridge Memory window: 0xd0200000 - 0xdfffffff
[17179641.888000] pcmcia: parent PCI bridge Memory window: 0xf0000000 - 0xf7ffffff
[17179642.472000] Intel(R) PRO/1000 Network Driver - version 6.1.16-k2
[17179642.472000] Copyright (c) 1999-2005 Intel Corporation.
[17179642.496000] ACPI: PCI Interrupt 0000:02:01.0[A] -> GSI 20 (level, low) -> IRQ 209
[17179642.964000] e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
[17179643.376000] ieee80211_crypt: registered algorithm 'NULL'
[17179643.540000] ieee80211: 802.11 data/management/control stack, git-1.1.7
[17179643.540000] ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
[17179643.636000] ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, git-1.0.8
[17179643.636000] ipw2200: Copyright(c) 2003-2005 Intel Corporation
[17179643.660000] ACPI: PCI Interrupt 0000:02:02.0[A] -> GSI 21 (level, low) -> IRQ 217
[17179643.660000] ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
[17179648.804000] ACPI: Battery Slot [BAT0] (battery present)
[17179648.852000] ACPI: AC Adapter [AC] (off-line)
[17179648.904000] ACPI: Power Button (FF) [PWRF]
[17179648.904000] ACPI: Lid Switch [LID]
[17179648.904000] ACPI: Sleep Button (CM) [SLPB]
[17179652.588000] nbd: registered device at major 43
[17179653.688000] pcmcia: Detected deprecated PCMCIA ioctl usage.
[17179653.688000] pcmcia: This interface will soon be removed from the kernel; please expect breakage unless you upgrade to new tools.
[17179653.688000] pcmcia: see http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html for details.
[17179653.688000] cs: IO port probe 0x100-0x4ff: excluding 0x170-0x177 0x370-0x377 0x4d0-0x4d7
[17179653.692000] cs: IO port probe 0x800-0x8ff: clean.
[17179653.692000] cs: IO port probe 0xc00-0xcff: clean.
[17179653.692000] cs: IO port probe 0xa00-0xaff: clean.
[17179656.916000] NET: Registered protocol family 10
[17179656.916000] Disabled Privacy Extensions on device c032cfc0(lo)
[17179656.916000] IPv6 over IPv4 tunneling driver
[17179657.244000] acpi-cpufreq: CPU0 - ACPI performance management activated.
[17179662.276000] [drm] Initialized drm 1.0.1 20051102
[17179662.312000] ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 169
[17179662.324000] [drm] Initialized i830 1.3.2 20021108 on minor 0
[17179662.336000] [drm] Initialized i830 1.3.2 20021108 on minor 1
[17179662.336000] mtrr: base(0xe0020000) is not aligned on a size(0x300000) boundary
[17179722.396000] Stopping tasks: ==================================================|
[17179722.396000] Shrinking memory...  Data pages: 14298
[17179722.440000] Data and highmem pages: 31930
[17179722.440000] Total pages: 33048
[17179722.440000] Pages to free: 29798
[17179722.440000] Pages to free: 29798
[17179722.440000] Pages to free: -182028
[17179722.440000] \b-\bdone (0 pages freed)
[17179722.440000] Suspending device 1-1:unknown codec
[17179722.440000] Suspending device 0-0:AD1981B
[17179722.440000] Suspending device 4-0:1.0
[17179722.440000] Suspending device usb4
[17179722.440000] Suspending device 3-0:1.0
[17179722.440000] Suspending device usb3
[17179722.440000] Suspending device 2-0:1.0
[17179722.440000] Suspending device usb2
[17179722.440000] Suspending device 1-0:1.0
[17179722.440000] Suspending device usb1
[17179722.440000] Suspending device 0.0
[17179722.468000] Suspending device ide0
[17179722.468000] Suspending device serio1
[17179722.468000] Suspending device serio0
[17179722.468000] Suspending device serial8250
[17179722.468000] Suspending device i8042
[17179722.468000] Suspending device 0000:02:02.0
[17179722.468000] eth1: Going into suspend...
[17179722.472000] ACPI: PCI interrupt for device 0000:02:02.0 disabled
[17179722.488000] Suspending device 0000:02:01.0
[17179722.488000] ACPI: PCI interrupt for device 0000:02:01.0 disabled
[17179722.504000] Suspending device 0000:02:00.1
[17179722.504000] Suspending device 0000:02:00.0
[17179722.504000] ACPI: PCI interrupt for device 0000:02:00.0 disabled
[17179722.504000] Suspending device 0000:00:1f.6
[17179722.504000] ACPI: PCI interrupt for device 0000:00:1f.6 disabled
[17179722.504000] Suspending device 0000:00:1f.5
[17179722.504000] ACPI: PCI interrupt for device 0000:00:1f.5 disabled
[17179722.504000] Suspending device 0000:00:1f.3
[17179722.504000] Suspending device 0000:00:1f.1
[17179722.504000] Suspending device 0000:00:1f.0
[17179722.504000] Suspending device 0000:00:1e.0
[17179722.504000] Suspending device 0000:00:1d.7
[17179722.504000] ACPI: PCI interrupt for device 0000:00:1d.7 disabled
[17179722.520000] Suspending device 0000:00:1d.2
[17179722.520000] ACPI: PCI interrupt for device 0000:00:1d.2 disabled
[17179722.520000] Suspending device 0000:00:1d.1
[17179722.520000] ACPI: PCI interrupt for device 0000:00:1d.1 disabled
[17179722.520000] Suspending device 0000:00:1d.0
[17179722.520000] ACPI: PCI interrupt for device 0000:00:1d.0 disabled
[17179722.520000] Suspending device 0000:00:02.1
[17179722.520000] Suspending device 0000:00:02.0
[17179722.520000] Suspending device 0000:00:00.3
[17179722.520000] Suspending device 0000:00:00.1
[17179722.520000] Suspending device 0000:00:00.0
[17179722.520000] Suspending device pci0000:00
[17179722.520000] Suspending device platform
[17179722.520000] cpufreq: suspend failed to assert current frequency is what timing core thinks it is.
[17179722.520000] ................................................................................................swsusp: Need to copy 31999 pages
[17179722.520000] swsusp: available memory: 197375 pages
[17179722.520000] Intel machine check architecture supported.
[17179722.520000] Intel machine check reporting enabled on CPU#0.
[17179722.520000] swsusp: Restoring Highmem
[17179722.520000] cpufreq: resume failed to assert current frequency is what timing core thinks it is.
[17179772.552000] ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 169
[17179772.552000] ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 16 (level, low) -> IRQ 169
[17179772.552000] PCI: Setting latency timer of device 0000:00:1d.0 to 64
[17179772.552000] usb usb1: root hub lost power or was reset
[17179772.552000] ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 193
[17179772.552000] PCI: Setting latency timer of device 0000:00:1d.1 to 64
[17179772.552000] usb usb2: root hub lost power or was reset
[17179772.552000] ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 185
[17179772.552000] PCI: Setting latency timer of device 0000:00:1d.2 to 64
[17179772.552000] usb usb3: root hub lost power or was reset
[17179772.568000] ACPI: PCI Interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 201
[17179772.568000] PCI: Setting latency timer of device 0000:00:1d.7 to 64
[17179772.568000] usb usb4: root hub lost power or was reset
[17179772.572000] ehci_hcd 0000:00:1d.7: debug port 1
[17179772.572000] PCI: cache line size of 32 is not supported by device 0000:00:1d.7
[17179772.576000] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[17179772.576000] PCI: Setting latency timer of device 0000:00:1e.0 to 64
[17179772.576000] ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 185
[17179772.576000] ACPI: PCI Interrupt 0000:00:1f.5[B] -> GSI 17 (level, low) -> IRQ 177
[17179772.576000] PCI: Setting latency timer of device 0000:00:1f.5 to 64
[17179772.828000] ACPI: PCI Interrupt 0000:00:1f.6[B] -> GSI 17 (level, low) -> IRQ 177
[17179772.828000] PCI: Setting latency timer of device 0000:00:1f.6 to 64
[17179773.832000] ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 169
[17179773.884000] ACPI: PCI Interrupt 0000:02:01.0[A] -> GSI 20 (level, low) -> IRQ 209
[17179774.072000] eth1: Coming out of suspend...
[17179774.088000] ACPI: PCI Interrupt 0000:02:02.0[A] -> GSI 21 (level, low) -> IRQ 217
[17179774.772000] Restarting tasks... done
[17179784.332000] ipw2200: Firmware error detected.  Restarting.
[17179784.332000] ipw2200: Sysfs 'error' log captured.
[17179784.816000] ipw2200: Firmware error detected.  Restarting.
[17179784.816000] ipw2200: Sysfs 'error' log already exists.
[17179795.072000] ipw2200: Firmware error detected.  Restarting.
[17179795.072000] ipw2200: Sysfs 'error' log already exists.
[17179909.968000] ipw2200: Unknown notification: subtype=40,flags=0xa0,size=40
[17179939.412000] ipw2200: Unknown notification: subtype=40,flags=0xa0,size=40
[17179946.884000] ipw2200: Unknown notification: subtype=40,flags=0xa0,size=40
[17179970.228000] ipw2200: Unknown notification: subtype=40,flags=0xa0,size=40
[17179971.660000] Stopping tasks: ============================================================|
[17179972.060000] Shrinking memory...  Data pages: 65794
[17179972.092000] Data and highmem pages: 161459
[17179972.092000] Total pages: 162957
[17179972.092000] Pages to free: 159697
[17179972.092000] Pages to free: 159697
[17179972.092000] Pages to free: -623
[17179972.092000] \b-\bdone (0 pages freed)
[17179972.092000] Suspending device 1-1:unknown codec
[17179972.092000] Suspending device 0-0:AD1981B
[17179972.092000] Suspending device 4-0:1.0
[17179972.092000] Suspending device usb4
[17179972.092000] Suspending device 3-0:1.0
[17179972.092000] Suspending device usb3
[17179972.092000] Suspending device 2-0:1.0
[17179972.092000] Suspending device usb2
[17179972.092000] Suspending device 1-0:1.0
[17179972.092000] Suspending device usb1
[17179972.092000] Suspending device 0.0
[17179972.172000] Suspending device ide0
[17179972.172000] Suspending device serio1
[17179972.172000] Suspending device serio0
[17179972.172000] Suspending device serial8250
[17179972.172000] Suspending device i8042
[17179972.172000] Suspending device 0000:02:02.0
[17179972.172000] eth1: Going into suspend...
[17179972.176000] ACPI: PCI interrupt for device 0000:02:02.0 disabled
[17179972.192000] Suspending device 0000:02:01.0
[17179972.192000] ACPI: PCI interrupt for device 0000:02:01.0 disabled
[17179972.208000] Suspending device 0000:02:00.1
[17179972.208000] Suspending device 0000:02:00.0
[17179972.208000] ACPI: PCI interrupt for device 0000:02:00.0 disabled
[17179972.208000] Suspending device 0000:00:1f.6
[17179972.208000] ACPI: PCI interrupt for device 0000:00:1f.6 disabled
[17179972.208000] Suspending device 0000:00:1f.5
[17179972.208000] ACPI: PCI interrupt for device 0000:00:1f.5 disabled
[17179972.208000] Suspending device 0000:00:1f.3
[17179972.208000] Suspending device 0000:00:1f.1
[17179972.208000] Suspending device 0000:00:1f.0
[17179972.208000] Suspending device 0000:00:1e.0
[17179972.208000] Suspending device 0000:00:1d.7
[17179972.208000] ACPI: PCI interrupt for device 0000:00:1d.7 disabled
[17179972.224000] Suspending device 0000:00:1d.2
[17179972.224000] ACPI: PCI interrupt for device 0000:00:1d.2 disabled
[17179972.224000] Suspending device 0000:00:1d.1
[17179972.224000] ACPI: PCI interrupt for device 0000:00:1d.1 disabled
[17179972.224000] Suspending device 0000:00:1d.0
[17179972.224000] ACPI: PCI interrupt for device 0000:00:1d.0 disabled
[17179972.224000] Suspending device 0000:00:02.1
[17179972.224000] Suspending device 0000:00:02.0
[17179972.224000] Suspending device 0000:00:00.3
[17179972.224000] Suspending device 0000:00:00.1
[17179972.224000] Suspending device 0000:00:00.0
[17179972.224000] Suspending device pci0000:00
[17179972.224000] Suspending device platform
[17179972.224000] cpufreq: suspend failed to assert current frequency is what timing core thinks it is.
[17179972.224000] ................................................................................................swsusp: Need to copy 162186 pages
[17179972.224000] swsusp: available memory: 67188 pages
[17179972.224000] swsusp: Not enough free memory
[17179972.224000] Error -12 suspending
[17179972.224000] Intel machine check architecture supported.
[17179972.224000] Intel machine check reporting enabled on CPU#0.
[17179972.224000] swsusp: Restoring Highmem
[17179972.224000] cpufreq: resume failed to assert current frequency is what timing core thinks it is.
[17179975.236000] ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 169
[17179975.236000] ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 16 (level, low) -> IRQ 169
[17179975.236000] PCI: Setting latency timer of device 0000:00:1d.0 to 64
[17179975.236000] ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 193
[17179975.236000] PCI: Setting latency timer of device 0000:00:1d.1 to 64
[17179975.236000] ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 185
[17179975.236000] PCI: Setting latency timer of device 0000:00:1d.2 to 64
[17179975.252000] PCI: Enabling device 0000:00:1d.7 (0000 -> 0002)
[17179975.252000] ACPI: PCI Interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 201
[17179975.252000] PCI: Setting latency timer of device 0000:00:1d.7 to 64
[17179975.252000] usb usb4: root hub lost power or was reset
[17179975.256000] ehci_hcd 0000:00:1d.7: debug port 1
[17179975.256000] PCI: cache line size of 32 is not supported by device 0000:00:1d.7
[17179975.260000] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[17179975.260000] PCI: Setting latency timer of device 0000:00:1e.0 to 64
[17179975.260000] ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 185
[17179975.260000] ACPI: PCI Interrupt 0000:00:1f.5[B] -> GSI 17 (level, low) -> IRQ 177
[17179975.260000] PCI: Setting latency timer of device 0000:00:1f.5 to 64
[17179975.512000] ACPI: PCI Interrupt 0000:00:1f.6[B] -> GSI 17 (level, low) -> IRQ 177
[17179975.512000] PCI: Setting latency timer of device 0000:00:1f.6 to 64
[17179976.516000] ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 169
[17179976.568000] ACPI: PCI Interrupt 0000:02:01.0[A] -> GSI 20 (level, low) -> IRQ 209
[17179976.768000] eth1: Coming out of suspend...
[17179976.784000] PCI: Enabling device 0000:02:02.0 (0000 -> 0002)
[17179976.784000] ACPI: PCI Interrupt 0000:02:02.0[A] -> GSI 21 (level, low) -> IRQ 217
[17179978.052000] Restarting tasks... done

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: swsusp intermittent failures in 2.6.15-rc3-mm1
  2005-12-02 18:13       ` Pavel Machek
@ 2005-12-02 21:58         ` Rafael J. Wysocki
  2005-12-03  0:21           ` Pavel Machek
  0 siblings, 1 reply; 11+ messages in thread
From: Rafael J. Wysocki @ 2005-12-02 21:58 UTC (permalink / raw)
  To: Pavel Machek; +Cc: Andy Isaacson, linux-kernel

Hi,

On Friday, 2 of December 2005 19:13, Pavel Machek wrote:
> > > > > My Thinkpad X40 (1.25 GB, ipw2200) has had fairly reliable swsusp since
> > > > > 2.6.13 or thereabouts, and as recently as 2.6.15-rc1-mm1 I had about 20
> > > > > successful suspend/resume cycles.  But now that I'm running
> > > > > 2.6.15-rc3-mm1 I'm seeing intermittent failures like this:
> > > > 
> > > > Thanks a lot for the report.
> > > > 
> > > > The problem is apparently caused by my recent patch intended to speed up
> > > > suspend.  Could you please apply the appended debug patch, try to reproduce
> > > > the problem and send full dmesg output back to me?
> > > > 
> > > > Index: linux-2.6.15-rc3-mm1/kernel/power/swsusp.c
> > > > ===================================================================
> > > > --- linux-2.6.15-rc3-mm1.orig/kernel/power/swsusp.c	2005-12-01 22:13:17.000000000 +0100
> > > > +++ linux-2.6.15-rc3-mm1/kernel/power/swsusp.c	2005-12-01 22:24:56.000000000 +0100
> > > > @@ -635,12 +635,18 @@
> > > >  	printk("Shrinking memory...  ");
> > > >  	do {
> > > >  #ifdef FAST_FREE
> > > > -		tmp = count_data_pages() + count_highmem_pages();
> > > > +		tmp = count_data_pages();
> > > > +		printk("Data pages: %ld\n", tmp);
> > > > +		tmp += count_highmem_pages();
> > > 
> > > You need at least count_data_pages() + 2*count_highmem_pages() free
> > > pages (in lowmem).
> > 
> > Do you mean a separate page is needed for each kmalloc() in
> > save_highmem_zone()?
> 
> No, but notice get_zeroed_page() there, and that still needs to be
> atomically copied.
> 
> So each higmem page takes:
> 
> 1 get_zeroed_page()
> 1 kmalloc(struct(highmem_page))
> + copies of those into snapshot.

Yeah, right.  I forgot to count them twice and I didn't take the kmalloc()s
into account.  I'll do my best to produce a patch for it ASAP.

BTW, every kmalloc() in there seems to take 32 bytes (ie. the smallest generic
slab object size), which is a bit wasteful.  The Andy's numbers indicate it
can take more than 700 pages just for that, and they have to be taken twice,
which gives more than 1400 pages total.  It could be as little as about 300
pages _total_ if we did it more carefully.  I think I'll place this on my todo
list for after 2.6.15.

Greetings,
Rafael


-- 
Beer is proof that God loves us and wants us to be happy - Benjamin Franklin


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: swsusp intermittent failures in 2.6.15-rc3-mm1
  2005-12-02 18:37   ` Andy Isaacson
@ 2005-12-02 22:02     ` Rafael J. Wysocki
  2005-12-02 22:54       ` Rafael J. Wysocki
  0 siblings, 1 reply; 11+ messages in thread
From: Rafael J. Wysocki @ 2005-12-02 22:02 UTC (permalink / raw)
  To: Andy Isaacson; +Cc: linux-kernel, Pavel Machek

On Friday, 2 of December 2005 19:37, Andy Isaacson wrote:
> On Thu, Dec 01, 2005 at 10:42:44PM +0100, Rafael J. Wysocki wrote:
> > On Thursday, 1 of December 2005 18:36, Andy Isaacson wrote:
> > > My Thinkpad X40 (1.25 GB, ipw2200) has had fairly reliable swsusp since
> > > 2.6.13 or thereabouts, and as recently as 2.6.15-rc1-mm1 I had about 20
> > > successful suspend/resume cycles.  But now that I'm running
> > > 2.6.15-rc3-mm1 I'm seeing intermittent failures like this:
> > 
> > Thanks a lot for the report.
> > 
> > The problem is apparently caused by my recent patch intended to speed up
> > suspend.  Could you please apply the appended debug patch, try to reproduce
> > the problem and send full dmesg output back to me?
> 
> Here you go.  This is two suspends; the first one completed
> successfully, then I triggered a failure by starting a bunch of
> processes until highmem looked full.  (Just firefox wasn't enough, so I
> started a bunch of vim -R sessions on a 50MB file until HighFree went
> under 1MB.)

Thanks a lot.

}-- snip --{
> [17179971.660000] Stopping tasks: ============================================================|
> [17179972.060000] Shrinking memory...  Data pages: 65794
> [17179972.092000] Data and highmem pages: 161459
> [17179972.092000] Total pages: 162957
> [17179972.092000] Pages to free: 159697
> [17179972.092000] Pages to free: 159697
> [17179972.092000] Pages to free: -623
> [17179972.092000] \b-\bdone (0 pages freed)
}-- snip --{
> [17179972.224000] ................................................................................................swsusp: Need to copy 162186 pages
> [17179972.224000] swsusp: available memory: 67188 pages
> [17179972.224000] swsusp: Not enough free memory
> [17179972.224000] Error -12 suspending
}-- snip --{

Well, now that's crystal clear.

I'm working on a patch.

Greetings,
Rafael


-- 
Beer is proof that God loves us and wants us to be happy - Benjamin Franklin

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: swsusp intermittent failures in 2.6.15-rc3-mm1
  2005-12-02 22:02     ` Rafael J. Wysocki
@ 2005-12-02 22:54       ` Rafael J. Wysocki
  2005-12-05  8:02         ` Andy Isaacson
  0 siblings, 1 reply; 11+ messages in thread
From: Rafael J. Wysocki @ 2005-12-02 22:54 UTC (permalink / raw)
  To: Andy Isaacson; +Cc: linux-kernel, Pavel Machek

Update:

On Friday, 2 of December 2005 23:02, Rafael J. Wysocki wrote:
> On Friday, 2 of December 2005 19:37, Andy Isaacson wrote:
> > On Thu, Dec 01, 2005 at 10:42:44PM +0100, Rafael J. Wysocki wrote:
> > > On Thursday, 1 of December 2005 18:36, Andy Isaacson wrote:
> > > > My Thinkpad X40 (1.25 GB, ipw2200) has had fairly reliable swsusp since
> > > > 2.6.13 or thereabouts, and as recently as 2.6.15-rc1-mm1 I had about 20
> > > > successful suspend/resume cycles.  But now that I'm running
> > > > 2.6.15-rc3-mm1 I'm seeing intermittent failures like this:
> > > 
> > > Thanks a lot for the report.
> > > 
> > > The problem is apparently caused by my recent patch intended to speed up
> > > suspend.  Could you please apply the appended debug patch, try to reproduce
> > > the problem and send full dmesg output back to me?
> > 
> > Here you go.  This is two suspends; the first one completed
> > successfully, then I triggered a failure by starting a bunch of
> > processes until highmem looked full.  (Just firefox wasn't enough, so I
> > started a bunch of vim -R sessions on a 50MB file until HighFree went
> > under 1MB.)
> 
}-- snip --{
> I'm working on a patch.

Could you please apply the appended one and see if it fixes the issue?
It's on top of the previous one.

It's been compile-tested, but I have no machine with highmem to really
test it.

Greetings,
Rafael


Index: linux-2.6.15-rc3-mm1/kernel/power/snapshot.c
===================================================================
--- linux-2.6.15-rc3-mm1.orig/kernel/power/snapshot.c	2005-12-02 22:02:50.000000000 +0100
+++ linux-2.6.15-rc3-mm1/kernel/power/snapshot.c	2005-12-02 23:45:13.000000000 +0100
@@ -37,6 +37,12 @@
 unsigned int nr_copy_pages;
 
 #ifdef CONFIG_HIGHMEM
+struct highmem_page {
+	char *data;
+	struct page *page;
+	struct highmem_page *next;
+};
+
 unsigned int count_highmem_pages(void)
 {
 	struct zone *zone;
@@ -52,22 +58,27 @@
 				if (!pfn_valid(pfn))
 					continue;
 				page = pfn_to_page(pfn);
-				if (PageReserved(page))
-					continue;
-				if (PageNosaveFree(page))
-					continue;
-				n++;
+				if (!PageNosaveFree(page) && !PageReserved(page))
+					n++;
 			}
 		}
+	if (n > 0) {
+		unsigned int size = sizeof(struct highmem_page);
+
+#define CACHE(x) \
+		if (sizeof(struct highmem_page) <= x) { \
+			size = x; \
+			goto found; \
+		}
+#include <linux/kmalloc_sizes.h>
+#undef CACHE
+found:
+		printk("count_highmem_pages(): size = %u\n", size);
+		n += (n * size + PAGE_SIZE - 1) / PAGE_SIZE + 1;
+	}
 	return n;
 }
 
-struct highmem_page {
-	char *data;
-	struct page *page;
-	struct highmem_page *next;
-};
-
 static struct highmem_page *highmem_copy;
 
 static int save_highmem_zone(struct zone *zone)
Index: linux-2.6.15-rc3-mm1/kernel/power/swsusp.c
===================================================================
--- linux-2.6.15-rc3-mm1.orig/kernel/power/swsusp.c	2005-12-01 22:24:56.000000000 +0100
+++ linux-2.6.15-rc3-mm1/kernel/power/swsusp.c	2005-12-02 23:34:48.000000000 +0100
@@ -637,7 +637,7 @@
 #ifdef FAST_FREE
 		tmp = count_data_pages();
 		printk("Data pages: %ld\n", tmp);
-		tmp += count_highmem_pages();
+		tmp += 2 * count_highmem_pages();
 		printk("Data and highmem pages: %ld\n", tmp);
 		tmp += (tmp + PBES_PER_PAGE - 1) / PBES_PER_PAGE +
 			PAGES_FOR_IO;


-- 
Beer is proof that God loves us and wants us to be happy - Benjamin Franklin

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: swsusp intermittent failures in 2.6.15-rc3-mm1
  2005-12-02 21:58         ` Rafael J. Wysocki
@ 2005-12-03  0:21           ` Pavel Machek
  0 siblings, 0 replies; 11+ messages in thread
From: Pavel Machek @ 2005-12-03  0:21 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: Andy Isaacson, linux-kernel

Hi!

> > No, but notice get_zeroed_page() there, and that still needs to be
> > atomically copied.
> > 
> > So each higmem page takes:
> > 
> > 1 get_zeroed_page()
> > 1 kmalloc(struct(highmem_page))
> > + copies of those into snapshot.
> 
> Yeah, right.  I forgot to count them twice and I didn't take the kmalloc()s
> into account.  I'll do my best to produce a patch for it ASAP.
> 
> BTW, every kmalloc() in there seems to take 32 bytes (ie. the smallest generic
> slab object size), which is a bit wasteful.  The Andy's numbers indicate it
> can take more than 700 pages just for that, and they have to be
> taken twice,

Well, still sizeof(kmalloc structures) ~= 1.3% of the real
data. That's not *that* bad overhad.

> which gives more than 1400 pages total.  It could be as little as about 300
> pages _total_ if we did it more carefully.  I think I'll place this on my todo
> list for after 2.6.15.

That's about 6MB more data to save on 400MB. Remember, I'm not
perfectionist (:-), and saving 1% more data to disk does not sound
_that_ bad to me.

Plus it only happens on highmem machines. Highmem is ugly hack, and is
going to die really soon, with 32-bit machines. I'd say it is not
worth fixing.

...I should not tell you, but swsusp is broken-by-design on highmem
machines. If you have 32GB highmem machine, under load, you'll
definitely run out of lowmem trying to swsusp it. Actually, you'll run
out of memory even on severely overloaded 2GB highmem machine
(attempting to swsusp). Fortunately noone knows, and noone cares.

								Pavel
-- 
Thanks, Sharp!

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: swsusp intermittent failures in 2.6.15-rc3-mm1
  2005-12-02 22:54       ` Rafael J. Wysocki
@ 2005-12-05  8:02         ` Andy Isaacson
  0 siblings, 0 replies; 11+ messages in thread
From: Andy Isaacson @ 2005-12-05  8:02 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: linux-kernel, Pavel Machek

On Fri, Dec 02, 2005 at 11:54:43PM +0100, Rafael J. Wysocki wrote:
> Could you please apply the appended one and see if it fixes the issue?
> It's on top of the previous one.
> 
> It's been compile-tested, but I have no machine with highmem to really
> test it.
> 
> --- linux-2.6.15-rc3-mm1.orig/kernel/power/snapshot.c	2005-12-02 22:02:50.000000000 +0100
> +++ linux-2.6.15-rc3-mm1/kernel/power/snapshot.c	2005-12-02 23:45:13.000000000 +0100
> @@ -37,6 +37,12 @@
>  unsigned int nr_copy_pages;
>  
>  #ifdef CONFIG_HIGHMEM
> +struct highmem_page {
> +	char *data;
> +	struct page *page;
> +	struct highmem_page *next;
> +};
[snip]

Yep, this seems to fix the memory allocation failures at suspend.

Thanks!

(I have another separate issue with (I think) your swsusp changes, but
I'll start a new thread for it rather than extending this one.)

-andy

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-12-05  8:02 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-01 17:36 swsusp intermittent failures in 2.6.15-rc3-mm1 Andy Isaacson
2005-12-01 21:42 ` Rafael J. Wysocki
2005-12-02  0:55   ` Pavel Machek
2005-12-02  9:54     ` Rafael J. Wysocki
2005-12-02 18:13       ` Pavel Machek
2005-12-02 21:58         ` Rafael J. Wysocki
2005-12-03  0:21           ` Pavel Machek
2005-12-02 18:37   ` Andy Isaacson
2005-12-02 22:02     ` Rafael J. Wysocki
2005-12-02 22:54       ` Rafael J. Wysocki
2005-12-05  8:02         ` Andy Isaacson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox